EDAC: skx_common: downgrade message importance on missing PCI device
authorAristeu Rozanski <aris@redhat.com>
Wed, 4 Dec 2019 21:23:25 +0000 (16:23 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 10 Dec 2019 22:14:43 +0000 (14:14 -0800)
commit854bb48018d5da261d438b2232fa683bdb553979
tree46f866afbfd5bd9e1339e15c72a596d343716ecf
parenta483e22791d6be648a0bb2fd16abbe4240e9776a
EDAC: skx_common: downgrade message importance on missing PCI device

Both skx_edac and i10nm_edac drivers are loaded based on the matching CPU being
available which leads the module to be automatically loaded in virtual machines
as well. That will fail due the missing PCI devices. In both drivers the first
function to make use of the PCI devices is skx_get_hi_lo() will simply print

EDAC skx: Can't get tolm/tohm

for each CPU core, which is noisy. This patch makes it a debug message.

Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20191204212325.c4k47p5hrnn3vpb5@redhat.com
drivers/edac/skx_common.c