Re: [PATCH] x86/execmem: fix ROX cache usage in Xen PV guests

From: Borislav Petkov
Date: Mon Jan 13 2025 - 15:19:41 EST


On Mon, Jan 13, 2025 at 09:10:03PM +0100, Marek Marczykowski-Górecki wrote:
> I was running some tests today with the above patch on top of -rc7
> (and without Jürgen's one). Some tests are still running, and there are
> still some crashes I need to take a look at (could be completely
> unrelated), but generally it looks _much_ better, especially I don't see
> the wall of crashes in HVM domU that I've seen before
> (https://lore.kernel.org/xen-devel/Z3cyhdKu6M1vdBe_@mail-itl/).
> The latter could be an effect of the above fix, or could be some other
> fix that happened between -rc5 and -rc7. If that would be interesting,
> I can also re-test with -rc5 + the above patch, or something else. Let
> me know.

Yeah, we disabled that EXECMEM_ROX thing for now on x86, that close to the
merge window to avoid the fiasco:

https://git.kernel.org/tip/a9bbe341333109465605e8733bab0b573cddcc8c

and so this should fix all issues for you, I presume.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette