Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-24 Thread Jason Gunthorpe
On Mon, Sep 24, 2018 at 10:18:52PM +0200, Arnd Bergmann wrote: > On Tue, Sep 18, 2018 at 7:59 PM Jason Gunthorpe wrote: > > > > On Tue, Sep 18, 2018 at 10:51:08AM -0700, Darren Hart wrote: > > > On Fri, Sep 14, 2018 at 09:57:48PM +0100, Al Viro wrote: > > > >

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-18 Thread Jason Gunthorpe
_user * as appropriate. Then it just works right always and the compiler will help address Al's concern down the road. Cheers, Jason

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Jason Gunthorpe
atic const struct file_operations uverbs_mmap_fops = { > .release = ib_uverbs_close, > .llseek = no_llseek, > .unlocked_ioctl = ib_uverbs_ioctl, > - .compat_ioctl = ib_uverbs_ioctl, > + .compat_ioctl = generic_compat_ioctl_ptrarg, > }; > > static struct ib_client uverbs_client = { For uverbs: Acked-by: Jason Gunthorpe It is very strange, this patch did not appear in the RDMA patchworks, I almost missed it :| Jason

Re: [PATCH v2 02/17] compat_ioctl: move drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Jason Gunthorpe
.compat_ioctl = vtpmx_fops_compat_ioctl, > -#endif > + .compat_ioctl = generic_compat_ioctl_ptrarg, > .llseek = noop_llseek, > }; For vtpm: Reviewed-by: Jason Gunthorpe Arnd, would you consider including a patch as part of/after this series to make compat_ioctl in drivers/infiniband/core/uverbs_main.c use this as well? Looks like a bug too? Thanks, Jason

Re: [PATCH v3 2/2] usb: misc: xapea00x: perform platform initialization of TPM

2018-05-14 Thread Jason Gunthorpe
On Mon, May 14, 2018 at 02:59:36PM -0500, David R. Bild wrote: > On Mon, May 14, 2018 at 2:31 PM, Jason Gunthorpe wrote: > > > > On Thu, May 10, 2018 at 09:41:53AM -0500, David R. Bild wrote: > > > > > 3) Allow the driver to register the TPM with TPM driver, but n

Re: [PATCH v3 2/2] usb: misc: xapea00x: perform platform initialization of TPM

2018-05-14 Thread Jason Gunthorpe
e TPM driver that it is safe to expose the TPM to userspace. This > would be my preferred approach. We already have this. The driver can setup enough to use the TPM framework to send commands before completing registration. We use it in startup timeouts and other flows today. Jason -- To unsubs

Re: [PATCH v3 2/2] usb: misc: xapea00x: perform platform initialization of TPM

2018-05-06 Thread Jason Gunthorpe
s and would let me drop nearly the entire second patch from > this series. (I think the dictionary lockout reset can be done via > the already exported "tpm_send(...)" function.) Sounds like a much better approach to me. Jason -- 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: [PATCH v3 2/2] usb: misc: xapea00x: perform platform initialization of TPM

2018-05-04 Thread Jason Gunthorpe
has loaded. The tpm driver already does most of this stuff automatically, why duplicate it there and why is it coded in a way that doesn't use the existing TPM services to do it? Make no sense to me. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-us

Re: drivers/usb/host/xhci-ring.c:1390 handle_cmd_completion

2017-07-26 Thread Jason A. Donenfeld
ent information? Or should I try to gather more somehow? Regards, Jason -- 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

drivers/usb/host/xhci-ring.c:1390 handle_cmd_completion

2017-05-19 Thread Jason A. Donenfeld
I'm having this issue on kernel 4.11.0 and 4.11.1. It usually happens after a while of ordinary USB use. Afterwards, USB does not work. If I rmmod all the modules and reinsert them, it works for a while, but even sooner after it stops working again. [48112.422418] [ cut here ]-

Re: [PATCH v2] hid: usbhid: hid-core: fix recursive deadlock

