Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-31 Thread Paraschiv, Andra-Irina
On 01/06/2020 05:55, Benjamin Herrenschmidt wrote: On Tue, 2020-05-26 at 21:35 +0300, Paraschiv, Andra-Irina wrote: This was needed to have an identifier for the overall NE logic - PCI dev, ioctl and misc dev. The ioctl and misc dev logic has pr_* logs, but I can update them to dev_* with mis

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-31 Thread Benjamin Herrenschmidt
On Tue, 2020-05-26 at 21:35 +0300, Paraschiv, Andra-Irina wrote: > This was needed to have an identifier for the overall NE logic - PCI > dev, ioctl and misc dev. > > The ioctl and misc dev logic has pr_* logs, but I can update them to > dev_* with misc dev, then remove this prefix. Or #define

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-28 Thread Paraschiv, Andra-Irina
On 27/05/2020 01:19, Greg KH wrote: On Tue, May 26, 2020 at 09:35:33PM +0300, Paraschiv, Andra-Irina wrote: On 26/05/2020 09:48, Greg KH wrote: On Tue, May 26, 2020 at 01:13:20AM +0300, Andra Paraschiv wrote: The Nitro Enclaves PCI device is used by the kernel driver as a means of communica

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-26 Thread Greg KH
On Tue, May 26, 2020 at 09:35:33PM +0300, Paraschiv, Andra-Irina wrote: > > > On 26/05/2020 09:48, Greg KH wrote: > > On Tue, May 26, 2020 at 01:13:20AM +0300, Andra Paraschiv wrote: > > > The Nitro Enclaves PCI device is used by the kernel driver as a means of > > > communication with the hyperv

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-26 Thread Paraschiv, Andra-Irina
On 26/05/2020 09:48, Greg KH wrote: On Tue, May 26, 2020 at 01:13:20AM +0300, Andra Paraschiv wrote: The Nitro Enclaves PCI device is used by the kernel driver as a means of communication with the hypervisor on the host where the primary VM and the enclaves run. It handles requests with regard

Re: [PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-25 Thread Greg KH
On Tue, May 26, 2020 at 01:13:20AM +0300, Andra Paraschiv wrote: > The Nitro Enclaves PCI device is used by the kernel driver as a means of > communication with the hypervisor on the host where the primary VM and > the enclaves run. It handles requests with regard to enclave lifetime. > > Setup th

[PATCH v3 04/18] nitro_enclaves: Init PCI device driver

2020-05-25 Thread Andra Paraschiv
The Nitro Enclaves PCI device is used by the kernel driver as a means of communication with the hypervisor on the host where the primary VM and the enclaves run. It handles requests with regard to enclave lifetime. Setup the PCI device driver and add support for MSI-X interrupts. Signed-off-by: A