commit | 60cd8030bfe7da4cd5edd04df25ad359aa22c7c0 | [log] [tgz] |
---|---|---|
author | Heyi Guo <guoheyi@linux.alibaba.com> | Tue May 19 11:50:40 2020 +0800 |
committer | Manish Pandey <manish.pandey2@arm.com> | Wed Feb 03 11:12:01 2021 +0000 |
tree | 79d92985dcec951a26ec0faab4f301661df50f8f | |
parent | 96edbe03413bfa870b4320e4642f58ee3b9de4b8 [diff] |
drivers/gicv3: use mpidr to probe GICR for current CPU In function gicv3_rdistif_probe(), line #1322 implies gicv3_driver_data->mpidr_to_core_pos() may be null, but the original code uses this interface to get current CPU index unconditionally. It is better to use MPIDR to probe GICR which does not depend on gicv3_driver_data->mpidr_to_core_pos(). Signed-off-by: Heyi Guo <guoheyi@linux.alibaba.com> Change-Id: I64add055385040fe0a56b977e2299608e2309a6e