Re: [PATCH 2/2] char: ipmi: Fix module autoload for OF platform driver

2015-09-18 Thread Corey Minyard
This is there now in the main kernel, but it's further down. Perhaps it should be moved. -corey On 09/15/2015 11:42 AM, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > >

Re: [PATCH V4 3/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-09-18 Thread chenfeng
Philipp, On 2015/9/18 23:23, Philipp Zabel wrote: > Am Donnerstag, den 17.09.2015, 20:00 +0800 schrieb Chen Feng: >> Add reset controller for hi6220 hikey-board. >> >> Signed-off-by: Chen Feng >> --- >> arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ >> 1 file

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-09-18 Thread Fu, Zhonghui
On 2015/8/24 15:38, Johannes Berg wrote: > On Mon, 2015-08-24 at 11:45 +0800, Fu, Zhonghui wrote: >> On 2015/8/17 16:46, Arend van Spriel wrote: >>> + Rafael >>> >>> On 08/17/2015 09:29 AM, Johannes Berg wrote: On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote: > The suspend/resume

[PATCH] nios2: Fix unused variable warning

2015-09-18 Thread Marek Vasut
Fix the following compiler splat by adding __maybe_unused annotation to the variable. Using this particular annotation has the least ugly impact on the code compared to using ifdeffery. arch/nios2/kernel/setup.c: In function 'nios2_boot_init': arch/nios2/kernel/setup.c:107:7: warning: unused

[PATCH] nios2: Switch to generic __xchg()

2015-09-18 Thread Marek Vasut
The generic __xchg() implementation present in asm-generic/cmpxchg.h is correct on nios2 and even generates the same code. Switch to this generic implementation to trim down the amount of ad-hoc copies of the code. Signed-off-by: Marek Vasut --- arch/nios2/include/asm/cmpxchg.h |

Re: [PATCH 3/7] tty: serial: msm: Fix command Stale Event Enable definition

2015-09-18 Thread Ivan T. Ivanov
> On Sep 19, 2015, at 2:33 AM, Stephen Boyd wrote: > > On 09/12, Ivan T. Ivanov wrote: >> Stale Event Enable command should be 5 not 8, fix this. >> >> Signed-off-by: Ivan T. Ivanov >> --- >> drivers/tty/serial/msm_serial.h | 2 +- >> 1 file

Get Back To Me

2015-09-18 Thread Alhaji Abdullahi Bukar
Dear Friend I have a Mutual/Beneficial Business Project for you worth millions dollars. 1. Can you handle this project? 2. Can I give you this trust ? Please note that the deal required high level of maturity, honesty and secrecy because this Involves moving or Siphoning some money from my

[RFC PATCH v5 3/4] arm64: fix a migrating irq bug when hotplug cpu

2015-09-18 Thread Yang Yingliang
When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's affinity will not be coppied because of irq_set_affinity's return value. Fix it by using irq_do_set_affinity.

[RFC PATCH v5 4/4] arm: fix a migrating irq bug when hotplug cpu

2015-09-18 Thread Yang Yingliang
When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's affinity will not be coppied because of irq_set_affinity's return value. Fix it by using irq_do_set_affinity.

[RFC PATCH v5 0/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-18 Thread Yang Yingliang
Changes in v5: - remove the macro that guard move_irqs() - use name irq_migrate_all_off_this_cpu instead of move_irqs Changes in v4: - select GENERIC_IRQ_MIGRATION when config GENERIC_IRQ_MIGRATION is enabled - add move_irqs() into kerne/irq/migration.c for cpu hotplug - use move_irqs()

[RFC PATCH v5 1/4] genirq: introduce CONFIG_GENERIC_IRQ_MIGRATION

2015-09-18 Thread Yang Yingliang
Introduce a more general config for compile kernel/irq/migration.c. Move the CONFIG_GENERIC_PENDING_IRQ into migration.c. So we can move other migration interrupts code into migration.c without select CONFIG_GENERIC_PENDING_IRQ. Cc: Jiang Liu Cc: Thomas Gleixner

[RFC PATCH v5 2/4] genirq: add irq_migrate_all_off_this_cpu() for cpu hotplug

2015-09-18 Thread Yang Yingliang
Add irq_migrate_all_off_this_cpu() into kernel/irq/migration.c. So we can use it to migrate interrupts, when cpu is offline. Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will

Re: [PATCH 00/16] usb: gadget: amd5536udc: fix memory leaks

2015-09-18 Thread Sudip Mukherjee
On Fri, Sep 18, 2015 at 01:39:54PM -0500, Felipe Balbi wrote: > On Mon, Sep 14, 2015 at 08:42:47PM +0530, Sudip Mukherjee wrote: > > This amd5536udc was a complete mess. The major problems that i could > > find are: > > > > 1) if udc_pci_probe() fails in any stage then it just calls the > >

[PATCH v2] platform/x86: Toshiba WMI Hotkey Driver

2015-09-18 Thread Azael Avalos
Toshiba laptops that feature WMI events for hotkeys were left unsupported by the toshiba_acpi driver, however, commit a88bc06e5aec ("toshiba_acpi: Avoid registering input device on WMI event laptops") added hardware support for such laptops, but the hotkeys are not handled there. This driver adds

[PATCH v2] toshiba_acpi: Remove unneeded u32 variables from *setup_keyboard

2015-09-18 Thread Azael Avalos
The function toshiba_acpi_setup_keyboard currently has two u32 variables used to store the Hotkey Event Type and the result of the HCI_SYSTEM_EVENT query. This patch removes those two variables, as we already have a global variable named "hotkey_event_type" and the result of the HCI_SYSTEM_EVENT

[PATCH] asm-generic: cmpxchg: avoid warnings from macro-ized cmpxchg() implementations

2015-09-18 Thread Marek Vasut
This change is similar to e001bbae7147b111fe1aa42beaf835635f3c016e ARM: cmpxchg: avoid warnings from macro-ized cmpxchg() implementations A recent change in kernel/acct.c added a new warning for many configurations using generic __xchg() implementation: In file included from

[PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-18 Thread Ray Jui
Move all Cygnus peripherals to be under the "soc" bus node of type "simple-bus" Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 275 +++--- 1 file changed, 138 insertions(+), 137

Re: [PATCH v2 5/8] lib: introduce sg_nents_len_chained

2015-09-18 Thread Tony Battersby
On 09/18/2015 12:19 PM, Tony Battersby wrote: > But why do drivers even need this at all? Here is a typical usage: > > int qce_mapsg(struct device *dev, struct scatterlist *sg, int nents, > enum dma_data_direction dir, bool chained) > { > int err; > > if (chained) { >

[PATCH v2 7/9] ARM: dts: Enable various peripherals on bcm958305k

2015-09-18 Thread Ray Jui
This patch enables various peripherals on Broadcom Cygnus wireless audio board (bcm958305k). These peripherals include I2C, PCIe, and NAND Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm958305k.dts | 32

Re: [PATCH perf/core ] [BUGFIX] perf probe: Fix a segfault when removing uprobe events

2015-09-18 Thread Paul Clarke
On 09/16/2015 07:52 AM, Masami Hiramatsu wrote: Fix a segfault bug and a small mistake in perf probe -d. Since the "ulist" in perf_del_probe_events is never initialized, strlist__add(ulist, *) always causes a segfault when removing uprobe events by perf probe -d. Also, the "str" local variable

Re: [PATCH 1/2 v2] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-18 Thread Dan Williams
On Fri, 2015-09-18 at 22:06 +0200, Ondrej Zary wrote: > On Friday 18 September 2015 18:54:35 Dan Williams wrote: > > On Tue, 2015-09-15 at 17:18 +0200, Ondrej Zary wrote: > > > IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as > > > wpa_supplicant uses it for both no encryption and WEP

Re: [PATCHSET cgroup/for-4.3] cgroup,memcg: generalize event handling and enable notifications on "memory.events"

2015-09-18 Thread Tejun Heo
On Tue, Aug 11, 2015 at 01:58:01PM -0400, Tejun Heo wrote: > Hello, > > This patchset establishes conventions on low frequency events, > converts "cgroup.populated" to "cgroup.events" accordingly, > generalizes event handling and enable notifications for > "memory.events". > > This patchset

Re: [PATCH] platform/x86: Toshiba WMI Hotkey Driver

2015-09-18 Thread Darren Hart
On Wed, Sep 09, 2015 at 11:30:10AM -0600, Azael Avalos wrote: > Toshiba laptops that feature WMI events for hotkeys were left unsupported > by the toshiba_acpi driver, however, commit a88bc06e5aec ("toshiba_acpi: > Avoid registering input device on WMI event laptops") added hardware > support for

[GIT PULL] Power management and ACPI updates for v4.3-rc2

2015-09-18 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-4.3-rc2 to receive power management and ACPI material for v4.3-rc2 with top-most commit 0f40314b81b765c26202cde33523e35809adbe9b Merge branch 'acpi-bus' on top of commit

Re: [PATCH] ARM: at91: debug: use DEBUG_UART_PHYS

2015-09-18 Thread Alexandre Belloni
Hi, On 18/09/2015 at 16:48:43 +0200, Nicolas Ferre wrote : > > - config AT91_DEBUG_LL_DBGU1 > > - bool "Kernel low-level debugging on 9263, 9g45 and sama5d3" > > - select DEBUG_AT91_UART > > - depends on ARCH_AT91 > > - depends on SOC_AT91SAM9 ||

Re: [PATCH 2/2] toshiba_acpi: Change default Hotkey enabling value

2015-09-18 Thread Azael Avalos
Hi Darren, 2015-09-18 16:14 GMT-06:00 Darren Hart : > On Fri, Sep 18, 2015 at 03:45:05PM -0600, Azael Avalos wrote: >> Hi Darren, >> >> 2015-09-18 15:37 GMT-06:00 Darren Hart : >> > On Wed, Sep 09, 2015 at 11:28:20AM -0600, Azael Avalos wrote: >> >> The

[PATCH] [media] c8sectpfe: Fix uninitialized variable in load_slim_core_fw()

2015-09-18 Thread Christian Engelmayer
Variable err in function load_slim_core_fw() is used without initializer. Make sure that the result is deterministic. Detected by Coverity CID 1324265. Signed-off-by: Christian Engelmayer --- Compile tested only. Applies against linux-next. ---

[PATCH 2/2] drm/vmwgfx: Fix uninitialized return in vmw_kms_helper_dirty()

2015-09-18 Thread Christian Engelmayer
Function vmw_kms_helper_dirty() uses the uninitialized variable ret as return value. Make the result deterministic and directly return as the variable is unused anyway. Detected by Coverity CID 1324255. Signed-off-by: Christian Engelmayer --- Compile tested only. Applies against

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Dave Chinner
On Thu, Sep 17, 2015 at 11:04:03PM -0700, Linus Torvalds wrote: > On Thu, Sep 17, 2015 at 10:40 PM, Dave Chinner wrote: > > > > Ok, makes sense - the plug is not being flushed as we switch away, > > but Chris' patch makes it do that. > > Yup. > > And I actually think Chris'

[PATCH v2 6/9] ARM: dts: Reorder Cygnus peripherals

2015-09-18 Thread Ray Jui
Reorder all Cygnus peripherals based on base register addresses in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 56 +++ 1 file changed, 28 insertions(+),

Re: [PATCH] Added multiplier for APERF and MPERF counters

2015-09-18 Thread Rafael J. Wysocki
On Friday, September 18, 2015 07:08:47 AM Anaczkowski, Lukasz wrote: > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, September 17, 2015 7:05 PM > > > Please *always* send PM-related patches to linux...@vger.kernel.org (CCed > > now). > > Ok, thanks for noticing. > I've

Re: [PATCH v2 4/9] ARM: dts: Put Cygnus core components under core bus

2015-09-18 Thread Ray Jui
On 9/18/2015 2:30 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:09 Ray Jui wrote: >> >> + core { >> + compatible = "simple-bus"; >> + ranges; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> +

Re: [PATCH 2/2] ARM: at91: at91sam9n12ek/dts: fix the led labels name

2015-09-18 Thread Alexandre Belloni
Hi, On 18/09/2015 at 15:46:33 +0200, Nicolas Ferre wrote : > > The only concern being that this renaming will break userspace software > > assuming the LEDs are wrongly named. Is there anything that has been > > released by atmel that uses the wrong names (and my guess is yess and > > that is why

Re: [PATCH 3/4] kernel: Avoid softlockups in stop_machine() during heavy printing

2015-09-18 Thread Andrew Morton
On Wed, 19 Aug 2015 17:38:30 +0200 Jan Kara wrote: > From: Jan Kara > > When there are lots of messages accumulated in printk buffer, printing > them (especially over serial console) can take a long time (tens of > seconds). stop_machine() will effectively make all

Re: [PATCH 4/4] printk: Add config option for disabling printk offloading

2015-09-18 Thread Andrew Morton
On Wed, 19 Aug 2015 17:38:31 +0200 Jan Kara wrote: > From: Jan Kara > > Necessity for offloading of printing was observed only for large > systems. So add a config option (disabled by default) The Kconfig has "default y"? > which removes most > of the overhead

mmotm 2015-09-18-16-08 uploaded

2015-09-18 Thread akpm
The mm-of-the-moment snapshot 2015-09-18-16-08 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH v2 9/9] ARM: dts: enable touchscreen support on Cygnus

2015-09-18 Thread Ray Jui
This patch enables touchscreen support on bcm958300k and bcm958305k. Touchscreen is connected to these boards through the bcm9hmidc daughter card, and therefore also adding bcm9hmidc.dtsi that describes the daughter card Signed-off-by: Ray Jui Reviewed-by: Vikram Prakash

[PATCH v2 8/9] ARM: dts: Enable NAND support on bcm911360_entphn

2015-09-18 Thread Ray Jui
This patch enables NAND support on Broadcom Cygnus form factor board (bcm911360_entphn) Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 16 1 file changed, 16 insertions(+) diff --git

Re: [RFC v7 22/41] richacl: Propagate everyone@ permissions to other aces

2015-09-18 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:17PM +0200, Andreas Gruenbacher wrote: > The trailing everyone@ allow ace can grant permissions to all file > classes including the owner and group class. Before we can apply the > other mask to this entry to turn it into an "other class" entry, we need > to ensure

Re: [PATCH 1/2] toshiba_acpi: Unify hotkey enabling functions

2015-09-18 Thread Darren Hart
On Wed, Sep 09, 2015 at 11:28:19AM -0600, Azael Avalos wrote: > Currently the driver has two functions enabling hotkeys support, > but these two functions can be merged into one. > > This patch merges these two functions, moving some checks to the > *enable_hotkeys function, simplifying code in

Re: [PATCH 2/2] toshiba_acpi: Change default Hotkey enabling value

2015-09-18 Thread Azael Avalos
Hi Darren, 2015-09-18 15:37 GMT-06:00 Darren Hart : > On Wed, Sep 09, 2015 at 11:28:20AM -0600, Azael Avalos wrote: >> The driver currently uses the hotkey enabling value of 0x09 to enable >> hotkey events, but windows uses a different value (0x01). >> >> All Toshiba laptops

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-18 Thread Ray Jui
On 9/18/2015 2:27 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:06 Ray Jui wrote: >> Move aliases into bcm-cygnus.dtsi to avoid duplications in Cygnus dts >> files >> > > We generally recommend keeping them separate: > >> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi >>

Re: [rtc-linux] [PATCH v3 1/2] Fixed ds1390_get_reg returned value

2015-09-18 Thread Alexandre Belloni
Hi, You've sent that series so many times that I'm not sure which one I should look at... Also, please include a changelog when submitting a new version of a patch. On 18/09/2015 at 17:27:56 +0200, Ivan Grimaldi wrote : > spi_write_then_read puts in rx_buf the received data starting from > the

[PATCH] mtd: spi-nor: scale up timeout for full-chip erase

2015-09-18 Thread Brian Norris
From: Furquan Shaikh This patch fixes timeout issues seen on large NOR flash (e.g., 16MB w25q128fw) when using ioctl(MEMERASE) with offset=0 and length=16M. The input parameters matter because spi_nor_erase() uses a different code path for full-chip erase, where we use the

[PATCH v2 8/8] memcg: generate file modified notifications on "memory.events"

2015-09-18 Thread Tejun Heo
cgroup core only recently grew generic notification support. Wire up "memory.events" so that it triggers a file modified event whenever its content changes. v2: Refreshed on top of mem_cgroup relocation. Signed-off-by: Tejun Heo Acked-by: Michal Hocko Cc:

Re: [PATCH 2/2] toshiba_acpi: Change default Hotkey enabling value

2015-09-18 Thread Darren Hart
On Fri, Sep 18, 2015 at 03:45:05PM -0600, Azael Avalos wrote: > Hi Darren, > > 2015-09-18 15:37 GMT-06:00 Darren Hart : > > On Wed, Sep 09, 2015 at 11:28:20AM -0600, Azael Avalos wrote: > >> The driver currently uses the hotkey enabling value of 0x09 to enable > >> hotkey

Re: [PATCH 0/4] printk: Softlockup avoidance

2015-09-18 Thread Andrew Morton
On Wed, 19 Aug 2015 17:38:27 +0200 Jan Kara wrote: > From: Jan Kara > > Hello, > > since lately there were several attempts at dealing with softlockups due > to heavy printk traffic [1] [2] and I've been also privately pinged by > couple of people about the state

Re: [PATCH 1/4] printk: Hand over printing to console if printing too long

2015-09-18 Thread Andrew Morton
On Wed, 19 Aug 2015 17:38:28 +0200 Jan Kara wrote: > From: Jan Kara > > Currently, console_unlock() prints messages from kernel printk buffer to > console while the buffer is non-empty. When serial console is attached, > printing is slow and thus other CPUs in the

[PATCH 1/2] drm/vmwgfx: Fix uninitialized return in vmw_cotable_unbind()

2015-09-18 Thread Christian Engelmayer
Function vmw_cotable_unbind() uses the uninitialized variable ret as return value. Make the result deterministic and directly return as the variable is unused anyway. Detected by Coverity CID 1324256. Signed-off-by: Christian Engelmayer --- Compile tested only. Applies against

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-18 Thread Herbert Xu
On Fri, Sep 18, 2015 at 04:51:12PM +0100, Lee Jones wrote: > > I think it's okay for you to take all but patch 6. > > Patch 6 is an ARM patch and needs to go into ARM SoC via > STMicroelectronics STi tree. In future please don't send me patches that you don't want me to merge in the series.

Re: [PATCH 0/2] improve error handling on chipidea/udc.c and f_midi.c

2015-09-18 Thread Albino B Neto
2015-09-18 14:12 GMT-03:00 : > From: "Felipe F. Tonello" Signed-off-by ? Albino -- 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

[PATCH 2/2] powerpc: axonram: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- arch/powerpc/sysdev/axonram.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RESEND PATCH] spi: mediatek: fix wrong error return value on probe

2015-09-18 Thread Matthias Brugger
On Tuesday, September 15, 2015 02:46:45 PM Javier Martinez Canillas wrote: > Commit adcbcfea15d62 ("spi: mediatek: fix spi clock usage error") > added a new sel_clk but introduced bugs in the error paths since > the wrong struct clk pointers are passed to PTR_ERR(). > > Fixes: adcbcfea15d62

[PATCH] PCI/MSI: Fix MSI IRQ domains for SR-IOV

2015-09-18 Thread Alex Williamson
SR-IOV creates a virtual bus where bus->self is NULL. This results in a segfault as VFs are added and we scan for an MSI domain without taking that into account. Detect this and scan up to the parent bus until we find a real bridge. Fixes: 44aa0c657e3e ("PCI/MSI: Add hooks to populate the

[PATCH v2 0/9] Broadcom Cygnus device tree changes

2015-09-18 Thread Ray Jui
This patch series cleans up the Broadcom Cygnus device tree files and makes it more consistent with the rest of Broadcom iProc device tree files. This patch series also enables various peripherals on Cygnus boards. They include: bcm11360_entphn: NAND bcm958300k: touchscreen bcm958305k: I2C,

Re: [PATCH v2 3/9] ARM: dts: Remove unused PCI I/O resource in Cygnus

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 14:24:08 Ray Jui wrote: > Remove unused PCI I/O resource in bcm-cygnus.dtsi > > Signed-off-by: Ray Jui > Reviewed-by: Scott Branden > Why? How do you know that nobody ever plugs in a card with I/O ports? Arnd -- To

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 14:24:06 Ray Jui wrote: > Move aliases into bcm-cygnus.dtsi to avoid duplications in Cygnus dts > files > We generally recommend keeping them separate: > diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi > b/arch/arm/boot/dts/bcm-cygnus.dtsi > index e1ac07a..30903ba

Re: [PATCH 2/2] toshiba_acpi: Change default Hotkey enabling value

2015-09-18 Thread Darren Hart
On Wed, Sep 09, 2015 at 11:28:20AM -0600, Azael Avalos wrote: > The driver currently uses the hotkey enabling value of 0x09 to enable > hotkey events, but windows uses a different value (0x01). > > All Toshiba laptops accept the following "hotkey" parameters: > 0x01 - Enable hotkey and system

Re: [PATCH -tip 2/3] sched/wake_q: Relax to acquire semantics

2015-09-18 Thread Paul E. McKenney
On Tue, Sep 15, 2015 at 10:09:41AM -0700, Paul E. McKenney wrote: > On Tue, Sep 15, 2015 at 06:30:28PM +0200, Peter Zijlstra wrote: > > On Tue, Sep 15, 2015 at 08:34:48AM -0700, Paul E. McKenney wrote: > > > On Tue, Sep 15, 2015 at 04:14:39PM +0200, Peter Zijlstra wrote: > > > > On Tue, Sep 15,

Re: [PATCH v2 3/9] ARM: dts: Remove unused PCI I/O resource in Cygnus

2015-09-18 Thread Ray Jui
On 9/18/2015 2:28 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:08 Ray Jui wrote: >> Remove unused PCI I/O resource in bcm-cygnus.dtsi >> >> Signed-off-by: Ray Jui >> Reviewed-by: Scott Branden >> > > Why? How do you know that nobody

Re: [PATCH 1/1] toshiba_acpi: Add 0x prefix to available_kbd_modes_show funtion

2015-09-18 Thread Darren Hart
On Wed, Sep 09, 2015 at 11:30:09AM -0600, Azael Avalos wrote: > This patch adds the 0x prefix to the values printed by such function, the > values are already being printed in hex, but without the prefix, causing > confussion, even though the file under Documentation/ABI clearly states > that hey

Re: [PATCHv2] SUNRPC: Fix a race in xs_reset_transport

2015-09-18 Thread Trond Myklebust
On Fri, 2015-09-18 at 12:51 -0400, Trond Myklebust wrote: > On Fri, 2015-09-18 at 12:19 +0100, Suzuki K. Poulose wrote: > > On 16/09/15 12:17, Jeff Layton wrote: > > > On Wed, 16 Sep 2015 10:35:49 +0100 > > > "Suzuki K. Poulose" wrote: > > > > > > > From: "Suzuki K.

[PATCH] mtd: spi-nor: add support for w25q128fw

2015-09-18 Thread Brian Norris
Tested only with single I/O, but the datasheet says it supports dual and quad. Signed-off-by: Brian Norris --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index

Re: [PATCH] mm/oom_kill.c: don't kill TASK_UNINTERRUPTIBLE tasks

2015-09-18 Thread Christoph Lameter
On Fri, 18 Sep 2015, Kyle Walker wrote: > I do like the idea of not stalling completely in an oom just because the > first attempt didn't go so well. Is there any possibility of simply having > our cake and eating it too? Specifically, omitting TASK_UNINTERRUPTIBLE > tasks > as low-hanging fruit

Re: [PATCH 1/2] drm/vmwgfx: Fix uninitialized return in vmw_cotable_unbind()

2015-09-18 Thread Sinclair Yeh
Good catch! Reviewed-by: Sinclair Yeh On Sat, Sep 19, 2015 at 12:31:10AM +0200, Christian Engelmayer wrote: > Function vmw_cotable_unbind() uses the uninitialized variable ret as > return value. Make the result deterministic and directly return as > the variable is unused

Re: [PATCH 2/2] drm/vmwgfx: Fix uninitialized return in vmw_kms_helper_dirty()

2015-09-18 Thread Sinclair Yeh
Reviewed-by: Sinclair Yeh On Sat, Sep 19, 2015 at 12:32:24AM +0200, Christian Engelmayer wrote: > Function vmw_kms_helper_dirty() uses the uninitialized variable ret as > return value. Make the result deterministic and directly return as the > variable is unused anyway. Detected

Re: [PATCH] driver core: Ensure proper suspend/resume ordering

2015-09-18 Thread Rafael J. Wysocki
Hi Thierry, On Fri, Sep 18, 2015 at 5:55 PM, Thierry Reding wrote: > On Thu, Sep 17, 2015 at 08:43:54PM +0200, Rafael J. Wysocki wrote: >> Hi Alan, >> >> On Thu, Sep 17, 2015 at 7:02 PM, Alan Stern >> wrote: >> > On Thu, 17 Sep 2015, Rafael

Re: [PATCH] perf record: adding dummy event before mapping

2015-09-18 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 18, 2015 at 02:42:04PM -0600, Mathieu Poirier escreveu: > The parameters of function 'perf_evsel__open()' in > 'record_open()' have been changed to use the evsel's cpus and > threads rather than the evlist since: > > commit d988d5ee6478 ("perf evlist: Open event on evsel cpus and

Re: [PATCH 0/2] improve error handling on chipidea/udc.c and f_midi.c

2015-09-18 Thread Felipe Balbi
On Fri, Sep 18, 2015 at 05:56:48PM -0300, Albino B Neto wrote: > 2015-09-18 14:12 GMT-03:00 : > > From: "Felipe F. Tonello" > > Signed-off-by ? this is not a patch -- balbi signature.asc Description: Digital signature

Re: [PATCH 1/1] PCI: remove an unnecessary if statement

2015-09-18 Thread Bjorn Helgaas
On Thu, Sep 10, 2015 at 06:40:31PM +0800, Zhen Lei wrote: > This patch have no functional change. Successful return count, otherwise > return -ENODEV. > > Signed-off-by: Zhen Lei Applied with changelog below to pci/misc for v4.4, thanks! commit

[PATCH 0/2] powerpc: Fix module autoload for OF platform drivers

2015-09-18 Thread Luis de Bethencourt
Hi, These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 Thanks, Luis Luis de Bethencourt

[PATCH v2 4/9] ARM: dts: Put Cygnus core components under core bus

2015-09-18 Thread Ray Jui
Put all Cygnus core components into "core" node of type "simple-bus" in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 54 ++- 1 file changed, 30

[PATCH v2 2/9] ARM: dts: Use label for device nodes in Cygnus dts

2015-09-18 Thread Ray Jui
Use label instead of full path to reference device nodes in Cygnus dts files Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm911360_entphn.dts | 8 +++ arch/arm/boot/dts/bcm911360k.dts | 6 ++---

[PATCH v2 3/9] ARM: dts: Remove unused PCI I/O resource in Cygnus

2015-09-18 Thread Ray Jui
Remove unused PCI I/O resource in bcm-cygnus.dtsi Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi

[PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-18 Thread Ray Jui
Move aliases into bcm-cygnus.dtsi to avoid duplications in Cygnus dts files Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 4 arch/arm/boot/dts/bcm911360_entphn.dts | 4

Re: [PATCH v2 4/9] ARM: dts: Put Cygnus core components under core bus

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 14:24:09 Ray Jui wrote: > > + core { > + compatible = "simple-bus"; > + ranges; > + #address-cells = <1>; > + #size-cells = <1>; > + > + timer@19020200 { > + compatible =

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 14:24:10 Ray Jui wrote: > + soc { > + compatible = "simple-bus"; > + ranges; > + #address-cells = <1>; > + #size-cells = <1>; > + pinctrl: pinctrl@0301d0c8 { > Similarly to the core bus, this

Re: [PATCH 1/1] toshiba_acpi: Remove unneeded u32 variables from *setup_keyboard

2015-09-18 Thread Darren Hart
On Wed, Sep 09, 2015 at 11:30:08AM -0600, Azael Avalos wrote: > The function toshiba_acpi_setup_keyboard currently has two u32 variables > used to store the Hotkey Event Type and the result of the HCI_SYSTEM_EVENT > query. > > This patch removes those two variables, as we already have a global >

Re: [RFC v7 22/41] richacl: Propagate everyone@ permissions to other aces

2015-09-18 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:17PM +0200, Andreas Gruenbacher wrote: > The trailing everyone@ allow ace can grant permissions to all file > classes including the owner and group class. Before we can apply the > other mask to this entry to turn it into an "other class" entry, we need > to ensure

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-18 Thread Ray Jui
On 9/18/2015 2:34 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:24:10 Ray Jui wrote: >> + soc { >> + compatible = "simple-bus"; >> + ranges; >> + #address-cells = <1>; >> + #size-cells = <1>; > >> + pinctrl:

Re: [PATCH v4 0/2] Fix how CPUs are enumerated when there's more than 255 CPUs

2015-09-18 Thread Rafael J. Wysocki
On Wednesday, September 09, 2015 10:45:48 PM Rafael J. Wysocki wrote: > On Wednesday, September 09, 2015 03:47:27 PM Lukasz Anaczkowski wrote: > > This series of patches attempts to fix how CPUs are enumerated by kernel > > when > > there's more than 255 of them on single processor. > > In such

[benchmark] lttng-ust with membarrier system call

2015-09-18 Thread Mathieu Desnoyers
Hi, Here is a benchmark update of LTTng-UST [1] tracing lots of events [2] from a single core to a flight recorder ring buffer. It has improved from 200ns per event to 150ns per event on x86-64 [3] by enabling the membarrier [4, 5] system call. This is a saving of 25 ns for each of the two memory

Please suggest proper format for DT properties.

2015-09-18 Thread Constantine Shulyupin
Hi, I am designing DT support for a hwmon chip. It has some sensors, each of them can be: - "disabled" - "thermal diode" - "thermistor" - "voltage" Four possible options for DT properties format. Option 1: Separated property for each sensor. Example nct7802 node: nct7802 {

[GIT PULL] Block fixes for 4.3-rc2

2015-09-18 Thread Jens Axboe
Hi Linus, This is a bit bigger than it should be, but I could (did) not want to send it off last week due to both wanting extra testing, and expecting a fix for the bounce regression as well. In any case, this pull request contains: - Fix for the blk-merge.c compilation warning on gcc 5.x from

Re: [PATCH] compal-laptop: add charge control limit

2015-09-18 Thread Darren Hart
On Sat, Sep 12, 2015 at 10:00:16PM +0200, Roald Frederickx wrote: > Add charge control limit to the power supply subsystem of the Compal > platform driver. > This apparently was present in the original driver by Cezary Jackiewicz > at http://eko.one.pl/index.php?page=compal-laptop but it seems to

Re: [linux-next] oops in ip_route_input_noref

2015-09-18 Thread Andrew Morton
On Thu, 17 Sep 2015 10:58:52 +0200 Thierry Reding wrote: > On Wed, Sep 16, 2015 at 09:04:15AM -0600, David Ahern wrote: > > On 9/16/15 9:00 AM, Fabio Estevam wrote: > > >On Wed, Sep 16, 2015 at 6:24 AM, Sergey Senozhatsky > > > wrote:

Re: [PATCH 02/26] clk: Replace __clk_get_num_parents with clk_hw_get_num_parents()

2015-09-18 Thread Stephen Boyd
On 09/18, Scott Wood wrote: > On Fri, 2015-09-18 at 08:56 -0700, Stephen Boyd wrote: > > On 09/17, Scott Wood wrote: > > > On Fri, 2015-07-31 at 10:03 -0700, Stephen Boyd wrote: > > > > Mostly converted with the following semantic patch: > > > > > > > > @@ > > > > struct clk_hw *E; > > > > @@ > >

Re: Possible Spam [PATCH v2 2/2] ARM: irqchip: mxs: add Alpascale ASM9260 support

2015-09-18 Thread Marc Zyngier
On Fri, 18 Sep 2015 11:18:42 +0200 Oleksij Rempel wrote: > From: Oleksij Rempel > > Freescale iMX23/iMX28 and Alphascale ASM9260 have similar Is it Alphascale or Alpascale? You may need to fix the patch title. > interrupt

Re: [PATCH v2 5/7] hwrng: st: Add support for ST's HW Random Number Generator

2015-09-18 Thread Kieran Bingham
On 17 September 2015 at 14:45, Lee Jones wrote: > Signed-off-by: Pankaj Dev > Signed-off-by: Lee Jones Comments addressed, Also LGTM. Acked-by: Kieran Bingham > --- > drivers/char/hw_random/Kconfig |

Re: [PATCH] tools lib traceevent: Mask higher bits of str addresses for 32-bit traces

2015-09-18 Thread Kapileshwar Singh
Hi Namhyung, Thanks for looking into this! On 17/09/15 16:26, Namhyung Kim wrote: > Hi, > > On Thu, Sep 17, 2015 at 11:58 PM, Kapileshwar Singh > wrote: >> Hi Steve, >> >> Thanks for looking into this! >> >> On 17/09/15 14:11, Steven Rostedt wrote: >>> On Thu, 17

Re: [PATCH] perf tools: session: avoid infinite loop

2015-09-18 Thread Adrian Hunter
On 18/09/15 12:51, Mark Rutland wrote: > On Fri, Sep 18, 2015 at 07:09:16AM +0100, Adrian Hunter wrote: >> On 17/09/15 18:41, Mark Rutland wrote: >>> Hi, >>> >>> On Wed, Sep 16, 2015 at 09:54:54PM +0100, Arnaldo Carvalho de Melo wrote: Em Wed, Sep 16, 2015 at 06:18:49PM +0100, Mark Rutland

[GIT PULL] LED subsystem fixes for v4.3-rc2

2015-09-18 Thread Jacek Anaszewski
Hi Linus, Please consider pulling LED subsystem fixes for v4.3-rc2. The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f: Linux 4.3-rc1 (2015-09-12 16:35:56 -0700) are available in the git repository at:

Re: [PATCH 1/2] s390/crash_dump: Use for_each_mem_range

2015-09-18 Thread Heiko Carstens
On Wed, Sep 16, 2015 at 12:54:24AM +0600, Alexander Kuleshov wrote: > The already provides for_each_mem_range() macro that > iterates through memblock areas from type_a and not included in type_b. > We can remove custom for_each_dump_mem_range() macro and use the > for_each_mem_range() instead. >

[PATCH] Input: omap-keypad: fix memory leak

2015-09-18 Thread Sudip Mukherjee
If omap4_keypad_parse_dt() fails we returned the error code but we missed releasing keypad_data. Signed-off-by: Sudip Mukherjee --- drivers/input/keyboard/omap4-keypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] drm/i915: fix kernel-doc warnings in i915_gem.c

2015-09-18 Thread Jani Nikula
On Tue, 15 Sep 2015, Geliang Tang wrote: > Fix the following 'make htmldocs' warnings: > > .//drivers/gpu/drm/i915/i915_gem.c:1729: warning: No description found for > parameter 'vma' > .//drivers/gpu/drm/i915/i915_gem.c:1729: warning: No description found for >

Re: [PATCH v2 04/23] ARM: davinci/common: Convert edma driver to handle one eDMA instance per driver

2015-09-18 Thread Peter Ujfalusi
On 09/11/2015 03:27 PM, Peter Ujfalusi wrote: > + if (irq >= 0) { > + irq_name = devm_kasprintf(dev, GFP_KERNEL, "%s_ccint\n", The '\n' should not be in the format string. > + dev_name(dev)); > + ret = devm_request_irq(dev, irq,

Fwd: [ANNOUNCE] Git v2.5.3

2015-09-18 Thread Albino B Neto
Forwading Albino -- Forwarded message -- From: Junio C Hamano Date: 2015-09-17 19:16 GMT-03:00 Subject: [ANNOUNCE] Git v2.5.3 To: g...@vger.kernel.org The latest maintenance release Git v2.5.3 is now available at the usual places. The tarballs are found

Re: [PATCH 1/3] ASoC: wm0010: disable regulator on error

2015-09-18 Thread Charles Keepax
On Fri, Sep 18, 2015 at 04:02:19PM +0530, Sudip Mukherjee wrote: > We have done regulator_bulk_enable() while booting the DSP but on the > error exit path we have not disbled it. > > Signed-off-by: Sudip Mukherjee > --- > sound/soc/codecs/wm0010.c | 2 -- > 1 file

[PATCH 3/3] Staging: comedi: Fixed coding style issues in comedi.h

2015-09-18 Thread Punit Vara
This patch is to the comedi.h file that fixes up following type of 42 warning in the file: -Blocking comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara ---

<    7   8   9   10   11   12   13   14   15   16   >