login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
7
Re: USB transfer_buffer allocations on 64bit systems
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Oliver Neukum
Subject:
Re: USB transfer_buffer allocations on 64bit systems
Date: Wednesday, April 7, 2010 - 9:54 am
Am Mittwoch, 7. April 2010 16:59:47 schrieb Alan Stern:
quoted text
> > The fix is to use usb_buffer_alloc() for that purpose which ensures > > memory that is suitable for DMA. And on x86_64, this also means that the > > upper 32 bits of the address returned are all 0's. > > That is not a good fix. usb_buffer_alloc() provides coherent memory, > which is not what we want. I believe the correct fix is to specify the > GFP_DMA32 flag in the kzalloc() call. > > Of course, some EHCI hardware is capable of using 64-bit addresses. > But not all, and other controller types aren't. In principle we could > create a new allocation routine, which would take a pointer to the USB > bus as an additional argument and use it to decide whether the memory > needs to lie below 4 GB. I'm not sure adding this extra complexity > would be worthwhile.
What about XHCI? Do you really want to limit it to 32bits? Regards Oliver --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: USB transfer_buffer allocations on 64bit systems
, Alan Stern
, (Wed Apr 7, 7:59 am)
Re: USB transfer_buffer allocations on 64bit systems
, Daniel Mack
, (Wed Apr 7, 8:11 am)
Re: USB transfer_buffer allocations on 64bit systems
, Greg KH
, (Wed Apr 7, 8:31 am)
Re: USB transfer_buffer allocations on 64bit systems
, Daniel Mack
, (Wed Apr 7, 8:35 am)
Re: USB transfer_buffer allocations on 64bit systems
, Greg KH
, (Wed Apr 7, 8:51 am)
Re: USB transfer_buffer allocations on 64bit systems
, Oliver Neukum
, (Wed Apr 7, 9:54 am)
Re: USB transfer_buffer allocations on 64bit systems
, Daniel Mack
, (Wed Apr 7, 10:00 am)
Re: USB transfer_buffer allocations on 64bit systems
, Robert Hancock
, (Wed Apr 7, 4:55 pm)
Re: USB transfer_buffer allocations on 64bit systems
, Oliver Neukum
, (Wed Apr 7, 11:09 pm)
Re: USB transfer_buffer allocations on 64bit systems
, Daniel Mack
, (Thu Apr 8, 4:07 am)
Re: USB transfer_buffer allocations on 64bit systems
, Andi Kleen
, (Mon Apr 12, 4:53 am)
Re: USB transfer_buffer allocations on 64bit systems
, Pedro Ribeiro
, (Mon Apr 12, 5:11 am)
Re: USB transfer_buffer allocations on 64bit systems
, Andi Kleen
, (Mon Apr 12, 5:12 am)
Re: USB transfer_buffer allocations on 64bit systems
, Daniel Mack
, (Mon Apr 12, 5:32 am)
Re: USB transfer_buffer allocations on 64bit systems
, Andi Kleen
, (Mon Apr 12, 5:47 am)
Re: USB transfer_buffer allocations on 64bit systems
, Daniel Mack
, (Mon Apr 12, 5:54 am)
Re: USB transfer_buffer allocations on 64bit systems
, Andi Kleen
, (Mon Apr 12, 8:43 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Yinghai Lu
[PATCH 09/49] memblock: Remove rmo_size, burry it in arch/powerpc where it belongs
git
:
Junio C Hamano
Re: Teach "git checkout" to use git-show-ref
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jon Smirl
stgit: managing signed-off-by lines
Han-Wen Nienhuys
Re: Cleaning up git user-interface warts
git-commits-head
:
Linux Kernel Mailing List
MIPS: Bonito64: Make Loongson independent from Bonito64 code.
Linux Kernel Mailing List
iwlwifi: initialize spinlock before use
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
Btrfs: Disable btree reada during extent backref lookups.
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Miloslav Trmac
Re: RFC: Crypto API User-interface
David Miller
Re: [net-next-2.6 PATCH] ixgbevf: Refactor ring parameter re-size
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
韓家標 Bill Hacker
Re: ZFS honesty
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
FreeBSD Tinderbox
[head tinderbox] failure on i386/i386
Rong-en Fan
ad0: setting up DMA failed / FAILURE - load data ?
Colocation donated by:
Syndicate