[Skiboot] [PATCH skiboot] npu2: Advertise correct TCE page size
stewart at linux.ibm.com
Tue Dec 11 17:30:20 AEDT 2018
Alexey Kardashevskiy <aik at ozlabs.ru> writes:
> The P9 NPU workbook says that only 4K/64K/16M/256M page size are supported
> and in fact npu2_map_pe_dma_window() supports just these but in absence of
> the "ibm,supported-tce-sizes" property Linux assumes the default P9 PHB4
> page sizes - 4K/64K/2M/1G - so when Linux tries 2M/1G TCEs, we get lots of
> "Unexpected TCE size" from npu2_tce_kill().
> This advertises TCE page sizes so Linux could handle it correctly, i.e.
> fall back to 4K/64K TCEs.
Merged to master as of 003ccd5775161d352c53cac3d00c6283eb036ffc - should
this also go to stable?
OPAL Architect, IBM.
More information about the Skiboot