Commit 6ccbcff5 authored by Tony Xie's avatar Tony Xie Committed by Madhukar Pappireddy
Browse files

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: default avatarTony Xie <tony.xie@rock-chips.com>
Change-Id: Ie5d7cc4199253f6af1c28b407f712caac3092d06
parent 8c8efa86
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment