Re: [PATCH 07/14] mce3: pass mce info to EDAC for decoding II

Andi Kleen
2009-07-20T19:44:21Z

On Mon, Jul 20, 2009 at 11:27:12AM -0700, Doug Thompson wrote:

Forgot to mention that problem earlier.

> On an Intel CPU based system, the AMD EDAC module wouldn't load due the missing AMD PCI Vendor/Device ID values during the module probe phase.

The problem is that the weak linking mechanism doesn't know anything
if the rest of the code initialised or not. So as soon as the amd
driver is built in it would be called unconditionally, and
in fact likely crash.

As far as I can see this whole thing barely works even on AMD
due to the other problems.

-Andi
--
ak@linux.intel.com -- Speaking for myself only.