2016-01-20 Thread Jason Gerecke
Jason --- Now instead of four in the eights place / you’ve got three, ‘Cause you added one / (That is to say, eight) to the two, / But you can’t take seven from three,/ So you look at the sixty-fours On Sun, Nov 29, 2015 at 2:29 AM, Ioan-Adrian Ratiu wrote: > On Fri, 20 Nov 2

[PATCH] usb: image: mdc800: fixed various style issues

2015-04-23 Thread Jason Eastman
Fixed several style issues with: comments, function perenthesis, indentation, and conditional braces Signed-off-by: Jason Eastman --- drivers/usb/image/mdc800.c | 769 +++- 1 file changed, 336 insertions(+), 433 deletions(-) diff --git a/drivers/usb

[PATCH 2/2] pl2303: Match I330 phone more precisely

2015-04-22 Thread Jason A. Donenfeld
Since usb-storage requires an interface class of 0x8, I believe it's correct to disambiguate the two devices by matching on 0xff inside pl2303. [1] http://permalink.gmane.org/gmane.linux.usb.user/4264 Signed-off-by: Jason A. Donenfeld --- drivers/usb/serial/pl2303.c | 2 +- 1 file changed, 1

[PATCH 1/2] visor: Remove support for Samsung I330

2015-04-22 Thread Jason A. Donenfeld
This phone is actually a pl2303 device, and is already supported there. Signed-off-by: Jason A. Donenfeld --- drivers/usb/serial/visor.c | 2 -- drivers/usb/serial/visor.h | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index bf2bd40

Re: [PATCH] pl2303, visor: Match I330 phone more precisely

2015-04-22 Thread Jason A. Donenfeld
On Wed, Apr 22, 2015 at 2:38 PM, Greg Kroah-Hartman wrote: > I'd bet this is really a pl2303 device, given that the visor driver was > just a "dumb" pipe to the device and the pilot sync tools never cared > about baud rates and the like, so odds are the visor entry should be > removed. In the lat

[PATCH 1/2] pl2303: Remove support for Samsung I330

2015-04-22 Thread Jason A. Donenfeld
This phone is already supported by the visor driver. Signed-off-by: Jason A. Donenfeld --- drivers/usb/serial/pl2303.c | 1 - drivers/usb/serial/pl2303.h | 4 2 files changed, 5 deletions(-) diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 829604d..f5257af

[PATCH 2/2] visor: Match I330 phone more precisely

2015-04-22 Thread Jason A. Donenfeld
value 255 (0xff). Since usb-storage requires an interface class of 0x8, I believe it's correct to disambiguate the two devices by matching on 0xff inside visor. [1] http://permalink.gmane.org/gmane.linux.usb.user/4264 Signed-off-by: Jason A. Donenfeld --- drivers/usb/serial/visor.c | 2 +-

[PATCH] pl2303, visor: Match I330 phone more precisely

2015-04-22 Thread Jason A. Donenfeld
to be the interface class, which has value 255 (0xff). Since usb-storage requires an interface class of 0x8, I believe it's correct to disambiguate the two devices by matching on 0xff inside pl2303 and visor. [1] http://permalink.gmane.org/gmane.linux.usb.user/4264 Signed-off-by: Jason A. Donenfel

[PATCH] pl2303: Remove antiquated support for I330 phone

2015-04-21 Thread Jason A. Donenfeld
le it. Signed-off-by: Jason A. Donenfeld --- drivers/usb/serial/pl2303.c | 1 - drivers/usb/serial/pl2303.h | 4 2 files changed, 5 deletions(-) diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 829604d..f5257af 100644 --- a/drivers/usb/serial/pl2303.c +++ b/driver

Re: [PATCH] usb: ehci_orion should be builable for mvebu multi platform

2014-06-09 Thread Jason Cooper
ort for Marvell EBU on-chip EHCI USB controller" > - depends on USB_EHCI_HCD && PLAT_ORION > + depends on USB_EHCI_HCD && ( PLAT_ORION || ARCH_MVEBU ) hmmm, ARCH_MVEBU selects PLAT_ORION in mach-mvebu/Kconfig:8 over here. What are you trying to fix? thx, Jason. >

