Skip to contentSkip to conversation

pci: Mark 64bit Memory BARs as such

PATCH New Phil Sutter 3 participants 3 messages Mar 3, 2021 – Apr 13, 2021 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: Mark 64bit Memory BARs as such

Just a bit more info to the reader.

---
 drivers/pci/pci_auto.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/pci/pci_auto.c +2 -1
index da76148c58398..05663c72b4b84 100644
@@ -88,8 +88,9 @@ static void dm_pciauto_setup_device(struct udevice *dev, int bars_num,
 			else
 				bar_res = mem;
 
-			debug("PCI Autoconfig: BAR %d, %s, size=0x%llx, ",
+			debug("PCI Autoconfig: BAR %d, %s%s, size=0x%llx, ",
 			      bar_nr, bar_res == prefetch ? "Prf" : "Mem",
+			      found_mem64 ? "64" : "",
 			      (unsigned long long)bar_size);
 		}
 
Signature · 1 line
2.30.1
#1 lore raw

PATCH 1/1 pci: Mark 64bit Memory BARs as such

Quoted 13 lines · Phil Sutter

Just a bit more info to the reader.

---
  drivers/pci/pci_auto.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/pci/pci_auto.c +0 -0
index da76148c58398..05663c72b4b84 100644

drivers/pci/pci_auto.c static void dm_pciauto_setup_device(struct udevice *dev, int bars_num, · line 96

Quoted 10 lines
drivers/pci/pci_auto.c +2 -1
@@ -88,8 +88,9 @@ static void dm_pciauto_setup_device(struct udevice *dev, int bars_num,
  			else
  				bar_res = mem;
 
-			debug("PCI Autoconfig: BAR %d, %s, size=0x%llx, ",
+			debug("PCI Autoconfig: BAR %d, %s%s, size=0x%llx, ",
  			      bar_nr, bar_res == prefetch ? "Prf" : "Mem",
+			      found_mem64 ? "64" : "",
  			      (unsigned long long)bar_size);
  		}
 

Thanks,
Stefan

#2 lore raw

PATCH 1/1 pci: Mark 64bit Memory BARs as such

In reply to Phil Sutter
Quoted 4 lines · Phil Sutter

Just a bit more info to the reader.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210413/4f6fffca/attachment.sig>