Re: sparc64 PCI BAR allocation is still problematic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Oops, sorry, I can't easily compile test it.  Here's an updated patch:
> 
> commit a9ded309cbf3f57e9979848fd0aa0ffacdf11f1a
> Author: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Date:   Tue Apr 10 08:47:34 2018 -0500

Thanks, this patch compiles and works - Video RAM related BAR allocation 
errors are gone.

Hera are the /proc/iomem's but unfortunately the physical 
addresses have been censored by security:

Netra X1: no BAR errors
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : /pci@1f,0
  00000000-00000000 : 0000:00:0c.0
    00000000-00000000 : tulip
  00000000-00000000 : 0000:00:05.0
    00000000-00000000 : tulip
  00000000-00000000 : 0000:00:0c.0
  00000000-00000000 : 0000:00:05.0
  00000000-00000000 : 0000:00:0a.0
    00000000-00000000 : ohci_hcd
  00000000-00000000 : IOMMU

Fire V100: no BAR errors
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : /pci@1f,0
  00000000-00000000 : 0000:00:0c.0
    00000000-00000000 : tulip
  00000000-00000000 : 0000:00:05.0
    00000000-00000000 : tulip
  00000000-00000000 : 0000:00:0c.0
  00000000-00000000 : 0000:00:05.0
  00000000-00000000 : 0000:00:0a.0
  00000000-00000000 : IOMMU

Netra T1-105: no BAR errors, qla1280 loads fine.
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : /pci@1f,0
  00000000-00000000 : PCI Bus 0000:02
    00000000-00000000 : PCI Bus 0000:03
      00000000-00000000 : PCI Bus 0000:04
        00000000-00000000 : 0000:04:00.0
        00000000-00000000 : 0000:04:00.0
        00000000-00000000 : 0000:04:00.1
          00000000-00000000 : sunhme
        00000000-00000000 : 0000:04:04.0
        00000000-00000000 : 0000:04:04.0
  00000000-00000000 : IOMMU
  00000000-00000000 : PCI Bus 0000:01
    00000000-00000000 : 0000:01:01.1
      00000000-00000000 : sunhme
    00000000-00000000 : 0000:01:02.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:01:02.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:01:03.1
      00000000-00000000 : sunhme
    00000000-00000000 : eeprom
    00000000-00000000 : su
    00000000-00000000 : su
    00000000-00000000 : power
    00000000-00000000 : auxio

Netra T1-200: no BAR errors
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : /pci@1f,0
  00000000-00000000 : PCI Bus 0000:02
    00000000-00000000 : 0000:02:08.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:08.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:08.1
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:08.1
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:05.0
      00000000-00000000 : qla2xxx
    00000000-00000000 : 0000:02:05.0
  00000000-00000000 : IOMMU
  00000000-00000000 : PCI Bus 0000:01
    00000000-00000000 : 0000:01:0c.1
      00000000-00000000 : sungem
    00000000-00000000 : 0000:01:05.1
      00000000-00000000 : sungem
    00000000-00000000 : 0000:01:0c.1
    00000000-00000000 : 0000:01:0c.3
    00000000-00000000 : 0000:01:0c.3
      00000000-00000000 : ohci_hcd
    00000000-00000000 : 0000:01:05.1
    00000000-00000000 : 0000:01:05.3
    00000000-00000000 : 0000:01:05.3
      00000000-00000000 : ohci_hcd
    00000000-00000000 : eeprom

Fire V120: no BAR errors
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : /pci@1f,0
  00000000-00000000 : PCI Bus 0000:02
    00000000-00000000 : 0000:02:08.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:08.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:08.1
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:02:08.1
      00000000-00000000 : sym53c8xx
  00000000-00000000 : IOMMU
  00000000-00000000 : PCI Bus 0000:01
    00000000-00000000 : 0000:01:0c.1
      00000000-00000000 : sungem
    00000000-00000000 : 0000:01:05.1
      00000000-00000000 : sungem
    00000000-00000000 : 0000:01:0c.1
    00000000-00000000 : 0000:01:0c.3
    00000000-00000000 : 0000:01:0c.3
      00000000-00000000 : ohci_hcd
    00000000-00000000 : 0000:01:05.1
    00000000-00000000 : 0000:01:05.3
    00000000-00000000 : 0000:01:05.3
      00000000-00000000 : ohci_hcd
    00000000-00000000 : eeprom

Fire V210: Video RAM BAR error is gone, these are still here:
[    5.061083] pci 0001:00:07.0: can't claim BAR 0 [io  0x7fe01000000-0x7fe0100ffff]: address conflict with 0001:00:06.0 [io  0x7fe01000600-0x7fe0100061f]
[    5.061334] pci 0001:00:07.0: can't claim BAR 2 [mem 0x7ff00000000-0x7ff000fffff]: address conflict with 0001:00:07.0 [mem 0x7ff00000000-0x7ff000fffff]

00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : jbusmc
00000000-00000000 : jbusmc
00000000-00000000 : /pci@1d,700000
  00000000-00000000 : 0003:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0003:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : 0003:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0003:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1c,600000
  00000000-00000000 : 0002:00:02.0
    00000000-00000000 : sym53c8xx
  00000000-00000000 : 0002:00:02.0
    00000000-00000000 : sym53c8xx
  00000000-00000000 : 0002:00:02.1
    00000000-00000000 : sym53c8xx
  00000000-00000000 : 0002:00:02.1
    00000000-00000000 : sym53c8xx
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1f,700000
  00000000-00000000 : 0000:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0000:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : 0000:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0000:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1e,600000
  00000000-00000000 : 0001:00:07.0
  00000000-00000000 : 0001:00:0a.0
  00000000-00000000 : IOMMU

