• Vineet Gupta's avatar
    ARCv2: boot log: updates for HS48: dual-issue, ECC, Loop Buffer · f3156851
    Vineet Gupta authored
    Print the hardware support for ECC, Loop Buffer as well as the runtime
    enabled status
    
    Note that unlike the existing boot printing, this one is not read from
    pre-decoded hardware capabilty info cached in cpuinfo[] struct.
    Instead we read the AUX regs on the spot and print it, without botherign
    to save anywhere.
    
    There is no point in saving static hardware capabilites in memory when
    its use is very sporadic and non-performance critical, mainly for
    /proc/cpuinfo. This gets worse in SMP, given it is per-cpu, and pretty
    much exactly same across all cpus. So only info needed at runtime
    (e.g. TLB geometry) needs to be cached in cpuinfo[]. So going fwd
    we will start converting code to this paradigm.
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    f3156851
arcregs.h 8.44 KB