[PATCH 0/2] pcie-designware: add iATU unroll feature

2016-07-21 Thread Joao Pinto
upport for the mechanism and makes some minor improvements to the existent one. Joao Pinto (2): pcie-designware: adding iATU Unroll feature pcie-designware: add core version drivers/pci/host/pcie-designware.c | 164 + drivers/pci/host/pcie-designware.h | 6 +

[PATCH 1/2] pcie-designware: add iATU Unroll feature

2016-07-21 Thread Joao Pinto
n order to make sure that the iATU is really enabled a for loop was introduced in dw_pcie_prog_outbound_atu() to improve reliability. This patch also moves the sleep definitions to the *.c file like suggested by Jisheng Zhang in a previous patch. Signed-off-by: Joao Pinto --- drivers/pci

[PATCH 2/2] pcie-designware: add core version

2016-07-21 Thread Joao Pinto
The Core version information is available since version 4.70. This patch adds to the driver the register and default value for new core 4.80 if needed in some future work. Signed-off-by: Joao Pinto --- drivers/pci/host/pcie-designware.c | 4 1 file changed, 4 insertions(+) diff --git a

Re: [PATCH 2/2] PCI: designware: let dw_pcie_link_up() beware of LTSSM training bit

2016-07-21 Thread Joao Pinto
Hi Jisheng, On 7/18/2016 3:38 AM, Jisheng Zhang wrote: > Dear Joao, > > On Fri, 15 Jul 2016 16:10:24 +0100 Joao Pinto wrote: > >> Hi, >> >> On 7/6/2016 11:59 AM, Jisheng Zhang wrote: >>> The link may be UP but still in link training. In this case

[PATCH v2 0/2] pcie-designware: add iATU unroll feature

2016-07-22 Thread Joao Pinto
upport for the mechanism and makes some minor improvements to the existent one. Joao Pinto (2): pcie-designware: add iATU Unroll feature pcie-designware: add core version drivers/pci/host/pcie-designware.c | 161 + drivers/pci/host/pcie-designware.h | 6 +

[PATCH v2 2/2] pcie-designware: add core version

2016-07-22 Thread Joao Pinto
Signed-off-by: Joao Pinto --- changes v1->v2: - Nothing changed. Just to keep up the patch set version. drivers/pci/host/pcie-designware.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 9135725..3e4c

[PATCH v2 1/2] pcie-designware: add iATU Unroll feature

2016-07-22 Thread Joao Pinto
n order to make sure that the iATU is really enabled a for loop was introduced in dw_pcie_prog_outbound_atu() to improve reliability. This patch also moves the sleep definitions to the *.c file like suggested by Jisheng Zhang in a previous patch. Signed-off-by: Joao Pinto --- changes v1->v2

UFS API in the kernel

2016-09-22 Thread Joao Pinto
Hi! I am designing an application that has the goal to be an utility for Unipro and UFS testing purposes. This application is going to run on top of a recent Linux Kernel containing the new UFS stack (including the new DWC drivers). I am considering doing the following: a) Create a new config ite

Re: [PATCH 2/4] PCI: dwc: Add support for EP mode

