Re: [PATCH] powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

2014-07-13 Thread Nick Krause
On Mon, Jul 7, 2014 at 11:10 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Mon, 2014-07-07 at 20:03 -0700, Guenter Roeck wrote: ping ... Ben, I know this is not perfect, but on the other side it is simple and would be easy to backport. With this in place, a complete/clean fix

Re: [PATCH] Check for Null return of function of affs_bread in function affs_truncate

2014-07-13 Thread Nick Krause
On Fri, Jul 11, 2014 at 11:05 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Sat, Jun 21, 2014 at 01:59:15AM +0200, Thomas Gleixner wrote: On Fri, 20 Jun 2014, Nick Krause wrote: Ok that's fine I would return as if it's a NULL the other parts of the function can't continue. Nick

Ping: Re: [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread Oren Twaig
ping On 07/06/2014 09:33 AM, Oren Twaig wrote: Hi, Quick question: As I'm new at this (submitting patches), what is a reasonable time to wait before ping-ing a patch ? Oren. On 06/29/2014 01:01 PM, Oren Twaig wrote: When a vSMP Foundation box is detected, the function apic_cluster_num()

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-13 Thread Jean Delvare
Hi Guenter, On Sat, 12 Jul 2014 08:05:49 -0700, Guenter Roeck wrote: Any idea how we could inject errors ? Error path testing would be quite useful. Good idea. This should probably be done with a sysfs attribute so that it can be turned on and off as desired. Off by default, of course. Some

[PATCH v4 4/4] Add support for Compact (Bluetooth|USB) keyboard with Trackpoint

2014-07-13 Thread Jamie Lentin
Signed-off-by: Jamie Lentin j...@lentin.co.uk --- Documentation/ABI/testing/sysfs-driver-hid-lenovo | 12 ++ drivers/hid/Kconfig | 2 + drivers/hid/hid-core.c| 2 + drivers/hid/hid-ids.h | 2 +

[PATCH v4 2/4] Make all base functions switch depending on product ID

2014-07-13 Thread Jamie Lentin
Signed-off-by: Jamie Lentin j...@lentin.co.uk --- drivers/hid/hid-lenovo.c | 45 ++--- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c index 0320b96..d11e337 100644 ---

[PATCH v4 3/4] Style fixes

2014-07-13 Thread Jamie Lentin
Signed-off-by: Jamie Lentin j...@lentin.co.uk --- drivers/hid/hid-lenovo.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-lenovo.c b/drivers/hid/hid-lenovo.c index d11e337..a1a693c 100644 --- a/drivers/hid/hid-lenovo.c +++ b/drivers/hid/hid-lenovo.c @@

[PATCH v4 1/4] Rename hid-lenovo-tpkbd to hid-lenovo

2014-07-13 Thread Jamie Lentin
Rename module and all functions within so we can add support for other keyboards in the same file. Rename the _tp postfix to _tpkbd, to signify functions relevant to the TP USB keyboard. Signed-off-by: Jamie Lentin j...@lentin.co.uk --- ...er-hid-lenovo-tpkbd = sysfs-driver-hid-lenovo} | 0

[PATCH v4 0/4] Add support for Lenovo Compact Keyboard

2014-07-13 Thread Jamie Lentin
This patchset follows on from my previous attempts to add support for these keyboards from Lenovo. Changes since v3: https://lkml.org/lkml/2014/6/15/159 * Break up first patch [Antonio Ospite] * Rename ABI docs too [Jiri Kosina] * Spelling and Grammar, style fixes [Antonio Ospite] * Driver should

[PATCH] add quirks for 0x4d9:0xa096 hid device

2014-07-13 Thread microcai
From: microcai microcai...@gmail.com I am using a USB keyborad that give me usb_submit_urb(ctrl) failed: -1 error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyborad is usable right after plugin --- drivers/hid/hid-ids.h |

[PATCH v2] add quirks for 0x4d9:0xa096 hid device

2014-07-13 Thread microcai
Resend the patch, because I miss spell the keyborad as mouse -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH] add quirks for 0x04d9:0xa096 hid keyborad device

