Re: [PATCH] powerpc: Fix build dependencies for epapr.c which needs libfdt.h

2011-09-13 Thread McClintock Matthew-B29882
On Wed, Jul 20, 2011 at 8:49 AM, David Gibson wrote: > On Tue, Jul 19, 2011 at 11:22:44AM -0500, Matthew McClintock wrote: >> Currently, the build can (very rarely) fail to build because libfdt.h has >> not been created or is in the process of being copied. >> >> Signed-off-by: Matthew McClintock

[PATCH 1/1] hvcs: Ensure page aligned partner info buffer

2011-09-13 Thread Brian King
The Power platform requires the partner info buffer to be page aligned otherwise it will fail the partner info hcall with H_PARAMETER. Switch from using kmalloc to allocate this buffer to __get_free_page to ensure page alignment. Signed-off-by: Brian King --- drivers/tty/hvc/hvcs.c |6 +++-

[PATCH] powerpc/fsl_msi: fix support for multiple MSI ranges

2011-09-13 Thread Timur Tabi
Commit 6820fead ("powerpc/fsl_msi: Handle msi-available-ranges better") added support for multiple ranges in the msi-available-ranges property, but it miscalculated the MSIR index when multiple ranges are used. Signed-off-by: Timur Tabi --- arch/powerpc/sysdev/fsl_msi.c |8 +--- 1 files

Re: [PATCH] powerpc/fsl_msi: Handle msi-available-ranges better

2011-09-13 Thread Scott Wood
On 09/07/2011 11:20 AM, Tabi Timur-B04825 wrote: > The problem is that both offset and irq_index are being incremented in > the loop, and cascade_data->index is set to the sum of the two. > > Perhaps you meant this: > > err = fsl_msi_setup_hwirq(msi, dev, offset, j); That's not rig

[PATCH] KVM: PPC: Fix build failure with HV KVM and CBE

2011-09-13 Thread Alexander Graf
When running with HV KVM and CBE config options enabled, I get build failures like the following: arch/powerpc/kernel/head_64.o: In function `cbe_system_error_hv': (.text+0x1228): undefined reference to `do_kvm_0x1202' arch/powerpc/kernel/head_64.o: In function `cbe_maintenance_hv': (.text