soc: qcom: hab: run the dispatcher's tasklet w/ high priority

HAB uses tasklets as the bottom half to receive message from the
remote side. Even when the whole system is overloaded, HAB clients
(e.g., audio, display, gfx) still expect low latency for good user
experience. So here, tasklet_hi_schedule() is used.

Change-Id: I0b8ed281f090e9c251eb62fe5e78900ea2e9dc8d
Signed-off-by: Yong Ding <yongding@codeaurora.org>
This commit is contained in:
Yong Ding 2019-11-29 10:58:05 +08:00 committed by Gerrit - the friendly Code Review server
parent c2f54771de
commit e1129ba35f
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ static void ghs_irq_handler(void *cookie)
(struct ghs_vdev *) (pchan ? pchan->hyp_data : NULL);
if (dev)
tasklet_schedule(&dev->task);
tasklet_hi_schedule(&dev->task);
}
static int get_dt_name_idx(int vmid_base, int mmid,

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -80,7 +80,7 @@ static irqreturn_t shm_irq_handler(int irq, void *_pchan)
if (status & 0xffff) {/*source bitmask indicator*/
rc = IRQ_HANDLED;
tasklet_schedule(&dev->task);
tasklet_hi_schedule(&dev->task);
}
}
return rc;