23 Mar, 2012
1 commit
-
Pull x86/build changes from Ingo Molnar.
* 'x86-build-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86, build: Fix portability issues when cross-building
x86, tools: Remove unneeded header files from tools/build.c
USB: ffs-test: Don't duplicate {get,put}_unaligned*() functions
x86, efi: Fix endian issues and unaligned accesses
x86, boot: Restrict CFLAGS for hostprogs
x86, mkpiggy: Don't open code put_unaligned_le32()
x86, relocs: Don't open code put_unaligned_le32()
tools/include: Add byteshift headers for endian access
29 Feb, 2012
1 commit
-
Use the header file in tools/include instead of duplicating the endian
functions.Cc: Davidlohr Bueso
Acked-by: Greg Kroah-Hartman
Signed-off-by: Matt Fleming
Link: http://lkml.kernel.org/r/1330436245-24875-7-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin
24 Jan, 2012
1 commit
-
The m.nazarewicz@samsung.com email address is no longer valid,
so this commit replaces it with mina86@mina86.com which is
employer-agnostic and thus should be valid for foreseeable
feature.Signed-off-by: Michal Nazarewicz
Signed-off-by: Felipe Balbi
01 Mar, 2011
1 commit
-
When compiling this program the functionfs.h header cannot be found, producing:
ffs-test.c:40: fatal error: linux/usb/functionfs.h: No such file or directoryThis patch also fixes the following warning:
ffs-test.c:453: warning: format ‘%4d’ expects type ‘int’, but argument 3 has type ‘size_t’Signed-off-by: Davidlohr Bueso
Signed-off-by: Greg Kroah-Hartman
18 Feb, 2011
1 commit
-
Build USB tools easier.
Signed-off-by: Davidlohr Bueso
Signed-off-by: Greg Kroah-Hartman
23 Jan, 2011
2 commits
-
Enhance the test script to call the new tests added to usbtest
in order to detect host controllers that don't accept byte
aligned DMA.The unaligned tests are called after their aligned
equivalents but for fewer iterations (since alignment
failure is generally immediate).Signed-off-by: Martin Fuzzey
Signed-off-by: Greg Kroah-Hartman -
This patch just adds the script available at
http://www.linux-usb.org/usbtest/test.sh as is.Signed-off-by: Martin Fuzzey
Signed-off-by: Greg Kroah-Hartman
21 May, 2010
3 commits
-
The FunctionFS gadget may provide the source/sink interface
not as the first interface (with id == 0) but some different
interface hence a code to find the interface number is
required.(Note that you will still configure the gadget to report
idProduct == 0xa4a4 (an "echo 0xa4a4
>/sys/module/g_ffs/parameters/usb_product" should suffice) or
configure host to handle 0x0525:0xa4ac devices using the
usbtest driver.)Signed-off-by: Michal Nazarewicz
Cc: Kyungmin Park
Cc: Marek Szyprowski
Signed-off-by: Greg Kroah-Hartman -
The testusb program just issues ioctls to perform the tests
implemented by the kernel driver. It can generate a variety
of transfer patterns; you should make sure to test both regular
streaming and mixes of transfer sizes (including short transfers).For more information on how this can be used and on USB testing
refer to .Signed-off-by: Michal Nazarewicz
Cc: Kyungmin Park
Cc: Marek Szyprowski
Signed-off-by: Greg Kroah-Hartman -
This adds an example user-space FunctionFS driver which
implements a source/sink interface used for testing.Signed-off-by: Michal Nazarewicz
Cc: Kyungmin Park
Cc: Marek Szyprowski
Signed-off-by: Greg Kroah-Hartman