]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Revert support for ibm,drc-info devtree property
authorMichael Bringmann <mwb@linux.vnet.ibm.com>
Tue, 13 Feb 2018 20:02:53 +0000 (14:02 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Feb 2018 03:32:41 +0000 (14:32 +1100)
commit5778e061b042a070f6b390b0f9d4bcd7c043bff9
tree7fdcddeb05180cb6ef395a1e40585d9d277c658e
parent9f58cf15a652b377ab6e4e990810404caee09e82
powerpc/pseries: Revert support for ibm,drc-info devtree property

This reverts commit f11e8389482e5c268f97ed11607e23dbf0d7c449.

The earlier patch tried to enable support for a new property
"ibm,drc-info" on powerpc systems.

Unfortunately, some errors in the associated patch set break things
in some of the DLPAR operations.  In particular when attempting to
hot-add a new CPU or set of CPUs, the original patch failed to
properly calculate the available resources, and aborted the operation.
In addition, the original set missed several opportunities to compress
and reuse common code.

As the associated patch set was meant to provide an optimization of
storage and performance of a set of device-tree properties for future
systems with large amounts of resources, reverting just restores
the previous behavior for existing systems.  It seems unnecessary
to enable this feature and introduce the consequent problems in the
field that it will cause at this time, so please revert it for now
until testing of the corrections are finished properly.

Fixes: f11e8389482e ("powerpc: Enable support for ibm,drc-info devtree property")
Signed-off-by: Michael W. Bringmann <mwb@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c