Thread (45 messages) flat view 45 messages, 3 authors, 18d ago

Re: [PATCH v4 18/18] PCI/P2PDMA: Log detailed ACS routing diagnostics

From: Leon Romanovsky <leon@kernel.org>
Date: 2026-08-30 08:37:52
Also in: linux-iommu, linux-pci, lkml

On Tue, Aug 25, 2026 at 02:02:26PM -0600, Logan Gunthorpe wrote:

On 2026-08-21 13:38, Leon Romanovsky wrote:
quoted
+	if (ret) {
+		pci_info(pdev,
+			 "P2PDMA ACS debug: Egress Control Vector read at %#x failed: %#x\n",
+			 offset, ret);
This patch seems to add a lot of printk()s with "debug" text. I'm
wondering if maybe they should all be pci_dbg() prints? People trying to
debug why they can't enable P2PDMA would want to enable them. Machines
that are just accidentally doing a P2PDMA transaction and are not
supported won't spew a lot more noise to dmesg.

In either case, I might suggest just dropping the "debug" prefix as I'm
not sure it adds extra value.
Sure, I will change it. I wasn't sure how this patch would be received in
the first place.

Thanks
Logan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help