SDEI: updata the affinity of shared event
when updata routing of an SDEI event, if the registration flags is SDEI_REGF_RM_PE, need to updata the affinity of shared event. Signed-off-by: Tony Xie <tony.xie@rock-chips.com> Change-Id: Ie5d7cc4199253f6af1c28b407f712caac3092d06
This commit is contained in:
parent
8c8efa8620
commit
6ccbcff502
|
@ -314,6 +314,9 @@ static int sdei_event_routing_set(int ev_num, uint64_t flags, uint64_t mpidr)
|
|||
|
||||
/* Update event registration flag */
|
||||
se->reg_flags = (unsigned int) flags;
|
||||
if (flags == SDEI_REGF_RM_PE) {
|
||||
se->affinity = (mpidr & MPIDR_AFFINITY_MASK);
|
||||
}
|
||||
|
||||
/*
|
||||
* ROUTING_SET is permissible only when event composite state is
|
||||
|
|
Loading…
Reference in New Issue