Re: [PATCH] powerpc: book3s: kvm: Don't abuse host r2 in exit path

2013-11-27 Thread Paul Mackerras
On Mon, Nov 11, 2013 at 07:29:47PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We don't use PACATOC for PR. Avoid updating HOST_R2 with PR > KVM mode when both HV and PR are enabled in the kernel. Without this we > get the below crash > > (qemu) > Unable to handle kernel paging

Re: [PATCH] powerpc: book3s: kvm: Use the saved dsisr and dar values

2013-11-27 Thread Paul Mackerras
On Mon, Nov 11, 2013 at 07:32:57PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Don't try to compute these values. > > Signed-off-by: Aneesh Kumar K.V Acked-by: Paul Mackerras ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.

Re: [PATCH v4] KVM: PPC: vfio kvm device: support spapr tce

2013-11-27 Thread Alex Williamson
On Mon, 2013-11-25 at 19:49 +1100, Alexey Kardashevskiy wrote: > In addition to the external VFIO user API, a VFIO KVM device > has been introduced recently. > > sPAPR TCE IOMMU is para-virtualized and the guest does map/unmap > via hypercalls which take a logical bus id (LIOBN) as a target IOMMU

RE: [PATCH 0/9 v2] vfio-pci: add support for Freescale IOMMU (PAMU)

2013-11-27 Thread Bharat Bhushan
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Monday, November 25, 2013 10:08 PM > To: Bhushan Bharat-R65777 > Cc: Wood Scott-B07421; linux-...@vger.kernel.org; ag...@suse.de; Yoder Stuart- > B08248; io...@lists.linux-foundation.org; bhelg...@goo

[PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc

2013-11-27 Thread Zhouyi Zhou
I do a grep for kmem_cache_zalloc and kmem_cache_alloc in kernel tree, and find some code do not handle NULL return of kmem_cache_zalloc correctly Signed-off-by: Zhouyi Zhou --- arch/powerpc/kvm/book3s_32_mmu_host.c |5 + drivers/iommu/omap-iommu.c|3 ++- fs/jffs2/malloc

[PATCH] powerpc 8xx: Loading kernels over 8Mbytes without CONFIG_PIN_TLB

2013-11-27 Thread Christophe Leroy
Today, the only way to load kernels whose size is greater than 8Mbytes is to activate CONFIG_PIN_TLB. Otherwise, the physical memory initially mapped is limited to 8Mbytes. This patch sets up 24 Mbytes of initial memory regardless of whether CONFIG_PIN_TLB is active or not. It allows to load "big"

[PATCH powerpc] Revert c6102609 and replace it with the correct fix for vio dma mask setting

2013-11-27 Thread Li Zhong
This patch reverts my previous "fix", and replace it with the correct fix from Russell. And as Russell pointed out -- dma_set_mask_and_coherent() (and the other dma_set_mask() functions) are really supposed to be used by drivers only. Signed-off-by: Li Zhong --- arch/powerpc/kernel/vio.c |

Custom board with 5200b and xilinx virtex... how to access...

2013-11-27 Thread neorf3k
We have a custom board with mpc5200b and a xilinx virtex-4. Where could we find some information how to integrate it in your linux 2.6.33? At the moment we have CS4 mapped on it at the address 0x1002 and we are not able to read/write. Via u-boot we can access CS4... Thank you Lorenzo ___