]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:43:31 +0000 (16:43 +0100)
commit4d1530cea24be6a9ccfafe69f8501c8d9dd9cb57
tree5f5cc054eb7a8765c775f1e1cadc66fe0a780873
parentbe269f4d997f02b9e4492b597a24e73b5a70562b
EDAC: skx_common: downgrade message importance on missing PCI device

[ Upstream commit 128be2acd92549d0bf47aab3985c88016bf48a28 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/edac/skx_common.c