[Skiboot] [PATCH v2] phb4: Enable PHB MMIO-0/1 Bars only when mmio window exists

Stewart Smith stewart at linux.ibm.com
Tue Oct 16 18:51:41 AEDT 2018


Vaibhav Jain <vaibhav at linux.ibm.com> writes:

> Presently phb4_probe_stack() will always enable PHB MMIO0/1 windows
> even if they doesn't exist in phy_map. Hence we do some minor shuffling
> in the phb4_probe_stack() so that MMIO-0/1 Bars are only enabled if
> there corresponding MMIO window exists in the phy_map. In case phy_map
> for an mmio window is '0' we set the corresponding BAR register to
> '0'.
>
> Signed-off-by: Vaibhav Jain <vaibhav at linux.ibm.com>

Thanks, merged to master as of c8e1d61ae2c94d3ac5d4598800f793b313726b2a.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list