Re: [PATCH] PCI: tegra: Disable PTM capabilities for EP mode

2021-03-08 Thread Om Prakash Singh
On 3/5/2021 11:43 PM, Vidya Sagar wrote: > > > On 3/5/2021 5:49 PM, Bjorn Helgaas wrote: >> External email: Use caution opening links or attachments >> >> >> On Fri, Mar 05, 2021 at 01:42:34PM +0530, Om Prakash Singh wrote: >>> PCIe EP compliance expect PTM capabilities (ROOT_CAPABLE,

Re: [PATCH] PCI: tegra: Disable PTM capabilities for EP mode

2021-03-05 Thread Vidya Sagar
On 3/5/2021 5:49 PM, Bjorn Helgaas wrote: External email: Use caution opening links or attachments On Fri, Mar 05, 2021 at 01:42:34PM +0530, Om Prakash Singh wrote: PCIe EP compliance expect PTM capabilities (ROOT_CAPABLE, RES_CAPABLE, CLK_GRAN) to be disabled. I guess this is just

Re: [PATCH] PCI: tegra: Disable PTM capabilities for EP mode

2021-03-05 Thread Bjorn Helgaas
On Fri, Mar 05, 2021 at 01:42:34PM +0530, Om Prakash Singh wrote: > PCIe EP compliance expect PTM capabilities (ROOT_CAPABLE, RES_CAPABLE, > CLK_GRAN) to be disabled. I guess this is just enforcing the PCIe spec requirements that only Root Ports, RCRBs, and Switches are allowed to set the PTM

[PATCH] PCI: tegra: Disable PTM capabilities for EP mode

2021-03-05 Thread Om Prakash Singh
PCIe EP compliance expect PTM capabilities (ROOT_CAPABLE, RES_CAPABLE, CLK_GRAN) to be disabled. Signed-off-by: Om Prakash Singh --- drivers/pci/controller/dwc/pcie-tegra194.c | 17 - include/uapi/linux/pci_regs.h | 1 + 2 files changed, 17 insertions(+), 1