Re: [PATCH v6 10/17] ARM: mvebu: add USB3 support for Armada 38x

2014-05-22 Thread Jason Cooper
On Wed, May 21, 2014 at 03:53:22PM +0200, Gregory CLEMENT wrote: > On 19/05/2014 13:09, Paul Bolle wrote: > > On Fri, 2014-05-16 at 15:07 -0400, Jason Cooper wrote: > >> On Thu, May 15, 2014 at 12:17:35PM +0200, Gregory CLEMENT wrote: > >>> This patch adds the selecti

Re: [PATCH v6 14/17] ARM: mvebu: add Device Tree description of xHCI controllers on Armada 38x

2014-05-16 Thread Jason Cooper
++ > 3 files changed, 29 insertions(+) Patches 14 through 17 applied to mvebu/dt. Patch 17 amended as Sergei suggested. thx, Jason. -- 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: [PATCH v6 10/17] ARM: mvebu: add USB3 support for Armada 38x

2014-05-16 Thread Jason Cooper
arch/arm/mach-mvebu/Kconfig | 1 + > 1 file changed, 1 insertion(+) Patches 10 and 11 applied to mvebu/soc thx, Jason. -- 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: [PATCH v6 12/17] ARM: configs: enable XHCI mvebu support in mvebu_v7_defconfig

2014-05-16 Thread Jason Cooper
> Signed-off-by: Thomas Petazzoni > --- > arch/arm/configs/mvebu_v7_defconfig | 1 + > 1 file changed, 1 insertion(+) Applied to mvebu/defconfig thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ke

Re: [PATCH v6 14/17] ARM: mvebu: add Device Tree description of xHCI controllers on Armada 38x

2014-05-15 Thread Jason Cooper
++ > 3 files changed, 29 insertions(+) Patches 14 through 17 applied to mvebu/dt. Patch 17 amended as Sergei suggested. thx, Jason. -- 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: [PATCH v6 12/17] ARM: configs: enable XHCI mvebu support in mvebu_v7_defconfig

2014-05-15 Thread Jason Cooper
> Signed-off-by: Thomas Petazzoni > --- > arch/arm/configs/mvebu_v7_defconfig | 1 + > 1 file changed, 1 insertion(+) Applied to mvebu/defconfig thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ke

Re: [PATCH v6 10/17] ARM: mvebu: add USB3 support for Armada 38x

2014-05-15 Thread Jason Cooper
arch/arm/mach-mvebu/Kconfig | 1 + > 1 file changed, 1 insertion(+) Patches 10 and 11 applied to mvebu/soc thx, Jason. -- 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: [PATCH v6 17/17] ARM: mvebu: add Device Tree description of the EHCI controller on Armada 375

2014-05-15 Thread Jason Cooper
y, I'll fix it up when I pull it in. No need to respin. thx, Jason. -- 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: [PATCH v6 13/17] ARM: configs: enable XHCI mvebu support in multi_v7_defconfig

2014-05-15 Thread Jason Cooper
> Signed-off-by: Thomas Petazzoni > Cc: a...@kernel.org > Cc: Kevin Hilman > Cc: Olof Johansson > Cc: Arnd Bergmann > --- > arch/arm/configs/multi_v7_defconfig | 1 + > 1 file changed, 1 insertion(+) Acked-by: Jason Cooper thx, Jason. -- To unsubscribe from this list: s

Re: [PATCH v3 12/20] ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig

2014-05-06 Thread Jason Cooper
If you need to do another respin of this series, please add Olof, Arnd and Kevin (and a...@kernel.org) to the To:. Otherwise, I'll take care of it. thx, Jason. On Tue, May 06, 2014 at 02:14:07AM +0200, Gregory CLEMENT wrote: > The Marvell Armada 38x platform needs the xhci_mvebu driver

