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

This commit is contained in:
Mark Dykes 2021-03-05 22:22:15 +01:00 committed by TrustedFirmware Code Review
commit 2c62b00e8c
1 changed files with 3 additions and 0 deletions

View File

@ -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