All of lore.kernel.org
 help / color / mirror / Atom feed
* [FIX PATCH] powerpc/pseries: Fix vector5 in ibm architecture vector table
@ 2018-03-06  8:14 Bharata B Rao
  2018-03-06 13:29 ` [FIX] " Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Bharata B Rao @ 2018-03-06  8:14 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: nfont, mwb, mpe, 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 <bharata@linux.vnet.ibm.com>
---
 arch/powerpc/kernel/prom_init.c | 1 -
 1 file changed, 1 deletion(-)

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 */
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [FIX] powerpc/pseries: Fix vector5 in ibm architecture vector table
  2018-03-06  8:14 [FIX PATCH] powerpc/pseries: Fix vector5 in ibm architecture vector table Bharata B Rao
@ 2018-03-06 13:29 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2018-03-06 13:29 UTC (permalink / raw)
  To: Bharata B Rao, linuxppc-dev; +Cc: nfont, mwb, Bharata B Rao

On Tue, 2018-03-06 at 08:14:32 UTC, Bharata B Rao wrote:
> 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 <bharata@linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/b0c41b8b6e43120d7c35e4709508a3

cheers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-06 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06  8:14 [FIX PATCH] powerpc/pseries: Fix vector5 in ibm architecture vector table Bharata B Rao
2018-03-06 13:29 ` [FIX] " Michael Ellerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.