[PATCH] powerpc/powernv: document cxl dependency on special case in pnv_eeh_reset()

Gavin Shan gwshan at linux.vnet.ibm.com
Mon Jul 25 10:13:41 AEST 2016


On Fri, Jul 22, 2016 at 05:16:35PM +1000, Andrew Donnellan wrote:
>pnv_eeh_reset() has special handling for PEs whose primary bus is the root
>bus or the bus immediately underneath the root port.
>
>The cxl bi-modal card support added in b0b5e5918ad1 ("cxl: Add
>cxl_check_and_switch_mode() API to switch bi-modal cards") relies on this
>behaviour when hot-resetting the CAPI adapter following a mode switch.
>Document this in pnv_eeh_reset() so we don't accidentally break it.
>
>Suggested-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
>Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
>

Reviewed-by: Gavin Shan <gwshan at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list