[PATCH v4 5/7] watchdog: moxart: Register restart handler with restart notifier

2014-07-13 Thread Guenter Roeck
The kernel now provides an API to trigger a system restart. Register with it instead of setting arm_pm_restart. Signed-off-by: Guenter Roeck li...@roeck-us.net --- v4: Set notifier priority to 128. v3: Move struct notifier_block into struct moxart_wdt_dev. Drop static variable previously

[PATCH v4 2/7] arm64: Support restart through restart notifier call chain

2014-07-13 Thread Guenter Roeck
The kernel core now supports a notifier call chain to restart the system. Call it if arm_pm_restart is not set. Signed-off-by: Guenter Roeck li...@roeck-us.net --- v4: No change. v3: Use wrapper function to execute notifier call chain. v2: Only call notifier call chain if arm_pm_restart is not

[PATCH v4 6/7] watchdog: alim7101: Register restart handler with restart notifier

2014-07-13 Thread Guenter Roeck
The kernel core now provides an API to trigger a system restart. Register with it to restart the system instead of misusing the reboot notifier. Signed-off-by: Guenter Roeck li...@roeck-us.net --- v4: Set restart notifier priority to 128. v3: No change v2: No change

[PATCH v4 0/7] kernel: Add support for restart notifier call chain

2014-07-13 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been implemented to support those schemes. The best known mechanism is arm_pm_restart, which is a function pointer to be set either from platform specific code or from

[PATCH v4 1/7] kernel: Add support for restart notifier call chain

2014-07-13 Thread Guenter Roeck
Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been implemented to support those schemes. The best known mechanism is arm_pm_restart, which is a function pointer to be set either from platform specific code or from

Re: [PATCH 1/1] rcutorture: set executable bit and drop bash from Usage

2014-07-13 Thread Paul E. McKenney
On Fri, Jul 11, 2014 at 07:47:35PM -0400, Pranith Kumar wrote: This patch is on top of the previous changes. Set the executable bit on test scripts config2frag.sh and kvm.sh Since #!/bin/bash is set in all the scripts, drop it from the usage line as the scripts can be invoked directly.

[PATCH v4 3/7] arm: Support restart through restart notifier call chain

2014-07-13 Thread Guenter Roeck
The kernel core now supports a notifier call chain for system restart functions. With this change, the arm_pm_restart callback is now optional, so check if it is set before calling it. Only call the notifier functions if arm_pm_restart is not set. Signed-off-by: Guenter Roeck li...@roeck-us.net

[PATCH v4 4/7] power/restart: Call machine_restart instead of arm_pm_restart

2014-07-13 Thread Guenter Roeck
machine_restart is supported on non-ARM platforms, and and ultimately calls arm_pm_restart, so dont call arm_pm_restart directly but use the more generic function. Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Guenter Roeck li...@roeck-us.net --- v4: No change. v3: No change. v2: Added

[PATCH v4 7/7] arm/arm64: Unexport restart handlers

2014-07-13 Thread Guenter Roeck
Implementing a restart handler in a module don't make sense as there would be no guarantee that the module is loaded when a restart is needed. Unexport arm_pm_restart to ensure that no one gets the idea to do it anyway. Signed-off-by: Guenter Roeck li...@roeck-us.net --- v4: No change v3: No

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

2014-07-13 Thread Bridgman, John
-Original Message- From: Jerome Glisse [mailto:j.gli...@gmail.com] Sent: Saturday, July 12, 2014 11:56 PM To: Gabbay, Oded Cc: linux-kernel@vger.kernel.org; Bridgman, John; Deucher, Alexander; Lewycky, Andrew; j...@8bytes.org; a...@linux-foundation.org; dri- de...@lists.freedesktop.org;

[PATCH 1/2] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Based on latests staging-next. drivers/staging/vt6656/baseband.c | 28 1 file changed, 16 insertions(+), 12

[PATCH 2/2] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Based on latest staging-next. drivers/staging/vt6656/main_usb.c | 118 +- 1 file changed, 54

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

2014-07-13 Thread Guenter Roeck
On 07/13/2014 08:13 AM, Jean Delvare wrote: 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