Re: [PATCH v3 05/20] usb: host: xhci-plat: Add clocks support

2014-05-06 Thread Jason Cooper
orms have clock support then enabling and disabling > the clocks have been placed in separate functions. Then if the clocks > are not supported we still can use the same calls, and there is no ... ? thx, Jason. > > Signed-off-by: Gregory CLEMENT > --- >

Re: [BUG] FL1009: xHCI host not responding to stop endpoint command.

2014-01-22 Thread Jason Cooper
have to push the patch to -stable team at least for 3.13, > I wonder if it would not make sense to extend that at least to 3.12. > and possibly 3.10 (3.2 is still widely used but I wonder if it makes > sense to go that far). Can you pinpoint the commit that introduced the regression? thx,

Re: [PATCH 01/12] USB: ehci-orion: Use devm_*() functions

2013-12-11 Thread Jason Cooper
1 deletions(-) Acked-by: Jason Cooper thx, Jason. -- 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: [PATCH 3/7] USB: ehci-orion: use dev_warn() instead of printk()

2013-12-10 Thread Jason Cooper
On Tue, Dec 10, 2013 at 09:20:30PM +0900, Jingoo Han wrote: > Use dev_warn() instead of printk() to provide a better message > to userspace. > > Signed-off-by: Jingoo Han > --- > drivers/usb/host/ehci-orion.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) A

Re: Dynamic debug on by default?

2013-08-14 Thread Jason Baron
rn off debug messages, but that boot parameter is >> limited to 1023 characters. I'm concerned that if more drivers add >> dynamic debugging, the distros will eventually run out of space in the >> dynamic debugging boot parameter. I know Greg was ripping out debugging >> con

Re: [PATCH] staging: ozwpan: Convert printk to dev_dbg()

