On 08.09.20 16:21, Jan-Marc Stranz wrote: > Now I'm using "linux-yocto" for the kernel with > "linux-yocto_5.4%.bbappend" and all patches and the configuration > fragment "jailhouse.cfg" from "meta-agl-devel". > This builds Linux Kernel 5.4.61 with Yocto/poky "dunfell". > > After building the kernel and exploring the resulting kernel konfig > ".config" I can see, that only "CONFIG_IOMMU_SUPPORT" is set; > "CONFIG_INTEL_IOMMU" is not set! > All other configuration options from the configuration fragment > "jailhouse.cfg" are set except "CONFIG_PCI_HOST_GENERIC". > > Should this configuration work for "jailhouse"? >
It should get you to a booting setup for Jailhouse, not optimally configured. BUT: you will still need the Intel IOMMU parameters that "jailhouse config create" normally extracts while the IOMMU is in full use by Linux. Also the association of PCI devices and the IOAPIC to the DMAR unit (typically, there are two units). Figuring all that out manually will be tedious. That's why you should enable IOMMU support or use a standard kernel while doing the config creation. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/4fbc4f7c-de79-8bbb-357e-f5a056698f56%40siemens.com.
