Re: [PATCH net-next v7 3/7] arch: x86: add IPC mailbox accessor function and add SoC register access

Andrew Lunn
2025-02-06T22:49:05Z

On Thu, Feb 06, 2025 at 08:46:24AM -0800, Dave Hansen wrote:
> On 2/6/25 05:18, Choong Yong Liang wrote:
> >
> > - Exports intel_pmc_ipc() for host access to the PMC IPC mailbox
> > - Add support to use IPC command allows host to access SoC registers
> > through PMC firmware that are otherwise inaccessible to the host due
> > to security policies.
>
> I'm not quite parsing that second bullet as a complete sentence.
>
> But that sounds scary! Why is the fact that they are "otherwise
> inaccessible" relevant here?

And i wounder what other interesting things can be accessed in this
indirect manor, which the security policy would not otherwise allow.

Somebody is going to have fun here. Or is already have fun here.

Andrew