Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Babu Moger


On 7/6/2017 10:51 AM, Greg KH wrote:

On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote:

On 7/6/2017 9:33 AM, Greg KH wrote:

On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:

On 7/6/2017 3:24 AM, Max Filippov wrote:

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:

Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.


Thanks.   Greg, Can you please stage this series for the next merge.

What series?  What exactly are you referring to here?

totally confused...

Greg, Sorry for not making it clear.  I am referring to this following
series.

https://patchwork.kernel.org/patch/9782851/
https://patchwork.kernel.org/patch/9782843/
https://patchwork.kernel.org/patch/9782847/

Can you resend them please so I can take them from email?


Sure. Will send it in a bit. thanks



thanks,

greg k-h




Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Babu Moger


On 7/6/2017 10:51 AM, Greg KH wrote:

On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote:

On 7/6/2017 9:33 AM, Greg KH wrote:

On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:

On 7/6/2017 3:24 AM, Max Filippov wrote:

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:

Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.


Thanks.   Greg, Can you please stage this series for the next merge.

What series?  What exactly are you referring to here?

totally confused...

Greg, Sorry for not making it clear.  I am referring to this following
series.

https://patchwork.kernel.org/patch/9782851/
https://patchwork.kernel.org/patch/9782843/
https://patchwork.kernel.org/patch/9782847/

Can you resend them please so I can take them from email?


Sure. Will send it in a bit. thanks



thanks,

greg k-h




Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Greg KH
On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote:
> 
> On 7/6/2017 9:33 AM, Greg KH wrote:
> > On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
> > > On 7/6/2017 3:24 AM, Max Filippov wrote:
> > > > Hi Babu,
> > > > 
> > > > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  
> > > > wrote:
> > > > > Max, Do you have any concerns about xtensa?
> > > > no, not ATM. I still haven't got a chance to look closer at moving 
> > > > endianness
> > > > macros back to Kconfig for xtensa.
> > > > 
> > > Thanks.   Greg, Can you please stage this series for the next merge.
> > What series?  What exactly are you referring to here?
> > 
> > totally confused...
> 
> Greg, Sorry for not making it clear.  I am referring to this following
> series.
> 
> https://patchwork.kernel.org/patch/9782851/
> https://patchwork.kernel.org/patch/9782843/
> https://patchwork.kernel.org/patch/9782847/

Can you resend them please so I can take them from email?

thanks,

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Greg KH
On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote:
> 
> On 7/6/2017 9:33 AM, Greg KH wrote:
> > On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
> > > On 7/6/2017 3:24 AM, Max Filippov wrote:
> > > > Hi Babu,
> > > > 
> > > > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  
> > > > wrote:
> > > > > Max, Do you have any concerns about xtensa?
> > > > no, not ATM. I still haven't got a chance to look closer at moving 
> > > > endianness
> > > > macros back to Kconfig for xtensa.
> > > > 
> > > Thanks.   Greg, Can you please stage this series for the next merge.
> > What series?  What exactly are you referring to here?
> > 
> > totally confused...
> 
> Greg, Sorry for not making it clear.  I am referring to this following
> series.
> 
> https://patchwork.kernel.org/patch/9782851/
> https://patchwork.kernel.org/patch/9782843/
> https://patchwork.kernel.org/patch/9782847/

Can you resend them please so I can take them from email?

thanks,

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Babu Moger


On 7/6/2017 9:33 AM, Greg KH wrote:

On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:

On 7/6/2017 3:24 AM, Max Filippov wrote:

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:

Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.


Thanks.   Greg, Can you please stage this series for the next merge.

What series?  What exactly are you referring to here?

totally confused...


Greg, Sorry for not making it clear.  I am referring to this following 
series.


https://patchwork.kernel.org/patch/9782851/
https://patchwork.kernel.org/patch/9782843/
https://patchwork.kernel.org/patch/9782847/


greg k-h




Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Babu Moger


On 7/6/2017 9:33 AM, Greg KH wrote:

On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:

On 7/6/2017 3:24 AM, Max Filippov wrote:

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:

Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.


Thanks.   Greg, Can you please stage this series for the next merge.

What series?  What exactly are you referring to here?

totally confused...


Greg, Sorry for not making it clear.  I am referring to this following 
series.


