Attention is currently required from: Rizwan Qureshi, Angel Pons. Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48344
to look at the new patch set (#7).
Change subject: soc/intel/common/block/cpu: Introduce CAR_HAS_YMM Kconfig ......................................................................
soc/intel/common/block/cpu: Introduce CAR_HAS_YMM Kconfig
List of changes: 1. Default select INTEL_CAR_NEM_ENHANCED to use the existing algorithm 2. Select CAR_HAS_SF_MASKS 3. Select COS_MAPPED_TO_MSB 4. Add new MSR 0xc85 IA32_YMM 4. a. Update eNEM init flow:
- Set MSR 0x1891 IA32_CR_SF_QOS_MASK_1 = (1 << 2*no. of ways of LLC) - (2^(no. of data ways)-1) - Set MSR 0x1892 IA32_CR_SF_QOS_MASK_2 = (2^(no. of data ways)-1) - Set MSR 0xC85 L3_Protected_ways = (2^(no. of data ways)-1)
b. Update eNEM teardown flow: - Set MSR 0xC85 L3_Protected_ways = 0x00000
This new eNEM flow can be used for ADL SoC and onwards.
BUG=b:168820083 TEST=Verified filling up the entire cache with memcpy at the beginning itself and then running the entire bootblock, verstage, debug FSP-M without running into any issue. This proofs that code caching and eviction is working as expected in eNEM mode.
Change-Id: Idb5a9ec74c50bda371c30e13aeadbb4326887fd6 Signed-off-by: Subrata Banik subrata.banik@intel.com --- M src/include/cpu/x86/msr.h M src/soc/intel/common/block/cpu/Kconfig M src/soc/intel/common/block/cpu/car/cache_as_ram.S M src/soc/intel/common/block/cpu/car/exit_car.S 4 files changed, 31 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/48344/7