[Skiboot] [PATCH v2] phb4: Enforce root complex config space size of 2048

Stewart Smith stewart at linux.vnet.ibm.com
Wed May 10 17:45:23 AEST 2017


Michael Neuling <mikey at neuling.org> writes:
> The root complex config space size on PHB4 is 2048. This patch sets
> that size and enforces it when trying to read/write the config space
> in the root complex.
>
> Without this someone reading the config space via /sysfs in linux will
> cause an EEH on the PHB.
>
> If too high, reads returns 1s and writes are silently dropped.
>
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Cheers,

merged to master as of 4fbdcf6bd10b1c93977e789a42bb54b98458acd6

I also wrote a test for op-test-framework:
https://github.com/open-power/op-test-framework/commit/c146ee03e66944d8acaf8af5a079721cc967487e

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list