powerpc/pseries: Fix vector5 in ibm architecture vector table
PATCH 1/1 powerpc/pseries: Fix vector5 in ibm architecture vector table
With ibm,dynamic-memory-v2 and ibm,drc-info coming around the same time, byte22 in vector5 of ibm architecture vector table got set twice separately. The end result is that guest kernel isn't advertising support for ibm,dynamic-memory-v2.
Fix this by removing the duplicate assignment of byte22.
--- arch/powerpc/kernel/prom_init.c | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/kernel/prom_init.c +0 -1
@@ -874,7 +874,6 @@ struct ibm_arch_vec __cacheline_aligned ibm_architecture_vec = { .mmu = 0, .hash_ext = 0, .radix_ext = 0, - .byte22 = 0, },/* option vector 6: IBM PAPR hints */
Signature · 1 line
2.14.3
Michael Ellerman
AppliedQuoted 11 lines · Bharata B Rao
With ibm,dynamic-memory-v2 and ibm,drc-info coming around the same time, byte22 in vector5 of ibm architecture vector table got set twice separately. The end result is that guest kernel isn't advertising support for ibm,dynamic-memory-v2.
Fix this by removing the duplicate assignment of byte22.
Fixes 02ef6dd8109b5 (powerpc: Enable support for ibm,drc-info devtree property)Fixes c7a3275e0f9e4 (powerpc/pseries: Revert support for ibm,drc-info devtree property)Signed-off-by Bharata B Rao <[email protected]>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/b0c41b8b6e43120d7c35e4709508a3
cheers