Re: [PATCH v10 00/11] Add TDX Guest Support (Initial support)

From: Borislav Petkov
Date: Mon Oct 11 2021 - 09:03:49 EST


On Sat, Oct 09, 2021 at 01:56:12PM -0700, Kuppuswamy, Sathyanarayanan wrote:
> I thought the above issues warranted a re-submission. I know that it is a mistake
> from my end. But I did not want you to review code changes that might go away
> due to rebase.

That's fine - most of the time I do notice when code is changing and I
even warn submitters about it.

> I have sent v10 within few hours of v9 submission to fix a static inline issue.
>
> I did not catch it my compilation test because, it happens only with a
> TDX disabled config.

For that you need to write yourself a script which does:

ARCHES=('i386' 'x86_64')

...

for a in "${ARCHES[@]}"
do
for cfg in "allnoconfig" "defconfig" "allmodconfig" "allyesconfig"
do
build_kernel $a $cfg
done
done

then find a big fat machine at Intel - I don't think that would post as
a particularly hard problem :-) - and run it in tmpfs, on your patchset.

Then you collect build logs and grep them for errors. And for additional
coverage, when you're done with the above configs, you do randconfigs.
That's what I do all the time with patchsets and it catches pretty much
every build error.

> Sorry for the trouble again. Please ignore the v9 version. I will try
> not to repeat this in future.

Thanks for that - very much appreciated.

--
Regards/Gruss,
Boris.

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