On Fri, 22 Jan 2021 08:50:29 +0100, C��dric Le Goater wrote:
The "ibm,arch-vec-5-platform-support" property is a list of pairs of
bytes representing the options and values supported by the platform
firmware. At boot time, Linux scans this list and activates the
available features it recognizes : Radix and XIVE.
A recent change modified the number of entries to loop on and 8 bytes,
4 pairs of { options, values } entries are always scanned. This is
fine on KVM but not on PowerVM which can advertises less. As a
consequence on this platform, Linux reads extra entries pointing to
random data, interprets these as available features and tries to
activate them, leading to a firmware crash in
ibm,client-architecture-support.
[...]
Applied to powerpc/next.
[1/1] powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
https://git.kernel.org/powerpc/c/ed5b00a05c2ae95b59adc3442f45944ec632e794
cheers