Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-09 Thread Joao Pinto
Hi Christoph, Às 7:14 PM de 3/8/2017, Christoph Hellwig escreveu: > On Wed, Mar 08, 2017 at 03:32:03PM +, Joao Pinto wrote: >> #define PCIE_GET_ATU_INB_UNR_REG_ADDR(region, register) \ >> ((0x3 << 20) | (region << 9) | \ >>

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-09 Thread Joao Pinto
Hi Christoph, Às 7:14 PM de 3/8/2017, Christoph Hellwig escreveu: > On Wed, Mar 08, 2017 at 03:32:03PM +, Joao Pinto wrote: >> #define PCIE_GET_ATU_INB_UNR_REG_ADDR(region, register) \ >> ((0x3 << 20) | (region << 9) | \ >>

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Christoph Hellwig
On Wed, Mar 08, 2017 at 03:32:03PM +, Joao Pinto wrote: > #define PCIE_GET_ATU_INB_UNR_REG_ADDR(region, register) \ > ((0x3 << 20) | (region << 9) | \ > (0x1 << 8) Can you turn this and any similar

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Christoph Hellwig
On Wed, Mar 08, 2017 at 03:32:03PM +, Joao Pinto wrote: > #define PCIE_GET_ATU_INB_UNR_REG_ADDR(region, register) \ > ((0x3 << 20) | (region << 9) | \ > (0x1 << 8) Can you turn this and any similar

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Friday 17 February 2017 10:50 PM, Joao Pinto wrote: > Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: >> Add endpoint mode support to designware driver. This uses the >> EP Core layer introduced recently to add endpoint mode support. >> *Any* function driver can now use this

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Friday 17 February 2017 10:50 PM, Joao Pinto wrote: > Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: >> Add endpoint mode support to designware driver. This uses the >> EP Core layer introduced recently to add endpoint mode support. >> *Any* function driver can now use this

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Wednesday 08 March 2017 05:07 PM, Joao Pinto wrote: > Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: >> Hi, >> >> On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: >>> >>> Hi Kishon, >>> > Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Wednesday 08 March 2017 05:07 PM, Joao Pinto wrote: > Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: >> Hi, >> >> On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: >>> >>> Hi Kishon, >>> > Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 1:31 PM de 3/8/2017, Kishon Vijay Abraham I escreveu: > Hi, > > On Wednesday 08 March 2017 05:07 PM, Joao Pinto wrote: >> Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: >>> Hi, >>> >>> On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: Hi Kishon, >> Can you

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 1:31 PM de 3/8/2017, Kishon Vijay Abraham I escreveu: > Hi, > > On Wednesday 08 March 2017 05:07 PM, Joao Pinto wrote: >> Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: >>> Hi, >>> >>> On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: Hi Kishon, >> Can you

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 3:32 PM de 3/8/2017, Joao Pinto escreveu: > Às 1:31 PM de 3/8/2017, Kishon Vijay Abraham I escreveu: >> Hi, >> >> On Wednesday 08 March 2017 05:07 PM, Joao Pinto wrote: >>> Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: Hi, On Wednesday 08 March 2017 05:02 PM, Joao

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 3:32 PM de 3/8/2017, Joao Pinto escreveu: > Às 1:31 PM de 3/8/2017, Kishon Vijay Abraham I escreveu: >> Hi, >> >> On Wednesday 08 March 2017 05:07 PM, Joao Pinto wrote: >>> Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: Hi, On Wednesday 08 March 2017 05:02 PM, Joao

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: > > Hi Kishon, > >>> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >>> PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? >> >> Yes of course, I will send you the definition soon. > > As promissed here is the definition for Inbound: > >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Kishon Vijay Abraham I
Hi, On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: > > Hi Kishon, > >>> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >>> PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? >> >> Yes of course, I will send you the definition soon. > > As promissed here is the definition for Inbound: > >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: > Hi, > > On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: >> >> Hi Kishon, >> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? >>> >>> Yes of course, I will send you the

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Às 11:35 AM de 3/8/2017, Kishon Vijay Abraham I escreveu: > Hi, > > On Wednesday 08 March 2017 05:02 PM, Joao Pinto wrote: >> >> Hi Kishon, >> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? >>> >>> Yes of course, I will send you the

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Hi Kishon, >> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >> PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? > > Yes of course, I will send you the definition soon. As promissed here is the definition for Inbound: +/* register address builder */ +#define

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-08 Thread Joao Pinto
Hi Kishon, >> Can you provide PCIE_GET_ATU_INB_UNR_REG_OFFSET (similar to >> PCIE_GET_ATU_OUTB_UNR_REG_OFFSET)? > > Yes of course, I will send you the definition soon. As promissed here is the definition for Inbound: +/* register address builder */ +#define

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-07 Thread Kishon Vijay Abraham I
Hi Joao, On Friday 17 February 2017 10:50 PM, Joao Pinto wrote: > Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: >> Add endpoint mode support to designware driver. This uses the >> EP Core layer introduced recently to add endpoint mode support. >> *Any* function driver can now use this

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-07 Thread Kishon Vijay Abraham I
Hi Joao, On Friday 17 February 2017 10:50 PM, Joao Pinto wrote: > Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: >> Add endpoint mode support to designware driver. This uses the >> EP Core layer introduced recently to add endpoint mode support. >> *Any* function driver can now use this

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-07 Thread Joao Pinto
Hi Kishon, Às 5:18 AM de 3/7/2017, Kishon Vijay Abraham I escreveu: > Hi Joao, > > On Friday 17 February 2017 10:50 PM, Joao Pinto wrote: >> Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: >>> Add endpoint mode support to designware driver. This uses the >>> EP Core layer introduced

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-03-07 Thread Joao Pinto
Hi Kishon, Às 5:18 AM de 3/7/2017, Kishon Vijay Abraham I escreveu: > Hi Joao, > > On Friday 17 February 2017 10:50 PM, Joao Pinto wrote: >> Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: >>> Add endpoint mode support to designware driver. This uses the >>> EP Core layer introduced

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Joao Pinto
Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: > Add endpoint mode support to designware driver. This uses the > EP Core layer introduced recently to add endpoint mode support. > *Any* function driver can now use this designware device > in order to achieve the EP functionality. > >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Joao Pinto
Às 9:50 AM de 2/17/2017, Kishon Vijay Abraham I escreveu: > Add endpoint mode support to designware driver. This uses the > EP Core layer introduced recently to add endpoint mode support. > *Any* function driver can now use this designware device > in order to achieve the EP functionality. > >

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Kishon Vijay Abraham I
Hi, On Friday 17 February 2017 03:20 PM, Kishon Vijay Abraham I wrote: > Add endpoint mode support to designware driver. This uses the > EP Core layer introduced recently to add endpoint mode support. > *Any* function driver can now use this designware device > in order to achieve the EP

Re: [PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Kishon Vijay Abraham I
Hi, On Friday 17 February 2017 03:20 PM, Kishon Vijay Abraham I wrote: > Add endpoint mode support to designware driver. This uses the > EP Core layer introduced recently to add endpoint mode support. > *Any* function driver can now use this designware device > in order to achieve the EP

[PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Kishon Vijay Abraham I
Add endpoint mode support to designware driver. This uses the EP Core layer introduced recently to add endpoint mode support. *Any* function driver can now use this designware device in order to achieve the EP functionality. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH v2 08/22] PCI: dwc: designware: Add EP mode support

2017-02-17 Thread Kishon Vijay Abraham I
Add endpoint mode support to designware driver. This uses the EP Core layer introduced recently to add endpoint mode support. *Any* function driver can now use this designware device in order to achieve the EP functionality. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/dwc/Kconfig