提交 e22dde99 编写于 作者: D Dan Williams

ioat: silence "dca disabled" messages

Turning off dca is not an "error", and the dca-enabled state can be
viewed from sysfs.
Signed-off-by: NDan Williams <dan.j.williams@intel.com>
上级 b419148e
...@@ -98,7 +98,7 @@ static int dca_enabled_in_bios(struct pci_dev *pdev) ...@@ -98,7 +98,7 @@ static int dca_enabled_in_bios(struct pci_dev *pdev)
cpuid_level_9 = cpuid_eax(9); cpuid_level_9 = cpuid_eax(9);
res = test_bit(0, &cpuid_level_9); res = test_bit(0, &cpuid_level_9);
if (!res) if (!res)
dev_err(&pdev->dev, "DCA is disabled in BIOS\n"); dev_dbg(&pdev->dev, "DCA is disabled in BIOS\n");
return res; return res;
} }
...@@ -108,7 +108,7 @@ static int system_has_dca_enabled(struct pci_dev *pdev) ...@@ -108,7 +108,7 @@ static int system_has_dca_enabled(struct pci_dev *pdev)
if (boot_cpu_has(X86_FEATURE_DCA)) if (boot_cpu_has(X86_FEATURE_DCA))
return dca_enabled_in_bios(pdev); return dca_enabled_in_bios(pdev);
dev_err(&pdev->dev, "boot cpu doesn't have X86_FEATURE_DCA\n"); dev_dbg(&pdev->dev, "boot cpu doesn't have X86_FEATURE_DCA\n");
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册