Re: [PATCH 2/2] RAS/AMD/{ATL,FMPM}: Get masked address

From: Yazen Ghannam
Date: Tue Apr 08 2025 - 16:13:42 EST


On Tue, Apr 08, 2025 at 07:33:33PM +0200, Borislav Petkov wrote:
> On Tue, Apr 08, 2025 at 11:52:42AM -0400, Yazen Ghannam wrote:
> > At the moment, FMPM only loads on MI300A. We can just have a local
> > function to mask the addresses. I was thinking we can have function
> > pointers to make things generic. But maybe we keep it simple until
> > really necessary by just using the MI300 version by default.
>
> Now you're talking! :-P
>
> > Please see patch below.
>
> ... which I simplified even more.
>
> I'm thinking whoever is going to test fmpm on something else besides MI300A,
> they will have to extend this address masking thing and then we can cross that
> bridge when we get to it.
>
> So this is keeping it simple for now.
>
> Ack?

Yes, looks good to me.

Thanks!

-Yazen