Re: [PATCH] KVM: x86 emulator: emulate MOVNTDQ

2014-07-13 Thread Avi Kivity
On 07/11/2014 11:40 PM, Paolo Bonzini wrote: Il 11/07/2014 22:05, Alex Williamson ha scritto: Which will return 'true' for this whether I specify Aligned or not. If the standard convention is to make it explicit, I'm happy to add the extra flag, but I think we already #GP on unaligned as

[PATCH] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. Additionally this typedef was removed from card.h: typedef enum _CARD_PHY_TYPE { PHY_TYPE_AUTO = 0, PHY_TYPE_11B, PHY_TYPE_11G, PHY_TYPE_11A } CARD_PHY_TYPE, *PCARD_PHY_TYPE; Tested by compilation only.

Re: [RESEND PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 11:49:29AM -0300, Lucas Tanure wrote: 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

FROM PASTOR NOAH

2014-07-13 Thread Pastor Noah Cole
-- Hello Brethren, Kindly Contact me for more details,i am Pastor Noah Cole Atkinson.i have a very important message which concerns you.contact me on (noahcole...@yahoo.com)Thanks Yours Sincerely Pastor Noah Cole -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. This patch change the following enums: - typedef enum __device_msg_level - typedef enum __DEVICE_NDIS_STATUS Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Made against latest

[GIT PULL] clk: fixes for 3.16

2014-07-13 Thread Mike Turquette
The following changes since commit 4c834452aad01531db949414f94f817a86348d59: Linux 3.16-rc3 (2014-06-29 14:11:36 -0700) are available in the git repository at: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [RESEND PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
I missed on trailing whitespace in first patch. Didn't saw a ERROR: trailing whitespace in the first patch. Sorry, Thanks -- Lucas Tanure +55 (19) 988176559 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

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

2014-07-13 Thread Jerome Glisse
On Sun, Jul 13, 2014 at 11:42:58AM +0200, Daniel Vetter wrote: 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

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

2014-07-13 Thread H. Peter Anvin
Yes, although sometimes pings we useful to keep things from getting lost. Typically 1-2 weeks without response is a good reason to ping. *Don't repost*, just put a ping as a reply to the original 0/ patch, which in most threaded mail readers brings the thread back to the front. Sent from my

Re: [RESEND PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 01:38:45PM -0300, Lucas Tanure wrote: I missed on trailing whitespace in first patch. Didn't saw a ERROR: trailing whitespace in the first patch. Ok. Please, always say that this is a 'v2' patch, and what the difference is between this one, and the previous version,

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

2014-07-13 Thread Jerome Glisse
On Sun, Jul 13, 2014 at 03:34:12PM +, Bridgman, John wrote: From: Jerome Glisse [mailto:j.gli...@gmail.com] Sent: Saturday, July 12, 2014 11:56 PM To: Gabbay, Oded Cc: linux-kernel@vger.kernel.org; Bridgman, John; Deucher, Alexander; Lewycky, Andrew; j...@8bytes.org;

Re: [PATCH 1/1] doc: fix docbook generation

2014-07-13 Thread Randy Dunlap
On 07/12/14 13:01, Pranith Kumar wrote: kernel/timer.c and kernel/hrtimer.c have moved to kernel/time directory. This causes docbook generation to fail. The following commit fixes it by updating the references. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com Already fixed in the timers

Re: [PATCH 0/2] cpufreq: ondemand: Eliminate the deadband effect

2014-07-13 Thread Stratos Karafotis
Hi Doug, On 12/07/2014 06:45 μμ, Doug Smythies wrote: On 2014.07.30 10:00 Stratos Karafotis wrote: This patchset changes slightly the calculation of target frequency to eliminate the deadband effect (explained in patch 2 changelog) that it seems to slow down the CPU in low and medium

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 Elliott, Robert (Server Storage)
-Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Martin K. Petersen ... Also, this is not touched by the patch, but you're then doing: (*(__be32 *)(cdb_ptr[i])) = cpu_to_be32(p_lba); What if this is a

RE: scsi-mq V2

2014-07-13 Thread Elliott, Robert (Server Storage)
-Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Elliott, Robert (Server Storage) Sent: Saturday, July 12, 2014 6:20 PM To: Benjamin LaHaise Cc: Christoph Hellwig; Jeff Moyer; Jens Axboe; dgilb...@interlog.com; James

[PATCH] Input: ambakmi - Use managed interfaces

2014-07-13 Thread Himangi Saraogi
This patch introduces the use of managed interfaces like devm_clk_get, devm_kalloc etc. devm_ioremap_resource is used instead of amba_request_regions and devm_ioremap. It also does away with the functions to free the allocated memory in probe and remove functions. Also, some labels in the probe

Re: [PATCH] Input: ambakmi - Use managed interfaces

2014-07-13 Thread Russell King - ARM Linux
On Sun, Jul 13, 2014 at 11:00:51PM +0530, Himangi Saraogi wrote: @@ -23,6 +23,7 @@ #include linux/clk.h #include asm/io.h +#include linux/io.h NAK - please include either linux/io.h _or_ asm/io.h but not both. @@ -112,19 +113,10 @@ static int amba_kmi_probe(struct amba_device *dev, {

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

2014-07-13 Thread Henrique de Moraes Holschuh
On Sun, 13 Jul 2014, micro...@fedoraproject.org wrote: From: microcai microcai...@gmail.com Real name, please. Also, you need to add a signed-off-by line, refer to: Documentation/SubmittingPatches in the kernel source. by adding this quirks, the usb keyborad is usable right after plugin It

Re: [PATCH] Input: ambakmi - Use managed interfaces

2014-07-13 Thread Julia Lawall
On Sun, 13 Jul 2014, Russell King - ARM Linux wrote: On Sun, Jul 13, 2014 at 11:00:51PM +0530, Himangi Saraogi wrote: @@ -23,6 +23,7 @@ #include linux/clk.h #include asm/io.h +#include linux/io.h NAK - please include either linux/io.h _or_ asm/io.h but not both. @@ -112,19

[PATCH] timekeeping: export ktime_get_mono_fast_ns to GPL modules

2014-07-13 Thread Mathieu Desnoyers
Add this export to allow tracers built as GPL modules to use ktime_get_mono_fast_ns(). Signed-off-by: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: Thomas Gleixner t...@linutronix.de Cc: John Stultz john.stu...@linaro.org Cc: Peter Zijlstra pet...@infradead.org Cc: Steven Rostedt

Re: [PATCH v3 1/5] staging:iio:hmc5843: Added regmap support

2014-07-13 Thread Jonathan Cameron
On 08/07/14 14:38, Josef Gajdusek wrote: This patch changes hmc5843.c to use regmap. This provides transparent caching to the code as well as abstraction necessary to add support for SPI-based hmc5983. Signed-off-by: Josef Gajdusek a...@atx.name Applied to the togreg branch of iio.git.

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

2014-07-13 Thread Geert Uytterhoeven
Hi Christoph, On Sun, Jul 13, 2014 at 11:34 AM, Christoph Hellwig h...@infradead.org wrote: 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

Re: [PATCH] Input: ambakmi - Use managed interfaces

2014-07-13 Thread Russell King - ARM Linux
On Sun, Jul 13, 2014 at 08:11:29PM +0200, Julia Lawall wrote: On Sun, 13 Jul 2014, Russell King - ARM Linux wrote: On Sun, Jul 13, 2014 at 11:00:51PM +0530, Himangi Saraogi wrote: @@ -23,6 +23,7 @@ #include linux/clk.h #include asm/io.h +#include linux/io.h NAK -

Re: [PATCH] Input: ambakmi - Use managed interfaces

2014-07-13 Thread Julia Lawall
On Sun, 13 Jul 2014, Russell King - ARM Linux wrote: On Sun, Jul 13, 2014 at 08:11:29PM +0200, Julia Lawall wrote: On Sun, 13 Jul 2014, Russell King - ARM Linux wrote: On Sun, Jul 13, 2014 at 11:00:51PM +0530, Himangi Saraogi wrote: @@ -23,6 +23,7 @@ #include linux/clk.h

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

2014-07-13 Thread Sanford Rockowitz
Forgive me for jumping in. I'm a noob at I2C. But I have built a couple substantial error injection frameworks over the years, one for a mainframe DBMS and one for Java's checked exceptions. So while I have nothing useful to say about how to inject exceptions here, I have thought a lot

[GIT PULL] ARM: SoC fixes for 3.16-rc

2014-07-13 Thread Olof Johansson
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/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to

Re: [PATCH v3 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files

2014-07-13 Thread Jonathan Cameron
On 08/07/14 14:39, Josef Gajdusek wrote: This patch splits hmc5843.c to multiple files - the interface-agnostic hmc5843_core.c, i2c specific hmc5843_i2c.c and header file hmc5843.h. This is another step to add support of SPI-enabled hmc5983. Signed-off-by: Josef Gajdusek a...@atx.name

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. BTW, the v2 was sent because I had a mailer send-as-text issues which caused the patch not to be sent properly and you had some conflicts with it when merging. All should be good now with the v2. Thanks, Oren. On 7/13/2014 7:40 PM, H. Peter Anvin wrote: Yes, although sometimes

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

2014-07-13 Thread Jonathan Cameron
On 13/07/14 14:27, Marek Vasut wrote: 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

[PATCH 1/6] kbuild: add support for building userspace api programs

2014-07-13 Thread Sam Ravnborg
Add dedicated support for building the usersapce api sample programs that is located in samples/ The dedicated kbuild support allows us to use much simpler Makefile fragments while building the userspace programs for the same host as the kernel. The syntax looks like this: uapiprogs-y :=

[PATCH 5/6] samples: fix warnings in uhid-example

2014-07-13 Thread Sam Ravnborg
Fix following warnings seen when building using i686: uhid-example.c: In function ‘uhid_write’: uhid-example.c:168:4: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t’ [-Wformat=] uhid-example.c:168:4: warning: format ‘%lu’ expects argument of type ‘long

[PATCH 6/6] samples: use uapiprogs support for uhid

2014-07-13 Thread Sam Ravnborg
uhid was not included in the regular builds as it was not wired up in samples/Makefile. Fix build on sparc32 by defining __USE_GNU to get visibility to O_CLOEXEC. Signed-off-by: Sam Ravnborg s...@ravnborg.org Cc: David Herrmann dh.herrm...@gmail.com Cc: Jiri Kosina jkos...@suse.cz ---

[PATCH 4/6] samples: use uapiprogs support for hidraw

2014-07-13 Thread Sam Ravnborg
Reduce complexity of hidraw Makefile by introducing use of uapiprogs support. Build testet with i386 + sparc32. Signed-off-by: Sam Ravnborg s...@ravnborg.org Cc: David Herrmann dh.herrm...@googlemail.com Cc: Jiri Kosina jkos...@suse.cz --- samples/Makefile| 2 +-

[PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Sam Ravnborg
Use one line per module/program in Makefile. This style is easier to read/extend. Introduce inverse xmas style sorting. This may prevent some merge conflicts in the future Signed-off-by: Sam Ravnborg s...@ravnborg.org --- samples/Makefile | 15 +-- 1 file changed, 13 insertions(+),

[PATCH 3/6] samples: use uapiprogs support for seccomp

2014-07-13 Thread Sam Ravnborg
Reduce complexity of seccomp Makefile by introducing use of uapiprogs support. Build testet with i686 only. Signed-off-by: Sam Ravnborg s...@ravnborg.org --- samples/Makefile | 2 +- samples/seccomp/Makefile | 48 ++-- 2 files changed, 3

[GIT PULL rcu/next] RCU commits for 3.17

2014-07-13 Thread Paul E. McKenney
Hello, Ingo, The changes in this series include: 1. Update RCU documentation. These were posted to LKML at https://lkml.org/lkml/2014/7/7/650. 2. Miscellaneous fixes. These were posted to LKML at https://lkml.org/lkml/2014/7/7/678. 3. Maintainership changes.

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

2014-07-13 Thread KY Srinivasan
-Original Message- From: Martin K. Petersen [mailto:martin.peter...@oracle.com] Sent: Sunday, July 13, 2014 5:59 AM To: KY Srinivasan Cc: h...@infradead.org; James Bottomley; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; a...@canonical.com; sta...@vger.kernel.org;

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

2014-07-13 Thread KY Srinivasan
-Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Sunday, July 13, 2014 2:51 AM To: KY Srinivasan Cc: jasow...@redhat.com; a...@canonical.com; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; jbottom...@parallels.com;

Re: [PATCH 2/2] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Greg KH
On Sun, Jul 13, 2014 at 05:39:55PM +0200, Peter Senna Tschudin wrote: This patch cleanup coding style issues reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Based on latest staging-next. You just sent me 4 patches, all

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

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 10:50:55PM +0800, Chen Gang wrote: 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

Re: [RESEND PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 11:49:29AM -0300, Lucas Tanure wrote: 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

[PATCH V2 1/4] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Cahnges from V1: - Sent all patches in a series Made against latest staging-next. drivers/staging/vt6656/baseband.c | 28

[PATCH V2 3/4] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. Additionally this typedef was removed from card.h: typedef enum _CARD_PHY_TYPE { PHY_TYPE_AUTO = 0, PHY_TYPE_11B, PHY_TYPE_11G, PHY_TYPE_11A } CARD_PHY_TYPE, *PCARD_PHY_TYPE; Tested by compilation only.

[PATCH V2 4/4] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. This patch change the following enums: - typedef enum __device_msg_level - typedef enum __DEVICE_NDIS_STATUS Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Cahnges from V1: - Sent all

[PATCH V2 2/4] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Peter Senna Tschudin
This patch cleanup coding style issues reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Cahnges from V1: - Sent all patches in a series Made against latest staging-next. drivers/staging/vt6656/main_usb.c | 118

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

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 04:25:06PM +0200, 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,

RE: [PATCH 2/2] staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice

2014-07-13 Thread Hartley Sweeten
On Saturday, July 12, 2014 3:44 PM, Chase Southwood wrote: Use the addi_watchdog module to provide support for the watchdog subdevice. Also, rearrange the subdevice init blocks so that the order makes sense. Digital input/output subdevices and subdevices for DI/DO interrupt support, followed

Additional performance data on Pavel's smb3 multi credit patch series

2014-07-13 Thread Steve French
Performance of Pavel's multicredit i/o SMB3 patches continues to look good. Additional informal performance results below comparing cifs mounts with smb3 mounts (vers=3.0) with and without Pavel's patch set. I plan to do additional testing with large rsize/wsize (default with Pavel's code is

Re: [PATCH 1/6] kbuild: add support for building userspace api programs

2014-07-13 Thread Randy Dunlap
Hi Sam, On 07/13/14 11:42, Sam Ravnborg wrote: diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index c600e2f..713ea10 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt @@ -761,7 +763,43 @@ Both possibilities are

Re: [PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Randy Dunlap
On 07/13/14 11:42, Sam Ravnborg wrote: Use one line per module/program in Makefile. This style is easier to read/extend. Introduce inverse xmas style sorting. google search couldn't tell me what that means and I cannot deduce it from the new Makefile ordering (if there is some ordering).

Re: [PATCH V2 1/4] staging: vt6556: Cleanup coding style issues

2014-07-13 Thread Greg KH
On Sun, Jul 13, 2014 at 09:11:18PM +0200, Peter Senna Tschudin wrote: This patch cleanup coding style issues reported by checkpatch. Tested by compilation only. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Cahnges from V1: - Sent all patches in a series Why did you

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

2014-07-13 Thread Richard Weinberger
Am 13.07.2014 21:22, schrieb Greg Kroah-Hartman: On Sun, Jul 13, 2014 at 04:25:06PM +0200, 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,

Re: [RESEND PATCH] staging: android: Clean up binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Sorry, I didn't know. I will fix. Thanks -- Lucas Tanure +55 (19) 988176559 On Sun, Jul 13, 2014 at 4:07 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Sun, Jul 13, 2014 at 11:49:29AM -0300, Lucas Tanure wrote: Kernel coding style. Remove useless else statement after return.

Re: [PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Sam Ravnborg
Hi Randy - thanks for the feedback. On Sun, Jul 13, 2014 at 12:25:33PM -0700, Randy Dunlap wrote: On 07/13/14 11:42, Sam Ravnborg wrote: Use one line per module/program in Makefile. This style is easier to read/extend. Introduce inverse xmas style sorting. google search couldn't tell

Re: [PATCH 1/6] kbuild: add support for building userspace api programs

2014-07-13 Thread Sam Ravnborg
Hi Randy. Thanks, I will include all corrections in v3. Sam -- 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

Re: task's thread_info print in kernel oops

2014-07-13 Thread Oleg Nesterov
On 07/14, Vaibhav Shinde wrote: During the kernel oops i observed the below debug message which shows the address of task's thread_info struct task: 880468e61a80 ti: 88026bc86000 task.ti: 88026bc86000 ti: current_thread_info() task.ti task_thread_info(current) As per my

[PATCH v3] arm64,ia64,ppc,s390,sh,tile,um,x86,mm: Remove default gate area

2014-07-13 Thread Andy Lutomirski
The core mm code will provide a default gate area based on FIXADDR_USER_START and FIXADDR_USER_END if !defined(__HAVE_ARCH_GATE_AREA) defined(AT_SYSINFO_EHDR). This default is only useful for ia64. arm64, ppc, s390, sh, tile, 64-bit UML, and x86_32 have their own code just to disable it. arm,

Re: [PATCH 10/11] perf, tools, test: Add test case for alias and JSON parsing

2014-07-13 Thread Jiri Olsa
On Sun, Jul 13, 2014 at 01:49:59AM +0200, Andi Kleen wrote: missing the tests/aliases.o file AR libperf.a ar: tests/aliases.o: No such file or directory Fixed here (and in git) got it, would you be ok with following change? using pr_* instead of fprintf calls.. jirka ---

[GIT PULL] ext4 bug fixes for 3.16

2014-07-13 Thread Theodore Ts'o
The following changes since commit 16874b2cb867d3eb63ed838f2847143e11556708: Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2014-06-29 19:20:43 -0700) are available in the git repository at:

Re: [PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Randy Dunlap
On 07/13/14 12:52, Sam Ravnborg wrote: Hi Randy - thanks for the feedback. On Sun, Jul 13, 2014 at 12:25:33PM -0700, Randy Dunlap wrote: On 07/13/14 11:42, Sam Ravnborg wrote: Use one line per module/program in Makefile. This style is easier to read/extend. Introduce inverse xmas style

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

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 09:33:38PM +0200, Richard Weinberger wrote: Am 13.07.2014 21:22, schrieb Greg Kroah-Hartman: On Sun, Jul 13, 2014 at 04:25:06PM +0200, 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

[PATCH] mtd: phram: Fix whitespace issues

2014-07-13 Thread Rob Ward
From ae6ea29f112475aa1e2da20caabe36e318fd51c4 Mon Sep 17 00:00:00 2001 From: Rob Ward robert.ward...@googlemail.com Date: Sun, 13 Jul 2014 20:39:01 +0100 Subject: [PATCH] mtd: phram: Fix whitespace issues Fix various whitespace issues. No functional changes. Signed-off-by: Rob Ward

Re: drm: i915: plane B assertion failure, should be off on pipe B but is still active

2014-07-13 Thread Paul Bolle
Paul Bolle schreef op wo 02-07-2014 om 10:53 [+0200]: On Tue, 2014-07-01 at 12:17 +0300, Jani Nikula wrote: This does not ring any bells to me (but that doesn't prove anything). A bisect result would be awesome. The bisect (which took me quite some time) points at commit 98ec77397a5c

Fix Me in file gpmc-onenand.c

2014-07-13 Thread Nick Krause
Hey Kevin, I am using cscope to find fix mes in the latest git kernels that still need cleanup. Furthermore I seem to hitting one in a that file that you maintain. Due to this I am wondering should I remove this code or does it still need to be in the mainline kernel and what mach-omap2 cpus does

Re: [PATCH v6 0/6] ima: extending secure boot certificate chain of trust

2014-07-13 Thread David Howells
Dmitry Kasatkin d.kasat...@samsung.com wrote: If patches from integrity/next-trusted-keys goes via your tree, then I suggest that you re-base your patches on the top of our patchset, because it is unclear how long review of PE, PKCS7 patches will take and if they will be pulled... I'd rather

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

2014-07-13 Thread Sam Ravnborg
On Sun, Jul 13, 2014 at 12:15:29PM +0200, Yann Droneaud wrote: '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

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

2014-07-13 Thread Sam Ravnborg
On Sun, Jul 13, 2014 at 12:15:30PM +0200, Yann Droneaud wrote: 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

[PATCH] :kernel :acct :fix coding style warnings and errors

2014-07-13 Thread Ionut Alexa
Fixed coding style warnings and errors. Signed-off-by: Ionut Alexa ionut.m.al...@gmail.com --- kernel/acct.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/kernel/acct.c b/kernel/acct.c index 808a86f..1bfdda0 100644 --- a/kernel/acct.c +++

Linux 3.16-rc5

2014-07-13 Thread Linus Torvalds
Things are looking normal, and as usual, I _wish_ there was a bit less churn going on since it's getting fairly late in the rc cycle, but honestly, it's not like there is anything that really raises any eyebrows here. The bulk of this is drivers - with acpi and gpu sticking out, if only by a

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

2014-07-13 Thread Chen Gang
On 07/14/2014 03:05 AM, Greg Kroah-Hartman wrote: On Sun, Jul 13, 2014 at 10:50:55PM +0800, Chen Gang wrote: 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

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-13 Thread Sasha Levin
On 07/11/2014 11:59 AM, Peter Zijlstra wrote: I agree with you that The call trace is very clear on it that its not, but when you have 500 call traces you really want something better than going through it one call trace at a time. Points well made, and I strongly agree with

net: socket: NULL ptr deref in sendmsg

2014-07-13 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel with the KASAN patchset, I've stumbled on the following spew: [ 4448.949424] == [ 4448.951737] AddressSanitizer: user-memory-access on

sched, timers: use after free in __lock_task_sighand when exiting a process

2014-07-13 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel with the KASAN patchset, I've stumbled on the following spew: [ 4838.503887] == [ 4838.510906] AddressSanitizer: use after free in

[PATCH] Staging: rtl8821ae: fix coding style issues in cam.c Fix all coding style error and warnings in cam.c reported by checkpatch.pl

2014-07-13 Thread Joerg C. Meyer
Signed-off-by: Joerg C. Meyer jo...@meyer.homedns.org --- drivers/staging/rtl8821ae/cam.c | 57 +++-- 1 file changed, 27 insertions(+), 30 deletions(-) diff --git a/drivers/staging/rtl8821ae/cam.c b/drivers/staging/rtl8821ae/cam.c index 3bc6b3d..835bc3b 100644

[PATCH] Cpufreq: ARM IMX6Q: Select PM_OPP

2014-07-13 Thread Nicolas Del Piano
PM_OPP is a library used by several of the existing cpufreq drivers. ARM IMX6Q cpufreq driver uses this library for its functionality. Thus, it should be selected in Kconfig. Reported-by: Ezequiel Garcia ezequ...@vanguardiasur.com.ar Signed-off-by: Nicolas Del Piano ndel...@gmail.com ---

Re: bit fields data tearing

2014-07-13 Thread Benjamin Herrenschmidt
On Sun, 2014-07-13 at 09:15 -0400, Peter Hurley wrote: I'm not sure I understand your point here, Ben. Suppose that two different spinlocks are used independently to protect r-m-w access to adjacent data. In Oleg's example, suppose spinlock 1 is used for access to the bitfield and

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

2014-07-13 Thread Chen Gang
On 07/14/2014 05:41 AM, Chen Gang wrote: On 07/14/2014 03:05 AM, Greg Kroah-Hartman wrote: On Sun, Jul 13, 2014 at 10:50:55PM +0800, Chen Gang wrote: Some of architectures have already defined 'die' as macro, so can not use this common name as declaration in other modules, or will cause

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

2014-07-13 Thread Chen Gang
On 07/14/2014 06:31 AM, Chen Gang wrote: On 07/14/2014 05:41 AM, Chen Gang wrote: On 07/14/2014 03:05 AM, Greg Kroah-Hartman wrote: On Sun, Jul 13, 2014 at 10:50:55PM +0800, Chen Gang wrote: Some of architectures have already defined 'die' as macro, so can not use this common name as

Re: [PATCH v2 3.16] x86,kprobes: Don't try to resolve kprobe faults from userspace

2014-07-13 Thread Masami Hiramatsu
(2014/07/12 2:27), Andy Lutomirski wrote: This commit: commit 6f6343f53d133bae516caf3d254bce37d8774625 Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com Date: Thu Apr 17 17:17:33 2014 +0900 kprobes/x86: Call exception handlers directly from do_int3/do_debug

Re: [PATCH] Staging: rtl8821ae: fix coding style issues in cam.c Fix all coding style error and warnings in cam.c reported by checkpatch.pl

2014-07-13 Thread Greg KH
On Sun, Jul 13, 2014 at 11:47:57PM +0200, Joerg C. Meyer wrote: Signed-off-by: Joerg C. Meyer jo...@meyer.homedns.org Your changelog body ended up in the Subject: line (that happens if you don't put a blank line after the first line in your git commit. Also, you don't say _what_ issues you

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

2014-07-13 Thread Greg Kroah-Hartman
On Mon, Jul 14, 2014 at 06:38:24AM +0800, Chen Gang wrote: On 07/14/2014 06:31 AM, Chen Gang wrote: On 07/14/2014 05:41 AM, Chen Gang wrote: On 07/14/2014 03:05 AM, Greg Kroah-Hartman wrote: On Sun, Jul 13, 2014 at 10:50:55PM +0800, Chen Gang wrote: Some of architectures have already

Re: [PATCH v2 02/15] ARM: pass IRQ domain to the core IRQ handler

2014-07-13 Thread Jason Cooper
Marc, On Tue, Jul 08, 2014 at 02:45:40PM +0100, Marc Zyngier wrote: Calling irq_find_mapping from outside a irq_{enter,exit} section is unsafe and produces ugly messages if CONFIG_PROVE_RCU is enabled: If coming from the idle state, the rcu_read_lock call in irq_find_mapping will generate an

Re: [PATCH 3/4 V3] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-07-13 Thread Jason Cooper
Suravee, On Wed, Jul 09, 2014 at 06:05:03PM -0500, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com ARM GICv2m specification extends GICv2 to support MSI(-X) with a new set of register frames. This patch introduces support for the non-secure

Re: [PATCH 4/4 V3] irqchip: gicv2m: Add support for multiple MSI for ARM64 GICv2m

2014-07-13 Thread Jason Cooper
Suravee, If you need to respin this series, please change the subject line to irqchip: gic-v2m: ... If there are no other changes needed, It can be fixed up when applied. thx, Jason. On Wed, Jul 09, 2014 at 06:05:04PM -0500, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit

Re: [PATCH 0/4 V3] irqchip: gic: Introduce ARM GICv2m MSI(-X) support

2014-07-13 Thread Jason Cooper
Suravee, On Wed, Jul 09, 2014 at 06:05:00PM -0500, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com This patch set introduces support for MSI(-X) in GICv2m specification, which is implemented in some variation of GIC400. This depends on and

Re: Additional performance data on Pavel's smb3 multi credit patch series

2014-07-13 Thread Steve French
Repeating these large file copy tests with SMB3 mounts with Pavel's patches and trying larger wsize and rsize of 4MB (and later 5MB) did not seem to help performance much (over his default with the new patchset, 1MB). I want to repeat these with real network adapters (rather than in vmware or

Re: [PATCH][RESEND] KVM: nVMX: Fix vmptrld fail and vmwrite error when L1 goes down

2014-07-13 Thread Wanpeng Li
Hi Marcelo, On Fri, Jul 11, 2014 at 05:03:34PM -0300, Marcelo Tosatti wrote: On Fri, Jul 11, 2014 at 12:22:17PM +0800, Wanpeng Li wrote: This bug can be trigger by L1 goes down directly w/ enable_shadow_vmcs. [ 6413.158950] kvm: vmptrld (null)/7800 failed [ 6413.158954]

<    1   2   3   4   5   6   >