|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC 0/6] IORT support and introduce fwspec
This changelist is in preparation for porting the latest SMMUv3 driver from
Linux kernel 4.11 release.
Scope of the changes:
- Introduce the iommu_fwspec implementation
* This implementation is a direct port from Linux. The code that is not
needed for Xen is removed.
- IORT port from Linux. The differences are as under:
* The DMA ops are removed.
* Modified the code for creating the SMMU devices. This also initializes
the discoverd SMMU devices.
* MSI code is commented out till the MSI framework API usage is clearer.
* IORT node data parsing is delegated to the driver. Looking for comments
on enabling the code in IORT driver. This will need a standard resource
object. (Direct port from Linux or a new define for Xen?)
* Assumptions on PCI IORT SMMU interaction. PCI assign device will call
iort_iommu_configure to setup the streamids.Then it will call SMMU
assign device with the right struct device argument.
Sameer Goel (6):
passthrough/arm: Modify SMMU driver to use generic device definition
arm64: Add definitions for fwnode_handle
Introduce _xrealloc
xen/passthrough/arm: Introduce iommu_fwspec
ACPI: arm: Support for IORT
acpi:arm64: Add support for parsing IORT table
xen/arch/arm/setup.c | 3 +
xen/common/xmalloc_tlsf.c | 13 +
xen/drivers/acpi/Makefile | 1 +
xen/drivers/acpi/arm/Makefile | 1 +
xen/drivers/acpi/arm/iort.c | 977 ++++++++++++++++++++++++++++++++++++
xen/drivers/passthrough/arm/iommu.c | 58 +++
xen/drivers/passthrough/arm/smmu.c | 12 +-
xen/include/acpi/acpi.h | 1 +
xen/include/acpi/acpi_iort.h | 65 +++
xen/include/asm-arm/device.h | 5 +
xen/include/xen/acpi.h | 21 +
xen/include/xen/fwnode.h | 35 ++
xen/include/xen/iommu.h | 28 ++
xen/include/xen/lib.h | 7 +-
xen/include/xen/pci.h | 1 +
xen/include/xen/xmalloc.h | 1 +
16 files changed, 1222 insertions(+), 7 deletions(-)
create mode 100644 xen/drivers/acpi/arm/Makefile
create mode 100644 xen/drivers/acpi/arm/iort.c
create mode 100644 xen/include/acpi/acpi_iort.h
create mode 100644 xen/include/xen/fwnode.h
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux
Foundation Collaborative Project.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |