Commit 2c62b00e authored by Mark Dykes's avatar Mark Dykes Committed by TrustedFirmware Code Review
Browse files

Merge "SDEI: updata the affinity of shared event" into integration

parents 8c8efa86 6ccbcff5
...@@ -314,6 +314,9 @@ static int sdei_event_routing_set(int ev_num, uint64_t flags, uint64_t mpidr) ...@@ -314,6 +314,9 @@ static int sdei_event_routing_set(int ev_num, uint64_t flags, uint64_t mpidr)
/* Update event registration flag */ /* Update event registration flag */
se->reg_flags = (unsigned int) flags; 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 * 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