https://patchwork.kernel.org/patch/9782851/
https://patchwork.kernel.org/patch/9782843/
https://patchwork.kernel.org/patch/9782847/


greg k-h




Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Greg KH
On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
> On 7/6/2017 3:24 AM, Max Filippov wrote:
> > Hi Babu,
> > 
> > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:
> > > Max, Do you have any concerns about xtensa?
> > no, not ATM. I still haven't got a chance to look closer at moving 
> > endianness
> > macros back to Kconfig for xtensa.
> > 
> 
> Thanks.   Greg, Can you please stage this series for the next merge.

What series?  What exactly are you referring to here?

totally confused...

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Greg KH
On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote:
> On 7/6/2017 3:24 AM, Max Filippov wrote:
> > Hi Babu,
> > 
> > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:
> > > Max, Do you have any concerns about xtensa?
> > no, not ATM. I still haven't got a chance to look closer at moving 
> > endianness
> > macros back to Kconfig for xtensa.
> > 
> 
> Thanks.   Greg, Can you please stage this series for the next merge.

What series?  What exactly are you referring to here?

totally confused...

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Babu Moger

On 7/6/2017 3:24 AM, Max Filippov wrote:

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:

Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.



Thanks.   Greg, Can you please stage this series for the next merge.


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Babu Moger

On 7/6/2017 3:24 AM, Max Filippov wrote:

Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:

Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.



Thanks.   Greg, Can you please stage this series for the next merge.


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Max Filippov
Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:
> Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.

-- 
Thanks.
-- Max


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Max Filippov
Hi Babu,

On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger  wrote:
> Max, Do you have any concerns about xtensa?

no, not ATM. I still haven't got a chance to look closer at moving endianness
macros back to Kconfig for xtensa.

-- 
Thanks.
-- Max


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Babu Moger



On 7/4/2017 4:09 AM, Geert Uytterhoeven wrote:

Hi Greg,

On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:

On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:

On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:

USB/PHY patches for 4.13-rc1
Heikki Krogerus (3):
   usb: typec: Add support for UCSI interface

Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):


--- /dev/null
+++ b/drivers/usb/typec/ucsi/Kconfig
@@ -0,0 +1,23 @@
+config TYPEC_UCSI
+   tristate "USB Type-C Connector System Software Interface driver"
+   depends on !CPU_BIG_ENDIAN

To work as expected, and prevent this driver from being enabled on big endian
systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
inconsistencies".
https://lkml.org/lkml/2017/6/12/1068

Is this a problem?

I have no idea what happens if you enable the driver on big endian.


I thought that series was slated to be merged soon,
is that not going to happen?

Me too. But it's not in next-20170704.

Babu, what's the plan?


Yes. I  think these series are safe to be merged.

Max, Do you have any concerns about xtensa?



Thanks!

Gr{oetje,eeting}s,

 Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
 -- Linus Torvalds




Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Babu Moger



On 7/4/2017 4:09 AM, Geert Uytterhoeven wrote:

Hi Greg,

On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:

On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:

On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:

USB/PHY patches for 4.13-rc1
Heikki Krogerus (3):
   usb: typec: Add support for UCSI interface

Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):


--- /dev/null
+++ b/drivers/usb/typec/ucsi/Kconfig
@@ -0,0 +1,23 @@
+config TYPEC_UCSI
+   tristate "USB Type-C Connector System Software Interface driver"
+   depends on !CPU_BIG_ENDIAN

To work as expected, and prevent this driver from being enabled on big endian
systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
inconsistencies".
https://lkml.org/lkml/2017/6/12/1068

Is this a problem?

I have no idea what happens if you enable the driver on big endian.


I thought that series was slated to be merged soon,
is that not going to happen?

Me too. But it's not in next-20170704.

Babu, what's the plan?


Yes. I  think these series are safe to be merged.

Max, Do you have any concerns about xtensa?



Thanks!

Gr{oetje,eeting}s,

 Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
 -- Linus Torvalds




Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Geert Uytterhoeven
Hi Greg,

