[PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-30 Thread Abdullah Sevincer
vfio-pci driver in Linux kernel 6.2 enables PASID by default. In DLB hardware, enabling PASID puts DLB in SIOV mode. This breaks DLB PF-PMD mode. For DLB PF-PMD mode to function properly PASID needs to be disabled for kernel 6.2. In this commit this issue is addressed and PASID is disabled by writ

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Jerin Jacob
On Tue, Oct 31, 2023 at 4:12 AM Abdullah Sevincer wrote: > > vfio-pci driver in Linux kernel 6.2 enables PASID by default. > In DLB hardware, enabling PASID puts DLB in SIOV mode. This > breaks DLB PF-PMD mode. For DLB PF-PMD mode to function properly > PASID needs to be disabled for kernel 6.2. >

RE: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Sevincer, Abdullah
> +This patch can be splited as two, > +1) Generic PCIe function to enable/disable PASID > +2) Call generic function to disable PASID in drivers/event/dlb2/. Also > mention which Linux kernel commit is introducing this issue in the git commit > log. Hi Jerrin, I think I need to provide more inf

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Jerin Jacob
On Tue, Oct 31, 2023 at 8:43 PM Sevincer, Abdullah wrote: > > > > +This patch can be splited as two, > > +1) Generic PCIe function to enable/disable PASID > > +2) Call generic function to disable PASID in drivers/event/dlb2/. Also > > mention which Linux kernel commit is introducing this issue in

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Bruce Richardson
On Tue, Oct 31, 2023 at 10:36:04PM +0530, Jerin Jacob wrote: > On Tue, Oct 31, 2023 at 8:43 PM Sevincer, Abdullah > wrote: > > > > > > > +This patch can be splited as two, > > > +1) Generic PCIe function to enable/disable PASID > > > +2) Call generic function to disable PASID in drivers/event/dlb2

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Jerin Jacob
On Tue, Oct 31, 2023 at 10:45 PM Bruce Richardson wrote: > > On Tue, Oct 31, 2023 at 10:36:04PM +0530, Jerin Jacob wrote: > > On Tue, Oct 31, 2023 at 8:43 PM Sevincer, Abdullah > > wrote: > > > > > > > > > > +This patch can be splited as two, > > > > +1) Generic PCIe function to enable/disable PA

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Bruce Richardson
On Wed, Nov 01, 2023 at 12:12:02AM +0530, Jerin Jacob wrote: > On Tue, Oct 31, 2023 at 10:45 PM Bruce Richardson > wrote: > > > > On Tue, Oct 31, 2023 at 10:36:04PM +0530, Jerin Jacob wrote: > > > On Tue, Oct 31, 2023 at 8:43 PM Sevincer, Abdullah > > > wrote: > > > > > > > > > > > > > +This patc

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-10-31 Thread Jerin Jacob
On Wed, Nov 1, 2023 at 2:14 AM Bruce Richardson wrote: > > On Wed, Nov 01, 2023 at 12:12:02AM +0530, Jerin Jacob wrote: > > On Tue, Oct 31, 2023 at 10:45 PM Bruce Richardson > > wrote: > > > > > > On Tue, Oct 31, 2023 at 10:36:04PM +0530, Jerin Jacob wrote: > > > > On Tue, Oct 31, 2023 at 8:43 PM

RE: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-11-01 Thread Sevincer, Abdullah
>++ PCIe maintainers. >+I will leave this up to @David Marchand / @Thomas as this patch has common >code changes and needs to come via main tree. >+Also in this case, The comment was given very early(Back in June 7) for the >same. >+https://patches.dpdk.org/project/dpdk/patch/20230607210050.1

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-11-02 Thread Bruce Richardson
On Wed, Nov 01, 2023 at 07:05:54PM +, Sevincer, Abdullah wrote: > > >++ PCIe maintainers. > > >+I will leave this up to @David Marchand / @Thomas as this patch has common > >code changes and needs to come via main tree. > > >+Also in this case, The comment was given very early(Back in June

Re: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-11-02 Thread Thomas Monjalon
02/11/2023 11:23, Bruce Richardson: > On Wed, Nov 01, 2023 at 07:05:54PM +, Sevincer, Abdullah wrote: > > > > >++ PCIe maintainers. > > > > >+I will leave this up to @David Marchand / @Thomas as this patch has > > >common code changes and needs to come via main tree. > > > > >+Also in this

RE: [PATCH v3] event/dlb2: fix disable PASID for kernel 6.2

2023-11-02 Thread Sevincer, Abdullah
>+> WDYT, Jerin, Abdullah. It is a good idea to make it internal, I will work on that and upstream a new one.