From cdd01db4e751a19c484e287c5e9953ed94a3d28f Mon Sep 17 00:00:00 2001 From: Toshiki Nishioka Date: Fri, 4 Sep 2020 16:21:04 +0900 Subject: [PATCH] acrn-config: add hybrid_rt_fusa scenario for fusa related passthru test Add a new scenario xml file for EHL which is derived from hybrid_rt for validation of certain passthru devices in prelaunched RTVM. Because the configuration requires to disable GPIO support for SOS VM, it should not be merged into the standard hybrid_rt scenario. According to this change, remove the SCI passthru setting from existing hybrid_rt since from now on hybrid_rt_fusa should be used for SCI passthru test. Tracked-On: #5278 Signed-off-by: Toshiki Nishioka Reviewed-by: Junjie Mao Acked-by: Victor Sun --- .../xmls/config-xmls/ehl-crb-b/hybrid_rt.xml | 1 - .../config-xmls/ehl-crb-b/hybrid_rt_fusa.xml | 199 ++++++++++++++++++ 2 files changed, 199 insertions(+), 1 deletion(-) create mode 100644 misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt_fusa.xml diff --git a/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt.xml b/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt.xml index 7e27dd073..f7eb6f1f4 100644 --- a/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt.xml +++ b/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt.xml @@ -113,7 +113,6 @@ 00:17.0 SATA controller: Intel Corporation Device 4b63 - 00:1a.3 Non-VGA unclassified device [0000]: Intel Corporation Device 4b4a diff --git a/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt_fusa.xml b/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt_fusa.xml new file mode 100644 index 000000000..cae2d9c22 --- /dev/null +++ b/misc/vm_configs/xmls/config-xmls/ehl-crb-b/hybrid_rt_fusa.xml @@ -0,0 +1,199 @@ + + + + + n + /dev/ttyS0 + 5 + 5 + 3 + 7 + 0x40000 + + + y + SCHED_BVT + y + + n + n + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + 0xfff + + y + n + y + n + n + + n + + + + + 0x2000 + + + 0x00010000 + 0x200000000 + 0x400000000 + 0x400000000 + + + 0x100 + 256 + 1 + 96 + 120 + 256 + 64 + 16 + + + 0x00000010 + + + + + PRE_RT_VM + ACRN PRE-LAUNCHED VM0 + + GUEST_FLAG_RT + + + 2 + 3 + + + 0 + + + 0 + 0 + + + 0x100000000 + 0xC0000000 + 0x0 + 0x0 + + + PREEMPT-RT + KERNEL_BZIMAGE + RT_bzImage + + rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel consoleblank=0 tsc=reliable + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + COM2_BASE + COM2_IRQ + 1 + 1 + + + 00:17.0 SATA controller: Intel Corporation Device 4b63 + 00:1a.3 Non-VGA unclassified device [0000]: Intel Corporation Device 4b4a + + + true + + + (14, 0) + + + + SOS_VM + ACRN SOS VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + CONFIG_SOS_RAM_SIZE + + + ACRN Service OS + KERNEL_BZIMAGE + Linux_bzImage + + SOS_VM_BOOTARGS + + + VUART_LEGACY_PIO + SOS_COM1_BASE + SOS_COM1_IRQ + + + VUART_LEGACY_PIO + SOS_COM2_BASE + SOS_COM2_IRQ + 0 + 1 + + + + + + /dev/mmcblk0p2 + + rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3 + i915.nuclear_pageflip=1 swiotlb=131072 modprobe.blacklist=pinctrl_elkhartlake,intel_ehl_gpio + + + + + POST_STD_VM + + 0 + + + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 0 + + +