• Heyi Guo's avatar
    drivers/gicv3: use mpidr to probe GICR for current CPU · 60cd8030
    Heyi Guo authored
    
    
    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: default avatarHeyi Guo <guoheyi@linux.alibaba.com>
    Change-Id: I64add055385040fe0a56b977e2299608e2309a6e
    60cd8030
gicv3_main.c 45.7 KB