Re: [PATCH v5 02/22] cc_platform: Add new attribute to prevent ACPI CPU hotplug

From: Kai Huang
Date: Wed Jun 29 2022 - 05:09:40 EST


On Tue, 2022-06-28 at 22:33 -0700, Christoph Hellwig wrote:
> On Wed, Jun 22, 2022 at 11:15:43PM +1200, Kai Huang wrote:
> > Platforms with confidential computing technology may not support ACPI
> > CPU hotplug when such technology is enabled by the BIOS. Examples
> > include Intel platforms which support Intel Trust Domain Extensions
> > (TDX).
>
> What does this have to to wit hthe cc_platform abstraction? This is
> just an intel implementation bug because they hastended so much into
> implementing this. So the quirks should not overload the cc_platform
> abstraction.
>

Thanks for feedback. I thought there might be similar technologies and it would
be better to have a common attribute. I'll give up this approach and change to
use arch-specific check.

--
Thanks,
-Kai