Fire V240: Video RAM BAR errors is gone, these are still here:
[    5.530237] pci 0001:00:07.0: can't claim BAR 0 [io  0x7fe01000000-0x7fe0100ffff]: address conflict with 0001:00:06.0 [io  0x7fe01000600-0x7fe0100061f]
[    5.530389] pci 0001:00:07.0: can't claim BAR 2 [mem 0x7ff00000000-0x7ff000fffff]: address conflict with 0001:00:07.0 [mem 0x7ff00000000-0x7ff000fffff]

00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : jbusmc
00000000-00000000 : jbusmc
00000000-00000000 : /pci@1d,700000
  00000000-00000000 : 0003:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0003:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : 0003:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0003:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1c,600000
  00000000-00000000 : 0002:00:02.0
    00000000-00000000 : sym53c8xx
  00000000-00000000 : 0002:00:02.0
    00000000-00000000 : sym53c8xx
  00000000-00000000 : 0002:00:02.1
    00000000-00000000 : sym53c8xx
  00000000-00000000 : 0002:00:02.1
    00000000-00000000 : sym53c8xx
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1f,700000
  00000000-00000000 : 0000:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0000:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : 0000:00:02.0
    00000000-00000000 : tg3
  00000000-00000000 : 0000:00:02.1
    00000000-00000000 : tg3
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1e,600000
  00000000-00000000 : 0001:00:07.0
  00000000-00000000 : 0001:00:03.0
    00000000-00000000 : skge
  00000000-00000000 : 0001:00:03.0
  00000000-00000000 : 0001:00:0a.0
  00000000-00000000 : IOMMU

Fire V440: Video RAM BAR error is gone, these are still here:
[    5.082920] pci 0002:00:07.0: can't claim BAR 0 [io  0x7fe01000000-0x7fe0100ffff]: address conflict with 0002:00:06.0 [io  0x7fe01000600-0x7fe0100061f]
[    5.082945] pci 0002:00:07.0: can't claim BAR 2 [mem 0x7ff00000000-0x7ff000fffff]: address conflict with 0002:00:07.0 [mem 0x7ff00000000-0x7ff000fffff]

00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : jbusmc
00000000-00000000 : jbusmc
00000000-00000000 : jbusmc
00000000-00000000 : jbusmc
00000000-00000000 : /pci@1d,700000
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1c,600000
  00000000-00000000 : 0000:00:02.0
  00000000-00000000 : 0000:00:02.0
    00000000-00000000 : eth0
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1f,700000
  00000000-00000000 : 0003:00:01.0
  00000000-00000000 : 0003:00:01.0
    00000000-00000000 : eth1
  00000000-00000000 : 0003:00:02.0
    00000000-00000000 : mpt
  00000000-00000000 : 0003:00:02.0
    00000000-00000000 : mpt
  00000000-00000000 : 0003:00:02.1
    00000000-00000000 : mpt
  00000000-00000000 : 0003:00:02.1
    00000000-00000000 : mpt
  00000000-00000000 : 0003:00:02.0
  00000000-00000000 : 0003:00:02.1
  00000000-00000000 : IOMMU
00000000-00000000 : /pci@1e,600000
  00000000-00000000 : 0002:00:07.0
  00000000-00000000 : 0002:00:0a.0
  00000000-00000000 : 0002:00:0b.0
  00000000-00000000 : IOMMU

Blade 100: Video RAM related BAR error is gnone, this is still here:
[    6.131499] pci 0000:00:07.0: can't claim BAR 0 [io  0x1fe02000000-0x1fe0200ffff]: address conflict with 0000:00:03.0 [io  0x1fe02000600-0x1fe0200061f]

00000000-00000000 : System RAM
  00000000-00000000 : Kernel code
  00000000-00000000 : Kernel data
  00000000-00000000 : Kernel bss
00000000-00000000 : System RAM
00000000-00000000 : System RAM
00000000-00000000 : /pci@1f,0
  00000000-00000000 : 0000:00:07.0
  00000000-00000000 : 0000:00:0c.1
    00000000-00000000 : sungem
  00000000-00000000 : 0000:00:0c.2
  00000000-00000000 : 0000:00:0c.2
  00000000-00000000 : 0000:00:08.0
  00000000-00000000 : 0000:00:13.0
  00000000-00000000 : 0000:00:13.0
  00000000-00000000 : 0000:00:0c.1
  00000000-00000000 : 0000:00:0c.2
  00000000-00000000 : 0000:00:0c.3
  00000000-00000000 : 0000:00:0c.3
    00000000-00000000 : ohci_hcd
  00000000-00000000 : PCI Bus 0000:01
    00000000-00000000 : 0000:01:00.0
      00000000-00000000 : sym53c8xx
    00000000-00000000 : 0000:01:02.0
    00000000-00000000 : 0000:01:02.0
  00000000-00000000 : 0000:00:13.0
    00000000-00000000 : atyfb
  00000000-00000000 : IOMMU
  00000000-00000000 : eeprom


-- 
Meelis Roos (mroos@xxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux