summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.vnet.ibm.com>2018-03-06 13:44:32 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-06 23:05:38 +1100
commitb0c41b8b6e43120d7c35e4709508a3d90a09646e (patch)
treea236913d4697ab21f7e2748a8786e5f7bf5978d6 /arch/powerpc
parente7666d046ac0eda535282a5fd3b188f31d0f4afd (diff)
downloadlinux-stable-b0c41b8b6e43120d7c35e4709508a3d90a09646e.tar.gz
linux-stable-b0c41b8b6e43120d7c35e4709508a3d90a09646e.tar.bz2
linux-stable-b0c41b8b6e43120d7c35e4709508a3d90a09646e.zip
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. Fixes: 02ef6dd8109b ("powerpc: Enable support for ibm,drc-info devtree property") Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/prom_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index d22c41c26bb3..acf4b2e0530c 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -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 */