Messages in this thread | | | Date | Fri, 14 May 2021 09:05:47 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] drm/amdgpu: Register bad page handler for Aldebaran |
| |
On Thu, May 13, 2021 at 11:10:34PM +0000, Joshi, Mukul wrote: > That's probably not the best example to look at.
Oh, it is the *perfect* example but...
> smca_get_long_name() is used in drivers/edac/mce_amd.c and this file > doesn't get compiled when CONFIG_X86_MCE_AMD is not defined. > > And amdgpu driver has no dependency on CONFIG_X86_MCE_AMD.
... maybe this will make you see it the right way: how much of the amdgpu RAS functionality you're adding, is going to even function without CONFIG_X86_MCE_AMD?
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |