提交 d22fed9c 编写于 作者: B Ben Widawsky 提交者: Dan Williams

cxl/pci: Remove dev_dbg for unknown register blocks

While interesting to driver developers, the dev_dbg message doesn't do
much except clutter up logs. This information should be attainable
through sysfs, and someday lspci like utilities. This change
additionally helps reduce the LOC in a subsequent patch to refactor some
of cxl_pci register mapping.
Signed-off-by: NBen Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/163379784717.692348.3478221381958300790.stgit@dwillia2-desk3.amr.corp.intel.comSigned-off-by: NDan Williams <dan.j.williams@intel.com>
上级 cdcce47c
...@@ -475,9 +475,6 @@ static int cxl_pci_setup_regs(struct cxl_mem *cxlm) ...@@ -475,9 +475,6 @@ static int cxl_pci_setup_regs(struct cxl_mem *cxlm)
cxl_decode_register_block(reg_lo, reg_hi, &bar, &offset, cxl_decode_register_block(reg_lo, reg_hi, &bar, &offset,
&reg_type); &reg_type);
dev_dbg(dev, "Found register block in bar %u @ 0x%llx of type %u\n",
bar, offset, reg_type);
/* Ignore unknown register block types */ /* Ignore unknown register block types */
if (reg_type > CXL_REGLOC_RBI_MEMDEV) if (reg_type > CXL_REGLOC_RBI_MEMDEV)
continue; continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册