Re: [PATCH 10/26] x86/tdx: Support TDX guest port I/O at decompression time

From: Borislav Petkov
Date: Wed Jan 19 2022 - 15:26:20 EST


On Wed, Jan 19, 2022 at 11:08:41PM +0300, Kirill A. Shutemov wrote:
> > Relocation section '.rela.data.rel.local' at offset 0x5c18 contains 6 entries:
^^^^^^

> JFYI, the message comes from ASSERT in vmlinux.lds.S.

Yah, because those relocations are put in a .rela section and that one
matches.

And looking at which commit added it:

527afc212231 ("x86/boot: Check that there are no run-time relocations")

the removed comment kinda explains it - decompressor kernel cannot
handle runtime relocations. Obviously.

Now we need to figure out how to avoid those...

> I assume for now I can proceed with the assignment that works, right?
> It can be changed later once we figure out what is going on.

Right.

--
Regards/Gruss,
Boris.

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