[Skiboot] [PATCH] pci: Describe PHB diag data size in device tree
stewart at linux.vnet.ibm.com
Mon May 1 14:02:55 AEST 2017
Russell Currey <ruscur at russell.cc> writes:
> Linux hardcodes the PHB diag data buffer at (as of this commit) 8192 bytes.
> This has been enough for P7IOC and PHB3, but the 512 PEs of PHB4 pushes
> the diag data blob over this size. Rather than just increasing the
> hardcoded size in Linux, provide the size of the diag data blob in the
> device tree so that the OS can dynamically allocate as much as it needs.
> This both enables more space for PHB4 and less wasted memory for P7IOC
> and PHB3.
> P7IOC communicates both hub and PHB data using this buffer, so when
> setting the size, use whichever struct is largest.
> Signed-off-by: Russell Currey <ruscur at russell.cc>
Thanks, merged to master as of c205afe6143c017cf88f60d5f5ea038fa928ff01
OPAL Architect, IBM.
More information about the Skiboot