Re: [dpdk-dev] [PATCH v3] igb_uio: fail and log if kernel lock down is enabled

2018-06-29 Thread Ferruh Yigit
On 6/29/2018 8:04 AM, David Marchand wrote: > Hello Ferruh, > > On Wed, May 16, 2018 at 4:42 PM, Ferruh Yigit wrote: >> @@ -136,3 +132,22 @@ static bool pci_check_and_mask_intx(struct pci_dev >> *pdev) >> #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0) >> #define HAVE_PCI_MSI_MASK_IRQ 1 >>

Re: [dpdk-dev] [PATCH v3] igb_uio: fail and log if kernel lock down is enabled

2018-06-29 Thread David Marchand
Hello Ferruh, On Wed, May 16, 2018 at 4:42 PM, Ferruh Yigit wrote: > @@ -136,3 +132,22 @@ static bool pci_check_and_mask_intx(struct pci_dev *pdev) > #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 5, 0) > #define HAVE_PCI_MSI_MASK_IRQ 1 > #endif > + > +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,

Re: [dpdk-dev] [PATCH v3] igb_uio: fail and log if kernel lock down is enabled

2018-06-27 Thread Thomas Monjalon
16/05/2018 16:42, Ferruh Yigit: > When EFI secure boot is enabled, it is possible to lock down kernel and > prevent accessing device BARs and this makes igb_uio unusable. > > Lock down patches are not part of the vanilla kernel but they are > applied and used by some distros already [1]. > > It i

Re: [dpdk-dev] [PATCH v3] igb_uio: fail and log if kernel lock down is enabled

2018-05-17 Thread Neil Horman
On Thu, May 17, 2018 at 02:26:12PM +0100, Ferruh Yigit wrote: > On 5/17/2018 12:34 PM, Neil Horman wrote: > > On Wed, May 16, 2018 at 03:42:20PM +0100, Ferruh Yigit wrote: > >> When EFI secure boot is enabled, it is possible to lock down kernel and > >> prevent accessing device BARs and this makes

Re: [dpdk-dev] [PATCH v3] igb_uio: fail and log if kernel lock down is enabled

2018-05-17 Thread Ferruh Yigit
On 5/17/2018 12:34 PM, Neil Horman wrote: > On Wed, May 16, 2018 at 03:42:20PM +0100, Ferruh Yigit wrote: >> When EFI secure boot is enabled, it is possible to lock down kernel and >> prevent accessing device BARs and this makes igb_uio unusable. >> >> Lock down patches are not part of the vanilla

Re: [dpdk-dev] [PATCH v3] igb_uio: fail and log if kernel lock down is enabled

2018-05-17 Thread Neil Horman
On Wed, May 16, 2018 at 03:42:20PM +0100, Ferruh Yigit wrote: > When EFI secure boot is enabled, it is possible to lock down kernel and > prevent accessing device BARs and this makes igb_uio unusable. > > Lock down patches are not part of the vanilla kernel but they are > applied and used by some