[v2] rpaphp: fix slot registration for multiple slots under a PHB
patch-notifications at ellerman.id.au
Wed Jul 20 19:10:25 AEST 2016
On Mon, 2016-11-07 at 22:16:27 UTC, Tyrel Datwyler wrote:
> PowerVM seems to only ever provide a single hotplug slot per PHB.
> The under lying slot hotplug registration code assumed multiple slots,
> but the actual implementation is broken for multiple slots. This went
> unnoticed for years due to the nature of PowerVM as mentioned
> previously. Under qemu/kvm the hotplug slot model aligns more with
> x86 where multiple slots are presented under a single PHB. As seen
> in the following each additional slot after the first fails to
> register due to each slot always being compared against the first
> child node of the PHB in the device tree.
> Signed-off-by: Tyrel Datwyler <tyreld at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
More information about the Linuxppc-dev