]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
powerpc/powernv/ioda: Protect PE list
authorFrederic Barrat <fbarrat@linux.ibm.com>
Mon, 24 Feb 2020 15:52:24 +0000 (16:52 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 26 Feb 2020 02:34:09 +0000 (20:34 -0600)
commit391677f6a8a59643357fe981446acf257751c91d
tree236138e0f9c2909fe83494ef96204441ead565c3
parent02b7225f48ea5240509a2b7974b26dad31eff0af
powerpc/powernv/ioda: Protect PE list

BugLink: https://bugs.launchpad.net/bugs/1862121
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
(cherry picked from commit 80f1ff83fa113aa718ff4009684981386c574954)
Signed-off-by: Frank Heimes <frank.heimes@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/platforms/powernv/pci-ioda.c