2018-05-14 Thread Joao Pinto
ns/pci-epf-test.c > +++ b/drivers/pci/endpoint/functions/pci-epf-test.c > @@ -435,6 +435,13 @@ static int pci_epf_test_bind(struct pci_epf *epf) > if (WARN_ON_ONCE(!epc)) > return -EINVAL; > > + if (epc->features & EPC_FEATURE_NO_LINKUP_NOTIFIER) > + epf_test->linkup_notifier = false; > + else > + epf_test->linkup_notifier = true; > + > + epf_test->test_reg_bar = EPC_FEATURE_GET_BAR(epc->features); > + > ret = pci_epc_write_header(epc, epf->func_no, header); > if (ret) { > dev_err(dev, "configuration header write failed\n"); > diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h > index af657ca..243eaa5 100644 > --- a/include/linux/pci-epc.h > +++ b/include/linux/pci-epc.h > @@ -90,8 +90,16 @@ struct pci_epc { > struct config_group *group; > /* spinlock to protect against concurrent access of EP controller */ > spinlock_t lock; > + unsigned intfeatures; > }; > > +#define EPC_FEATURE_NO_LINKUP_NOTIFIER BIT(0) > +#define EPC_FEATURE_BAR_MASK (BIT(1) | BIT(2) | BIT(3)) > +#define EPC_FEATURE_SET_BAR(features, bar) \ > + (features |= (EPC_FEATURE_BAR_MASK & (bar << 1))) > +#define EPC_FEATURE_GET_BAR(features)\ > + ((features & EPC_FEATURE_BAR_MASK) >> 1) > + > #define to_pci_epc(device) container_of((device), struct pci_epc, dev) > > #define pci_epc_create(dev, ops)\ > Acked-by: Joao Pinto

Re: [PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()

2018-05-15 Thread Joao Pinto
ly, convert the > existing function to a managed version. > > CC: Jingoo Han > CC: Joao Pinto > CC: Lorenzo Pieralisi > Signed-off-by: Jan Kiszka > --- > drivers/pci/dwc/pcie-designware-host.c | 2 +- > drivers/pci/host/pci-aardvark.c| 2 +- > drivers/pci/

Re: [PATCH 0/4] Add DesignWare EP support

2018-05-15 Thread Joao Pinto
-- > drivers/pci/endpoint/functions/pci-epf-test.c | 7 + > include/linux/pci-epc.h| 8 ++ > 7 files changed, 206 insertions(+), 27 deletions(-) > Thanks for this patch-set. Reviewed-by: Joao Pinto

Re: [PATCH for-next] scsi: ufs: Update dwc driver maintainer to Pedro Sousa

2019-02-05 Thread Joao Pinto
Thanks Martin. On 2/5/2019 3:37 AM, Martin K. Petersen wrote: > Joao, > >> Currently I am managing the Synopsys drivers & tools team (full-time) and >> so I am passing the DWC UFS driver maintenance to Pedro Sousa. > Applied to 5.1/scsi-queue, thanks. >

[PATCH v2 0/2] adding PCI support to AXS10x

2015-12-16 Thread Joao Pinto
were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI support added to ARC add new platform driver for PCI RC .../devicetree/bindings/pci/pcie-snpsdev.txt | 28 ++ MAINTAINERS

[PATCH v2 1/2] PCI support added to ARC

2015-12-16 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v1 -> v2: - In arch/arc/Kconfig, the new menu entry (Bus Configuration) was moved to the slot between sourcing of drivers/Kcon

[PATCH v2 2/2] add new platform driver for PCI RC

2015-12-16 Thread Joao Pinto
-MAINTAINERS file was updated to include the new driver -Documentation/devicetree/bindings/pci was updated to include the new driver documentation -New driver called pcie-snpsdev Signed-off-by: Joao Pinto --- Changes v1 -> v2 (Bjorn Helgaas): - Fixups snpsdev_pcie_fixup_bridge()

Re: [PATCH v2 1/2] PCI support added to ARC

2015-12-18 Thread Joao Pinto
Hi Bjorn, Thanks for the review. I am going to simplify the code and send a v3 patch set. Joao On 12/17/2015 9:11 PM, Bjorn Helgaas wrote: > On Wed, Dec 16, 2015 at 02:14:55PM +0000, Joao Pinto wrote: >> This patch adds PCI support to ARC and updates drivers/pci Makefile enabling &

[PATCH 0/2] adding PCI support to AXS10x

2015-11-24 Thread Joao Pinto
were produced against the 'next' branch of Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): add new platform driver for PCI RC PCI support added to ARC .../devicetree/bindings/pci/pcie-snpsdev.txt | 28

[PATCH 2/2] PCI support added to ARC

2015-11-24 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- arch/arc/Kconfig| 22 +++ arch/arc/include/asm/dma.h | 5 + arch/arc/include/asm/io.h | 2 + arch/arc

[PATCH 1/2] add new platform driver for PCI RC

2015-11-24 Thread Joao Pinto
-MAINTAINERS file was updated to include the new driver -Documentation/devicetree/bindings/pci was updated to include the new driver documentation -New driver called pcie-snpsdev Signed-off-by: Joao Pinto --- .../devicetree/bindings/pci/pcie-snpsdev.txt | 28 ++ MAINTAINERS

Re: [PATCH 2/2] PCI support added to ARC

2015-11-26 Thread Joao Pinto
Hi Bjorn, On 11/25/2015 4:46 PM, Bjorn Helgaas wrote: > On Wed, Nov 25, 2015 at 05:25:37AM +, Vineet Gupta wrote: >> On Tuesday 24 November 2015 08:02 PM, Joao Pinto wrote: > >>> + pr_err("PCI: Device %s not available because"/ >>>

[PATCH RESEND v9 0/2] adding PCI support to AXS10x

2016-02-17 Thread Joao Pinto
spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI su

[PATCH RESEND v9 1/2] PCI support added to ARC

2016-02-17 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Nothing changed (just to keep u

[PATCH RESEND v9 2/2] pcie-designware platform driver

2016-02-17 Thread Joao Pinto
-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6 and spear13xx pcie drivers -

[PATCH RESEND v8 0/3] add support for DWC UFS Controller

2016-02-18 Thread Joao Pinto
glue pci driver - Documentation update Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 19 + .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 4 +- MAINTAINERS

[PATCH RESEND v8 1/3] fixed typo in ufshcd-pltfrm

2016-02-18 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v8: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH RESEND v8 3/3] add support for DWC UFS Host Controller

2016-02-18 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v7->v8 (Akinobu Mita): - DME sets were simplified for easier reading - CLK DIV default values definitions names w

[PATCH RESEND v8 2/3] added UFS 2.0 capabilities

2016-02-18 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto --- Changes v7->v8: - Added "jedec, ufs-2.0" to the ufschd-platform compatibility strings Changes v0->v7: - Nothing changed (just to keep up with patch set version). .../devicetree/bindings/ufs/ufshcd-pltf

Re: [PATCH v3] synopsys pcie rc generic platform driver update

2016-02-08 Thread Joao Pinto
oao, > > On Fri, Feb 05, 2016 at 07:55:43PM +0000, Joao Pinto wrote: >> This patch tries to improve the host/pcie-synopsys branch including a new >> driver name, more accurate documentation and centralized link up validation. >> Other platform drivers were also updated to

[PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
This patch goal is to centralize in pcie-designware the link up validation. A new function was added to pci-designware that is responsible for doing such a task. This was implemented in a form that permits flexibility for all SoCs. Signed-off-by: Joao Pinto --- drivers/pci/host/pci-dra7xx.c

Re: [PATCH v8 2/2] add new platform driver for PCI RC

2016-02-08 Thread Joao Pinto
Bergmann wrote: > On Friday 05 February 2016 17:32:48 Bjorn Helgaas wrote: >> On Fri, Feb 05, 2016 at 03:39:05PM +0100, Arnd Bergmann wrote: >>> On Friday 05 February 2016 10:44:29 Joao Pinto wrote: > >>> I think in this case, we should do this completely differently:

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- >> ow...@vger.kernel.org] On Behalf Of Joao Pinto >> Sent: 08 February 2016 12:44 >> To: helg...@kernel.org >> Cc: a...@arndb.de; linux-...@vger.kernel.org; linux- >> ker...@vger.kernel.org; carlos.palmi...@syno

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
d-1.1" in the DT compatibility string disables the UFS 2.0 in the core driver despite the controller is 2.0? Please clarify. Thanks, Joao On 2/4/2016 4:27 PM, Mark Rutland wrote: > On Wed, Feb 03, 2016 at 03:54:48PM +, Joao Pinto wrote: >> Hi, >> >> On 2/3/2016 3:39 PM

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
No problem! Thanks for your comments! Joao On 2/8/2016 3:29 PM, Gabriele Paoloni wrote: >> -Original Message- >> From: Joao Pinto [mailto:joao.pi...@synopsys.com] >> Sent: 08 February 2016 15:12 >> To: Gabriele Paoloni; Joao Pinto; helg...@kernel.org >

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
Hi Mark, On 2/8/2016 3:30 PM, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 03:17:11PM +0000, Joao Pinto wrote: >> Hi Mark and Arnd, >> >> I am planning the v2 of this patch set. I have a doubt in the version >> compatibility strings... The core driver must support the

Re: [PATCH 3/3] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
On 2/8/2016 4:15 PM, Mark Rutland wrote: > On Mon, Feb 08, 2016 at 03:36:52PM +0000, Joao Pinto wrote: >> Hi Mark, >> >> On 2/8/2016 3:30 PM, Mark Rutland wrote: >>> On Mon, Feb 08, 2016 at 03:17:11PM +, Joao Pinto wrote: >>>> Hi Mark and Arnd, >&

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
Our On 2/8/2016 4:46 PM, Arnd Bergmann wrote: > On Monday 08 February 2016 16:43:33 Joao Pinto wrote: >> Hi, >> Ok, so what should be the retries and waiting time in your opinion? >> The most typical is: >> >> retries: 10 >> delay: 100ms (usleep_range (9

Re: [PATCH] link up validation moved to pcie-designware

2016-02-08 Thread Joao Pinto
Mon, Feb 08, 2016 at 12:43:58PM +0000, Joao Pinto wrote: >> This patch goal is to centralize in pcie-designware the link up >> validation. A new function was added to pci-designware that is >> responsible for doing such a task. This was implemented in a form that >> permi

[PATCH v9 2/2] pcie-designware platform driver

2016-02-08 Thread Joao Pinto
-plat) was created to contain the specific platform init code for pcie-designware. Signed-off-by: Joao Pinto --- Change v8 -> v9 (Bjorn Helgaas and Arnd Bergmann): - wait for link routine was moved to pcie-designware, this implicated an update in ra7xx, exynos, imx6 and spear13xx pcie drivers -

[PATCH v9 0/2] adding PCI support to AXS10x

2016-02-08 Thread Joao Pinto
spear13xx drivers to use the centralised code for link wait A simple module was (pcie-designware-plat) was created to contain the specific platform init code. The patches were produced against Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): PCI su

[PATCH v9 1/2] PCI support added to ARC

2016-02-08 Thread Joao Pinto
This patch adds PCI support to ARC and updates drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. Signed-off-by: Joao Pinto --- Change v8 -> v9: - Nothing changed (just to keep up with patch set version). Change v7 -> v8: - Nothing changed (just to keep u

[PATCH v4 0/2] add support for DWC UFS Controller

2016-02-08 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 50 ++ drivers/scsi

[PATCH v4 1/2] fixed typo in ufshcd-pltfrm

2016-02-08 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v4: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v4 2/2] add support for DWC UFS Host Controller

2016-02-08 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v3->v4 (Arnd Bergmann and Mark Rutland): - SCSI_UFS_DWC_HOOKS is now silent and selected by the SCSI_UFS_DWC_PLAT

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-10 Thread Joao Pinto
Hi Bjorn, On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>^ >>drivers/pci/host/pcie-designware.c:581:20: note: each undeclared >> identifier is reported only once for each function it appears in >>cc1: some warnings being t

Re: [PATCH 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
Hi Akinobu, Thanks for the comments! I will put the internal functions static and check your notify suggestion. Do you know who the maintainer of UFS is? Thanks, Joao On 2/9/2016 12:05 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-09 4:07 GMT+09:00 Joao Pinto : >> diff --git

[PATCH v5 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v4->v5 (Akinobu Mita): - All functions used only locally in ufshcd-dwc are now declared as sta

[PATCH v5 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 41 ++ drivers/scsi

[PATCH v5 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v5: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v6 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v6: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

[PATCH v6 0/2] add support for DWC UFS Controller

2016-02-10 Thread Joao Pinto
glue pci driver Joao Pinto (2): fixed typo in ufshcd-pltfrm add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 17 + MAINTAINERS | 6 + drivers/scsi/ufs/Kconfig | 41 ++ drivers/scsi

[PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v5->v6: - Patch bad format fixed Changes v4->v5 (Akinobu Mita): - All functions used only locally in ufshcd-dwc a

Re: [PATCH v10 2/4] PCI: designware: Add generic dw_pcie_wait_for_link()

2016-02-29 Thread Joao Pinto
Hi Bjorn! On 2/27/2016 12:06 AM, Bjorn Helgaas wrote: > On Fri, Feb 26, 2016 at 10:42:55AM +0800, Joao Pinto wrote: >> Hi! This patch seems OK also. >> I did not received the 3/4 and 4/4 patches. > > Huh. I do see them in the list archives: > > http

RE: [PATCH v11 0/4] ARC: Add PCI support

2016-02-29 Thread Joao Pinto
Hi Bjorn! Is it possible to pull this patch set into 4.5? Thanks -Original Message- From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Bjorn Helgaas Sent: Friday, February 26, 2016 4:30 PM To: Joao Pinto Cc: mark.rutl...@arm.com; alexey.brod

Re: [PATCH v7 3/3] add support for DWC UFS Host Controller

2016-02-15 Thread Joao Pinto
Hi Akinobu, On 2/13/2016 1:27 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-11 21:13 GMT+09:00 Joao Pinto : >> +static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) >> +{ >> + int ret = 0; >> + >> + /* Local side Configuration

[PATCH v8 0/3] add support for DWC UFS Controller

2016-02-15 Thread Joao Pinto
glue pci driver - Documentation update Joao Pinto (3): fixed typo in ufshcd-pltfrm added UFS 2.0 capabilities add support for DWC UFS Host Controller Documentation/devicetree/bindings/ufs/ufs-dwc.txt | 19 + .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 4 +- MAINTAINERS

[PATCH v8 3/3] add support for DWC UFS Host Controller

2016-02-15 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v7->v8 (Akinobu Mita): - DME sets were simplified for easier reading - CLK DIV default values definitions names w

[PATCH v8 2/3] added UFS 2.0 capabilities

2016-02-15 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto --- Changes v7->v8: - Added "jedec, ufs-2.0" to the ufschd-platform compatibility strings Changes v0->v7: - Nothing changed (just to keep up with patch set version). .../devicetree/bindings/ufs/ufshcd-pltf

[PATCH v8 1/3] fixed typo in ufshcd-pltfrm

2016-02-15 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v8: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufs

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-15 Thread Joao Pinto
Hi Bjorn! Did you have opportunity to check the v9 patch set? Thanks. Joao On 2/10/2016 9:48 AM, Joao Pinto wrote: > Hi Bjorn, > > On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >>> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>>^ >>>dr

Re: [PATCH v10 1/4] ARC: Add PCI support

2016-02-25 Thread Joao Pinto
Hi! This patch is fine. Joao On 2/26/2016 1:37 AM, Bjorn Helgaas wrote: > From: Joao Pinto > > Add PCI support to ARC and update drivers/pci Makefile enabling the ARC > arch to use the generic PCI setup functions. > > Signed-off-by: Joao Pinto > Signed-off-by: Bjor

Re: [PATCH v10 2/4] PCI: designware: Add generic dw_pcie_wait_for_link()

2016-02-25 Thread Joao Pinto
Hi! This patch seems OK also. I did not received the 3/4 and 4/4 patches. Thanks. On 2/26/2016 1:37 AM, Bjorn Helgaas wrote: > From: Joao Pinto > > Several DesignWare-based drivers (dra7xx, exynos, imx6 and spear13xx) had > similar loops waiting for the link to come up. >

[PATCH] Remove the inclusion of pci-bridge.h and pci-dma-compat.h

2016-03-15 Thread Joao Pinto
. Signed-off-by: Joao Pinto --- arch/arc/include/asm/pci.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arc/include/asm/pci.h b/arch/arc/include/asm/pci.h index 2f2011c..ba56c23 100644 --- a/arch/arc/include/asm/pci.h +++ b/arch/arc/include/asm/pci.h @@ -10,9 +10,6 @@ #define

Re: [PATCH] ARC: Don't source drivers/pci/pcie/Kconfig ourselves

2016-03-15 Thread Joao Pinto
; diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig >> index 69d05f5..282efec 100644 >> --- a/arch/arc/Kconfig >> +++ b/arch/arc/Kconfig >> @@ -592,7 +592,6 @@ config PCI_SYSCALL >> def_bool PCI >> >> source "drivers/pci/Kconfig" >> -source "drivers/pci/pcie/Kconfig" >> >> endmenu >> > Acked-by: Joao Pinto

Re: [PATCH] Remove the inclusion of pci-bridge.h and pci-dma-compat.h

2016-03-15 Thread Joao Pinto
No problem! Thanks! On 3/15/2016 1:51 PM, Bjorn Helgaas wrote: > On Tue, Mar 15, 2016 at 11:06:02AM +0000, Joao Pinto wrote: >> While building linux-next the test robot detected that the pci.h was >> including >> two removed header files (pci-dma-compat.h and pci-

[RESEND] [PATCH v11 3/6] added support for DesignWare Controller

2016-03-19 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations. Signed-off-by: Joao Pinto Acked-by: Arnd Bergmann --- Changes v10->v11: - Nothing changed (just to keep up with patch set version). Changes v9->v10 (Arnd Bergmann): - Patch now only has DWC cont

UFS V11 patch-set

2016-03-19 Thread Joao Pinto
Hi! Could you please check the following patch-set in order to evaluate if it is ready for v4.6? [PATCH v11 0/6] add support for DWC UFS Controller http://www.gossamer-threads.com/lists/linux/kernel/2396797?#2396797 [PATCH v11 1/6] fixed typo in ufshcd-pltfrm http://www.gossamer-threads.com/list

Re: [PATCH v12 8/9] add TC G210 platform driver

2016-04-08 Thread Joao Pinto
Hi Rob, On 4/7/2016 6:57 PM, Rob Herring wrote: > On Mon, Apr 04, 2016 at 11:48:23AM +0100, Joao Pinto wrote: >> >> Hi Rob, >> >> On 4/4/2016 6:15 AM, Rob Herring wrote: >>> On Thu, Mar 31, 2016 at 07:57:21PM +0100, Joao Pinto wrote: >>>> This pa

Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem

2016-04-08 Thread Joao Pinto
Hi! On 4/7/2016 10:15 PM, Winkler, Tomas wrote: > On Wed, 2016-04-06 at 09:51 +0100, Joao Pinto wrote: >> Hi! >> >> On 4/4/2016 12:11 PM, Tomas Winkler wrote: >>> Register UFS RPMB LUN with the RPMB subsystem and provide >>> implementation for the RP

Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem

2016-04-08 Thread Joao Pinto
Hi, On 4/7/2016 10:15 PM, Winkler, Tomas wrote: > On Wed, 2016-04-06 at 09:51 +0100, Joao Pinto wrote: >> Hi! >> >> On 4/4/2016 12:11 PM, Tomas Winkler wrote: >>> Register UFS RPMB LUN with the RPMB subsystem and provide >>> implementation for the RP

Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem

2016-04-08 Thread Joao Pinto
On 4/7/2016 10:15 PM, Winkler, Tomas wrote: > On Wed, 2016-04-06 at 09:51 +0100, Joao Pinto wrote: >> Hi! >> >> On 4/4/2016 12:11 PM, Tomas Winkler wrote: >>> Register UFS RPMB LUN with the RPMB subsystem and provide >>> implementation for the RPMB access ope

Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem

2016-04-08 Thread Joao Pinto
Hi, On 4/7/2016 10:15 PM, Winkler, Tomas wrote: > On Wed, 2016-04-06 at 09:51 +0100, Joao Pinto wrote: >> Hi! >> >> On 4/4/2016 12:11 PM, Tomas Winkler wrote: >>> Register UFS RPMB LUN with the RPMB subsystem and provide >>> implementation for the RP

Re: [PATCH v13 0/9] add support for DWC UFS Controller

2016-04-05 Thread Joao Pinto
Hi, On 4/5/2016 12:34 AM, Martin K. Petersen wrote: >>>>>> "Joao" == Joao Pinto writes: > > Joao, > > Joao> The work consisted of: - Fixed typo in ufshcd-pltfrm.c - Tweak > Joao> ufshcd.c for UFS 2.0 support - Implement ufshcd-dwc which c

Re: [PATCH v13 0/9] add support for DWC UFS Controller

2016-04-05 Thread Joao Pinto
On 4/5/2016 11:15 AM, Winkler, Tomas wrote: > > Hi, > > On 4/5/2016 12:34 AM, Martin K. Petersen wrote: >>>>>>> "Joao" == Joao Pinto writes: >> >> Joao, >> >> Joao> The work consisted of: - Fixed typo in ufshcd-pltfrm.c - Twe

[PATCH v13 1/9] fixed typo in ufshcd-pltfrm

2016-04-05 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto Acked-by: Arnd Bergmann Acked-by: Tomas Winkler --- Changes v0->v13: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

[PATCH v13 4/9] added unipro attributes

2016-04-05 Thread Joao Pinto
Added unipro attributes. Signed-off-by: Joao Pinto Acked-by: Tomas Winkler --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v0->v12 (Tomas Winkler): - This patch only appeared in v12 drivers/scsi/ufs/unipro.

[PATCH v13 2/9] add UFS 2.0 to ufshcd-pltfrm bindings

2016-04-05 Thread Joao Pinto
Add UFS 2.0 to the ufshcd-pltfrm devicetree binding. Signed-off-by: Joao Pinto Acked-by: Rob Herring Acked-by: Tomas Winkler --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v0->v12 (Tomas Winkler): - This patch only appeared in v12 Documen

[PATCH v13 0/9] add support for DWC UFS Controller

2016-04-05 Thread Joao Pinto
- Implement a tc-dwc-g210 glue platform driver - Implement a tc-dwc-g210 glue pci driver - Documentation update Joao Pinto (9): fixed typo in ufshcd-pltfrm add UFS 2.0 to ufshcd-pltfrm bindings added UFS 2.0 capabilities added unipro attributes added link status to ufshci added support for

[PATCH v13 3/9] added UFS 2.0 capabilities

2016-04-05 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto Acked-by: Arnd Bergmann Acked-by: Tomas Winkler --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v11->v12 (Tomas Winkler): - devicetree binding tweak was moved to a separated

[PATCH v13 8/9] add TC G210 platform driver

2016-04-05 Thread Joao Pinto
This patch adds a glue platform driver for the Synopsys G210 Test Chip. Signed-off-by: Joao Pinto --- Changes v12->v13 (Rob Herring): - Removed spaces from the compatibility string (pltfm driver and DT bindings) - Removed underscores from the node descriptor Changes v11->v12 (Tomas W

[PATCH v13 7/9] added support for Synopsys G210 Test Chip

2016-04-05 Thread Joao Pinto
This patch adds support for Synopsys G210 Test Chip. Signed-off-by: Joao Pinto Acked-by: Arnd Bergmann --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v10->v12: - Nothing changed (just to keep up with patch set version). Changes v0->v10: - T

[PATCH v13 9/9] add TC G210 pci driver

2016-04-05 Thread Joao Pinto
This patch adds a glue pci driver for the Synopsys G210 Test Chip. Signed-off-by: Joao Pinto --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v10->v12 (Tomas Winkler): - custom_phy_initialization replaced by phy_initialization Changes v10->

[PATCH v13 5/9] added link status to ufshci

2016-04-05 Thread Joao Pinto
Added link status to ufshci. Signed-off-by: Joao Pinto Acked-by: Tomas Winkler --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v0->v12 (Tomas Winkler): - This patch only appeared in v12 drivers/scsi/ufs/ufshci.h | 6 ++ 1 file chan

[PATCH v13 6/9] added support for DesignWare Controller

2016-04-05 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations. Signed-off-by: Joao Pinto Acked-by: Arnd Bergmann --- Changes v12->v13: - Nothing changed (just to keep up with patch set version). Changes v11->v12 (Tomas Winkler): - custom_phy_initialization

Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem

2016-04-06 Thread Joao Pinto
Hi! On 4/4/2016 12:11 PM, Tomas Winkler wrote: > Register UFS RPMB LUN with the RPMB subsystem and provide > implementation for the RPMB access operations. RPMB partition is > accessed via a sequence of security protocol in and security protocol > out commands with UFS specific parameters. This mu

Re: [RESEND] [PATCH v11 3/6] added support for DesignWare Controller

2016-03-30 Thread Joao Pinto
Hi Thomas, On 3/29/2016 1:15 PM, Winkler, Tomas wrote: > > diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index > 2570d94..8b0cdf0 100644 > --- a/drivers/scsi/ufs/ufshcd.h > +++ b/drivers/scsi/ufs/ufshcd.h > @@ -262,6 +262,7 @@ struct ufs_pwr_mode_info { > * @suspend: call

[PATCH v12 1/9] fixed typo in ufshcd-pltfrm

2016-03-31 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v12: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/

[PATCH v12 6/9] added support for DesignWare Controller

2016-03-31 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations. Signed-off-by: Joao Pinto --- Changes v11->v12 (Tomas Winkler): - custom_phy_initialization is now phy_initialization - ufshcd_is_intr_aggr_allowed() has now a DWC tweak - link status was now moved t

[PATCH v12 3/9] added UFS 2.0 capabilities

2016-03-31 Thread Joao Pinto
Adding UFS 2.0 support to the UFS core driver. Signed-off-by: Joao Pinto --- Changes v11->v12 (Tomas Winkler): - devicetree binding tweak was moved to a separated patch - unipro tweaks were moved to a separated patch - ufshcd_compose_upiu was decomposed in 2 functions - UTP_CMD_TYPE_UFS_STOR

[PATCH v12 5/9] added link status to ufshci

2016-03-31 Thread Joao Pinto
Added link status to ufshci. Signed-off-by: Joao Pinto --- Changes v0->v12 (Tomas Winkler): - This patch only appeared in v12 drivers/scsi/ufs/ufshci.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h index 20ece18..169363e 100

[PATCH v12 4/9] added unipro attributes

2016-03-31 Thread Joao Pinto
Added unipro attributes. Signed-off-by: Joao Pinto --- Changes v0->v12 (Tomas Winkler): - This patch only appeared in v12 drivers/scsi/ufs/unipro.h | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipr

[PATCH v12 9/9] add TC G210 pci driver

2016-03-31 Thread Joao Pinto
This patch adds a glue pci driver for the Synopsys G210 Test Chip. Signed-off-by: Joao Pinto --- Changes v10->v12 (Tomas Winkler): - custom_phy_initialization replaced by phy_initialization Changes v10->v11 (Arnd Bergmann): - tc_type is now initialized to TC_G210_INV - probe function che

[PATCH v12 8/9] add TC G210 platform driver

2016-03-31 Thread Joao Pinto
This patch adds a glue platform driver for the Synopsys G210 Test Chip. Signed-off-by: Joao Pinto --- Changes v11->v12 (Tomas Winkler): - custom_phy_initialization replaced by phy_initialization Changes v10->v11 (Arnd Bergmann): - vops structs are now passed in .data Changes v0->v1

[PATCH v12 7/9] added support for Synopsys G210 Test Chip

2016-03-31 Thread Joao Pinto
This patch adds support for Synopsys G210 Test Chip. Signed-off-by: Joao Pinto --- Changes v10->v12: - Nothing changed (just to keep up with patch set version). Changes v0->v10: - This patch only appeared in v10 drivers/scsi/ufs/Kconfig | 4 + drivers/scsi/ufs/Makefile

[PATCH v12 0/9] add support for DWC UFS Controller

2016-03-31 Thread Joao Pinto
- Implement a tc-dwc-g210 glue platform driver - Implement a tc-dwc-g210 glue pci driver - Documentation update Joao Pinto (9): fixed typo in ufshcd-pltfrm add UFS 2.0 to ufshcd-pltfrm bindings added UFS 2.0 capabilities added unipro attributes added link status to ufshci added support for

[PATCH v12 2/9] add UFS 2.0 to ufshcd-pltfrm bindings

2016-03-31 Thread Joao Pinto
Add UFS 2.0 to the ufshcd-pltfrm devicetree binding. Signed-off-by: Joao Pinto --- Changes v0->v12 (Tomas Winkler): - This patch only appeared in v12 Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentat

Re: [PATCH v12 3/9] added UFS 2.0 capabilities

2016-04-01 Thread Joao Pinto
On 3/31/2016 9:27 PM, Winkler, Tomas wrote: > On Thu, 2016-03-31 at 19:57 +0100, Joao Pinto wrote: >> Adding UFS 2.0 support to the UFS core driver. >> >> Signed-off-by: Joao Pinto > > Looks good to me, though not tested yet > Tomas I have tested the build in

Re: [PATCH 8/8] scsi: ufs: connect to RPMB subsystem

2016-04-04 Thread Joao Pinto
Hi! On 4/3/2016 10:42 AM, Tomas Winkler wrote: > Register UFS RPMB LUN with the RPMB subsystem and provide > implementation for the RPMB access operations. RPMB partition is > accessed via a sequence of security protocol in and security protocol > out commands with UFS specific parameters. This m

Re: [PATCH v12 8/9] add TC G210 platform driver

2016-04-04 Thread Joao Pinto
Hi Rob, On 4/4/2016 6:15 AM, Rob Herring wrote: > On Thu, Mar 31, 2016 at 07:57:21PM +0100, Joao Pinto wrote: >> This patch adds a glue platform driver for the Synopsys G210 Test Chip. >> >> Signed-off-by: Joao Pinto >> --- [snip] >> + >>

[PATCH 0/2] adding PCI support to AXS10x

2015-11-24 Thread Joao Pinto
were produced against the 'next' branch of Bjorn Helgaas' repository. It was properly tested in an IP Prototyping Kit. Joao Pinto (2): add new platform driver for PCI RC PCI support added to ARC .../devicetree/bindings/pci/pcie-snpsdev.txt | 28

[PATCH 1/2] add new platform driver for PCI RC

2015-11-24 Thread Joao Pinto
driver -MAINTAINERS file was updated to include the new driver -Documentation/devicetree/bindings/pci was updated to include the new driver documentation Signed-off-by: Joao Pinto --- .../devicetree/bindings/pci/pcie-snpsdev.txt | 28 ++ MAINTAINERS| 7

  1   2   3   4   >