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


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html