Browse Source

Merge "fix(gicv3): fix iroute value wrong issue" into integration

pull/1978/merge
Madhukar Pappireddy 3 years ago
committed by TrustedFirmware Code Review
parent
commit
3210a434d4
  1. 2
      drivers/arm/gic/v3/gicv3_private.h

2
drivers/arm/gic/v3/gicv3_private.h

@ -171,7 +171,7 @@
static inline u_register_t gicd_irouter_val_from_mpidr(u_register_t mpidr, static inline u_register_t gicd_irouter_val_from_mpidr(u_register_t mpidr,
unsigned int irm) unsigned int irm)
{ {
return (mpidr & ~(U(0xff) << 24)) | return (mpidr & MPIDR_AFFINITY_MASK) |
((irm & IROUTER_IRM_MASK) << IROUTER_IRM_SHIFT); ((irm & IROUTER_IRM_MASK) << IROUTER_IRM_SHIFT);
} }

Loading…
Cancel
Save