Re: [PATCH 1/6] dt-bindings: PCI: ti,am65: Add PCIe host mode dt-bindings for TI's AM65 SoC

2021-04-20 Thread Rob Herring
On Tue, Mar 30, 2021 at 4:29 AM Kishon Vijay Abraham I wrote: > > Hi Rob, > > On 26/03/21 5:08 am, Rob Herring wrote: > > On Thu, Mar 25, 2021 at 02:30:21PM +0530, Kishon Vijay Abraham I wrote: > >> Add PCIe host mode dt-bindings for TI's AM65 SoC. > >> > &

Re: [PATCH v3 2/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-20 Thread John Garry
On 15/04/2021 13:48, Qi Liu wrote: PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple Root Ports, and each RCiEP is registered as a PMU in /sys/bus/event_source/devices, so users can

Re: [PATCH RESEND 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-19 Thread Suzuki K Poulose
On 19/04/2021 14:21, Yicong Yang wrote: On 2021/4/19 19:17, Suzuki K Poulose wrote: On 17/04/2021 11:17, Yicong Yang wrote: [RESEND with perf and coresight folks Cc'ed] HiSilicon PCIe tune and trace device (PTT) is a PCIe Root Complex integrated Endpoint (RCiEP) device, providing

[PATCH net-next 2/4] atl1c: improve performance by avoiding unnecessary pcie writes on xmit

2021-04-19 Thread Gatis Peisenieks
The kernel has xmit_more facility that hints the networking driver xmit path about whether more packets are coming soon. This information can be used to avoid unnecessary expensive PCIe transaction per tx packet at a slight increase in latency. Max TX pps on Mikrotik 10/25G NIC in a Threadripper

[PATCH 5.4 68/73] r8169: fix performance regression related to PCIe max read request size

2021-04-19 Thread Greg Kroah-Hartman
revert the original change, just use pcie_set_readrq() now instead of changing the PCIe capability register directly. Fixes: 2df49d365498 ("r8169: remove fiddling with the PCIe max read request size") Signed-off-by: Heiner Kallweit Signed-off-by: David S. Miller Signed-off-by: S

[PATCH 5.4 66/73] r8169: remove fiddling with the PCIe max read request size

2021-04-19 Thread Greg Kroah-Hartman
From: Heiner Kallweit [ Upstream commit 2df49d36549808a7357ad9f78b7a8e39516e7809 ] The attempt to improve performance by changing the PCIe max read request size was added in the vendor driver more than 10 years back and copied to r8169 driver. In the vendor driver this has been removed long ago

Re: [PATCH RESEND 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-19 Thread Yicong Yang
On 2021/4/19 19:17, Suzuki K Poulose wrote: > On 17/04/2021 11:17, Yicong Yang wrote: >> [RESEND with perf and coresight folks Cc'ed] >> >> HiSilicon PCIe tune and trace device (PTT) is a PCIe Root Complex >> integrated Endpoint (RCiEP) device, providing the capabilit

Re: [PATCH RESEND 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-19 Thread Yicong Yang
On 2021/4/17 21:56, Alexander Shishkin wrote: > Yicong Yang writes: > >> The reason for not using perf is because there is no current support >> for uncore tracing in the perf facilities. > > Not unless you count > > $ perf list|grep -ic uncore > 77 > these are uncore events probably do not

Re: [PATCH RESEND 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-19 Thread Suzuki K Poulose
On 17/04/2021 11:17, Yicong Yang wrote: [RESEND with perf and coresight folks Cc'ed] HiSilicon PCIe tune and trace device (PTT) is a PCIe Root Complex integrated Endpoint (RCiEP) device, providing the capability to dynamically monitor and tune the PCIe traffic (tune), and trace the TLP headers

[RESEND PATCH v5 2/4] perf stat: Helper functions for PCIe root ports list in iostat mode

2021-04-19 Thread alexander . antonov
From: Alexander Antonov Introduce helper functions to control PCIe root ports list. These helpers will be used in the follow-up patch. Acked-by: Namhyung Kim Signed-off-by: Alexander Antonov --- tools/perf/arch/x86/util/iostat.c | 110 ++ 1 file changed, 110

[PATCH v5 0/7] Add SR-IOV support in PCIe Endpoint Core

2021-04-19 Thread Kishon Vijay Abraham I
1 + .../pci/controller/cadence/pcie-cadence-ep.c | 285 ++ drivers/pci/controller/cadence/pcie-cadence.h | 7 + .../pci/controller/dwc/pcie-designware-ep.c | 36 +-- drivers/pci/controller/pcie-rcar-ep.c | 19 +- drivers/pci/controller/pcie-rockchip-ep.c | 18 +-

[PATCH v2 3/3] MAINTAINERS: Add entries for Toshiba Visconti PCIe controller

2021-04-19 Thread Nobuhiro Iwamatsu
Add entries for Toshiba Visconti PCIe controller binding and driver. Signed-off-by: Nobuhiro Iwamatsu --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8a154939ae27..3e5187c5b8d2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2621,11 +2621,13

[PATCH v2 2/3] PCI: dwc: Visconti: PCIe RC controller driver

2021-04-19 Thread Nobuhiro Iwamatsu
Add support to PCIe RC controller on Toshiba Visconti ARM SoCs. PCIe controller is based of Synopsys DesignWare PCIe core. This patch does not yet use the clock framework to control the clock. This will be replaced in the future. Signed-off-by: Yuji Ishikawa Signed-off-by: Nobuhiro Iwamatsu

[PATCH v2 1/3] dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller

2021-04-19 Thread Nobuhiro Iwamatsu
This commit adds the Device Tree binding documentation that allows to describe the PCIe controller found in Toshiba Visconti SoCs. Signed-off-by: Nobuhiro Iwamatsu --- .../bindings/pci/toshiba,visconti-pcie.yaml | 110 ++ 1 file changed, 110 insertions(+) create mode 100644

[PATCH v2 0/3] PCI: dwc: Visoconti: PCIe RC controller driver

2021-04-19 Thread Nobuhiro Iwamatsu
Hi, This series is the PCIe driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html dt

Re: [PATCH v2 6/6] riscv: dts: Add PCIe support for the SiFive FU740-C000 SoC

2021-04-18 Thread Greentime Hu
mpatible = "sifive,fu740-c000-uart", > > > "sifive,uart0"; > > > @@ -288,5 +289,38 @@ gpio: gpio@1006 { > > > clocks = < PRCI_CLK_PCLK>; > > > status = "disabled"; > > > };

Re: [PATCH v2 6/6] riscv: dts: Add PCIe support for the SiFive FU740-C000 SoC

2021-04-18 Thread Greentime Hu
#reset-cells = <1>; > > }; > > uart0: serial@1001 { > > compatible = "sifive,fu740-c000-uart", "sifive,uart0"; > > @@ -288,5 +289,38 @@ gpio: gpio@1006 { > >

Re: [PATCH RESEND 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-17 Thread Alexander Shishkin
Yicong Yang writes: > The reason for not using perf is because there is no current support > for uncore tracing in the perf facilities. Not unless you count $ perf list|grep -ic uncore 77 > We have our own format > of data and don't need perf doing the parsing. Perf has AUX buffers, which

[PATCH RESEND 1/4] hwtracing: Add trace function support for HiSilicon PCIe Tune and Trace device

2021-04-17 Thread Yicong Yang
HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex integrated Endpoint(RCiEP) device, providing the capability to dynamically monitor and tune the PCIe traffic(tune), and trace the TLP headers(trace). Add the driver for the device to enable the trace function. The driver will create

[PATCH RESEND 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-17 Thread Yicong Yang
[RESEND with perf and coresight folks Cc'ed] HiSilicon PCIe tune and trace device (PTT) is a PCIe Root Complex integrated Endpoint (RCiEP) device, providing the capability to dynamically monitor and tune the PCIe traffic (tune), and trace the TLP headers (trace). PTT tune is designed

[PATCH RESEND 2/4] hwtracing: Add tune function support for HiSilicon PCIe Tune and Trace device

2021-04-17 Thread Yicong Yang
Add tune function for the HiSilicon Tune and Trace device. The interface of tune is also exposed through debugfs. Signed-off-by: Yicong Yang --- drivers/hwtracing/hisilicon/hisi_ptt.c | 187 + 1 file changed, 187 insertions(+) diff --git

Re: [PATCH] arm64: dts: fsl-ls1028a: Correct ECAM PCIE window ranges

2021-04-16 Thread Kornel Dulęba
Hi, On Wed, Apr 7, 2021 at 2:35 PM Kornel Duleba wrote: > > Currently all PCIE windows point to bus address 0x0, which does not match > the values obtained from hardware during EA. > Replace those values with CPU addresses, since in reality we > have a 1:1 mapping between the two.

Re: QCA6174 pcie wifi: Add pci quirks

2021-04-15 Thread Pali Rohár
t; report. I understand it to resolve an issue during link retraining to a > higher speed on boot, not during a bus reset. Pali can correct if I'm > wrong. Thanks, These two issues are are related. Both operations (PCIe Hot Reset and PCIe Link Retraining) cause reset of ath chips. Seems that

Re: QCA6174 pcie wifi: Add pci quirks

2021-04-15 Thread Alex Williamson
t; [+cc Alex] > >> > >> On Fri, Apr 09, 2021 at 11:26:33AM +0200, Ingmar Klein wrote: > >>> Edit: Retry, as I did not consider, that my mail-client would make this > >>> party html. > >>> > >>> Dear maintainers, > >>> I recently

Re: QCA6174 pcie wifi: Add pci quirks

2021-04-15 Thread Ingmar Klein
wrote: [+cc Alex] On Fri, Apr 09, 2021 at 11:26:33AM +0200, Ingmar Klein wrote: Edit: Retry, as I did not consider, that my mail-client would make this party html. Dear maintainers, I recently encountered an issue on my Proxmox server system, that includes a Qualcomm QCA6174 m.2 PCIe wifi

Re: [PATCH v3 2/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-15 Thread kernel test robot
' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Qi-Liu/drivers-perf-hisi-Add-support-for-PCIe-PMU/20210415-204823 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 7f75285ca572eaabc028cf78c6ab5473d0d160be config: sh

[PATCH v3 2/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-15 Thread Qi Liu
PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple Root Ports, and each RCiEP is registered as a PMU in /sys/bus/event_source/devices, so users can select target PMU, and use filter

[PATCH v3 1/2] docs: perf: Add description for HiSilicon PCIe PMU driver

2021-04-15 Thread Qi Liu
PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported on HiSilicon HIP09 platform. Document it to provide guidance on how to use it. Signed-off-by: Qi Liu --- Documentation/admin-guide/perf/hisi-pcie-pmu.rst | 104 +++ 1 file changed, 104 insertions

[PATCH v3 0/2] drivers/perf: hisi: Add support for PCIe PMU

2021-04-15 Thread Qi Liu
This patchset adds support for HiSilicon PCIe Performance Monitoring Unit(PMU). It is a PCIe Root Complex integrated End Point(RCiEP) device added on Hip09. Each PCIe Core has a PMU RCiEP to monitor multi root ports and all Endpoints downstream these root ports. HiSilicon PCIe PMU is supported

Re: [PATCH] ACPICA: Events: support fixed pcie wake event

2021-04-15 Thread Jianmin Lv
@vger.kernel.org; lvjianmin Subject: [PATCH] ACPICA: Events: support fixed pcie wake event From: lvjianmin Some chipsets support fixed pcie wake event which is defined in the PM1 block, such as LS7A1000 of Loongson company, so we add code to handle it. Signed-off-by: lvjianmin diff --git

Re: QCA6174 pcie wifi: Add pci quirks

2021-04-14 Thread Alex Williamson
; I recently encountered an issue on my Proxmox server system, that > > includes a Qualcomm QCA6174 m.2 PCIe wifi module. > > https://deviwiki.com/wiki/AIRETOS_AFX-QCA6174-NX > > > > On system boot and subsequent virtual machine start (with passed-through > > Q

Re: QCA6174 pcie wifi: Add pci quirks

2021-04-14 Thread Bjorn Helgaas
[+cc Alex] On Fri, Apr 09, 2021 at 11:26:33AM +0200, Ingmar Klein wrote: > Edit: Retry, as I did not consider, that my mail-client would make this > party html. > > Dear maintainers, > I recently encountered an issue on my Proxmox server system, that > includes a Qualcomm QCA

[”PATCH” v2 4/5] arm64: dts: marvell: add pcie mac reset to pcie

2021-04-14 Thread bpeled
From: Ben Peled Add system controller and reset bit to each pcie to enable pcie mac reset Signed-off-by: Ben Peled --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/boot/dts

RE: [PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-04-13 Thread Richard Zhu
Hi Shawn: Regarding Lucas' advice, this patch should be split out and post for you to pick up into DT tree. Since the other two patches are accepted by PCIe tree now. Can you help to pick up this patch? Thanks in advanced. https://patchwork.kernel.org/project/linux-pci/patch/1616661882-26487-3

[PATCH] arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy

2021-04-13 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0

Re: Device driver location for the PCIe root port's DMA engine

2021-04-13 Thread Bjorn Helgaas
On Tue, Apr 13, 2021 at 11:42:15PM +0530, Vidya Sagar wrote: > On 4/13/2021 3:23 AM, Bjorn Helgaas wrote: > > The existing port services (AER, DPC, hotplug, etc) are things the > > device advertises via the PCI Capabilities defined by the generic PCIe > > spec, and in m

Re: Device driver location for the PCIe root port's DMA engine

2021-04-13 Thread Vidya Sagar
On 4/13/2021 11:43 PM, Rob Herring wrote: External email: Use caution opening links or attachments On Mon, Apr 12, 2021 at 12:01 PM Vidya Sagar wrote: Hi I'm starting this mail to seek advice on the best approach to be taken to add support for the driver of the PCIe root port's DMA

Re: Device driver location for the PCIe root port's DMA engine

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 12:01 PM Vidya Sagar wrote: > > Hi > I'm starting this mail to seek advice on the best approach to be taken > to add support for the driver of the PCIe root port's DMA engine. > To give some background, Tegra194's PCIe IPs are dual-mode PCIe IPs i.e. >

Re: Device driver location for the PCIe root port's DMA engine

2021-04-13 Thread Vidya Sagar
for the driver of the PCIe root port's DMA engine. To give some background, Tegra194's PCIe IPs are dual-mode PCIe IPs i.e. they work either in the root port mode or in the endpoint mode based on the boot time configuration. Since the PCIe hardware IP as such is the same for both (RP and EP) modes

Re: [PATCH v2 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-13 Thread John Garry
On 13/04/2021 10:12, liuqi (BA) wrote: I do wonder why we even need maintain pcie_pmu->cpumask Can't we just use cpu_online_mask as appropiate instead? ? Sorry, missed it yesterday. It seems that cpumask is always same as cpu_online_mask, So do we need to reserve the cpumask sysfs

Re: [PATCH v2 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-13 Thread liuqi (BA)
Hi John, On 2021/4/13 1:21, John Garry wrote: On 12/04/2021 14:34, liuqi (BA) wrote: Hi John, Thanks for reviewing this. On 2021/4/9 18:22, John Garry wrote: On 09/04/2021 10:05, Qi Liu wrote: PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth

Re: Device driver location for the PCIe root port's DMA engine

2021-04-12 Thread Bjorn Helgaas
[+cc Matthew for portdrv comment] On Mon, Apr 12, 2021 at 10:31:02PM +0530, Vidya Sagar wrote: > Hi > I'm starting this mail to seek advice on the best approach to be taken to > add support for the driver of the PCIe root port's DMA engine. > To give some background, Tegra194's PCIe

Re: [PATCH v2 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-12 Thread John Garry
On 12/04/2021 14:34, liuqi (BA) wrote: Hi John, Thanks for reviewing this. On 2021/4/9 18:22, John Garry wrote: On 09/04/2021 10:05, Qi Liu wrote: PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device

Device driver location for the PCIe root port's DMA engine

2021-04-12 Thread Vidya Sagar
Hi I'm starting this mail to seek advice on the best approach to be taken to add support for the driver of the PCIe root port's DMA engine. To give some background, Tegra194's PCIe IPs are dual-mode PCIe IPs i.e. they work either in the root port mode or in the endpoint mode based on the boot

[”PATCH” 4/5] arm64: dts: marvell: add pcie mac reset to pcie

2021-04-12 Thread bpeled
From: Ben Peled Add system controller and reset bit to each pcie to enable pcie mac reset Signed-off-by: Ben Peled --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/boot/dts

Re: [PATCH v2 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-12 Thread liuqi (BA)
Hi John, Thanks for reviewing this. On 2021/4/9 18:22, John Garry wrote: On 09/04/2021 10:05, Qi Liu wrote: PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple Root Ports, and each

Re: [PATCH] brcmfmac: Add support for BCM43596 PCIe Wi-Fi

2021-04-12 Thread AngeloGioacchino Del Regno
and seems to work just fine OOTB. PCIe IDs taken from: https://github.com/sonyxperiadev/kernel/commit/9e43fefbac8e43c3d7792e73ca52a052dd86d7e3.patch I don't see 4359 firmware in linux-firmware repo so what are you using? Regards, Arend Hi Arend, we are using firmwares that come with our

[PATCH 5.11 048/210] iwlwifi: pcie: properly set LTR workarounds on 22000 devices

2021-04-12 Thread Greg Kroah-Hartman
Fixes: ed0022da8bd9 ("iwlwifi: pcie: set LTR on more devices") Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/iwlwifi.20210326125611.675486178ed1.Ib61463aba6920645059e366dcdca4c4c77f0ff58@changeid Signed-off-by: Greg Kroah-Hartman --- drivers/ne

[PATCH 5.10 041/188] iwlwifi: pcie: properly set LTR workarounds on 22000 devices

2021-04-12 Thread Greg Kroah-Hartman
Fixes: ed0022da8bd9 ("iwlwifi: pcie: set LTR on more devices") Signed-off-by: Luca Coelho Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/iwlwifi.20210326125611.675486178ed1.Ib61463aba6920645059e366dcdca4c4c77f0ff58@changeid Signed-off-by: Greg Kroah-Hartman --- drivers/ne

Re: [PATCH] brcmfmac: Add support for BCM43596 PCIe Wi-Fi

2021-04-12 Thread Arend van Spriel
On 07-03-2021 12:35, Konrad Dybcio wrote: Add support for BCM43596 dual-band AC chip, found in SONY Xperia X Performance, XZ and XZs smartphones (and *possibly* other devices from other manufacturers). The chip doesn't require any special handling and seems to work just fine OOTB. PCIe IDs

Re: [PATCH v5 0/6] Add SiFive FU740 PCIe host controller driver support

2021-04-11 Thread Greentime Hu
Lorenzo Pieralisi 於 2021年4月9日 週五 下午4:54寫道: > > On Tue, 6 Apr 2021 17:26:28 +0800, Greentime Hu wrote: > > This patchset includes SiFive FU740 PCIe host controller driver. We also > > add pcie_aux clock and pcie_power_on_reset controller to prci driver for >

[PATCH v4 1/2] dw-xdata-pcie: Fix documentation build warns

2021-04-10 Thread Gustavo Pimentel
Fixes: e1181b5bbc3c ("Documentation: misc-devices: Add Documentation for dw-xdata-pcie driver") Link: https://lore.kernel.org/linux-next/20210406214615.40cf3...@canb.auug.org.au/ Reported-by: Stephen Rothwell Signed-off-by: Gustavo Pimentel --- Documentation/misc-devices/dw-xdata-pci

[PATCH v4 2/2] dw-xdata-pcie: Update outdated info and improve text format

2021-04-10 Thread Gustavo Pimentel
-pcie.rst +++ b/Documentation/misc-devices/dw-xdata-pcie.rst @@ -4,37 +4,61 @@ Driver for Synopsys DesignWare PCIe traffic generator (also known as xData) === +Supported chips: +Synopsys DesignWare PCIe prototype solution

[PATCH v4 0/2] dw-xdata-pcie: Fix documentation build warns

2021-04-10 Thread Gustavo Pimentel
: Krzysztof Wilczy??ski Cc: Stephen Rothwell Gustavo Pimentel (2): dw-xdata-pcie: Fix documentation build warns dw-xdata-pcie: Update outdated info and improve text format Documentation/misc-devices/dw-xdata-pcie.rst | 76 ++-- Documentation/misc-devices/index.rst

Re: [PATCH v3 1/2] dw-xdata-pcie: Fix documentation build warns and update outdated info

2021-04-10 Thread Greg Kroah-Hartman
On Wed, Apr 07, 2021 at 10:31:48PM +0200, Gustavo Pimentel wrote: > Fixes documentation build warnings related to indentation and text > formatting, such as: > > Documentation/misc-devices/dw-xdata-pcie.rst:20: WARNING: Unexpected > indentation. > Documentation/misc-devices/dw-xdata-pcie.rst:24:

[PATCH v10 0/3] PCI: uniphier: Add PME/AER support for UniPhier PCIe host controller

2021-04-09 Thread Kunihiko Hayashi
This adds a new function called by MSI handler in DesignWare PCIe framework, that invokes PME and AER funcions to detect the factor from SoC-dependent registers. Changes since v9: - Fix the description of pcie_prot_service_get_irq() Changes since v8: - Add uniphier_pcie_host_init_complete

Fwd: Function Level Reset notification to PCIe device driver

2021-04-09 Thread ragas gupta
Hello, This query is regarding Function level reset feature for SRIOV. As per code in Linux PCIe driver the function level reset is done by writing “1” to “reset” under sysfs interface. e.g. “echo 1 > /sys/bus/pci/devices/ /reset “ As function level reset is not triggered

Re: [PATCH v2 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-09 Thread John Garry
On 09/04/2021 10:05, Qi Liu wrote: PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple Root Ports, and each RCiEP is registered as a PMU in /sys/bus/event_source/devices, so users can

QCA6174 pcie wifi: Add pci quirks

2021-04-09 Thread Ingmar Klein
Edit: Retry, as I did not consider, that my mail-client would make this party html. Dear maintainers, I recently encountered an issue on my Proxmox server system, that includes a Qualcomm QCA6174 m.2 PCIe wifi module. https://deviwiki.com/wiki/AIRETOS_AFX-QCA6174-NX On system boot

[PATCH v2 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-09 Thread Qi Liu
PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple Root Ports, and each RCiEP is registered as a PMU in /sys/bus/event_source/devices, so users can select target PMU, and use filter

[PATCH v2 2/2] docs: perf: Add description for HiSilicon PCIe PMU driver

2021-04-09 Thread Qi Liu
PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported on HiSilicon HIP09 platform. Document it to provide guidance on how to use it. Signed-off-by: Qi Liu --- Documentation/admin-guide/perf/hisi-pcie-pmu.rst | 104 +++ 1 file changed, 104 insertions

[PATCH v2 0/2] drivers/perf: hisi: Add support for PCIe PMU

2021-04-09 Thread Qi Liu
This patchset adds support for HiSilicon PCIe Performance Monitoring Unit(PMU). It is a PCIe Root Complex integrated End Point(RCiEP) device added on Hip09. Each PCIe Core has a PMU RCiEP to monitor multi root ports and all Endpoints downstream these root ports. HiSilicon PCIe PMU is supported

Re: [PATCH v5 0/6] Add SiFive FU740 PCIe host controller driver support

2021-04-09 Thread Lorenzo Pieralisi
On Tue, 6 Apr 2021 17:26:28 +0800, Greentime Hu wrote: > This patchset includes SiFive FU740 PCIe host controller driver. We also > add pcie_aux clock and pcie_power_on_reset controller to prci driver for > PCIe driver to use it. > > This is tested with e1000e: Intel(R) PRO/1000 Ne

[PATCH 12/14] phy: cadence-torrent: Add PCIe + DP multilink configuration

2021-04-08 Thread Swapnil Jakhade
Add PCIe + DP no SSC multilink configuration sequences. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 131 ++ 1 file changed, 131 insertions(+) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence

Re: [PATCH v5 0/6] Add SiFive FU740 PCIe host controller driver support

2021-04-08 Thread Greentime Hu
Lorenzo Pieralisi 於 2021年4月9日 週五 上午12:25寫道: > > On Tue, Apr 06, 2021 at 05:26:28PM +0800, Greentime Hu wrote: > > This patchset includes SiFive FU740 PCIe host controller driver. We also > > add pcie_aux clock and pcie_power_on_reset controller to prci driver for >

Re: [PATCH v5 0/6] Add SiFive FU740 PCIe host controller driver support

2021-04-08 Thread Lorenzo Pieralisi
On Tue, Apr 06, 2021 at 05:26:28PM +0800, Greentime Hu wrote: > This patchset includes SiFive FU740 PCIe host controller driver. We also > add pcie_aux clock and pcie_power_on_reset controller to prci driver for > PCIe driver to use it. > > This is tested with e1000e: Intel(R) P

RE: [PATCH v3 1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI

2021-04-08 Thread Bharat Kumar Gogada
1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic > using CCI > > On Mon, 22 Feb 2021 14:17:31 +0530, Bharat Kumar Gogada wrote: > > Add support for routing PCIe DMA traffic coherently when Cache > > Coherent Interconnect (CCI) is enabled in the system. > > The &qu

Re: [PATCH v5 4/6] dt-bindings: PCI: Add SiFive FU740 PCIe host controller

2021-04-08 Thread Rob Herring
On Tue, 06 Apr 2021 17:26:32 +0800, Greentime Hu wrote: > Add PCIe host controller DT bindings of SiFive FU740. > > Signed-off-by: Greentime Hu > --- > .../bindings/pci/sifive,fu740-pcie.yaml | 113 ++ > 1 file changed, 113 insertions(+) >

Re: [PATCH v5 5/6] PCI: fu740: Add SiFive FU740 PCIe host controller driver

2021-04-08 Thread Rob Herring
On Tue, Apr 06, 2021 at 05:26:33PM +0800, Greentime Hu wrote: > From: Paul Walmsley > > Add driver for the SiFive FU740 PCIe host controller. > This controller is based on the DesignWare PCIe core. > > Signed-off-by: Paul Walmsley > Co-developed-by: Henry Styles > Sig

Re: [PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-08 Thread Will Deacon
Hi John, On Thu, Apr 08, 2021 at 01:55:02PM +0100, John Garry wrote: > On 08/04/2021 10:01, Jonathan Cameron wrote: > > On Wed, 7 Apr 2021 21:40:05 +0100 > > Will Deacon wrote: > > > > > On Wed, Apr 07, 2021 at 05:49:02PM +0800, Qi Liu wrote: > > > >

Re: [PATCH 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-08 Thread Yicong Yang
On 2021/4/7 18:25, Greg KH wrote: > On Wed, Apr 07, 2021 at 06:03:11PM +0800, Yicong Yang wrote: >> On 2021/4/6 21:49, Greg KH wrote: >>> On Tue, Apr 06, 2021 at 08:45:50PM +0800, Yicong Yang wrote: >>>> HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Co

Re: [PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-08 Thread John Garry
On 08/04/2021 10:01, Jonathan Cameron wrote: On Wed, 7 Apr 2021 21:40:05 +0100 Will Deacon wrote: On Wed, Apr 07, 2021 at 05:49:02PM +0800, Qi Liu wrote: PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP

Re: [PATCH 2/3] PCI: dwc: Visoconti: PCIe RC controller driver

2021-04-08 Thread Nobuhiro Iwamatsu
Hi, Thanks for your review. On Wed, Apr 07, 2021 at 09:27:34AM -0500, Rob Herring wrote: > On Wed, Apr 07, 2021 at 12:18:38PM +0900, Nobuhiro Iwamatsu wrote: > > Add support to PCIe RC controller on Toshiba Visconti ARM SoCs. > > PCIe controller is based of Synopsys Desig

Re: [PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-08 Thread Jonathan Cameron
On Wed, 7 Apr 2021 21:40:05 +0100 Will Deacon wrote: > On Wed, Apr 07, 2021 at 05:49:02PM +0800, Qi Liu wrote: > > PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported > > to sample bandwidth, latency, buffer occupation etc. > > > > Each PMU RCiEP de

Re: [PATCH 1/3] dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller

2021-04-08 Thread Nobuhiro Iwamatsu
Hi, Thanks for your review. On Wed, Apr 07, 2021 at 08:18:58AM -0500, Rob Herring wrote: > On Tue, Apr 6, 2021 at 10:19 PM Nobuhiro Iwamatsu > wrote: > > > > This commit adds the Device Tree binding documentation that allows > > to describe the PCIe controller found

Re: [PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-07 Thread Will Deacon
On Wed, Apr 07, 2021 at 05:49:02PM +0800, Qi Liu wrote: > PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported > to sample bandwidth, latency, buffer occupation etc. > > Each PMU RCiEP device monitors multiple root ports, and each RCiEP is > registered as a

[PATCH v3 2/2] misc-device: Add dw-xdata-pcie to toctree(index)

2021-04-07 Thread Gustavo Pimentel
With the recent addition of dw-xdata-pcie, the documentation build now warns about a missing reference on the table of content related to it. This fix solves the following error: Documentation/misc-devices/dw-xdata-pcie.rst: WARNING: document isn't included in any toctree Fixes: e1181b5bbc3c

[PATCH v3 0/2] dw-xdata-pcie: Fix documentation build warns

2021-04-07 Thread Gustavo Pimentel
Kroah-Hartman Cc: Jonathan Corbet Cc: Bjorn Helgaas Cc: Krzysztof Wilczy??ski Cc: Stephen Rothwell Gustavo Pimentel (2): dw-xdata-pcie: Fix documentation build warns and update outdated info misc-device: Add dw-xdata-pcie to toctree(index) Documentation/misc-devices/dw-xdata-pcie.rst | 62

[PATCH v3 1/2] dw-xdata-pcie: Fix documentation build warns and update outdated info

2021-04-07 Thread Gustavo Pimentel
xdata-pcie driver") Link: https://lore.kernel.org/linux-next/20210406214615.40cf3...@canb.auug.org.au/ Reported-by: Stephen Rothwell Signed-off-by: Gustavo Pimentel --- Documentation/misc-devices/dw-xdata-pcie.rst | 62 +++- 1 file changed, 43 insertions(+), 19

Re: [PATCH v3 1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI

2021-04-07 Thread Lorenzo Pieralisi
On Mon, 22 Feb 2021 14:17:31 +0530, Bharat Kumar Gogada wrote: > Add support for routing PCIe DMA traffic coherently when > Cache Coherent Interconnect (CCI) is enabled in the system. > The "dma-coherent" property is used to determine if CCI is enabled > or

Re: [PATCH 2/3] PCI: dwc: Visoconti: PCIe RC controller driver

2021-04-07 Thread Rob Herring
On Wed, Apr 07, 2021 at 12:18:38PM +0900, Nobuhiro Iwamatsu wrote: > Add support to PCIe RC controller on Toshiba Visconti ARM SoCs. > PCIe controller is based of Synopsys DesignWare PCIe core. > > Signed-off-by: Yuji Ishikawa > Signed-off-by: Nobuhiro Iwamatsu > --- > d

Re: [PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-07 Thread kernel test robot
' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Qi-Liu/drivers-perf-hisi-Add-support-for-PCIe-PMU/20210407-175356 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2d743660786ec51f5c1fefd5782bbdee7b227db0 config

Re: [PATCH 1/3] dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller

2021-04-07 Thread Rob Herring
On Tue, Apr 6, 2021 at 10:19 PM Nobuhiro Iwamatsu wrote: > > This commit adds the Device Tree binding documentation that allows > to describe the PCIe controller found in Toshiba Visconti SoCs. > > Signed-off-by: Nobuhiro Iwamatsu > --- > .../bindings/pci/toshiba,visco

[PATCH] arm64: dts: fsl-ls1028a: Correct ECAM PCIE window ranges

2021-04-07 Thread Kornel Duleba
Currently all PCIE windows point to bus address 0x0, which does not match the values obtained from hardware during EA. Replace those values with CPU addresses, since in reality we have a 1:1 mapping between the two. Signed-off-by: Kornel Duleba --- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

Re: [PATCH 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-07 Thread Greg KH
On Wed, Apr 07, 2021 at 06:03:11PM +0800, Yicong Yang wrote: > On 2021/4/6 21:49, Greg KH wrote: > > On Tue, Apr 06, 2021 at 08:45:50PM +0800, Yicong Yang wrote: > >> HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex > >> integrated Endpoint(RCiEP) devic

Re: [PATCH 0/4] Add support for HiSilicon PCIe Tune and Trace device

2021-04-07 Thread Yicong Yang
On 2021/4/6 21:49, Greg KH wrote: > On Tue, Apr 06, 2021 at 08:45:50PM +0800, Yicong Yang wrote: >> HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex >> integrated Endpoint(RCiEP) device, providing the capability >> to dynamically monitor and tune

[PATCH 0/2] drivers/perf: hisi: Add support for PCIe PMU

2021-04-07 Thread Qi Liu
This patchset adds support for HiSilicon PCIe Performance Monitoring Unit(PMU). It is a PCIe Root Complex integrated End Point(RCiEP) device added on Hip09. Each PCIe Core has a PMU RCiEP to monitor multi root ports and all Endpoints downstream these root ports. HiSilicon PCIe PMU is supported

[PATCH 1/2] drivers/perf: hisi: Add driver for HiSilicon PCIe PMU

2021-04-07 Thread Qi Liu
PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported to sample bandwidth, latency, buffer occupation etc. Each PMU RCiEP device monitors multiple root ports, and each RCiEP is registered as a pmu in /sys/bus/event_source/devices, so users can select target PMU, and use filter

[PATCH 2/2] docs: perf: Add description for HiSilicon PCIe PMU driver

2021-04-07 Thread Qi Liu
PCIe PMU Root Complex Integrated End Point(RCiEP) device is supported on HiSilicon HIP09 platform, and document it to provide guidance on how to use it. Reviewed-by: John Garry Signed-off-by: Qi Liu --- Documentation/admin-guide/perf/hisi-pcie-pmu.rst | 103 +++ 1 file

[PATCH 1/3] dt-bindings: pci: Add DT binding for Toshiba Visconti PCIe controller

2021-04-06 Thread Nobuhiro Iwamatsu
This commit adds the Device Tree binding documentation that allows to describe the PCIe controller found in Toshiba Visconti SoCs. Signed-off-by: Nobuhiro Iwamatsu --- .../bindings/pci/toshiba,visconti-pcie.yaml | 121 ++ 1 file changed, 121 insertions(+) create mode 100644

[PATCH 0/3] PCI: dwc: Visoconti: PCIe RC controller driver

2021-04-06 Thread Nobuhiro Iwamatsu
Hi, This series is the PCIe driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html Nobuhiro

[PATCH 2/3] PCI: dwc: Visoconti: PCIe RC controller driver

2021-04-06 Thread Nobuhiro Iwamatsu
Add support to PCIe RC controller on Toshiba Visconti ARM SoCs. PCIe controller is based of Synopsys DesignWare PCIe core. Signed-off-by: Yuji Ishikawa Signed-off-by: Nobuhiro Iwamatsu --- drivers/pci/controller/dwc/Kconfig | 10 + drivers/pci/controller/dwc/Makefile| 1

[PATCH 3/3] MAINTAINERS: Add entries for Toshiba Visconti PCIe controller

2021-04-06 Thread Nobuhiro Iwamatsu
Add entries for Toshiba Visconti PCIe controller binding and driver. Signed-off-by: Nobuhiro Iwamatsu --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8a154939ae27..3e5187c5b8d2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2621,11 +2621,13

[PATCHv5 5/6] arm64: dts: ls1043a: Add SCFG phandle for PCIe nodes

2021-04-06 Thread Zhiqiang Hou
From: Hou Zhiqiang The LS1043A PCIe controller has some control registers in SCFG block, so add the SCFG phandle for each PCIe controller DT node. Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCHv5 3/6] arm64: dts: layerscape: Add big-endian property for PCIe nodes

2021-04-06 Thread Zhiqiang Hou
From: Hou Zhiqiang Add the big-endian property for LS1012A, LS1043A and LS1046A PCIe devicetree nodes. Signed-off-by: Hou Zhiqiang --- V5: - No change arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ arch/arm64/boot/dts/freescale

Re: [PATCH 1/4] hwtracing: Add trace function support for HiSilicon PCIe Tune and Trace device

2021-04-06 Thread kernel test robot
in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Yicong-Yang/Add-support-for-HiSilicon-PCIe-Tune-and-Trace-device/20210406-204959 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0a50438c84363bd37fe18fe432888ae9a074dcab config

[PATCH v2 2/2] Documentation: misc-devices: Add missing entry on the table of content related to dw-xdata-pcie

2021-04-06 Thread Gustavo Pimentel
Add missing entry on the table of content related to dw-xdata-pcie misc driver reported in a warning by doing *make htmldocs*. Fixes: e1181b5bbc3c ("Documentation: misc-devices: Add Documentation for dw-xdata-pcie driver") Link: https://lore.kernel.org/linux-next/2021040621

Re: [PATCH v3 1/2] PCI: xilinx-nwl: Enable coherent PCIe DMA traffic using CCI

2021-04-06 Thread Rob Herring
On Tue, Apr 6, 2021 at 9:20 AM Lorenzo Pieralisi wrote: > > [+ Rob, Robin] > > On Mon, Feb 22, 2021 at 02:17:31PM +0530, Bharat Kumar Gogada wrote: > > Add support for routing PCIe DMA traffic coherently when > > Cache Coherent Interconnect (CCI) is enabled in the syste

Re: [PATCH] Documentation: misc-devices: Add missing entry on the table of content related to dw-xdata-pcie

2021-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 06, 2021 at 08:07:43PM +0200, Gustavo Pimentel wrote: > Add missing entry on the table of content related to dw-xdata-pcie misc > driver reported in a warning by doing *make htmldocs*. > > Signed-off-by: Gustavo Pimentel > --- > Documentation/misc-devices/index.r

[PATCH] Documentation: misc-devices: Add missing entry on the table of content related to dw-xdata-pcie

2021-04-06 Thread Gustavo Pimentel
Add missing entry on the table of content related to dw-xdata-pcie misc driver reported in a warning by doing *make htmldocs*. Signed-off-by: Gustavo Pimentel --- Documentation/misc-devices/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/misc-devices/index.rst b

  1   2   3   4   5   6   7   8   9   10   >