[Qemu-devel] [PATCH RFC 1/4] arm: smmu: ARM SMMUv3 emulation

2016-01-11 Thread pmallapp
From: Prem Mallappa Implementation Notes: - Implements ARM SMMUv3 version 11.0 - Works with SMMUv3 Driver in Linux Kernel 4.4 - Only LPAE mode Translation supported - BE mode TT not supported Yet - Stage1 only - Suspend/Resume not yet supported

[Qemu-devel] [PATCH RFC 4/4] devicetree: Added new APIs to make use of more fdt functions

2016-01-11 Thread pmallapp
From: Prem Mallappa SMMUv3 needs device tree entry like below interrupt-names = "gerror", "priq", "eventq", "cmdq-sync"; This patch introduces helper function to add entries like above Signed-off-by: Prem Mallappa --- device_tree.c| 35 +

[Qemu-devel] [PATCH RFC 2/4] hw: arm: Added smmuv3 files for build

2016-01-11 Thread pmallapp
From: Prem Mallappa Added files to build system Signed-off-by: Prem Mallappa --- default-configs/aarch64-softmmu.mak | 1 + hw/arm/Makefile.objs| 1 + 2 files changed, 2 insertions(+) diff --git a/default-configs/aarch64-softmmu.mak b/default-configs/aarch64-softmmu.mak index

[Qemu-devel] [PATCH RFC 0/4] ARM SMMUv3 Emulation

2016-01-11 Thread pmallapp
ess to br0 sudo ip addr add 20.40.60.80/24 dev br0 2. Launch QEMU (3 ethernet, one unused, the virtio-net is used for NFS) pmallapp> aarch64-softmmu/qemu-system-aarch64 -machine type=virt -cpu cortex-a57 \ -m 4192 -smp 4 -nographic \ -append 'console=t

[Qemu-devel] [PATCH RFC 3/4] hw: arm: Add SMMUv3 to virt platform

2016-01-11 Thread pmallapp
From: Prem Mallappa Signed-off-by: Prem Mallappa --- hw/arm/virt.c | 62 +++ include/hw/arm/virt.h | 2 ++ 2 files changed, 64 insertions(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index acc1fcb..5538175 100644 --- a/hw/arm/virt.c +++

[Qemu-devel] [PATCH][RFC] Propogate the PCI device info till IOMMU

2015-05-18 Thread pmallapp
From: Prem Mallappa ARM SMMU requires PCI read/write memory requestors' Identification. This will propogate the "Device" information all the way till IOMMU device. ARM SMMU uses the device's ARID to index into tables on a per device basis. The ARM SMMU v3 device emulation will follow this patch s

[Qemu-devel] [PATCH][RFC] Propogate the PCI device info till IOMMU

2015-05-18 Thread pmallapp
From: Prem Mallappa ARM SMMU requires PCI read/write memory requestors' Identification. This will propogate the "Device" information all the way till IOMMU device. ARM SMMU uses the device's ARID to index into tables on a per device basis. The ARM SMMU v3 device emulation will follow this patch s

[Qemu-devel] [PATCH] PCI: Added new API which propogates the DMA initiator info

2015-05-18 Thread pmallapp
From: Prem Mallappa Signed-off-by: Prem Mallappa --- exec.c| 48 +--- include/exec/memory.h | 9 + include/hw/pci/pci.h | 8 +++- include/sysemu/dma.h | 17 + 4 files changed, 74 insertions(+), 8 deletio

[Qemu-devel] [PATCH] PCI: Added new API which propogates the DMA initiator info

2015-05-18 Thread pmallapp
From: Prem Mallappa Signed-off-by: Prem Mallappa --- exec.c| 48 +--- include/exec/memory.h | 9 + include/hw/pci/pci.h | 8 +++- include/sysemu/dma.h | 17 + 4 files changed, 74 insertions(+), 8 deletio