• Madhukar Pappireddy's avatar
    GICv3: Enable multi socket GIC redistributor frame discovery · ec834925
    Madhukar Pappireddy authored
    
    
    This patch provides declaration and definition of new GICv3 driver
    API: gicv3_rdistif_probe().This function delegates the responsibility
    of discovering the corresponding Redistributor base frame to each CPU
    itself. It is a modified version of gicv3_rdistif_base_addrs_probe()
    and is executed by each CPU in the platform unlike the previous
    approach in which only the Primary CPU did the discovery of all the
    Redistributor frames for every CPU.
    
    The flush operations as part of gicv3_driver_init() function are
    made necessary even for platforms with WARMBOOT_ENABLE_DCACHE_EARLY
    because the GICv3 driver data structure contents are accessed by CPU
    with D-Cache turned off during power down operations.
    
    Change-Id: I1833e81d3974b32a3e4a3df4766a33d070982268
    Signed-off-by: default avatarMadhukar Pappireddy <madhukar.pappireddy@arm.com>
    ec834925
gicv3_main.c 38.9 KB