]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Document cxl dependency on special case in pnv_eeh_reset()
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Fri, 22 Jul 2016 07:16:35 +0000 (17:16 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 May 2017 04:45:37 +0000 (14:45 +1000)
commit9c51fbdcc71f304f403acbddc11232d46dfb970c
treed4f8575404764758a852ae8b11ec0cf6493c00d9
parentf21f05cb14150b678d9f41835768e110612c42ac
powerpc/powernv: Document cxl dependency on special case in pnv_eeh_reset()

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 e99c2a4b68de ("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@linux.vnet.ibm.com>
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c