]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/ioda: Protect PE list
authorFrederic Barrat <fbarrat@linux.ibm.com>
Thu, 21 Nov 2019 13:49:09 +0000 (14:49 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jan 2020 10:31:16 +0000 (21:31 +1100)
commitf9c6d9546ea6699d881b9388d2b6f92aa9860efb
treed0cb3c766548a7e968f3609d38ecc54703d14945
parent8fc553e387bae2aad20bd51d7c71506d31751ddb
powerpc/powernv/ioda: Protect PE list

Protect the PHB's list of PE. Probably not needed as long as it was
populated during PHB creation, but it feels right and will become
required once we can add/remove opencapi devices on hotplug.

Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191121134918.7155-3-fbarrat@linux.ibm.com
arch/powerpc/platforms/powernv/pci-ioda.c