cpu/i386: update xsave components after CPUID filtering

2023-08-08 Thread Huanyu Zhai
because on platform with Skylake-Server cpus, Intel PKU is disabled during x86_cpu_filter_features(), but the XSAVE PKRU bit was enabled by x86_cpu_expand_features(). Signed-off-by: Huanyu Zhai Co-authored-by: Wang Xin --- target/i386/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --gi

[PATCH] cpu/i386: update xsave components after CPUID filtering

2022-11-23 Thread Huanyu ZHAI
enabled without Intel PKU's presence. That's because on platform with Skylake-Server cpus, Intel PKU is disabled during x86_cpu_filter_features(), but the XSAVE PKRU bit was enabled by x86_cpu_expand_features(). Signed-off-by: Huanyu ZHAI zhaihua...@huawei.com<mailto:zhaihua...@huawe