> -----Original Message----- > From: Borislav Petkov <[email protected]> > Sent: Thursday, May 17, 2018 9:44 AM > To: Ghannam, Yazen <[email protected]> > Cc: Johannes Hirte <[email protected]>; linux- > [email protected]; [email protected]; [email protected]; > [email protected] > Subject: Re: [PATCH 3/3] x86/MCE/AMD: Get address from already initialized > block > > On Thu, May 17, 2018 at 01:04:19PM +0000, Ghannam, Yazen wrote: ... > > I check PFEH is enabled how? >
If MISC0 is RAZ then you can assume PFEH is enabled. There should be a BIOS option to disable it. BTW, I just tried you patch with PFEH disabled and it seems to work fine. ... > > Since we're caching the values during init, we can drop all the > > *_on_cpu() calls. What do you think? > > Well, if they're all the same on all CPUs, sure. That's your call. > Let's drop them. We won't need them since we're caching the values during init. And the init code is run on the target CPU. We can just make smca_bank_addrs[][] into per_cpu when we need to support different values on different CPUs. Thanks, Yazen

