RE: [PATCH] x86/resctrl: Fix unused variable warning in cache_alloc_hsw_probe()

From: Luck, Tony
Date: Wed Nov 01 2023 - 10:33:33 EST


> No noticeable regressions on my Acer Aspire E15 (the laptop uses Intel Core
> i3 Haswell), thanks!
>
> Tested-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>

Thanks for reporting that you tested. I don't think a Haswell i3 gets as far as
the piece of code that I changed. the wrmsr_safe() will return non-zero and
the function returns before getting to the piece that I changed.

-Tony