• Vineet Gupta's avatar
    ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache · 08fe0079
    Vineet Gupta authored
    An ARC700 customer reported linux boot crashes when upgrading to bigger
    L1 dcache (64K from 32K). Turns out they had an aliasing VIPT config and
    current code only assumed 2 colours, while theirs had 4. So default to 4
    colours and complain if there are fewer. Ideally this needs to be a
    Kconfig option, but heck that's too much of hassle for a single user.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    08fe0079
cache.c 28.4 KB