2014-07-13 Thread microcai
From: microcai microcai...@gmail.com I am using a USB keyborad that give me usb_submit_urb(ctrl) failed: -1 error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyborad is usable right after plugin --- drivers/hid/hid-ids.h |

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Stefan Richter
On Jul 13 Chen Gang wrote: Several sub-modules of 'firewire' need HAS_DMA, so let them depend on it. FIREWIRE_NET and FIREWIRE_OHCI use 'core-iso.c' which also needs HAS_DMA, so need 'ifdef' the related function by CONFIG_HAS_DMA in 'core-iso.c'. The related error (with allmodconfig under

[git pull] m68k updates for 3.16 (take 2)

2014-07-13 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit cd3de83f147601356395b57a8673e9c5ff1e59d1: Linux 3.16-rc4 (2014-07-06 12:37:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

Re: [PATCH] staging: iio: adc: ad7192: fix coding style

2014-07-13 Thread Jonathan Cameron
On 12/07/14 20:16, Marcus Folkesson wrote: Line over 80 characters. This is for Eudyptula Challenge. Signed-off-by: Marcus Folkesson marcus.folkes...@gmail.com Sorry Marcus, There is a level of trivial cleanup below which it's not worth taking patches. The 80 character limit is not a hard and

Re: [PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

2014-07-13 Thread Nicolas Pitre
On Tue, 8 Jul 2014, beh...@converseincode.com wrote: From: Behan Webster beh...@converseincode.com The LLVMLinux project aims to fully build the Linux kernel using both gcc and clang (the C front end for the LLVM compiler infrastructure project). Clang only supports global named

Re: Ping: Re: [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 08:51, schrieb Oren Twaig: ping On 07/06/2014 09:33 AM, Oren Twaig wrote: Hi, Quick question: As I'm new at this (submitting patches), what is a reasonable time to wait before ping-ing a patch ? Oren. AFACT Peter is still crawling through his mail backlog to catch up.

Re: [patch 40/55] iio: Use ktime_get_real_ns()

2014-07-13 Thread Jonathan Cameron
On 11/07/14 14:44, Thomas Gleixner wrote: No idea why iio needs wall clock based time stamps, but we can avoid the timespec conversion dance by using the new interfaces. Signed-off-by: Thomas Gleixnert...@linutronix.de Cc: Jonathan Cameronji...@kernel.org Acked-by: Jonathan Cameron

Re: Ping: Re: [PATCH v2] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread Oren Twaig
I see - Thanks for the quick respond. Oren. On 07/13/2014 12:10 PM, Richard Weinberger wrote: Am 13.07.2014 08:51, schrieb Oren Twaig: ping On 07/06/2014 09:33 AM, Oren Twaig wrote: Hi, Quick question: As I'm new at this (submitting patches), what is a reasonable time to wait before

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Lennox Wu
As I said before, some configurations don't make sense. I don't think all of the patches are necessary. Best, Lennox 2014-07-13 11:45 GMT+08:00 Marek Vasut ma...@denx.de: On Sunday, July 13, 2014 at 05:07:10 AM, Chen Gang wrote: Several drivers need 'devm_ioremap_resource' which need HAS_IOMEM

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Sam Ravnborg
Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: This patch adds option for collecting stack usage statistics via gcc option '-fstack-usage' (needs gcc 4.6 or newer). For each .o file gcc dumps stack-frame sizes into .su file. File format:

Re: [git pull] m68k updates for 3.16 (take 2)

2014-07-13 Thread Christoph Hellwig
On Sun, Jul 13, 2014 at 11:08:07AM +0200, Geert Uytterhoeven wrote: m68k: Fix boot regression on machines with RAM at non-zero m68k: Export mach_random_get_entropy to modules What modular user of random_get_entropy is this for? Can't find one in the current tree, and I don't really

Re: [PATCH 00/83] AMD HSA kernel driver

2014-07-13 Thread Daniel Vetter
On Sat, Jul 12, 2014 at 6:49 PM, Jerome Glisse j.gli...@gmail.com wrote: Hm, so the hsa part is a completely new driver/subsystem, not just an additional ioctl tacked onto radoen? The history of drm is littered with generic ioctls that turned out to be useful for exactly one driver. Which is

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Will Deacon
On Sat, Jul 12, 2014 at 01:57:31PM +0100, Rob Clark wrote: On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 12 July 2014, Rob Clark wrote: Was there actually a good reason for having the device link to the iommu rather than the other way around? How much

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 11:27, schrieb Lennox Wu: As I said before, some configurations don't make sense. If such a configuration can be achieved using allmod/yesconfig it has to be fixed. Chen's fixes seem reasonable as not all architectures support iomem. Thanks, //richard -- To unsubscribe from this

Re: [PATCH V3 0/7] Drivers: scsi: storvsc: Bug fixes and improvements

2014-07-13 Thread Christoph Hellwig
The series looks good to me, although I'll probably put the commit message for the timer patch into the comment for the eh_timed_out handler. Can I get another set of reviews? I've seen Olaf has put them into the SLES tree, so I'd expect he's done a review already? -- To unsubscribe from this

Re: [PATCH v2 2/2] arch/x86/xen: Silence compiler warnings

2014-07-13 Thread Konrad Rzeszutek Wilk
On July 12, 2014 5:09:48 PM EDT, Daniel Kiper daniel.ki...@oracle.com wrote: Compiler complains in the following way when x86 32-bit kernel with Xen support is build: CC arch/x86/xen/enlighten.o arch/x86/xen/enlighten.c: In function ‘xen_start_kernel’: arch/x86/xen/enlighten.c:1726:3:

Re: [PATCH v2 1/2] xen: Silence compiler warnings

2014-07-13 Thread Konrad Rzeszutek Wilk
On July 12, 2014 5:09:47 PM EDT, Daniel Kiper daniel.ki...@oracle.com wrote: Add inline keyword to silence the following compiler warnings if xen_efi_probe() is not used: CC arch/x86/xen/setup.o In file included from arch/x86/xen/xen-ops.h:7:0, from

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Chen Gang
On 07/13/2014 05:45 PM, Richard Weinberger wrote: Am 13.07.2014 11:27, schrieb Lennox Wu: As I said before, some configurations don't make sense. If such a configuration can be achieved using allmod/yesconfig it has to be fixed. Chen's fixes seem reasonable as not all architectures support

[PATCHv1 0/2] Documentation: move and update headers_install.txt

2014-07-13 Thread Yann Droneaud
On Wed, Jul 09, 2014 at 22:49 +0200, Sam Ravnborg wrote: On Thu, Jul 03, 2014 at 11:12:20PM +0200, Michal Marek wrote: I have never noticed this file :). How about moving it to Documentation/kbuild? Agree - please get this file moved. Please find a patchset to move and update

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Chen Gang
On 07/13/2014 04:42 PM, Stefan Richter wrote: On Jul 13 Chen Gang wrote: config FIREWIRE_OHCI tristate OHCI-1394 controllers -depends on PCI FIREWIRE MMU +depends on PCI FIREWIRE MMU HAS_DMA help Enable this driver if you have a FireWire controller based

[PATCHv1 1/2] Documentation: headers_install.txt is part of kbuild

2014-07-13 Thread Yann Droneaud
'headers_install.txt' from Documentation/make/ is related to Kbuild so it must be moved in Documentation/kbuild/ directory. As Documentation/make/ directory has only one file, it will be removed as a consequence of moving 'headers_install.txt'. Cc: Kirill A. Shutemov kir...@shutemov.name Cc:

[PATCHv1 2/2] Documentation/kbuild/headers_install.txt: update documentation

2014-07-13 Thread Yann Droneaud
Documentation in kbuild/headers_install.txt is not up to date regarding: - way to list the various architectures; - path where the headers are installed. This patch try to fix these issues. Cc: Kirill A. Shutemov kir...@shutemov.name Cc: Michal Marek mma...@suse.cz Cc: David Woodhouse

Re: [PATCH v2] lib/Kconfig.debug: introduce CONFIG_CC_STACK_USAGE

2014-07-13 Thread Konstantin Khlebnikov
On Sun, Jul 13, 2014 at 1:31 PM, Sam Ravnborg s...@ravnborg.org wrote: Hi Konstantin. On Sun, Jul 13, 2014 at 12:24:50AM +0400, Konstantin Khlebnikov wrote: This patch adds option for collecting stack usage statistics via gcc option '-fstack-usage' (needs gcc 4.6 or newer). For each .o file

Re: [PATCH 1/1] fs/exofs/ore_raid.c: replace count*size kzalloc by kcalloc

2014-07-13 Thread Boaz Harrosh
On 06/25/2014 09:14 PM, Fabian Frederick wrote: kcalloc manages count*sizeof overflow. Cc: Boaz Harrosh bharr...@panasas.com ACK-by: Boaz Harrosh bharr...@panasas.com Do you need that I submit this through my tree? Thanks Boaz Cc: osd-...@open-osd.org Cc: Andrew Morton

Re: [RFC/PATCH -next 00/21] Address sanitizer for kernel (kasan) - dynamic memory error detector.

2014-07-13 Thread Andrey Ryabinin
2014-07-12 4:59 GMT+04:00 H. Peter Anvin h...@zytor.com: On 07/09/2014 04:00 AM, Andrey Ryabinin wrote: Address sanitizer dedicates 1/8 of the low memory to the shadow memory and uses direct mapping with a scale and offset to translate a memory address to its corresponding shadow address.

[PATCH] ARM: avoid ARM binutils leaking ELF local symbols

2014-07-13 Thread Russell King
Symbols starting with .L are ELF local symbols and should not appear in ELF symbol tables. However, unfortunately ARM binutils leaks the .LANCHOR symbols into the symbol table, which leads kallsyms to report these symbols rather than the real name. It is not very useful when %pf reports symbols

[PATCH v4 2/2] dt-bindings: document Rockchip saradc

2014-07-13 Thread Heiko Stübner
This add the necessary binding documentation for the saradc found in all recent processors from Rockchip. Signed-off-by: Heiko Stuebner he...@sntech.de --- changes since v1: - fix typos found by Hartmut Knaack .../bindings/iio/adc/rockchip-saradc.txt | 28 ++ 1

[PATCH v4 1/2] iio: adc: add driver for Rockchip saradc

2014-07-13 Thread Heiko Stübner
The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Signed-off-by: Heiko Stuebner he...@sntech.de --- changes since v3: - address

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Rob Clark
On Sun, Jul 13, 2014 at 5:43 AM, Will Deacon will.dea...@arm.com wrote: On Sat, Jul 12, 2014 at 01:57:31PM +0100, Rob Clark wrote: On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 12 July 2014, Rob Clark wrote: Was there actually a good reason for having the

[PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM

2014-07-13 Thread Chen Gang
MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: devm_ioremap_resource [drivers/staging/iio/adc/mxs-lradc.ko] undefined! Signed-off-by: Chen Gang gang.chen.5...@gmail.com ---

Re: [PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

2014-07-13 Thread Christoph Hellwig
On Fri, Jul 11, 2014 at 01:25:10PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com These data structures are accessed by different CPUs and have some fields which are mostly read only and others which are frequently written. Separate some common ones into separate cache line

Re: [PATCH] vfs: call rename2 if exists

2014-07-13 Thread Christoph Hellwig
On Tue, May 20, 2014 at 11:22:47AM +0200, Miklos Szeredi wrote: Linus, Please consider applying this patch to 3.15, so we can move forward with adding RENAME_NOREPLACE support to filesystems during the next cycle. Looks like this didn't go anywhere. Al, can you at least pick this for

[PATCH] drivers/pwm/Kconfig: Let PWM_CLPS711X depend on HAS_IOMEM

2014-07-13 Thread Chen Gang
PWM_CLPS711X needs HAS_IOMEM, so let it depend on HAS_IOMEM. The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: devm_ioremap_resource [drivers/pwm/pwm-clps711x.ko] undefined! Signed-off-by: Chen Gang gang.chen.5...@gmail.com --- drivers/pwm/Kconfig | 2 +- 1

Re: [PATCH] fs/direct-io.c: Fix compilation warning for uninitialized variables

2014-07-13 Thread Christoph Hellwig
Looks good to me, Reviewed-by: Christoph Hellwig h...@lst.de Al, can you pick this up? It's the only warnings in many of my usual kernel builds at the moment. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH] drivers/watchdog/Kconfig: Let XILINX_WATCHDOG and TEGRA_WATCHDOG depend on HAS_IOMEM

2014-07-13 Thread Chen Gang
XILINX_WATCHDOG and TEGRA_WATCHDOG need HAS_IOMEM, so let them depend on HAS_IOMEM. The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: devm_ioremap_resource [drivers/watchdog/tegra_wdt.ko] undefined! ERROR: devm_ioremap_resource

[PATCH] drivers/input/serio/Kconfig: Let SERIO_ARC_PS2 and SERIO_OLPC_APSP depend on HAS_IOMEM

2014-07-13 Thread Chen Gang
SERIO_ARC_PS2 and SERIO_OLPC_APSP need HAS_IOMEM, so let them depend on HAS_IOMEM. The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: devm_ioremap_resource [drivers/input/serio/olpc_apsp.ko] undefined! ERROR: devm_ioremap_resource

Re: [PATCH v3 1/2] iio: adc: add driver for Rockchip saradc

2014-07-13 Thread Hartmut Knaack
Heiko Stübner schrieb: The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital codes. Is there a datasheet available anywhere, or just under

[PATCH] ARM: dts: rk3188-radxarock: add GPIO IR receiver node

2014-07-13 Thread Beniamino Galvani
This adds a device tree node for the infrared receiver connected to a GPIO pin on the Radxa Rock. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 13 + 1 file changed, 13 insertions(+) diff --git

Re: bit fields data tearing

2014-07-13 Thread Oleg Nesterov
On 07/13, Benjamin Herrenschmidt wrote: On Sat, 2014-07-12 at 22:51 +0200, Oleg Nesterov wrote: OK, looks like this is compiler bug, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52080 Thanks to Dan who informed me privately. So yes, there's is this compiler bug which means a bitfield

Re: [PATCH v3 1/2] iio: adc: add driver for Rockchip saradc

2014-07-13 Thread Heiko Stübner
Am Sonntag, 13. Juli 2014, 14:09:48 schrieb Hartmut Knaack: Heiko Stübner schrieb: The ADC is a 3-channel signal-ended 10-bit Successive Approximation Register (SAR) A/D Converter. It uses the supply and ground as its reference and converts the analog input signal into 10-bit binary digital

Re: [PATCH] ARM: dts: rk3188-radxarock: add GPIO IR receiver node

2014-07-13 Thread Heiko Stübner
Am Sonntag, 13. Juli 2014, 14:10:01 schrieb Beniamino Galvani: This adds a device tree node for the infrared receiver connected to a GPIO pin on the Radxa Rock. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 13 + 1 file

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-13 Thread Martin K. Petersen
KY == KY Srinivasan k...@microsoft.com writes: KY Windows hosts do support UNMAP and set the field in the KY EVPD. However, since the host advertises SPC-2 compliance, Linux KY does not even query the VPD page. If we want to enable UNMAP in this case I'd prefer a blacklist entry than trying

[PATCH] NoMoreModuleVmalloc - Try alloc_pages_exact before vmalloc, if fails do vmalloc

2014-07-13 Thread Lucas Tanure
Convert vmalloc() call to alloc_pages_exact(). If alloc_pages_exact() fails, then fall back to vmalloc(). If the address is a vmalloc address, then call vfree(), otherwise call free_pages_exact(). Signed-off-by: Lucas Tanure tan...@linux.com --- kernel/module.c | 16 1 file

Re: bit fields data tearing

2014-07-13 Thread Peter Hurley
On 07/12/2014 07:34 PM, Benjamin Herrenschmidt wrote: On Sat, 2014-07-12 at 22:51 +0200, Oleg Nesterov wrote: OK, looks like this is compiler bug, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52080 Thanks to Dan who informed me privately. So yes, there's is this compiler bug which means a

Re: [PATCH] block: provide compat ioctl for BLKZEROOUT

2014-07-13 Thread Martin K. Petersen
Mikulas == Mikulas Patocka mpato...@redhat.com writes: Mikulas This patch provides the compat BLKZEROOUT ioctl. The argument Mikulas is a pointer to two uint64_t values, so there is no need to Mikulas translate it. Acked-by: Martin K. Petersen martin.peter...@oracle.com -- Martin K. Petersen

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Lars-Peter Clausen
On 07/13/2014 11:45 AM, Richard Weinberger wrote: Am 13.07.2014 11:27, schrieb Lennox Wu: As I said before, some configurations don't make sense. If such a configuration can be achieved using allmod/yesconfig it has to be fixed. Chen's fixes seem reasonable as not all architectures support

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 15:26, schrieb Lars-Peter Clausen: On 07/13/2014 11:45 AM, Richard Weinberger wrote: Am 13.07.2014 11:27, schrieb Lennox Wu: As I said before, some configurations don't make sense. If such a configuration can be achieved using allmod/yesconfig it has to be fixed. Chen's fixes

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Lars-Peter Clausen
On 07/13/2014 03:40 PM, Richard Weinberger wrote: Am 13.07.2014 15:26, schrieb Lars-Peter Clausen: On 07/13/2014 11:45 AM, Richard Weinberger wrote: Am 13.07.2014 11:27, schrieb Lennox Wu: As I said before, some configurations don't make sense. If such a configuration can be achieved using

Re: [PATCH] drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM

2014-07-13 Thread Marek Vasut
On Sunday, July 13, 2014 at 01:44:38 PM, Chen Gang wrote: MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: devm_ioremap_resource [drivers/staging/iio/adc/mxs-lradc.ko] undefined!

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 15:56, schrieb Lars-Peter Clausen: On 07/13/2014 03:40 PM, Richard Weinberger wrote: Am 13.07.2014 15:26, schrieb Lars-Peter Clausen: On 07/13/2014 11:45 AM, Richard Weinberger wrote: Am 13.07.2014 11:27, schrieb Lennox Wu: As I said before, some configurations don't make sense.

Re: [patch 0/2] clk: spear3xx: Make it actually work

2014-07-13 Thread Mike Turquette
Quoting Thomas Gleixner (2014-06-19 14:52:23) This code is broken since commit 5df33a62c (SPEAr: Switch to common clock framework). Sigh... The first patch fixes that issue and the second one makes the uarts1/2 usable. Applied to clk-fixes. Regards, Mike Quality stuff that. Thanks,

[PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Kernel coding style. Remove useless else statement after return. Signed-off-by: Lucas Tanure tan...@linux.com --- drivers/staging/android/binder.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/staging/android/binder.c

[GIT PULL] parisc updates for v3.16

2014-07-13 Thread Helge Deller
Hi Linus, please pull the latest parisc architecture fixes for kernel 3.16 from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.16-5 The major patch in here is one which fixes the fanotify_mark() syscall in the compat layer of the 64bit parisc kernel. It went

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Lars-Peter Clausen
On 07/13/2014 04:03 PM, Richard Weinberger wrote: Am 13.07.2014 15:56, schrieb Lars-Peter Clausen: On 07/13/2014 03:40 PM, Richard Weinberger wrote: Am 13.07.2014 15:26, schrieb Lars-Peter Clausen: On 07/13/2014 11:45 AM, Richard Weinberger wrote: Am 13.07.2014 11:27, schrieb Lennox Wu: As

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Chen Gang
On 07/13/2014 11:14 AM, Chen Gang wrote: [...] And also find a compiler issue, I will try to fix it, but shall not notify kernel mailing list, again. The related issue is below (it seems a kernel issue, but in fact, it is a compiler's issue): CC [M]

[PATCH 03/16] staging: rtl8188eu: Remove unused function rtw_set_scan_mode()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 17 - drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |1 - 2 files changed, 18 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

[PATCH 02/16] staging: rtl8188eu: Remove function rtw_set_channel_plan()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 15 +-- drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |1 - 2 files changed, 1 insertion(+), 15 deletions(-) diff --git

[PATCH 01/16] staging: rtl8188eu: Remove unused function rtw_use_tkipkey_handler()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_security.c| 25 -- drivers/staging/rtl8188eu/include/rtw_security.h |1 - 2 files changed, 26 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c

[PATCH 10/16] staging: rtl8188eu: Rename _rtw_free_network_queue() to rtw_free_network_queue()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c|8 +--- drivers/staging/rtl8188eu/include/rtw_mlme.h |2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 08/16] staging: rtl8188eu: Remove unused function _rtw_IOL_append_WW_cmd()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_iol.c| 14 -- drivers/staging/rtl8188eu/include/rtw_iol.h |2 -- 2 files changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_iol.c

[PATCH 06/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_remove_key()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 38 - drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |2 -- 2 files changed, 40 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

[PATCH 11/16] staging: rtl8188eu: Rename _rtw_find_network() to rtw_find_network()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 14 +- drivers/staging/rtl8188eu/include/rtw_mlme.h |5 - 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 04/16] staging: rtl8188eu: Remove unused function rtw_validate_ssid()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 26 - drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |1 - 2 files changed, 27 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

[PATCH 05/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_add_key()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 352 - drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |1 - 2 files changed, 353 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

[PATCH 07/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_remove_wep()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 25 - drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |1 - 2 files changed, 26 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

Re: [PATCH v4] mmap_vmcore: skip non-ram pages reported by hypervisors

2014-07-13 Thread Hatayama, Daisuke/畑山 大輔
Sorry for delayed responce... (2014/07/11 17:49), Vitaly Kuznetsov wrote: We have a special check in read_vmcore() handler to check if the page was reported as ram or not by the hypervisor (pfn_is_ram()). However, when vmcore is read with mmap() no such check is performed. That can lead to

[PATCH 12/16] staging: rtl8188eu: Make _rtw_free_network() static

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c|2 +- drivers/staging/rtl8188eu/include/rtw_mlme.h |3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 13/16] staging: rtl8188eu: Remove unused function _rtw_dequeue_network()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 19 --- drivers/staging/rtl8188eu/include/rtw_mlme.h |2 -- 2 files changed, 21 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 15/16] staging: rtl8188eu: Rename _rtw_free_mlme_priv() to rtw_free_mlme_priv()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c|8 +--- drivers/staging/rtl8188eu/include/rtw_mlme.h |2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 14/16] staging: rtl8188eu: Remove unused function _rtw_enqueue_network()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 15 --- drivers/staging/rtl8188eu/include/rtw_mlme.h |2 -- 2 files changed, 17 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 16/16] staging: rtl8188eu: Rename _rtw_init_mlme_priv() to rtw_init_mlme_priv()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c|9 + drivers/staging/rtl8188eu/include/rtw_mlme.h |3 --- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH 09/16] staging: rtl8188eu: Remove unused function rtw_get_timestampe_from_ie()

2014-07-13 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme.c|5 - drivers/staging/rtl8188eu/include/rtw_mlme.h |1 - 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c

[PATCH] drivers: staging: lustre: Use 'force_die' instead of 'die' to avoid compiling issue

2014-07-13 Thread Chen Gang
Some of architectures have already defined 'die' as macro, so can not use this common name as declaration in other modules, or will cause compiling issue. So use more precise name 'force_die' (like 'wrap_bulk') instead of. The related error (with allmodconfig under score): CC [M]

Re: [RESEND][PATCH 01/10][SCSI]mpt2sas: Added driver module parameter max_msix_vectors

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Added driver module parameter max_msix_vectors. Using this Sreekanth module parameter the maximum number of MSI-X vectors could be Sreekanth set. Sreekanth The number of MSI-X vectors used would be the minimum of

[RESEND PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Kernel coding style. Remove useless else statement after return. Signed-off-by: Lucas Tanure tan...@linux.com --- drivers/staging/android/binder.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/staging/android/binder.c

Re: [RESEND][PATCH 01/10][SCSI]mpt2sas: Added driver module parameter max_msix_vectors

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Added driver module parameter max_msix_vectors. Using this Sreekanth module parameter the maximum number of MSI-X vectors could be Sreekanth set. Sreekanth The number of MSI-X vectors used would be the minimum of

Re: [RESEND][PATCH 02/10][SCSI]mpt2sas: MPI2 Rev Y (2.00.17) and Rev Z (2.00.18) specifications

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Below is the change set in MPI2 Rev Y specification and in Sreekanth 2.00.17 header files Sreekanth 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. Sreekanth 2) Added ATA Security Freeze Lock to IO Unit

Re: [RESEND][PATCH 03/10][SCSI]mpt2sas: Copyright in driver sources is updated for year the 2014

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Copyright in driver sources is updated for year the 2014. Reviewed-by: Martin K. Petersen martin.peter...@oracle.com -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the

[PATCH 1/2] arm: Remove RISC OS personality

2014-07-13 Thread Richard Weinberger
The RISC OS personality seems to be unused and untested for a long time. Let's rip it out. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/arm/Kconfig | 12 - arch/arm/configs/badge4_defconfig | 1 - arch/arm/kernel/Makefile | 1 -

[RFC] Remove remaining users of exec domains

2014-07-13 Thread Richard Weinberger
These two patches remove the last two in-tree users of exec domains. Both seem to be abandoned and historical. Russel, Tony, are you fine with that? The plan is to get rid of exec domains at all. IOW no more register_exec_domain, no signal translation. I have a follow up series for that already

[PATCH 2/2] ia64: Remove Linux/x86 domain support

2014-07-13 Thread Richard Weinberger
ia64 exec domain support seems to be incomplete and unused. It has no custom handler nor a custom signal map. All it does is showing up in /proc/execdomains. Let's rip it out. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/ia64/mm/init.c | 25 - 1 file changed,

Re: [RESEND][PATCH 04/10][SCSI]mpt2sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Added code to send a SEP message that turns off the Sreekanth Predictive Failure LED when a drive is removed (if Predictive Sreekanth Failure LED was turned on). Sreekanth Added a new flag 'pfa_led_on' per device that

Re: [RESEND][PATCH 05/10][SCSI]mpt2sas: Bump mpt2sas driver version to 17.100.00.00

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: Sreekanth Bump mpt2sas driver version to 17.100.00.00. Reviewed-by: Martin K. Petersen martin.peter...@oracle.com -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-13 Thread Chen Gang
On 07/13/2014 10:25 PM, Lars-Peter Clausen wrote: On 07/13/2014 04:03 PM, Richard Weinberger wrote: Am 13.07.2014 15:56, schrieb Lars-Peter Clausen: On 07/13/2014 03:40 PM, Richard Weinberger wrote: Am 13.07.2014 15:26, schrieb Lars-Peter Clausen: On 07/13/2014 11:45 AM, Richard Weinberger

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-13 Thread Guenter Roeck
On 07/13/2014 12:21 AM, Jean Delvare wrote: Hi Guenter, On Sat, 12 Jul 2014 08:05:49 -0700, Guenter Roeck wrote: Any idea how we could inject errors ? Error path testing would be quite useful. Good idea. This should probably be done with a sysfs attribute so that it can be turned on and off

Re: [PATCH v2] i2c: stub: Add support for SMBus block commands

2014-07-13 Thread Jean Delvare
On Sun, 13 Jul 2014 08:04:54 -0700, Guenter Roeck wrote: On 07/13/2014 12:21 AM, Jean Delvare wrote: Hi Guenter, On Sat, 12 Jul 2014 08:05:49 -0700, Guenter Roeck wrote: Any idea how we could inject errors ? Error path testing would be quite useful. Good idea. This should probably

Re: [RESEND][PATCH 06/10][SCSI]mpt2sas: For 2TB volumes, DirectDrive support sends IO's with LBA bit 31 to IR FW instead of DirectDrive

2014-07-13 Thread Martin K. Petersen
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes: diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6ae109b..4a0728a 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c @@ -3865,7 +3865,8 @@

Re: [PATCH 1/1] rcutorture: use bash shell for all the test scripts

2014-07-13 Thread Paul E. McKenney
On Fri, Jul 11, 2014 at 05:31:27PM -0400, Pranith Kumar wrote: Some of the scripts encode a default /bin/sh shell. On systems which use dash as default shell, these scripts fail as they are bash scripts. I encountered this while testing the sprintf() changes on a Debian system where dash is

[PATCH] workqueue: remove the del_timer_sync()s in maybe_create_worker()

2014-07-13 Thread Lai Jiangshan
It is said in the document that the timer which is being deleted by del_timer_sync() should not be restarted: Synchronization rules: Callers must prevent restarting of the timer, otherwise this function is meaningless. Repeating timer may cause the del_timer_sync() spin longer, or even spin

  1   2   3   4   5   6   >