Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-07 Thread Ruifeng Wang
On 2023/11/6 9:16 AM, Chenbo Xia wrote: Sorry I missed all previous versions… +ARM guy Thanks for CCing. On Nov 4, 2023, at 02:29, Abdullah Sevincer wrote: External email: Use caution opening links or attachments This commit implements an internal api to enable and disable PASID for

RE: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-06 Thread Sevincer, Abdullah
>+Is PASID now part of PCIe spec? This APIs should both work for x86/arm? >+Not sure ARM is OK with the naming, previously they are calling it more as >Sub Stream ID (SSID) For reference, Look for PASID definitions in the PCIe spec. The API takes in offset which might be different for other devic

Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-05 Thread Chenbo Xia
Sorry I missed all previous versions… +ARM guy > On Nov 4, 2023, at 02:29, Abdullah Sevincer > wrote: > > External email: Use caution opening links or attachments > > > This commit implements an internal api to enable and disable PASID for > a device e.g. device driver event/dlb2. > > For k

Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-04 Thread Jerin Jacob
On Sat, Nov 4, 2023 at 2:49 PM Thomas Monjalon wrote: > > 04/11/2023 08:32, Jerin Jacob: > > On Sat, Nov 4, 2023 at 4:47 AM Abdullah Sevincer > > wrote: > > > > > > This commit implements an internal api to enable and disable PASID for > > > a device e.g. device driver event/dlb2. > > > > git com

Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-04 Thread Jerin Jacob
On Sat, Nov 4, 2023 at 7:31 PM Bruce Richardson wrote: > > On Fri, Nov 03, 2023 at 01:29:32PM -0500, Abdullah Sevincer wrote: > > This commit implements an internal api to enable and disable PASID for > > a device e.g. device driver event/dlb2. > > > > For kernels when PASID enabled by default it

Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-04 Thread Bruce Richardson
On Fri, Nov 03, 2023 at 01:29:32PM -0500, Abdullah Sevincer wrote: > This commit implements an internal api to enable and disable PASID for > a device e.g. device driver event/dlb2. > > For kernels when PASID enabled by default it breaks DLB functionality, > hence disabling PASID is required for D

Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-04 Thread Thomas Monjalon
04/11/2023 08:32, Jerin Jacob: > On Sat, Nov 4, 2023 at 4:47 AM Abdullah Sevincer > wrote: > > > > This commit implements an internal api to enable and disable PASID for > > a device e.g. device driver event/dlb2. > > git comment can be reworded when apply. What do you mean Jerin? > > For kern

Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-04 Thread Jerin Jacob
On Sat, Nov 4, 2023 at 4:47 AM Abdullah Sevincer wrote: > > This commit implements an internal api to enable and disable PASID for > a device e.g. device driver event/dlb2. git comment can be reworded when apply. > > For kernels when PASID enabled by default it breaks DLB functionality, > hence

[PATCH v6 1/2] bus/pci: add function to enable/disable PASID

2023-11-03 Thread Abdullah Sevincer
This commit implements an internal api to enable and disable PASID for a device e.g. device driver event/dlb2. For kernels when PASID enabled by default it breaks DLB functionality, hence disabling PASID is required for DLB to function properly. PASID capability is not exposed to users hence offs