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
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 +
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
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
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
+++
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
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
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
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