summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-virtualization
Commit message (Collapse)AuthorAgeFilesLines
* layer.conf: Move from scarthgap to styhead walnascar, bring in old recipes ↵Mark Hatle2024-11-241-1/+1
| | | | | | | | | for parse binutils-2.42 and gstreamer-1.22.12 were pulled in from the latest poky scarthgap, as of commit dce4163d42f7036ea216b52b9135968d51bec4c1. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen-boot-cmd: Add xen variable as addendumMark Hatle2024-11-112-0/+16
| | | | | | | | | | | | | | | | | For xen boot the u-boot script environment variables needs to be complied as part of u-boot-xlnx-scr recipe. In order to duplicate the variables definition for xen and non-xen boot make xen variables as addendum to u-boot-xlnx-scr recipe. Upstream-Status: Submitted [https://lists.yoctoproject.org/g/meta-virtualization/message/8233] Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> Transfer from 2024.2 fork of meta-virtualization, as this won't be in meta-virtualization scarthgap. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen : Updated SRCREV for 2024.2_3663Sivaprasad Addepalli2024-10-291-1/+1
| | | | xen: restrict PM_FPGA_READ to Dom0
* xen-tools-xilinx.inc: Enable qemu-system-aarch64Sandeep Gundlupet Raju2024-10-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | By default qemu-system-i386 binaries are installed regardless of target. Without qemu-system-aarch64 change in xen-tools booting a DomU fails on ZynqMP or Versal devices with below errors. yocto-zcu111-zynqmp-2024:/home/petalinux# xl create -c /etc/xen/example-simple.cfg Parsing config from /etc/xen/example-simple.cfg libxl: info: libxl_create.c:122:libxl__domain_build_info_setdefault: qemu-xen is unavailable, using qemu-xen-traditional instead: No such file or directory libxl: error: libxl_dm.c:2967:libxl__spawn_local_dm: Domain 1:device model /usr/lib/xen/bin/qemu-dm is not executable: No such file or directory libxl: error: libxl_dm.c:3216:device_model_spawn_outcome: Domain 1:(null): spawn failed (rc=-3) libxl: error: libxl_dm.c:3436:device_model_postconfig_done: Domain 1:Post DM startup configs failed, rc=-3 libxl: error: libxl_create.c:1980:domcreate_devmodel_started: Domain 1:device model did not start: -3 (XEN) gnttab_mark_dirty not implemented yet libxl: error: libxl_domain.c:354:libxl_domain_info: Domain 1:Getting domain info: No such process libxl: error: libxl_domain.c:1179:libxl__destroy_domid: Domain 1:Non-existant domain libxl: error: libxl_domain.c:1133:domain_destroy_callback: Domain 1:Unable to destroy guest libxl: error: libxl_domain.c:1060:domain_destroy_cb: Domain 1:Destruction of domain failed yocto-zcu111-zynqmp-2024:/home/petalinux# Hence make qemu-system as configurable in xen-tools.inc and override this varible for aarch64. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.build.xen.md: Move Xen build instructions from README.mdSandeep Gundlupet Raju2024-10-221-0/+120
| | | | | | | Move Xen build instructions from README.md to README.build.xen.md. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.md: Update meta-xilinx-virtualization docs to scrathgapSandeep Gundlupet Raju2024-10-221-131/+13
| | | | | | | | 1. Update meta-xilinx-virtualization docs to scrathgap. 2. Move Xen build instructions from README.md to README.xen.md Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen : Updated SRCREV for 2024.2_6295Sivaprasad Addepalli2024-10-061-1/+1
| | | | | | | | | | | | dt-overlay: Allow removing devices behind IOMMU from dom0 dt-overlay: Fix dt_host_lock locking issue dt-overlay: Fix removal of dt overlays dt-overlay: Ignore nodes that do not have __overlay__ as their subnode dt-overlay: Support target-path being root node dt-overlay: Remove ASSERT_UNREACHABLE from add_nodes() device-tree: Remove __init from unflatten_dt_alloc() zynqmp-eemi: Add missing PS-PL reset lines definitions xl: Fix help command for dt overlay
* various: meta-xilinx-standalone-experimental renamed to ↵Mark Hatle2024-09-201-1/+1
| | | | | | meta-xilinx-standalone-sdt Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen : Updated SRCREV for 2024.2_8675Sivaprasad Addepalli2024-08-271-1/+1
| | | | arm/smmu: Fix SMR masking support
* xen : Updated SRCREV for 2024.2_9419Sivaprasad Addepalli2024-07-221-1/+1
| | | | Updated commit ID to latest HEAD
* xen : Updated SRCREV for 2024.2_4959Sivaprasad Addepalli2024-07-091-1/+1
| | | | Updated commit ID to latest HEAD
* packagegroup-*: Move packagegroups from meta-petalinuxJohn Toomey2024-06-271-0/+21
| | | | | | | | | | Move and rename a subset of the packagegroups from meta-petalinux to meta-xilinx-core/recipes-core/packagegroups/ Add new meta-xilinx-demos layer Signed-off-by: John Toomey <john.toomey@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* Merge remote-tracking branch 'xilinx/2024.1_2024.2' into 2024.2Mark Hatle2024-06-251-1/+1
|\ | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * xen : Updated SRCREV for 2024.1_2024.2_6839Sivaprasad Addepalli2024-06-141-1/+1
| | | | | | | | Updated commit ID to latest HEAD
| * conf/layer.conf: Fix for linux-xlnx do_deploy failedJohn Vicky Vykuntapu2024-06-061-0/+1
| | | | | | | | | | | | | | | | | | Preferred version is undefined for xen 2024.2 and linux-xlnx do_deploy task got failed due to no xen binary in build artifacts. To fix this added 2024.2 PREFERRED_VERSION for xen. Signed-off-by: John Vicky Vykuntapu <johnvicky.vykuntapu@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-xilinx-virtualization: Add 2024.2 preferred_versionMark Hatle2024-06-111-0/+1
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master_2024.1Mark Hatle2024-05-211-1/+1
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/master' into master_2024.1Mark Hatle2024-05-211-0/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master_2024.1Mark Hatle2024-04-271-1/+1
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * xen : Updated SRCREV for 2024.1_6403Sivaprasad Addepalli2024-04-171-1/+1
| | | | | | | | | | xen/arm: fix build failure with XSM and PCI_PASSTHROUGH common: overlay: Fix array-out-of-bounds in dt_overlay_sysctl()
* | xen-xilinx: Remove obsolete patchMark Hatle2024-04-171-1/+0
| | | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-04-161-1/+1
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * xen : Updated SRCREV for 2024.1_1391Sivaprasad Addepalli2024-04-031-1/+1
| | | | | | | | OpenAMP passthrough to a domU
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into HEADMark Hatle2024-04-041-0/+11
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * README.md: Add Xen INITRD image creation stepsSandeep Gundlupet Raju2024-03-281-0/+11
| | | | | | | | | | | | | | | | Add Xen INITRD image creation steps for JTAG or SD INITRD boot modes. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-03-271-1/+1
|\| | | | | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| * xen : Updated SRCREV for 2024.1_5959Sivaprasad Addepalli2024-03-261-1/+1
| | | | | | | | arm/gic-v3-its: fix build failure with CONFIG_HAS_ITS=y
| * xen_4.18.bb: Use upstream commit idSandeep Gundlupet Raju2024-03-201-1/+1
| | | | | | | | | | | | | | | | xen_4.18.bb SRCREV should be using to upstream commit id and not xilinx xen repo commit id. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | xen: Remove meta-virtualization copiesMark Hatle2024-03-279-1344/+9
| | | | | | | | | | | | | | No reason to carry an obsolete version of meta-virt files, use the actual meta-virt via bbappend. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | xen: 4.17 version is incompatibleMark Hatle2024-03-276-72/+2
| | | | | | | | | | | | | | | | 4.17 version of Xen is incompatible with Yocto Project scarthgap. Python 3.12 related build failures and various compiler errors occur. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | meta-xilinx-virtualization: xen: Replace virtual/ dependsMark Hatle2024-03-272-17/+17
| | | | | | | | | | | | | | virtual/ is no longer permitted in the current Yocto Project. Follow the lead from meta-virtualization and replace it with 'virtual-'. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | qemu: Remove versions older then 8.1, no longer compatibleMark Hatle2024-03-2728-4506/+0
| | | | | | | | | | | | Versions older then 8.1 are no longer compatible with the runqemu. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* | Merge remote-tracking branch 'xilinx/rel-v2024.1' into master-nextMark Hatle2024-03-261-1/+3
|/ | | | Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen : Updated SRCREV for 2024.1_6375Sivaprasad Addepalli2024-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arm/smmu: adjust pdev->domain PCI assignment arm/pci: select HAS_PCI_MSI xen/dt: create dom0 and domU DT nodes for vPCI with correct addresses xen/pci: vpci_get_msi_base should check on domain_use_host_layout arm/smmu: remove is_hardware_domain check in assign xen/pci: use has_vpci_bridge in vpci and pci xen/pci: introduce has_vpci_bridge xen/arm: create dom0less virtio-pci DT node arm/iommu: allow arm_iommu_unmap_page for non-direct-mapped domains xen/arm: fix vgic and vpl011 to use domain_use_host_layout docs: add device tree overlay documentation add a domU script to fetch overlays and applying them to linux xl/overlay: add remove operation to xenstore get_overlay: remove domU overlay tools/helpers: Add get_overlay tools/xl: Share overlay with domU tools/libs/light: Modify dtbo to domU linux dtbo format tools: Add domain_id and expert mode for overlay operations xen/overlay: Enable device tree overlay assignment to running domains rangeset: Move struct range and struct rangeset to headerfile tools/libs/light: Increase nr_spi to 160 tools/libs/light: Always enable IOMMU xen/arm: Always enable IOMMU xen/arm/gic: Enable interrupt assignment to running VM xen/pci: add linux,pci-domain property pci: permit dom0 access to pci devices when pci-scan=yes xen/arm: initialize Versal CPM PCIe host controller xen/arm: initial support for Versal PCIe host controller xen/arm: pci: add function to initialize host bridge xen/pci: do not let vpci dom0 read/write to all pci devs xen/pci: scan only buses in the range supported by the bridge xen/vpci: Clear all vpci status of device xen/pci: initialize BARs xen/pci: helpers to get/reserve BAR ranges arm/pci: keep track of PCI ranges in rangeset rangeset: add rangeset_find_aligned_range() xen/dt: pass flags to callback in dt_for_each_range() arm/pci: permit access to BARs for dom0less domUs xen/arm: enable vPCI for dom0less domUs xen/arm: pci device passthrough for dom0less guests xen/pci: Create pci_assign_device xen/pci: assign pci devices to hardware domain xen/pci: update DT for hwdom when it uses vpci xen/pci: disable pci_device_{add,remove} when hwdom uses vpci on arm xen/pci: helper function for hwdom using vpci xen/arm: add emulated ITS node to gicv3 for domUs using vpci xen/pci: add discovered PCI device at boot xen/pci: modify pci_add_device to handle device add by Xen arm/pci: Add pci-scan boot argument arm/vgic: provide late_init function xen/vpci: initialize msix->next xen/arm: Enable the existing MSI-X and MSI handlers support for ARM xen/vpci: msix: change return value of vpci_msix_{read,write} xen/vpci: msix: move x86 specific code to x86 file xen/arm: map ITS doorbell registers for domUs xen/arm: Modify VITS code to support MSI/MSIX interrupt for DOMU guests. arm/libxl: Emulated ITS device tree node in libxl xen/arm: Map ITS doorbell register to IOMMU page tables xen/arm: enable dom0 to use PCI devices with pci-passthrough=no xen/arm: Fix mapping for PCI bridge mmio region xen/arm: smmuv3: Add PCI devices support for SMMUv3 xen/arm: smmuv2: Add PCI devices support for SMMUv2 iommu/arm: iommu_add_dt_pci_sideband_ids phantom handling iommu/arm: Introduce iommu_add_dt_pci_sideband_ids API iommu/arm: Add iommu_dt_xlate() tools/arm: enable vPCI for domUs xen/arm: enable vPCI for domUs xen/arm: enable vPCI for dom0 xen/vpci: move xen_domctl_createdomain vPCI flag to common xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig option xen/vpci: handler for min_gnt, max_lat xen/vpci: handler interrupt line/pin xen/vpci: handlers for subsystem vendor ID, subsystem ID xen/vpci: handler for cardbus cis ptr xen/vpci: handlers for class/revision, cacheline size, latency timer, header type, bist xen/vpci: handler for VID/DID arm/vpci: make prefetchable mem 64 bit arm/vpci: honor access size when returning an error xen/arm: account IO handlers for emulated PCI MSI-X xen/arm: translate virtual PCI bus topology for guests vpci: add initial support for virtual PCI bus topology vpci/header: emulate PCI_COMMAND register for guests vpci/header: program p2m with guest BAR view vpci/header: handle p2m range sets per BAR rangeset: add rangeset_purge() function rangeset: add RANGESETF_no_print flag vpci/header: implement guest BAR register handlers vpci/header: rework exit path in init_header() vpci: add hooks for PCI device assign/de-assign vpci: restrict unhandled read/write operations for guests vpci: use per-domain PCI lock to protect vpci structure pci: msi: pass pdev to pci_enable_msi() function pci: introduce per-domain PCI rwlock xen/vpci: header: filter PCI capabilities xen/vpci: header: status register handler docs: Add documentation for virtio-console libxl: dm: Set virtio-pci related parameters for QEMU libxl: Add "backend_type" property for the Virtio devices xen-init-dom0: create a device model xenstore entry libxl/arm: Reuse generic PCI-IOMMU bindings for virtio-pci devices libxl/arm: Add basic virtio-pci support xen/public: arch-arm: reserve resources for virtio-pci xen/arm: switch partial-emulation default to true xen/arm: arm32: Add emulation of Debug Data Transfer Registers xen/arm: arm64: Add emulation of Debug Data Transfer Registers xen/arm: Introduce CONFIG_PARTIAL_EMULATION and "partial-emulation" cmd option xen: arm32: Fix some compilation issues xen/arm: Use host layout for hwdom if LLC coloring enabled
* xen : Updated SRCREV for 2024.1_3819Sivaprasad Addepalli2024-03-161-1/+1
| | | | | arm/smmu: adjust pdev->domain PCI assignment arm/pci: select HAS_PCI_MSI
* qemu: Add 2024.1 patches for XenVikram Garhwal2024-03-052-0/+354
| | | | | | | | qemu-xen supports virtio-console and all virtio-pci based devices. This work was done as part of https://jira.xilinx.com/browse/SSW-5668 Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen : Updated SRCREV for 2024.1_2015Sivaprasad Addepalli2024-02-211-1/+1
| | | | Updated commit ID to latest HEAD
* xen : Updated SRCREV for 2024.1_4015Sivaprasad Addepalli2024-02-201-1/+1
| | | | Updated commit ID to latest HEAD
* xen : Updated SRCREV for 2024.1_6375Sivaprasad Addepalli2024-02-181-1/+1
| | | | Updated commit ID to latest HEAD
* xen : Updated SRCREV for 2024.1_2559Sivaprasad Addepalli2024-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xen/arm: Use host layout for hwdom if LLC coloring enabled xen/arm: mm: Extend xen_colored_temp to be able to cover XEN_VIRT_SIZE xen/arm: parse legacy cache coloring configuration parameters xen: print useful coloring information at boot xen: cache coloring build fixes xen/arm: add cache coloring support for Xen xen/arm: add Xen cache colors command line parameter Revert "xen/arm: Remove unused BOOT_RELOC_VIRT_START" xen/arm: use domain memory to allocate p2m page tables xen: add cache coloring allocator for domains xen/page_alloc: introduce preserved page flags macro xen/page_alloc: introduce init_free_page_fields() helper xen/arm: add support for cache coloring configuration via device-tree tools: add support for cache coloring configuration xen: extend domctl interface for cache coloring xen/arm: add Dom0 cache coloring support xen/arm: add cache coloring initialization xen/common: add cache coloring common code vsmmuv3: Add dma-coherent property to exposed vSMMUv3 nodes xen/arm: mark make_hwdom_viommu_node __init xen/arm: mark modify_pfdt_node __init docs: fix pod documentation for viommu xen/arm: support specifying viommu type in device tree xen/arm: vIOMMU: Add proper handling for dom0less domUs xen/arm: vIOMMU: Add command line option dom0_viommu and its handling xen/arm: vIOMMU: Remove global cmdline option viommu arm/libxl: vsmmuv3: Reserve vIRQ only if vSMMUv3 enabled xen/arm: vIOMMU: Fix type of irq to be int in struct host_iommu xen/arm: vIOMMU: Fix viommu_type to be uint8_t xen/arm: vIOMMU: Modify the partial device tree for dom0less libxl/arm: vIOMMU: Modify the partial device tree for iommus xen/arm: vsmmuv3: Add support to send stage-1 event to guest xen/arm: iommu: skip the iommu-map property for PCI devices xen/arm: vsmmuv3: Alloc virq for virtual SMMUv3 arm/libxl: vsmmuv3: Emulated SMMUv3 device tree node in libxl xen/arm: vsmmuv3: Emulated SMMUv3 device tree node for dom0less xen/arm: vIOMMU: IOMMU device tree node for dom0 xen/arm: vsmmuv3: Add "iommus" property node for dom0 devices xen/arm: vsmmuv3: Add support for event queue and global error xen/arm: vsmmuv3: Attach Stage-1 configuration to SMMUv3 hardware xen/arm: vsmmuv3: Add support for command CMD_CFGI_STE xen/arm: vsmmuv3: Add support for cmdqueue handling xen/arm: vsmmuv3: Add support for registers emulation xen/arm: vIOMMU: Add cmdline boot option "viommu = <boolean>" xen/domctl: Add XEN_DOMCTL_CONFIG_VIOMMU_* and viommu config param xen/arm: vsmmuv3: Add dummy support for virtual SMMUv3 for guests xen/arm: vIOMMU: add generic vIOMMU framework xen/arm: smmuv3: Alloc io_domain for each device xen/arm: smmuv3: Add support for stage-1 and nested stage translation xen/arm: smmuv3: Maintain a SID->device structure tools: build/use qemu-system-aarch64 tools: liblx_dm: Add iommu_platform args to virtio-mmio libxl: virtio-mmio: add iommu property for all backend domains libxl: default nic type should be vif libs: light: Add virtio-net support libs: light: Correct virtio-mmio mapping order for disk backends tools: libxl: Add support for xenpvh machine libxl: add support for emulated TPM on ARM xen/eemi: Do not forward PM_CLOCK_DISABLE to firmware xen/eemi: Add PM_SECURE_AES handling xen/eemi: Make PM_FEATURE_CHECK handling common xen/eemi: Fix clock_id_is_pll() for Versal xen/arm: vpl011: Add PL011 emulation support arm/libxl + domctl: Add emulated PL011 device tree node in libxl xen/arm: vpl011: Add sbsa parameter to domain_vpl011_init() xen/arm: Add emulated PL011 device tree node for dom0less domUs xen/arm: vpl011: Untangle driver from being SBSA specific xen/arm: Rename CONFIG_SBSA_VUART_CONSOLE to CONFIG_VPL011_CONSOLE xen/domctl: Rename XEN_DOMCTL_VUART_TYPE_VPL011 arm/libxl: Drop unneeded parameters of make_vpl011_uart_node() arm/platforms: add EEMI support for versal-net xen/arm: Enable SMMUv3 by default sanitise_domain_config: continue when no IOMMU is present xen: Always set XENFEAT_not_direct_mapped if vIOMMU enabled ioreq: Update ioreq_server_create() to support ARM arch xen/eemi: add newlines to gdprintk messages Arm: Enable BOOT_PIN_CTRL for Dom0 platforms: xilinx: Add support for mapping PM nodes into 64-bit addresses xen: eemi: make xen passthrough for unknown EEMI calls from Dom0 xen/eemi: Add EEMI calls to support SGI registration xen/eemi: Add call to set SGI interrupt xen/eemi: on CLOCK_ENABLE, check if the clock is already enabled xen: dynamically choose the gnttab region for direct-map domUs xen: domain_has_clock_access return true for dom0 for missing entries xen/arm: allow domUs to iomap reserved-memory regions xen: platforms: Correct pm_rst_access to map a node into a memory address xen/arm: introduce xen,reg-cacheable Add PM_FPGA_READ to the EEMIs list xen/arm: allow domU access for certain eemi functions for configuring MMC xen/arm: Allow DomU access for certain EEMI functions xen/arm: increase the max size of domU dtb xen/arm: allow device assignment to direct-map domains without IOMMU xen/arm: skip duplicate memory banks xen: platforms: Add clock mapping for test_pattern and timestamp platforms: xilinx: zynqmp: add GEM[0-3] nodes for DomU access platforms: xilinx: move EEMI PM_PLL* fns handling to common file platforms: xilinx: versal: Match ZynqMP For EEMI PLL commands platforms: xilinx: zynqmp: wrap pll bound check for EEMI PLL commands platforms: xilinx: move EEMI PM_CLOCK* fns handling to common file platforms: xilinx: zynqmp: Match Versal by adding clock_id_is_pll platforms: xilinx: fix style in comments platforms: xilinx: zynqmp: Update EEMI Handler to Fn IDs platform: versal: rename macros for dev, rst, clk platforms: xilinx: move domain_has_clock_access handling to common file platforms: xilinx: move clock_is_valid handling to common file platforms: xilinx: move pm reset access handling to common file platforms: xilinx: move domain_has_node_access handling to common file platforms: xilinx: move pm_check_access to common file platforms: xilinx: move common structs pm_access and pm_clk2node to common xilinx-eemi.h platforms: xilinx: EEMI: add extra file for PM mediation to remove duplicated code platform: zynqmp: match Versal EEMI definitions to be #define ints platform: zynqmp: remove special case for PM_DEV_UNKNOWN platform: zynqmp: rename macros for dev, rst, clk platform: versal: Remove all PL devices except PLD_0 device platform: versal: add missing R5 and OCM clock/dev mappings platform: versal: add AIE device and reset nodes to node map platform: versal: sync PM EEMI/MM headers with firmware headers platform: versal: Improve prints in versal EEMI mediate layer platforms/versal: fix switch condition in EEMI mediate layer platform: zynqmp: allow Dom0 access to PL device platform: versal: add EEMI layer support platform: zynqmp: add a common EEMI header platform: zynqmp: correct typos in comments platform: zynqmp: rename clock node macros platform: zynqmp: rename reset node macros platform: zynqmp: rename device node macros xen: add a separate platform file for Versal xen: mediate EEMI TCM calls platform: zynqmp: Map missing clocks to respective node s/xen,shared-memory/xen,shared-memory-v1/g xen/docs: improve reserved-memory doc xen/libxc: dont change xc_domain_memory_mapping xen/docs: how to map a page between dom0 and domU using iomem libxl/xl: add cacheability option to iomem libxc: xc_domain_memory_mapping, handle cacheability xen: extend XEN_DOMCTL_memory_mapping to handle cacheability xen/arm: export shared memory regions as reserved-memory on device tree xen/arm: zynqmp: Add RPLL and VPLL-related clocks to pm_clock2node map xen/arm: zynqmp: Remove direct accesses to PLLs and their resets xen/arm: zynqmp: Remove MMIO r/w accesses to clock and PLL control xen/arm: zynqmp: Add PLL set mode/parameter EEMI API xen/arm: zynqmp: Add PLL EEMI API definitions and passthrough get functions xen/arm: zynqmp: Implement checking and passthrough for clock control APIs xen/arm: zynqmp: Clock get EEMI API functions are allowed to each guest xen/arm: zynqmp: Return not supported error for clock get/set rate API xen/arm: zynqmp: Fix power management status/error codes xen/eemi: proper bounds checks xen: platform: zynqmp: Add new eemi api IDs arch/arm64: zynqmp: Allow MMIO access to the CRF audio register xen/arm: zynqmp: Use the USB XHCI areas to determine EEMI perms xen/arm64: zynqmp: Regenerate LPD memmap xen/arm: zynqmp: Forward plaform specific firmware calls docs: documentation about static shared memory regions libxl:xl: add parsing code to parse "libxl_static_sshm" from xl config files libxl: support unmapping static shared memory areas during domain destruction libxl: support mapping static shared memory areas during domain creation libxl: introduce a new structure to represent static shared memory regions xen: xsm: flask: introduce XENMAPSPACE_gmfn_share for memory sharing xen/arm: allow domUs to discover their domid via a DEBUG hypercall xen: disable undef exception on set/way flushing xen/arm: disable warnings at boot about SILO and sync_console xen/arm: populate arm64_defconfig
* layer.conf: Update xen version to 4.18Sandeep Gundlupet Raju2024-01-221-2/+5
| | | | | | | | | | Update xen and xen-tools version to 4.18. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Added 4.17 support 2023.x compatibility Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: Add Xen 4.18 patchesSandeep Gundlupet Raju2024-01-2214-3/+1270
| | | | | | | Add Xen 4.18 patches and limit patches to target recipes only. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen: Add bbapends and inc file to use Xilinx Xen 4.18Sandeep Gundlupet Raju2024-01-225-10/+33
| | | | | | | | | | | | 1. In upstream 4.18 recipes add XEN_URI variable and set xen upstream url as conditional assignment. Also unset PV and DEFAULT_PREFERENCE. 2. Add xen_4.18 and xen-tools_4.18 bbapends files use AMD Xilinx Xen 4.18.0. 3. Add xen-xilinx_4.18.inc file and include AMD Xilinx Xen 4.18.0 repo details and also set PV to make it clear this a forked version. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen: Copy 4.18 recipes from meta-virtualization masterSandeep Gundlupet Raju2024-01-223-0/+85
| | | | | | | | | Copy xen 4.18 recipes from meta-virtualization master to this layer to support xen 4.18 as meta-virtualization langdale release doesn't support 4.18 version. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* xen: Rename recipes and inc file to 4.17 versionSandeep Gundlupet Raju2024-01-224-3/+3
| | | | | | | | Rename xen recipes and inc file to 4.17 version so that it will be easy to make changes for 4.17 and new version. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: Rename qemu-xen to qemu-xen_7.1Sandeep Gundlupet Raju2024-01-2228-6/+6
| | | | | | | | Rename qemu-xen to qemu-xen_7.1 inclusion file and update the same in qemu-xilinx_2023 qemu_7.1 recipes. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu: Add target qemu 8.1.2Mark Hatle2024-01-222-0/+5
| | | | | | | | | | Backport the QEMU 8.1.x integration from current poky (commit 4bb222e0d71a4cb159b8a4f1a90b65b1af32ac10). Split the additional xen/tpm patches by version, disable Xen patches on the 8.1.2 version, not yet supported. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* qemu-xilinx: Split 2023 and 2024 qemu-xilinxMark Hatle2024-01-222-0/+5
| | | | | | 2024 version does not yet support Xen patches. Disable these. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* README.md: Add Xen build and boot instructionsSandeep Gundlupet Raju2024-01-061-1/+115
| | | | | Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
* layer.conf: Add security and tpm-layer dependencySandeep Gundlupet Raju2024-01-061-0/+2
| | | | | | | | vitrualization layer depends on security and tpm-layer so add these layes to xilinx-virtualization LAYERDEPENDS. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>