[PATCH] powerpc-kvm: fixing page alignment for TCE

2012-09-04 Thread Alexey Kardashevskiy
From: Paul Mackerras pau...@samba.org TODO: ask Paul to make a proper message. This is the fix for a host kernel compiled with a page size other than 4K (TCE page size). In the case of a 64K page size, the host used to lose address bits in hpte_rpn(). The patch fixes it. Signed-off-by: Alexey

Re: [PATCH 6/6] powerpc/booke64: restore VDSO information on critical exception

2012-09-04 Thread Benjamin Herrenschmidt
On Mon, 2012-08-06 at 16:27 +0300, Mihai Caraman wrote: Critical exception handler on 64-bit booke uses user-visible SPRG3 as scratch. Restore VDSO information in SPRG3 on exception prolog. Breaks the build on !BOOKE because of : diff --git a/arch/powerpc/kernel/vdso.c