[Skiboot] [PATCH v2] PHB3: Add M64 BAR count as a device node property

Stewart Smith stewart at linux.vnet.ibm.com
Mon Oct 26 14:36:53 AEDT 2015

Wei Yang <weiyang at linux.vnet.ibm.com> writes:
> PHB3 has 16 M64 BARs, which will be used in host to map 64bit MMIO range.
> This is more reasonable for host to retrieve this value than just use a
> hard coded value.
> This patch adds this property in device node, so that host could get it
> from platform.
> Signed-off-by: Wei Yang <weiyang at linux.vnet.ibm.com>

As mentioned on IRC:
- I think this needs to be documented in doc/device-tree that if
  property doesn't exist, assume 16.
  (yes, PCI binding documentation is kind of sparse, not even a pointer
  to anywhere where it may be documented)
- would be good to have ack from gavin or benh on this.

More information about the Skiboot mailing list