Re: [PATCH v3 3/8] x86/psp: Register PSP platform device when ASP table is present

From: Borislav Petkov
Date: Mon Mar 20 2023 - 17:03:12 EST


On Mon, Mar 20, 2023 at 09:18:19PM +0100, Jeremi Piotrowski wrote:
> I agree with you here. The irq config of this thing requires specifying
> passing a CPU vector, this follows the hardware spec which I linked in the
> first 2 commits, pages 13-15 here:

You mean the interrupt vector in table 19?

> https://www.amd.com/system/files/TechDocs/58028_1.00-PUB.pdf
>
> The only way I found to get this to work was going through x86_vector_domain
> or statically defining a system vector (the latter felt worse).

Hmm. Why is that thing special and can't use devm_request_irq() like the
rest of the drivers out there?

--
Regards/Gruss,
Boris.

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