On Tue, Jul 4, 2017 at 11:13 AM, Greg KH  wrote:
> On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote:
>> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:
>> > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>> >> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  
>> >> wrote:
>> >> > USB/PHY patches for 4.13-rc1
>>
>> >> > Heikki Krogerus (3):
>> >> >   usb: typec: Add support for UCSI interface
>> >>
>> >> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>> >>
>> >> > --- /dev/null
>> >> > +++ b/drivers/usb/typec/ucsi/Kconfig
>> >> > @@ -0,0 +1,23 @@
>> >> > +config TYPEC_UCSI
>> >> > +   tristate "USB Type-C Connector System Software Interface driver"
>> >> > +   depends on !CPU_BIG_ENDIAN
>> >>
>> >> To work as expected, and prevent this driver from being enabled on big 
>> >> endian
>> >> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>> >> inconsistencies".
>> >> https://lkml.org/lkml/2017/6/12/1068
>> >
>> > Is this a problem?
>>
>> I have no idea what happens if you enable the driver on big endian.
>
> As I don't think anyone has USB type-c hardware for such a system, we
> should be ok for now :)

Insert PCIe USB-C adapter into SPARC system?

But the actual platform-specific driver depends on ACPI, so the world should
be safe ;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Geert Uytterhoeven
Hi Greg,

On Tue, Jul 4, 2017 at 11:13 AM, Greg KH  wrote:
> On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote:
>> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:
>> > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>> >> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  
>> >> wrote:
>> >> > USB/PHY patches for 4.13-rc1
>>
>> >> > Heikki Krogerus (3):
>> >> >   usb: typec: Add support for UCSI interface
>> >>
>> >> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>> >>
>> >> > --- /dev/null
>> >> > +++ b/drivers/usb/typec/ucsi/Kconfig
>> >> > @@ -0,0 +1,23 @@
>> >> > +config TYPEC_UCSI
>> >> > +   tristate "USB Type-C Connector System Software Interface driver"
>> >> > +   depends on !CPU_BIG_ENDIAN
>> >>
>> >> To work as expected, and prevent this driver from being enabled on big 
>> >> endian
>> >> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>> >> inconsistencies".
>> >> https://lkml.org/lkml/2017/6/12/1068
>> >
>> > Is this a problem?
>>
>> I have no idea what happens if you enable the driver on big endian.
>
> As I don't think anyone has USB type-c hardware for such a system, we
> should be ok for now :)

Insert PCIe USB-C adapter into SPARC system?

But the actual platform-specific driver depends on ACPI, so the world should
be safe ;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Greg KH
On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote:
> Hi Greg,
> 
> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:
> > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
> >> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
> >> > USB/PHY patches for 4.13-rc1
> 
> >> > Heikki Krogerus (3):
> >> >   usb: typec: Add support for UCSI interface
> >>
> >> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
> >>
> >> > --- /dev/null
> >> > +++ b/drivers/usb/typec/ucsi/Kconfig
> >> > @@ -0,0 +1,23 @@
> >> > +config TYPEC_UCSI
> >> > +   tristate "USB Type-C Connector System Software Interface driver"
> >> > +   depends on !CPU_BIG_ENDIAN
> >>
> >> To work as expected, and prevent this driver from being enabled on big 
> >> endian
> >> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
> >> inconsistencies".
> >> https://lkml.org/lkml/2017/6/12/1068
> >
> > Is this a problem?
> 
> I have no idea what happens if you enable the driver on big endian.

As I don't think anyone has USB type-c hardware for such a system, we
should be ok for now :)

thanks,

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Greg KH
On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote:
> Hi Greg,
> 
> On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:
> > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
> >> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
> >> > USB/PHY patches for 4.13-rc1
> 
> >> > Heikki Krogerus (3):
> >> >   usb: typec: Add support for UCSI interface
> >>
> >> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
> >>
> >> > --- /dev/null
> >> > +++ b/drivers/usb/typec/ucsi/Kconfig
> >> > @@ -0,0 +1,23 @@
> >> > +config TYPEC_UCSI
> >> > +   tristate "USB Type-C Connector System Software Interface driver"
> >> > +   depends on !CPU_BIG_ENDIAN
> >>
> >> To work as expected, and prevent this driver from being enabled on big 
> >> endian
> >> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
> >> inconsistencies".
> >> https://lkml.org/lkml/2017/6/12/1068
> >
> > Is this a problem?
> 
> I have no idea what happens if you enable the driver on big endian.

As I don't think anyone has USB type-c hardware for such a system, we
should be ok for now :)

thanks,

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Geert Uytterhoeven
Hi Greg,

On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:
> On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
>> > USB/PHY patches for 4.13-rc1

