Re: [GIT pull] x86/urgent for v5.15-rc3

From: Borislav Petkov
Date: Tue Sep 28 2021 - 16:41:11 EST


On Tue, Sep 28, 2021 at 01:13:49PM -0700, Linus Torvalds wrote:
> Well, cleaner.
>
> You lost the leXX_to_cpu() part, so now it does the wrong thing if you
> were to cross-build the tooling side on a BE architecture.

Bah, I got carried away with the axe...

And looka here: 1d509f2a6ebc ("x86/insn: Support big endian cross-compiles")

> I'm not sure that matters. BE is dead, nobody would ever cross-build
> tooling that way. But maybe a compile-time error, at least, so that
> the problem is obvious.

Yeah, lemme re-add those conversion things - looks like we do use them.

Thx.

--
Regards/Gruss,
Boris.

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