2013-06-26 Thread Jason Baron
On 06/25/2013 02:03 PM, Joe Perches wrote: > (Using Jason Baron's most current email address) > > On Tue, 2013-06-25 at 10:56 -0700, Joe Perches wrote: >> On Tue, 2013-06-25 at 10:38 -0700, Greg KH wrote: >>> On Tue, Jun 25, 2013 at 10:29:50AM -0700, Joe Perches wrote:

Re: [PATCH] staging: ozwpan: Convert printk to dev_dbg()

2013-06-26 Thread Jason Baron
le_dbg(mask, fmt, ...) > do { > if (mask & some_module_var) > debug_something(...) > } while (0) > > It'd be nice to consolidate those in dev_dbg > > I'll get 'round to it one day if Jason doesn't. > Hi, I've been a bit

Re: [PATCH] USB: EHCI: fix for leaking isochronous data

2013-03-21 Thread Jason Cooper
a > frame number of 0 now. So for each allocation when now_frame == 0 we > allocate from the dma_pool, not from the free_list. The attached > patch invalidates the frame number in each iTD before it is sent to > the scheduler. This fixes the problem without the need to iterate > over a iTD

Re: [PATCH 2/2] USB: EHCI: make ehci-orion a separate driver

2013-02-20 Thread Jason Cooper
;s own gateable clock. The user should be able to conserve power by unloading the module or building without it. thx, Jason. -- 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: [PATCH 2/2] USB: EHCI: make ehci-orion a separate driver

2013-02-15 Thread Jason Cooper
ci-hcd a library module", we can > avoid this problem by turning a bus glue into a separate > module, as we do here for the orion bus glue. > > Signed-off-by: Manjunath Goudar > Signed-off-by: Arnd Bergmann > Cc: Jason Cooper > Cc: Andrew Lunn > --- > dri

Re: [PATCH v2 2/3] arm: mvebu: Enable USB controllers on Armada 370/XP boards

2013-02-15 Thread Jason Cooper
| 12 > arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts |6 ++ > 4 files changed, 34 insertions(+), 0 deletions(-) Applied to mvebu/dt thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a mess

Re: [PATCH v2 1/3] arm: mvebu: Add support for USB host controllers in Armada 370/XP

2013-02-15 Thread Jason Cooper
i | 15 +++ > arch/arm/boot/dts/armada-370.dtsi|9 + > arch/arm/boot/dts/armada-xp.dtsi | 17 + > 3 files changed, 41 insertions(+), 0 deletions(-) Applied to mvebu/dt thx, Jason. -- To unsubscribe from this list: send the line &quo

Re: [PATCH v2 3/3] arm: mvebu: Update defconfig to select USB support

2013-02-15 Thread Jason Cooper
|5 - > 1 files changed, 4 insertions(+), 1 deletions(-) Applied to mvebu/boards thx, Jason. -- 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: [PATCH 0/8] usb: ehci: more bus glues as separate modules

2013-02-10 Thread Jason Cooper
Manjunath, I think this is the second version of this series. Please indicate so in the subject "[PATCH V2 X/Y]" and provide a changelog with each patch so that we can easily confirm suggested changes from one version to the next. thx, Jason. On Mon, Feb 11, 2013 at 12:28:

Re: [PATCH v2 1/3] arm: mvebu: Add support for USB host controllers in Armada 370/XP

2013-01-29 Thread Jason Cooper
On Tue, Jan 29, 2013 at 03:56:20PM -0300, Ezequiel Garcia wrote: > Hi Jason, > > On Wed, Jan 23, 2013 at 2:40 PM, Jason Cooper wrote: > > On Wed, Jan 23, 2013 at 02:06:12PM -0300, Ezequiel Garcia wrote: > >> Jason, > >> > >> On Wed, Jan 23, 2013

Re: [PATCH v2 1/3] arm: mvebu: Add support for USB host controllers in Armada 370/XP

2013-01-23 Thread Jason Cooper
On Wed, Jan 23, 2013 at 02:06:12PM -0300, Ezequiel Garcia wrote: > Jason, > > On Wed, Jan 23, 2013 at 12:26 PM, Ezequiel Garcia > wrote: > > The Armada 370 and Armada XP SoC has an Orion EHCI USB controller. > > This patch adds support for this controller in Armada 3

Re: [PATCH] Try #3: Use SCSI read/write(16) with > 32-bit LBA drives

2012-11-15 Thread Jason J. Herne
On Thu, Nov 15, 2012 at 4:20 AM, Christoph Hellwig wrote: > On Wed, Nov 14, 2012 at 05:03:22PM -0500, Jason J. Herne wrote: >> From: "Jason J. Herne" >> >> Force large capacity (> 0x blocks) drives to use READ/WRITE(16) >> instead >> of REA

Re: [PATCH] Try #3: Use SCSI read/write(16) with > 32-bit LBA drives

2012-11-14 Thread Jason J. Herne
On Wed, Nov 14, 2012 at 5:22 PM, Sergei Shtylyov wrote: > Hello. > > > On 15-11-2012 2:03, Jason J. Herne wrote: > >> From: "Jason J. Herne" > > > You have already posted Try #3. And preferrably, information about patch > version should be inclu

Re: [PATCH] Try #2: Use SCSI read/write(16) with >2TB drives

2012-11-14 Thread Jason J. Herne
On Wed, Nov 14, 2012 at 2:02 PM, Sebastian Andrzej Siewior wrote: > On Wed, Nov 14, 2012 at 12:55:13AM -0500, Jason J. Herne wrote: >> } >> } >> >> + /* Use read/write(16) for > 2TB disks */ >> + sdp->use_16_for_rw = (sdkp->

[PATCH] Try #3: Use SCSI read/write(16) with > 32-bit LBA drives

2012-11-14 Thread Jason J. Herne
From: "Jason J. Herne" Force large capacity (> 0x blocks) drives to use READ/WRITE(16) instead of READ/WRITE(10). Some(most/all?) USB enclosures do not like READ(10) commands when a large capacity drive is installed. This issue was reported and discussed here: http://marc.

[PATCH] Try #3: Use SCSI read/write(16) with > 32-bit LBA drives

2012-11-14 Thread Jason J. Herne
From: "Jason J. Herne" Force large capacity (> 0x blocks) drives to use READ/WRITE(16) instead of READ/WRITE(10). Some(most/all?) USB enclosures do not like READ(10) commands when a large capacity drive is installed. Signed-off-by: Jason J. Herne --- drivers/scsi/sd.c

[PATCH] Try #2: Use SCSI read/write(16) with >2TB drives

2012-11-13 Thread Jason J. Herne
From: "Jason J. Herne" Force large capacity (> 2TB) drives to use READ/WRITE(16) instead of READ/WRITE(10). Some(most/all?) USB enclosures do not like READ(10) commands when a large capacity drive is installed. Signed-off-by: Jason J. Herne --- drivers/scsi/sd.c |5 +

[PATCH] Use SCSI read/write(16) with >2TB drives

2012-11-13 Thread Jason J. Herne
From: "Jason J. Herne" Force large capacity (> 2TB) drives to use READ/WRITE(16) instead of READ/WRITE(10). Some(most/all?) USB enclosures do not like READ(10) commands when a large capacity drive is installed. Signed-off-by: Jason J. Herne --- drivers/scsi/sd.c |5 +

Re: [PATCH] USB enclosures seem to require read(16) with >2TB drives

2012-11-12 Thread Jason J. Herne
On Mon, Nov 12, 2012 at 10:10 AM, James Bottomley wrote: > On Mon, 2012-11-12 at 15:31 +0100, Paolo Bonzini wrote: >> Il 12/11/2012 12:33, James Bottomley ha scritto: >> > On Fri, 2012-11-09 at 11:08 -0500, Jason J. Herne wrote: >> >> diff --git a/drivers/usb/stor

Re: [PATCH] USB enclosures seem to require read(16) with >2TB drives

2012-11-12 Thread Jason J. Herne
On Mon, Nov 12, 2012 at 9:31 AM, Paolo Bonzini wrote: > Il 12/11/2012 12:33, James Bottomley ha scritto: >> On Fri, 2012-11-09 at 11:08 -0500, Jason J. Herne wrote: >>> diff --git a/drivers/usb/storage/scsiglue.c >>> b/drivers/usb/storage/scsiglue.c >>> ind

[PATCH] USB enclosures seem to require read(16) with >2TB drives

2012-11-09 Thread Jason J. Herne
From: "Jason J. Herne" Force large capacity (> 2TB) drives in USB enclosures to use READ(16) instead of READ(10). Some(most/all?) enclosures do not like READ(10) commands when a large capacity drive is installed. Signed-off-by: Jason J. Herne --- drivers/scsi/sd.c

USB enclosures seem to require read(16) with >2TB drives

2012-11-09 Thread Jason J. Herne
Hello, I've noticed Linux seems to have issues with external USB enclosures containing drives > 2 TB. The USB mass storage driver apparently emulates a SCSI device and sends a read/write(10) for all requests where the target sector is not large enough to require the use of read(16). The issue is

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-08 Thread Jason J. Herne
very much for all your help with this. Do you have any thoughts on where I should take this next? I noticed that a usb-storage list exists. Perhaps there? -- - Jason J. Herne (hern...@gmail.com) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a messag

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-08 Thread Jason J. Herne
On Wed, 7 Nov 2012, Jason J. Herne wrote: >>> Most likely that's the answer. Of course, for a device to recognize >>> READ(16) but not READ(10) is a violation of the SCSI spec. >>> I can confirm that the use of READ(10) instead of READ(16) is indeed the problem

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-07 Thread Jason J. Herne
On Wed, Nov 7, 2012 at 12:27 PM, Jason J. Herne wrote: > On Wed, Nov 7, 2012 at 12:14 PM, Alan Stern wrote: >> On Wed, 7 Nov 2012, Jason J. Herne wrote: >> >>> > Most likely that's the answer. Of course, for a device to recognize >>> > READ(16) but

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-07 Thread Jason J. Herne
On Wed, Nov 7, 2012 at 12:14 PM, Alan Stern wrote: > On Wed, 7 Nov 2012, Jason J. Herne wrote: > >> > Most likely that's the answer. Of course, for a device to recognize >> > READ(16) but not READ(10) is a violation of the SCSI spec. >> > >> > I do

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-07 Thread Jason J. Herne
On Wed, Nov 7, 2012 at 11:00 AM, Alan Stern wrote: > On Tue, 6 Nov 2012, Jason J. Herne wrote: > >> I was comparing the two USB captures and I noticed the Windows capture >> uses a READ(16) and Linux is using a READ(10). I'm not sure how the >> kernel determines w

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-06 Thread Jason J. Herne
700's btw :) Window's first READ(16) is at frame 291. Linux first READ(1) is at 161. Hope this is useful. I'll keep digging. -- - Jason J. Herne (hern...@gmail.com) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to major

Re: 3TB Hard Drive in USB Enclosure Resetting

2012-11-06 Thread Jason J. Herne
Here is the pcap file, as captured from Wireshark. On Tue, Nov 6, 2012 at 10:46 AM, Alan Stern wrote: > On Mon, 5 Nov 2012, Jason J. Herne wrote: > >> I have a Seagate ST3000DM 3.0TB Sata Drive enclosed in a Vantec >> NexStar CX USB 3.0/2.0 Enclosure. This enclosure/drive

Re: [PATCH v2 0/2] DT EHCI support for Kirkwood.

2012-10-20 Thread Jason Cooper
ch-kirkwood/board-ts219.c |1 - > drivers/usb/host/ehci-orion.c | 38 > ++-- > 14 files changed, 58 insertions(+), 14 deletions(-) > create mode 100644 Documentation/devicetree/bindings/usb/ehci-orion.txt Applied to: git://git.inf

Re: [PATCH 1/2] ARM: Kirkwood: ehci-orion: Add device tree binding

2012-10-17 Thread Jason Cooper
t; device if it sits on an i2c bus, etc. > > > > I Olaf > > > > Could i suggest a third option: > > > > I just drop USB phy configuration all together. Only mach-orion5x > > needs this and nobody has shown any interest in moving mach-orion5x to >

Re: [PATCH 1/2] ARM: Kirkwood: ehci-orion: Add device tree binding

2012-09-09 Thread Jason Cooper
On Sat, Sep 01, 2012 at 11:26:25AM +0200, Andrew Lunn wrote: > Based on previous work by Michael Walle and Jason Cooper. > > Made their work actually work, which required added interrupt from DT > and auxdata, along with setting the dma_mask, which DT does not > currently do. >

Re: [PATCH 2/2] ARM: Kirkwood: Convert all DT boards to EHCI via DT.

2012-09-09 Thread Jason Cooper
have > USB can specifically disable it. > > Signed-off-by: Andrew Lunn Applied to: git://git.infradead.org/users/jcooper/linux.git kirkwood/dt thx, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel

Re: [PATCH] USB: PLAT_ORION fulfils USB_ARCH_HAS_EHCI

2012-09-07 Thread Jason Cooper
his thread. We can add _LEGACY later, once we are making more productive use of it. So, Acked-by: Jason Cooper thx, Jason. > --- > drivers/usb/Kconfig |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig > index a7773a3..7

Re: [PATCH] USB: PLAT_ORION fulfils USB_ARCH_HAS_EHCI

2012-09-03 Thread Jason
default y if MACH_LOONGSON1 >+ default y if PLAT_ORION PLAT_ORION_LEGACY? thx, Jason. -- 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: [PATCH] USB: echi-dbgp: increase the controller wait time to come out of halt.

2012-07-31 Thread Jason Wessel
uch as a Lenovo X220i and an Ivybridge development > platform that needed to wait ~450-950 microseconds. This seems fine to me. I'll test it, merge it, and add a CC for -stable. Thanks, Jason. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" i