>> > Heikki Krogerus (3):
>> >   usb: typec: Add support for UCSI interface
>>
>> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>>
>> > --- /dev/null
>> > +++ b/drivers/usb/typec/ucsi/Kconfig
>> > @@ -0,0 +1,23 @@
>> > +config TYPEC_UCSI
>> > +   tristate "USB Type-C Connector System Software Interface driver"
>> > +   depends on !CPU_BIG_ENDIAN
>>
>> To work as expected, and prevent this driver from being enabled on big endian
>> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>> inconsistencies".
>> https://lkml.org/lkml/2017/6/12/1068
>
> Is this a problem?

I have no idea what happens if you enable the driver on big endian.

> I thought that series was slated to be merged soon,
> is that not going to happen?

Me too. But it's not in next-20170704.

Babu, what's the plan?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Geert Uytterhoeven
Hi Greg,

On Tue, Jul 4, 2017 at 10:04 AM, Greg KH  wrote:
> On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
>> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
>> > USB/PHY patches for 4.13-rc1

>> > Heikki Krogerus (3):
>> >   usb: typec: Add support for UCSI interface
>>
>> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
>>
>> > --- /dev/null
>> > +++ b/drivers/usb/typec/ucsi/Kconfig
>> > @@ -0,0 +1,23 @@
>> > +config TYPEC_UCSI
>> > +   tristate "USB Type-C Connector System Software Interface driver"
>> > +   depends on !CPU_BIG_ENDIAN
>>
>> To work as expected, and prevent this driver from being enabled on big endian
>> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
>> inconsistencies".
>> https://lkml.org/lkml/2017/6/12/1068
>
> Is this a problem?

I have no idea what happens if you enable the driver on big endian.

> I thought that series was slated to be merged soon,
> is that not going to happen?

Me too. But it's not in next-20170704.

Babu, what's the plan?

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Greg KH
On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
> Hi Greg, Heikki,
> 
> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
> > The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:
> >
> >   Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)
> >
> > are available in the git repository at:
> >
> >   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ 
> > tags/usb-4.13-rc1
> >
> > for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:
> >
> >   Add USB quirk for HVR-950q to avoid intermittent device resets 
> > (2017-06-29 14:49:06 +0200)
> >
> > 
> > USB/PHY patches for 4.13-rc1
> >
> > Here is the big patchset of USB and PHY driver updates for 4.13-rc1.
> >
> > On the PHY side, they decided to move files around to "make things
> > easier" in their tree.  Hopefully that wasn't a mistake, but in
> > linux-next testing, we haven't had any reported problems.
> >
> > There's the usual set of gadget and xhci and musb updates in here as
> > well, along with a number of smaller updates for a raft of different USB
> > drivers.  Full details in the shortlog, nothing really major.
> >
> > All of these have been in linux-next for a while with no reported
> > issues.
> >
> > Signed-off-by: Greg Kroah-Hartman 
> >
> > 
> 
> > Heikki Krogerus (3):
> >   usb: typec: Add support for UCSI interface
> 
> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
> 
> > --- /dev/null
> > +++ b/drivers/usb/typec/ucsi/Kconfig
> > @@ -0,0 +1,23 @@
> > +config TYPEC_UCSI
> > +   tristate "USB Type-C Connector System Software Interface driver"
> > +   depends on !CPU_BIG_ENDIAN
> 
> To work as expected, and prevent this driver from being enabled on big endian
> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
> inconsistencies".
> https://lkml.org/lkml/2017/6/12/1068

Is this a problem?  I thought that series was slated to be merged soon,
is that not going to happen?

