Hi Jan > -----Original Message----- > From: Jan Kiszka [mailto:[email protected]] > Sent: 2019年1月11日 9:46 > To: Peng Fan <[email protected]>; [email protected] > Cc: Jailhouse <[email protected]> > Subject: Re: ivshmem pci issue > > On 11.01.19 09:40, Peng Fan wrote: > > Hi Jan, Henning > > > > We are trying to enable jailhouse with 4.1 ARM Linux Kernel with ivshmem, > however the uio_ivshmem driver uses some new APIs not existed in 4.1 > kernel. > > > > There two options to me, > > 1. backport Linux pci code from community to 4.1 2. rework uio_ivshmem > > driver to use 4.1 kernel API, according to the git history of > > uio_ivshmem > > > > Do you have any suggestions? > > Did you identify all the API variations already? Are they spread out the > kernel > or rather confined to the uio subsystem? I don't have the code of the > uio_ivshmem driver in mind.
I am checking the code, from compiling the driver, pci_alloc_irq_vectors PCI_IRQ_LEGACY PCI_IRQ_MSIX pci_irq_vector pci_free_irq_vectors are used by ivshmem uio driver which not existed in 4.1 kernel. The driver is from Henning's repo, https://github.com/henning-schild-work/ivshmem-guest-code/blob/jailhouse/kernel_module/uio/uio_ivshmem.c > > BTW, option 3 can be to maintain a local adjustment of the uio_ivshmem > driver to > 4.1 in your downstream kernel. Yeah. Thanks, Peng. > > 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]. For more options, visit https://groups.google.com/d/optout.