thanks,

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Greg KH
On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote:
> Hi Greg, Heikki,
> 
> On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
> > The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:
> >
> >   Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)
> >
> > are available in the git repository at:
> >
> >   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ 
> > tags/usb-4.13-rc1
> >
> > for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:
> >
> >   Add USB quirk for HVR-950q to avoid intermittent device resets 
> > (2017-06-29 14:49:06 +0200)
> >
> > 
> > USB/PHY patches for 4.13-rc1
> >
> > Here is the big patchset of USB and PHY driver updates for 4.13-rc1.
> >
> > On the PHY side, they decided to move files around to "make things
> > easier" in their tree.  Hopefully that wasn't a mistake, but in
> > linux-next testing, we haven't had any reported problems.
> >
> > There's the usual set of gadget and xhci and musb updates in here as
> > well, along with a number of smaller updates for a raft of different USB
> > drivers.  Full details in the shortlog, nothing really major.
> >
> > All of these have been in linux-next for a while with no reported
> > issues.
> >
> > Signed-off-by: Greg Kroah-Hartman 
> >
> > 
> 
> > Heikki Krogerus (3):
> >   usb: typec: Add support for UCSI interface
> 
> Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):
> 
> > --- /dev/null
> > +++ b/drivers/usb/typec/ucsi/Kconfig
> > @@ -0,0 +1,23 @@
> > +config TYPEC_UCSI
> > +   tristate "USB Type-C Connector System Software Interface driver"
> > +   depends on !CPU_BIG_ENDIAN
> 
> To work as expected, and prevent this driver from being enabled on big endian
> systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
> inconsistencies".
> https://lkml.org/lkml/2017/6/12/1068

Is this a problem?  I thought that series was slated to be merged soon,
is that not going to happen?

thanks,

greg k-h


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Geert Uytterhoeven
Hi Greg, Heikki,

On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
> The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:
>
>   Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ 
> tags/usb-4.13-rc1
>
> for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:
>
>   Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 
> 14:49:06 +0200)
>
> 
> USB/PHY patches for 4.13-rc1
>
> Here is the big patchset of USB and PHY driver updates for 4.13-rc1.
>
> On the PHY side, they decided to move files around to "make things
> easier" in their tree.  Hopefully that wasn't a mistake, but in
> linux-next testing, we haven't had any reported problems.
>
> There's the usual set of gadget and xhci and musb updates in here as
> well, along with a number of smaller updates for a raft of different USB
> drivers.  Full details in the shortlog, nothing really major.
>
> All of these have been in linux-next for a while with no reported
> issues.
>
> Signed-off-by: Greg Kroah-Hartman 
>
> 

> Heikki Krogerus (3):
>   usb: typec: Add support for UCSI interface

Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):

> --- /dev/null
> +++ b/drivers/usb/typec/ucsi/Kconfig
> @@ -0,0 +1,23 @@
> +config TYPEC_UCSI
> +   tristate "USB Type-C Connector System Software Interface driver"
> +   depends on !CPU_BIG_ENDIAN

To work as expected, and prevent this driver from being enabled on big endian
systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
inconsistencies".
https://lkml.org/lkml/2017/6/12/1068

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Geert Uytterhoeven
Hi Greg, Heikki,

On Mon, Jul 3, 2017 at 4:58 PM, Greg KH  wrote:
> The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:
>
>   Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ 
> tags/usb-4.13-rc1
>
> for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:
>
>   Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 
> 14:49:06 +0200)
>
> 
> USB/PHY patches for 4.13-rc1
>
> Here is the big patchset of USB and PHY driver updates for 4.13-rc1.
>
> On the PHY side, they decided to move files around to "make things
> easier" in their tree.  Hopefully that wasn't a mistake, but in
> linux-next testing, we haven't had any reported problems.
>
> There's the usual set of gadget and xhci and musb updates in here as
> well, along with a number of smaller updates for a raft of different USB
> drivers.  Full details in the shortlog, nothing really major.
>
> All of these have been in linux-next for a while with no reported
> issues.
>
> Signed-off-by: Greg Kroah-Hartman 
>
> 

> Heikki Krogerus (3):
>   usb: typec: Add support for UCSI interface

Commit c1b0bc2dabfa884d ("usb: typec: Add support for UCSI interface"):

> --- /dev/null
> +++ b/drivers/usb/typec/ucsi/Kconfig
> @@ -0,0 +1,23 @@
> +config TYPEC_UCSI
> +   tristate "USB Type-C Connector System Software Interface driver"
> +   depends on !CPU_BIG_ENDIAN

To work as expected, and prevent this driver from being enabled on big endian
systems, this depends on "[PATCH v3 0/3] Define CPU_BIG_ENDIAN or warn for
inconsistencies".
https://lkml.org/lkml/2017/6/12/1068

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-03 Thread Stephen Rothwell
Hi all,

On Mon, 3 Jul 2017 16:58:47 +0200 Greg KH  wrote:
>
> All of these have been in linux-next for a while with no reported
> issues.

I have been carrying the following merge fix patch for the merge
against the uuid tree (now in Linus' tree):

From: Stephen Rothwell 
Date: Thu, 29 Jun 2017 14:36:10 +1000
Subject: [PATCH] usb: typec: fix for "ACPI: Switch to use generic guid_t in
 acpi_evaluate_dsm()"

Signed-off-by: Stephen Rothwell 
---
 drivers/usb/typec/ucsi/ucsi_acpi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c 
b/drivers/usb/typec/ucsi/ucsi_acpi.c
index 3fb2e48e1c91..7b7c9373a9b6 100644
--- a/drivers/usb/typec/ucsi/ucsi_acpi.c
+++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
@@ -23,14 +23,14 @@ struct ucsi_acpi {
struct device *dev;
struct ucsi *ucsi;
struct ucsi_ppm ppm;
-   uuid_le uuid;
+   guid_t uuid;
 };
 
 static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func)
 {
union acpi_object *obj;
 
-   obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), ua->uuid.b, 1, func,
+   obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), >uuid, 1, func,
NULL);
if (!obj) {
dev_err(ua->dev, "%s: failed to evaluate _DSM %d\n",
-- 
2.11.0

-- 
Cheers,
Stephen Rothwell


Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-03 Thread Stephen Rothwell
Hi all,

On Mon, 3 Jul 2017 16:58:47 +0200 Greg KH  wrote:
>
> All of these have been in linux-next for a while with no reported
> issues.

I have been carrying the following merge fix patch for the merge
against the uuid tree (now in Linus' tree):

From: Stephen Rothwell 
Date: Thu, 29 Jun 2017 14:36:10 +1000
Subject: [PATCH] usb: typec: fix for "ACPI: Switch to use generic guid_t in
 acpi_evaluate_dsm()"

Signed-off-by: Stephen Rothwell 
---
 drivers/usb/typec/ucsi/ucsi_acpi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c 
b/drivers/usb/typec/ucsi/ucsi_acpi.c
index 3fb2e48e1c91..7b7c9373a9b6 100644
--- a/drivers/usb/typec/ucsi/ucsi_acpi.c
+++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
@@ -23,14 +23,14 @@ struct ucsi_acpi {
struct device *dev;
struct ucsi *ucsi;
struct ucsi_ppm ppm;
-   uuid_le uuid;
+   guid_t uuid;
 };
 
 static int ucsi_acpi_dsm(struct ucsi_acpi *ua, int func)
 {
union acpi_object *obj;
 
-   obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), ua->uuid.b, 1, func,
+   obj = acpi_evaluate_dsm(ACPI_HANDLE(ua->dev), >uuid, 1, func,
NULL);
if (!obj) {
dev_err(ua->dev, "%s: failed to evaluate _DSM %d\n",
-- 
2.11.0

-- 
Cheers,
Stephen Rothwell


[GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-03 Thread Greg KH
The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:

  Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ 
tags/usb-4.13-rc1

for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:

  Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 
14:49:06 +0200)


USB/PHY patches for 4.13-rc1

Here is the big patchset of USB and PHY driver updates for 4.13-rc1.

On the PHY side, they decided to move files around to "make things
easier" in their tree.  Hopefully that wasn't a mistake, but in
linux-next testing, we haven't had any reported problems.

There's the usual set of gadget and xhci and musb updates in here as
well, along with a number of smaller updates for a raft of different USB
drivers.  Full details in the shortlog, nothing really major.

All of these have been in linux-next for a while with no reported
issues.

Signed-off-by: Greg Kroah-Hartman 


Alan Stern (8):
  USB: f_mass_storage: improve async notification handling
  USB: f_mass_storage: improve memory barriers and synchronization
  USB: ene_usb6250: fix first command execution
  USB: ene_usb6250: fix SCSI residue overwriting
  USB: ene_usb6250: implement REQUEST SENSE
  USB: ene_usb6250: remove subroutine duplication
  USB: ene_usb6250: turn off the Removable flag
  USB: add usbfs ioctl to retrieve the connection speed

Alexandre Bailon (1):
  usb: musb: musb_cppi41: Defer probe only if DMA is not ready

Alexandre Belloni (1):
  usb: gadget: udc: atmel: Remove unnecessary macros

Andy Shevchenko (4):
  extcon: int3496: Switch to devm_acpi_dev_add_driver_gpios()
  usb: misc: usbsevseg: Use sysfs_match_string() helper
  usb: gadget: udc: atmel: Remove AVR32 bits from the driver
  usb: dwc3: gadget: increase readability of dwc3_gadget_init_endpoints()

Arnd Bergmann (1):
  phy: cpcap-usb: add MUSB dependency

Arvind Yadav (6):
  usb: host: ehci-exynos: Handle return value of clk_prepare_enable
  usb: mtu3: Handle return value of clk_prepare_enable
  usb: mtu3: Handle return value of clk_prepare_enable
  usb: gadget: mv_udc: Handle return value of clk_prepare_enable.
  usb: dwc3: exynos: Handle return value of clk_prepare_enable
  usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

Badhri Jagan Sridharan (1):
  usb: typec: Add a sysfs node to manage port type

Baolin Wang (3):
  usb: phy: Introduce one extcon device into usb phy
  usb: phy: phy-qcom-8x16-usb: Remove redundant extcon register/unregister
  usb: phy: phy-msm-usb: Remove redundant extcon register/unregister

Benjamin Herrenschmidt (2):
  usb/uhci: Add support for Aspeed BMC SoCs
  usb: Fix typo in the definition of Endpoint[out]Request

Dan Carpenter (1):
  usb: gadget: udc-xilinx: clean up a variable name

Devin Heitmueller (1):
  Add USB quirk for HVR-950q to avoid intermittent device resets

Eugene Korenevsky (1):
  USB hub_probe: rework ugly goto-into-compound-statement

Felipe Balbi (23):
  usb: dwc3: gadget: don't WARN about lack of TRBs
  usb: dwc3: gadget: lazily map requests for DMA
  usb: dwc3: replace %p with %pK
  tools: usb: testusb: update default vary for superspeed
  usb: dwc3: update documentation
  usb: dwc3: debugfs: slightly improve output of trb_ring
  usb: dwc3: gadget: slight cleanup to dwc3_process_event_entry()
  usb: dwc3: trace: rely on __string() and __assign_str()
  usb: dwc3: debug: remove static char buffer from dwc3_decode_event()
  usb: dwc3: trace: decode ctrl request
  usb: dwc3: add ReST documentation
  usb: move ReST documentation to Documentation/driver-api/usb/
  phy: tusb1210: add support for TUSB1211
  phy: tusb1210: implement ->set_mode()
  usb: gadget: core: introduce ->udc_set_speed() method
  usb: dwc3: gadget: implement ->udc_set_speed()
  usb: gadget: dummy: implement ->udc_set_speed()
  usb: gadget: udc: add a 'function' sysfs file
  Documentation: ABI: sysfs-class-udc: remove duplicated entry
  usb: dwc3: ep0: make sure wValue is 0 on GetStatus()
  usb: dwc3: ulpi: conditionally resume ULPI PHY
  usb: dwc3: core: initialize ULPI before trying to get the PHY
  usb: dwc3: core: program PHY for proper DRD modes

Florian Fainelli (2):
  usb: core: Check URB setup_packet and transfer_buffer sanity
  usb: udc: core: Error if req->buf is either from vmalloc or stack

Frank Wang (1):
  phy: rockchip-inno-usb2: add support of usb2-phy for rk3228 SoCs

Geliang Tang (2):
  usb: cdc-wdm: use memdup_user
  USB: iowarrior: use memdup_user

Greg Kroah-Hartman (8):
  Merge 4.12-rc2 into usb-next

[GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-03 Thread Greg KH
The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52:

  Linux 4.12-rc6 (2017-06-19 22:19:37 +0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ 
tags/usb-4.13-rc1

for you to fetch changes up to 6836796de4019944f4ba4c99a360e8250fd2e735:

  Add USB quirk for HVR-950q to avoid intermittent device resets (2017-06-29 
14:49:06 +0200)


USB/PHY patches for 4.13-rc1

Here is the big patchset of USB and PHY driver updates for 4.13-rc1.

On the PHY side, they decided to move files around to "make things
easier" in their tree.  Hopefully that wasn't a mistake, but in
linux-next testing, we haven't had any reported problems.

There's the usual set of gadget and xhci and musb updates in here as
well, along with a number of smaller updates for a raft of different USB
drivers.  Full details in the shortlog, nothing really major.

All of these have been in linux-next for a while with no reported
issues.

Signed-off-by: Greg Kroah-Hartman 


Alan Stern (8):
  USB: f_mass_storage: improve async notification handling
  USB: f_mass_storage: improve memory barriers and synchronization
  USB: ene_usb6250: fix first command execution
  USB: ene_usb6250: fix SCSI residue overwriting
  USB: ene_usb6250: implement REQUEST SENSE
  USB: ene_usb6250: remove subroutine duplication
  USB: ene_usb6250: turn off the Removable flag
  USB: add usbfs ioctl to retrieve the connection speed

Alexandre Bailon (1):
  usb: musb: musb_cppi41: Defer probe only if DMA is not ready

Alexandre Belloni (1):
  usb: gadget: udc: atmel: Remove unnecessary macros

Andy Shevchenko (4):
  extcon: int3496: Switch to devm_acpi_dev_add_driver_gpios()
  usb: misc: usbsevseg: Use sysfs_match_string() helper
  usb: gadget: udc: atmel: Remove AVR32 bits from the driver
  usb: dwc3: gadget: increase readability of dwc3_gadget_init_endpoints()

Arnd Bergmann (1):
  phy: cpcap-usb: add MUSB dependency

Arvind Yadav (6):
  usb: host: ehci-exynos: Handle return value of clk_prepare_enable
  usb: mtu3: Handle return value of clk_prepare_enable
  usb: mtu3: Handle return value of clk_prepare_enable
  usb: gadget: mv_udc: Handle return value of clk_prepare_enable.
  usb: dwc3: exynos: Handle return value of clk_prepare_enable
  usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

Badhri Jagan Sridharan (1):
  usb: typec: Add a sysfs node to manage port type

Baolin Wang (3):
  usb: phy: Introduce one extcon device into usb phy
  usb: phy: phy-qcom-8x16-usb: Remove redundant extcon register/unregister
  usb: phy: phy-msm-usb: Remove redundant extcon register/unregister

Benjamin Herrenschmidt (2):
  usb/uhci: Add support for Aspeed BMC SoCs
  usb: Fix typo in the definition of Endpoint[out]Request

Dan Carpenter (1):
  usb: gadget: udc-xilinx: clean up a variable name

Devin Heitmueller (1):
  Add USB quirk for HVR-950q to avoid intermittent device resets

Eugene Korenevsky (1):
  USB hub_probe: rework ugly goto-into-compound-statement

Felipe Balbi (23):
  usb: dwc3: gadget: don't WARN about lack of TRBs
  usb: dwc3: gadget: lazily map requests for DMA
  usb: dwc3: replace %p with %pK
  tools: usb: testusb: update default vary for superspeed
  usb: dwc3: update documentation
  usb: dwc3: debugfs: slightly improve output of trb_ring
  usb: dwc3: gadget: slight cleanup to dwc3_process_event_entry()
  usb: dwc3: trace: rely on __string() and __assign_str()
  usb: dwc3: debug: remove static char buffer from dwc3_decode_event()
  usb: dwc3: trace: decode ctrl request
  usb: dwc3: add ReST documentation
  usb: move ReST documentation to Documentation/driver-api/usb/
  phy: tusb1210: add support for TUSB1211
  phy: tusb1210: implement ->set_mode()
  usb: gadget: core: introduce ->udc_set_speed() method
  usb: dwc3: gadget: implement ->udc_set_speed()
  usb: gadget: dummy: implement ->udc_set_speed()
  usb: gadget: udc: add a 'function' sysfs file
  Documentation: ABI: sysfs-class-udc: remove duplicated entry
  usb: dwc3: ep0: make sure wValue is 0 on GetStatus()
  usb: dwc3: ulpi: conditionally resume ULPI PHY
  usb: dwc3: core: initialize ULPI before trying to get the PHY
  usb: dwc3: core: program PHY for proper DRD modes

Florian Fainelli (2):
  usb: core: Check URB setup_packet and transfer_buffer sanity
  usb: udc: core: Error if req->buf is either from vmalloc or stack

Frank Wang (1):
  phy: rockchip-inno-usb2: add support of usb2-phy for rk3228 SoCs

Geliang Tang (2):
  usb: cdc-wdm: use memdup_user
  USB: iowarrior: use memdup_user

Greg Kroah-Hartman (8):
  Merge 4.12-rc2 into usb-next
  Merge 4.12-rc5 into