[PATCH 3.18 049/150] blk-mq: Fix a race between bt_clear_tag() and bt_get()

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit c38d185d4af12e8be63ca4b6745d99449c450f12 upstream. What we need is the following two guarantees: * Any thread that observes the effect of the test_and_set_bit() by __b

[PATCH 3.18 064/150] KVM: s390: Fix size of monitor-class number field

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Huth commit a36c5393266222129ce6f622e3bc3fb5463f290c upstream. The monitor-class number field is only 16 bits, so we have to use a u16 pointer to access it. Signed-off-by: Thomas Huth

[PATCH 3.18 070/150] driver core: Fix unbalanced device reference in drivers_probe

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit bb34cb6bbd287b57e955bc5cfd42fcde6aaca279 upstream. bus_find_device_by_name() acquires a device reference which is never released. This results in an object leak, which

[PATCH 3.18 068/150] x86_64, vdso: Fix the vdso address randomization algorithm

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 394f56fe480140877304d342dec46d50dc823d46 upstream. The theory behind vdso randomization is that it's mapped at a random offset above the top of the stack. To avoid wast

Re: [PATCH] ftrace: don't allow IPMODIFY without proper compiler support (was Re: Re: livepatching tree for linux-next)

2015-01-14 Thread Jiri Kosina
On Wed, 14 Jan 2015, Masami Hiramatsu wrote: > > diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h > > index f45acad..29fa417 100644 > > --- a/arch/x86/include/asm/ftrace.h > > +++ b/arch/x86/include/asm/ftrace.h > > @@ -4,8 +4,10 @@ > > #ifdef CONFIG_FUNCTION_TRACER > >

[PATCH 3.18 074/150] ALSA: usb-audio: extend KEF X300A FU 10 tweak to Arcam rPAC

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Jaburek commit d70a1b9893f820fdbcdffac408c909c50f2e6b43 upstream. The Arcam rPAC seems to have the same problem - whenever anything (alsamixer, udevd, 3.9+ kernel from 60af3d037eb8c, ..)

[PATCH 3.18 050/150] blk-mq: Fix uninitialized kobject at CPU hotplugging

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 06a41a99d13d8e919e9a00a4849e6b85ae492592 upstream. When a CPU is hotplugged, the current blk-mq spews a warning like: kobject '(null)' (e8c8b5d8): tried to add a

[PATCH RESEND 12/13] power: reset: ltc2952: make trigger input optional

2015-01-14 Thread Frans Klaver
Currently the ltc2952 supports only one button sequence to initiate powerdown. This is not always desirable, as even prolonged button presses can happen in use. Allow ltc2952 users to pick their own power down sequence, by making the trigger input optional. Since this still means that the ltc2952

[PATCH 3.18 077/150] ALSA: hda/realtek - Add new Dell desktop for ALC3234 headset mode

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 8b72415d8aa8bb1904c61926bd0701447ce44bee upstream. New Dell desktop needs to support headset mode for ALC3234. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Si

Re: [PATCH] staging: android: fix coding style error

2015-01-14 Thread Arnd Bergmann
On Wednesday 14 January 2015 09:20:42 Patrick Boettcher wrote: > diff --git a/drivers/staging/android/sync_debug.c > b/drivers/staging/android/sync_debug.c > index 1532a86..9a2aaf8 100644 > --- a/drivers/staging/android/sync_debug.c > +++ b/drivers/staging/android/sync_debug.c > @@ -96,7 +96,8 @@

[PATCH RESEND 03/13] power: reset: ltc2952: unroll gpio_desc array

2015-01-14 Thread Frans Klaver
The three gpio's used by this driver are stored in an array of pointers. This doesn't add much besides cleanups in a loop. In fact, it makes most of the usage sites harder to read. Unroll the loop, and live with the fact that cleanups become slightly larger. Signed-off-by: Frans Klaver --- drive

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Boris Brezillon
Hi Thomas, On Tue, 13 Jan 2015 22:00:55 +0100 (CET) Thomas Gleixner wrote: > On Tue, 13 Jan 2015, Boris Brezillon wrote: > > + ret = irq_set_handler_data(irq, demux); > > + if (ret) { > > + pr_err("Failed to assign handler data\n"); > > + goto err_free_domain; > > + } >

[PATCH RESEND 02/13] power: reset: ltc2952: prefer devm_request_irq over request_irq

2015-01-14 Thread Frans Klaver
Make use of the fact that we allocated resources can be automatically deallocated. This reduces cleanup code and chance of errors. It also removes the need for the virq member of the ltc2952_poweroff_data struct. Signed-off-by: Frans Klaver --- drivers/power/reset/ltc2952-poweroff.c | 19 ++-

[PATCH RESEND 06/13] power: reset: ltc2952: remove global variable poweroff_panic

2015-01-14 Thread Frans Klaver
As per Documentation/CodingStyle ch.4, we should keep global variables to a mininum. Move the panic state into the driver data, regardless of whether panic is a system state or not. This removes the need for the custom _init and _exit functions, so replace them with a call to the module_platform_d

[PATCH RESEND 09/13] power: reset: ltc2952: fix C++ style function pointers

2015-01-14 Thread Frans Klaver
The function pointers for the timers and pm_power_off are assigned with C++ style foo = &func; Let's change it instead to the more C style foo = func; Signed-off-by: Frans Klaver --- drivers/power/reset/ltc2952-poweroff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

[PATCH RESEND 07/13] power: reset: ltc2952: drop empty suspend/resume functions

2015-01-14 Thread Frans Klaver
Documentation/SubmittingDrivers suggests these be implemented even when they do nothing. On the other hand, the platform code calls these functions 'legacy'. Suspend and resume operations should go into a pm_ops structure, pointed at by the driver's pm field. This approach would lead to a lot of bo

[PATCH RESEND 10/13] power: reset: ltc2952: disable timers in _remove

2015-01-14 Thread Frans Klaver
Disable the timers when ltc2952_poweroff is removed. We don't want to risk calling functions on data that no longer exist. Signed-off-by: Frans Klaver --- drivers/power/reset/ltc2952-poweroff.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/power/reset/ltc2952-poweroff.c b/driver

[PATCH RESEND 11/13] power: reset: ltc2952: check trigger value before starting timer

2015-01-14 Thread Frans Klaver
In ltc2952_poweroff_handler it is theoretically possible that the timer fails to start on first pass (button press), but succeeds in starting on the second (button release). This will cause the button press to be misinterpreted, and will incorrectly shut down the system. Because a picture says more

[PATCH RESEND 08/13] power: reset: ltc2952: cleanup control flow in poweroff_handler

2015-01-14 Thread Frans Klaver
ltc2952_poweroff_handler uses gotos to return from the function. Since we don't do cleanups exiting this function, just return IRQ_HANDLED on the spot and be done with it. While at it, remove the variable 'ret'. It was never used very much. Signed-off-by: Frans Klaver --- drivers/power/reset/lt

[PATCH RESEND 13/13] power: reset: ltc2952: document optional trigger behavior

2015-01-14 Thread Frans Klaver
Document the fact that the trigger signal is now optional, and describe the behavior when this is used. While at it, fix a typo, and paraphrase a sentence to be less platform specific. Signed-off-by: Frans Klaver --- .../devicetree/bindings/power/reset/ltc2952-poweroff.txt| 13 -

[PATCH RESEND 04/13] power: reset: ltc2952: prefer devm_gpiod_get over gpiod_get

2015-01-14 Thread Frans Klaver
This reduces cleanup code and chance of errors. Signed-off-by: Frans Klaver --- drivers/power/reset/ltc2952-poweroff.c | 44 -- 1 file changed, 10 insertions(+), 34 deletions(-) diff --git a/drivers/power/reset/ltc2952-poweroff.c b/drivers/power/reset/ltc2952-po

[PATCH RESEND 00/13] ltc2952 modernization and new functionality

2015-01-14 Thread Frans Klaver
Hi there, Here's a resend of an earlier cleanup and improvement series for the ltc2952 driver. This series implements devm_* usage, reduction of globals, some cleanup and finally makes the input trigger optional. >From the changes to the previous submissions I did not include renaming kill to po

[PATCH 3.18 078/150] ALSA: hda - using uninitialized data

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 69eba10e606a80665f8573221fec589430d9d1cb upstream. In olden times the snd_hda_param_read() function always set "*start_id" but in 2007 we introduced a new return and it ca

[PATCH RESEND 05/13] power: reset: ltc2952: reduce dependency on global variables

2015-01-14 Thread Frans Klaver
Documentation/CodingStyle ch.4 mentions in a side node that global variables should only be used if you really need them. Reduce the use of the global instance of ltc2952_poweroff so we may eventually remove it entirely. While at it, rename ltc2952_poweroff_data to ltc2952_poweroff, just to save t

[PATCH RESEND 01/13] power: reset: ltc2952: prefer devm_kzalloc over kzalloc

2015-01-14 Thread Frans Klaver
Make use of the fact that the allocated resources can be automatically deallocated. This reduces cleanup code and chance of leaks. Signed-off-by: Frans Klaver --- drivers/power/reset/ltc2952-poweroff.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/power/

[PATCH 3.18 080/150] ALSA: snd-usb-caiaq: fix stream count check

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit 49cdd5b641933fda6324fc901eaf856924ba6a27 upstream. Commit 897c329bc ("ALSA: usb: caiaq: check for cdev->n_streams > 1") introduced a safety check to protect against bogus da

[PATCH 3.18 075/150] ALSA: hda/realtek - New codec support for ALC298

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 506b62c33a7444b91a93bf2da772f4c7e6656410 upstream. Add new support for ALC298 codec. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Ha

[PATCH 3.18 079/150] ALSA: fireworks: fix an endianness bug for transaction length

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 92cb46584e104e2f4b14a44959109ffe13524a26 upstream. Although the 't->length' is a big-endian value, it's used without any conversion. This means that the driver always u

[PATCH 3.18 051/150] HID: yet another buggy ELAN touchscreen

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit a32c99e7ab8410bae7c276a7e94ca84d108de034 upstream. The touchscreen needs the same quirk as the other models. Signed-off-by: Oliver Neukum Reported-by: Bryan Poling Acke

[PATCH 3.18 084/150] USB: cdc-acm: check for valid interfaces

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit 403dff4e2c94f275e24fd85f40b2732ffec268a1 upstream. We need to check that we have both a valid data and control inteface for both types of headers (union and not union

[PATCH 3.18 083/150] md/raid5: fetch_block must fetch all the blocks handle_stripe_dirtying wants.

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 108cef3aa41669610e1836fe638812dd067d72de upstream. It is critical that fetch_block() and handle_stripe_dirtying() are consistent in their analysis of what needs to be loaded.

[PATCH 3.18 095/150] tty: serial: men_z135_uart: Add terminating entry for men_z135_ids

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 6b1f40cf4840820051d69646af0b6503878cb1bc upstream. The mcb_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin Signed-off-by: Greg Kroah-Hartman ---

Re: [alsa-devel] unload Audio drivers while playback stream is active case kernel crash

2015-01-14 Thread jiwang
Hi On 01/14/2015 05:15 PM, Lars-Peter Clausen wrote: On 01/14/2015 08:43 AM, Takashi Iwai wrote: At Tue, 13 Jan 2015 21:54:12 +, Mark Brown wrote: On Tue, Jan 13, 2015 at 06:24:44PM +0100, Takashi Iwai wrote: Wang, Jiada (ESD) wrote: I am using i.MX6Q sabreSD board, which have imx_wm89

[PATCH 3.18 096/150] serial: samsung: wait for transfer completion before clock disable

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Robert Baldyga commit 1ff383a4c3eda8893ec61b02831826e1b1f46b41 upstream. This patch adds waiting until transmit buffer and shifter will be empty before clock disabling. Without this fix it's

[PATCH] fbdev: ssd1307fb: return proper error code if write command fails

2015-01-14 Thread Lad, Prabhakar
this patch fixes ssd1307fb_ssd1306_init() function to return proper error codes in case of failures. Signed-off-by: Lad, Prabhakar --- drivers/video/fbdev/ssd1307fb.c | 54 ++--- 1 file changed, 40 insertions(+), 14 deletions(-) diff --git a/drivers/video/fbd

[PATCH 3.18 054/150] HID: i2c-hid: fix race condition reading reports

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Baptiste Maneyrol commit 6296f4a8eb86f9abcc370fb7a1a116b8441c17fd upstream. Current driver uses a common buffer for reading reports either synchronously in i2c_hid_get_raw_report() and as

[PATCH 3.18 055/150] HID: i2c-hid: prevent buffer overflow in early IRQ

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou commit d1c7e29e8d276c669e8790bb8be9f505ddc4 upstream. Before ->start() is called, bufsize size is set to HID_MIN_BUFFER_SIZE, 64 bytes. While processing the IRQ, we were as

[PATCH 3.18 047/150] blk-mq: Fix a use-after-free

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 45a9c9d909b24c6ad0e28a7946e7486e73010319 upstream. blk-mq users are allowed to free the memory request_queue.tag_set points at after blk_cleanup_queue() has finished but

[PATCH 3.18 097/150] xtensa: fix kmap_prot definition

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit ff009ab6d4d4581b62fa055ab6233133aca25ab8 upstream. Replace PAGE_KERNEL with PAGE_KERNEL_EXEC to allow copy_to_user_page invalidate icache for pages mapped with kmap. Signe

[PATCH 3.18 053/150] HID: wacom: fix freeze on open when autosuspend is on

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit dff674168878fe7b6d8b9ad60d62295ec517de79 upstream. Since the conversion from USB to HID (in v3.17), some people reported a freeze on boot with the wacom driver. Hans

[PATCH 3.18 056/150] HID: roccat: potential out of bounds in pyra_sysfs_write_settings()

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 606185b20caf4c57d7e41e5a5ea4aff460aef2ab upstream. This is a static checker fix. We write some binary settings to the sysfs file. One of the settings is the "->startup_p

[PATCH] mfd: lpc_sch: enable WDT for Intel Quark X1000

2015-01-14 Thread Ong Boon Leong
Quark X1000 uses ie6xx_wdt driver for WDT. To enable WDT, we declare WDT IO resource size for Quark X1000. Signed-off-by: Ong Boon Leong --- drivers/mfd/lpc_sch.c |1 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/lpc_sch.c b/drivers/mfd/lpc_sch.c index 5c38df3..a56e4ba 100644 ---

[PATCH] staging: android: fix coding style error

2015-01-14 Thread Patrick Boettcher
Simple style fix - 80 char limit was exceeded. Context: eudyptula challenge (http://eudyptula-challenge.org/) Signed-off-by: Patrick Boettcher Cc: Greg Kroah-Hartman Cc: Arnd Bergmann Cc: John Stultz Cc: Peter Senna Tschudin Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Tapasweni Pathak Cc

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Boris Brezillon
Hi Rob, On Tue, 13 Jan 2015 21:26:42 -0600 Rob Herring wrote: > On Tue, Jan 13, 2015 at 12:46 PM, Boris Brezillon > wrote: > > Some interrupt controllers are multiplexing several peripheral IRQs on > > a single interrupt line. > > While this is not a problem for most IRQs (as long as all periph

Re: [PATCH] arm64: allow late use of early_ioremap

2015-01-14 Thread Hanjun Guo
Hi Mark, On 2015年01月13日 03:09, Mark Salter wrote: On Mon, 2015-01-12 at 17:25 +, Will Deacon wrote: On Mon, Jan 12, 2015 at 04:55:11PM +, Mark Salter wrote: Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_ioremap_reset()) added a missing call to early_ioremap_reset(). This tr

[PATCH 3.18 087/150] USB: qcserial: Add support for HP lt4112 LTE/HSPA+ Gobi 4G Modem

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Martin Hauke commit e7181d005e84b15fe3121a8d22840adc3395d496 upstream. Added new device layout "DEVICE_HWI" and also added the USB VID/PID for the HP lt4112 LTE/HSPA+ Gobi 4G Modem (Huawei me9

[PATCH 3.18 104/150] nfsd4: fix xdr4 count of server in fs_location4

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit bf7491f1be5e125eece2ec67e0f79d513caa6c7e upstream. Fix a bug where nfsd4_encode_components_esc() incorrectly calculates the length of server array in fs_location4--n

[PATCH] mfd, lpc_sch: Intel Quark X1000 WDT enabling

2015-01-14 Thread Ong Boon Leong
Hi, This patch simply adds WDT IO resource for Quark within lpc_sch driver. The MFD driver would register 'ie6xx_wdt' platform device and eventually be bound to its platform driver under drivers/watchdog/ie6xx_wdt.c I have tested this patch on Intel Quark Galileo Gen v2 boad by op

Re: [PATCH v3] mtd: test: Replace timeval with ktime_t in speedtest.c and torturetest.c

2015-01-14 Thread Chunyan Zhang
Hi, Brian Thank you so much ! Best regards, Chunyan On Thu, Jan 8, 2015 at 9:26 AM, Brian Norris wrote: > On Thu, Dec 18, 2014 at 08:53:10AM +0100, Arnd Bergmann wrote: >> On Thursday 18 December 2014 11:23:31 Chunyan Zhang wrote: >> > This patch changes the 32-bit time type (timeval) to the 64

[PATCH 3.18 101/150] Drivers: hv: util: make struct hv_do_fcopy match Hyper-V host messages

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov commit 31d4ea1a093fcf668d5f95af44b8d41488bdb7ec upstream. An attempt to fix fcopy on i586 (bc5a5b0 Drivers: hv: util: Properly pack the data for file copy functionality) led

[PATCH 3.18 108/150] mtd: tests: abort torturetest on erase errors

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 68f29815034e9dc9ed53cad85946c32b07adc8cc upstream. The torture test should quit once it actually induces an error in the flash. This step was accidentally removed during re

[PATCH 3.18 106/150] ACPI / video: update the skip case for acpi_video_device_in_dod()

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Lu commit b4df463678fb9c6dae9548dbb7545993779fd416 upstream. If the firmware has declared more than 8 video output devices, and the one that control the internal panel's backlight is lis

[PATCH 3.18 109/150] MTD: m25p80: fix inconsistency in m25p_ids compared to spi_nor_ids

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alison Chaiken commit 834b686552d9018e2d17bd56ac5361b78bcc75b8 upstream. As stated in a5b7616c5, "mtd: m25p80,spi-nor: Fix module aliases for m25p80", m25p_ids[] in m25p80.c needs to be kept i

[PATCH 3.18 113/150] sched/deadline: Fix migration of SCHED_DEADLINE tasks

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Luca Abeni commit 6a503c3be937d275113b702e0421e5b0720abe8a upstream. According to global EDF, tasks should be migrated between runqueues without checking if their scheduling deadlines and runt

[PATCH 3.18 088/150] Add USB_EHCI_EXYNOS to multi_v7_defconfig

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steev Klimaszewski commit 007487f1fd43d84f26cda926081ca219a24ecbc4 upstream. Currently we enable Exynos devices in the multi v7 defconfig, however, when testing on my ODROID-U3, I noticed that

[PATCH 3.18 112/150] scripts/kernel-doc: dont eat struct members with __aligned

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 7b990789a4c3420fa57596b368733158e432d444 upstream. The change from \d+ to .+ inside __aligned() means that the following structure: struct test { u8 a __aligned

[PATCH 3.18 114/150] sched/deadline: Avoid double-accounting in case of missed deadlines

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Luca Abeni commit 269ad8015a6b2bb1cf9e684da4921eb6fa0a0c88 upstream. The dl_runtime_exceeded() function is supposed to ckeck if a SCHED_DEADLINE task must be throttled, by checking if its curr

Re: [PATCH v2 3/8] PCI/MSI: of: Add support for OF-provided msi_domain

2015-01-14 Thread Yun Wu (Abel)
On 2015/1/9 1:06, Marc Zyngier wrote: > In order to populate the PHB msi_domain, use the "msi-parent" > attribute to lookup a corresponding irq domain. If found, > this is our MSI domain. > > This gets plugged into the core PCI code. > Hi Marc, Since the whole patch series based on the fact th

[PATCH 3.18 117/150] ARM: dts: am437x-sk-evm.dts: fix LCD timings

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen commit d73f825e6efa723e81d9ffcc4949fe9f03f1df29 upstream. The lcd0 node for am437x-sk-evm.dts contains bad LCD timings, and while they seem to work with a quick test, doing for

[PATCH 3.18 119/150] ARM: dts: DRA7: wdt: Fix compatible property for watchdog node

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lokesh Vutla commit be6688350a4470e417aaeca54d162652aab40ac5 upstream. OMAP wdt driver supports only ti,omap3-wdt compatible. In DRA7 dt wdt compatible property is defined as ti,omap4-wdt by m

[PATCH 3.18 090/150] cdc-acm: memory leak in error case

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit d908f8478a8d18e66c80a12adb27764920c1f1ca upstream. If probe() fails not only the attributes need to be removed but also the memory freed. Reported-by: Ahmed Tamrawi Sign

Re: [PATCH]dts: add bcm2835-pwm bindings

2015-01-14 Thread Bart Tanghe
On 01/13/2015 05:19 PM, Stephen Warren wrote: > On 01/13/2015 08:40 AM, Bart Tanghe wrote: >> On 01/10/2015 05:38 PM, Stephen Warren wrote: >>> On 01/05/2015 08:33 AM, Bart Tanghe wrote: To probe the bcm2835-pwm driver properly, this dts bindings has to be added to the bcm2835 dtsi file.

[PATCH 3.18 093/150] writeback: fix a subtle race condition in I_DIRTY clearing

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 9c6ac78eb3521c5937b2dd8a7d1b300f41092f45 upstream. After invoking ->dirty_inode(), __mark_inode_dirty() does smp_mb() and tests inode->i_state locklessly to see whether it alr

Re: [alsa-devel] unload Audio drivers while playback stream is active case kernel crash

2015-01-14 Thread Lars-Peter Clausen
On 01/14/2015 08:43 AM, Takashi Iwai wrote: At Tue, 13 Jan 2015 21:54:12 +, Mark Brown wrote: On Tue, Jan 13, 2015 at 06:24:44PM +0100, Takashi Iwai wrote: Wang, Jiada (ESD) wrote: I am using i.MX6Q sabreSD board, which have imx_wm892 machine driver, wm8962 codec and SSI CPU DAI, I

[PATCH 3.18 092/150] drbd: Fix state change in case of connection timeout

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Philipp Reisner commit 9581f97a687724ea41cf2e145dda4751161198c1 upstream. A connection timeout affects all volumes of a resource! Under the following conditions: A resource with multiple vol

Re: [PATCH 07/28] gpio: drop owner assignment from platform_drivers

2015-01-14 Thread Linus Walleij
On Sun, Dec 21, 2014 at 10:14 PM, Wolfram Sang wrote: > This platform_driver does not need to set an owner, it will be populated by > the > driver core. > > Signed-off-by: Wolfram Sang Patch applied, thanks! Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe lin

[PATCH 3.18 085/150] usb: renesas_usbhs: gadget: fix NULL pointer dereference in ep_disable()

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Kazuya Mizuguchi commit 11432050f070810ba139d0226344eef120c3a559 upstream. This patch fixes an issue that the NULL pointer dereference happens when we uses g_audio driver. Since the g_audio dr

[PATCH 3.18 139/150] perf/x86/uncore/hsw-ep: Handle systems with only two SBOXes

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 5306c31c5733cb4a79cc002e0c3ad256fd439614 upstream. There was another report of a boot failure with a #GP fault in the uncore SBOX initialization. The earlier work around was

[PATCH 3.18 136/150] Revert "mac80211: Fix accounting of the tailroom-needed counter"

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 1e359a5de861a57aa04d92bb620f52a5c1d7f8b1 upstream. This reverts commit ca34e3b5c808385b175650605faa29e71e91991b. It turns out that the p54 and cw2100 drivers assume that

[PATCH 3.18 140/150] perf session: Do not fail on processing out of order event

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit f61ff6c06dc8f32c7036013ad802c899ec590607 upstream. Linus reported perf report command being interrupted due to processing of 'out of order' event, with following error: Tim

[PATCH 3.18 124/150] ACPI / video: Add some Samsung models to disable_native_backlight list

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Lu commit 7d0b93499f4879ddbc75d594f4ea216ba964f78e upstream. Several Samsung laptop models (SAMSUNG 870Z5E/880Z5E/680Z5E and SAMSUNG 370R4E/370R4V/370R5E/3570RE/370R5V) do not have a wor

[PATCH 3.18 146/150] exit: fix race between wait_consider_task() and wait_task_zombie()

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 3245d6acab981a2388ffb877c7ecc97e763c59d4 upstream. wait_consider_task() checks EXIT_ZOMBIE after EXIT_DEAD/EXIT_TRACE and both checks can fail if we race with EXIT_ZOMBIE

[PATCH 3.18 141/150] spi: sh-msiof: Add runtime PM lock in initializing

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hisashi Nakamura commit 015760563ec77bf17cec712fa94afdf53b285287 upstream. SH-MSIOF driver is enabled autosuspend API of spi framework. But autosuspend framework doesn't work during initializi

[PATCH 3.18 144/150] regulator: s2mps11: Fix dw_mmc failure on Gear 2

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 1222d8fe578cd28a6c7f5e4e6c6b664c56abfdc0 upstream. Invalid buck4 configuration for linear mapping of voltage in S2MPS14 regulators caused boot failure on Gear 2 (dw_

[PATCH 3.18 147/150] mm: protect set_page_dirty() from ongoing truncation

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 2d6d7f98284648c5ed113fe22a132148950b140f upstream. Tejun, while reviewing the code, spotted the following race condition between the dirtying and truncation of a page:

[PATCH 3.18 145/150] mmc: sdhci: Fix sleep in atomic after inserting SD card

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 2836766a9d0bd02c66073f8dd44796e6cc23848d upstream. Sleep in atomic context happened on Trats2 board after inserting or removing SD card because mmc_gpio_get_cd() was

[PATCH 3.18 149/150] mm: propagate error from stack expansion even for guard page

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit fee7e49d45149fba60156f5b59014f764d3e3728 upstream. Jay Foad reports that the address sanitizer test (asan) sometimes gets confused by a stack pointer that ends up being o

[PATCH 3.18 150/150] mm: Dont count the stack guard page towards RLIMIT_STACK

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 690eac53daff34169a4d74fc7bfbd388c4896abb upstream. Commit fee7e49d4514 ("mm: propagate error from stack expansion even for guard page") made sure that we return the error

[PATCH 3.18 148/150] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 9e5e3661727eaf960d3480213f8e87c8d67b6956 upstream. Charles Shirron and Paul Cassella from Cray Inc have reported kswapd stuck in a busy loop with nothing left to balance

[PATCH 3.18 127/150] Input: alps - v7: ignore new packets

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 8b23811535d2e1dd6abbe4ce6ea1edfd50ce72de upstream. NEW packets are send to indicate a discontinuity in the finger coordinate reporting. Specifically a finger may have move

[PATCH 3.18 130/150] arm64: Move cpu_resume into the text section

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott commit c3684fbb446501b48dec6677a6a9f61c215053de upstream. The function cpu_resume currently lives in the .data section. There's no reason for it to be there since we can use relat

[PATCH 3.18 128/150] Input: alps - v7: sometimes a single touch is reported in mt[1]

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 7091c443dda8c6c6d8e70e33452252f9ad3e7814 upstream. The v7 proto differentiates between a primary touch (with high precision) and a secondary touch (with lower precision).

[PATCH 3.18 122/150] Revert "ARM: 7830/1: delay: dont bother reporting bogomips in /proc/cpuinfo"

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Machek commit 4bf9636c39ac70da091d5a2e28d3448eaa7f115c upstream. Commit 9fc2105aeaaf ("ARM: 7830/1: delay: don't bother reporting bogomips in /proc/cpuinfo") breaks audio in python, and

[PATCH 3.14 04/77] ocfs2: fix the wrong directory passed to ocfs2_lookup_ino_from_name() when link file

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Xue jiufei commit 53dc20b9a3d928b0744dad5aee65b610de1cc85d upstream. In ocfs2_link(), the parent directory inode passed to function ocfs2_lookup_ino_from_name() is wrong. Parameter dir is the

[PATCH 3.14 08/77] can: peak_usb: fix memset() usage

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Stephane Grosjean commit dc50ddcd4c58a5a0226038307d6ef884bec9f8c2 upstream. This patchs fixes a misplaced call to memset() that fills the request buffer with 0. The problem was with sending PC

[PATCH 3.14 09/77] swiotlb-xen: pass dev_addr to xen_dma_unmap_page and xen_dma_sync_single_for_cpu

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit d6883e6f32e07ef2cc974753ba00927de099e6d7 upstream. xen_dma_unmap_page and xen_dma_sync_single_for_cpu take a dma_addr_t handle as argument, not a physical address. S

Re: [Nbd] NBD Maintainer

2015-01-14 Thread Tuomas Räsänen
Hi On Tue Jan 13 21:26:01 2015 GMT+0200, Paul Clements wrote: > On Tue, Jan 13, 2015 at 11:14 AM, Andrey Utkin > wrote: > > Hi Paul, > > could you please describe > > > - how wide is NBD usage today (any estimation is ok), > > It depends somewhat on who you consider to be users. There are two >

Re: [PATCH 0/5] kstrdup optimization

2015-01-14 Thread Andrzej Hajda
On 01/14/2015 12:37 AM, Andrew Morton wrote: > On Mon, 12 Jan 2015 10:18:38 +0100 Andrzej Hajda wrote: > >> Hi, >> >> kstrdup if often used to duplicate strings where neither source neither >> destination will be ever modified. In such case we can just reuse the source >> instead of duplicating it

[PATCH 3.14 25/77] UBI: Fix double free after do_sync_erase()

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534 upstream. If the erase worker is unable to erase a PEB it will free the ubi_wl_entry itself. The failing ubi_wl_entry must no

[PATCH 3.14 00/77] 3.14.29-stable review

2015-01-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.14.29 release. There are 77 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Jan 16 07:22:07 UTC 2015. Anything receiv

[PATCH 3.14 07/77] can: peak_usb: fix cleanup sequence order in case of error during init

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Stephane Grosjean commit af35d0f1cce7a990286e2b94c260a2c2d2a0e4b0 upstream. This patch sets the correct reverse sequence order to the instructions set to run, when any failure occurs during th

[PATCH 3.14 24/77] UBI: Fix invalid vfree()

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit f38aed975c0c3645bbdfc5ebe35726e64caaf588 upstream. The logic of vfree()'ing vol->upd_buf is tied to vol->updating. In ubi_start_update() vol->updating is set long bef

[PATCH 3.14 28/77] HID: i2c-hid: fix race condition reading reports

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Baptiste Maneyrol commit 6296f4a8eb86f9abcc370fb7a1a116b8441c17fd upstream. Current driver uses a common buffer for reading reports either synchronously in i2c_hid_get_raw_report() and as

[PATCH 3.14 27/77] blk-mq: use nr_cpu_ids as highest CPU ID count for hwq <-> cpu map

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit a33c1ba2913802b6fb23e974bb2f6a4e73c8b7ce upstream. We currently use num_possible_cpus(), but that breaks on sparc64 where the CPU ID space is discontig. Use nr_cpu_ids as the

[PATCH 3.14 31/77] HID: add battery quirk for USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ISO keyboard

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Karl Relton commit da940db41dcf8c04166f711646df2f35376010aa upstream. Apple bluetooth wireless keyboard (sold in UK) has always reported zero for battery strength no matter what condition the

[PATCH 3.14 26/77] iommu/vt-d: Fix an off-by-one bug in __domain_mapping()

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit cc4f14aa170d895c9a43bdb56f62070c8a6da908 upstream. There's an off-by-one bug in function __domain_mapping(), which may trigger the BUG_ON(nr_pages < lvl_pages) when (n

[PATCH 3.14 39/77] ALSA: hda - using uninitialized data

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 69eba10e606a80665f8573221fec589430d9d1cb upstream. In olden times the snd_hda_param_read() function always set "*start_id" but in 2007 we introduced a new return and it ca

[PATCH 3.14 40/77] ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC codecs

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c507de88f6a336bd7296c9ec0073b2d4af8b4f5e upstream. stac_store_hints() does utterly wrong for masking the values for gpio_dir and gpio_data, likely due to copy&paste errors.

[PATCH 3.14 29/77] HID: i2c-hid: prevent buffer overflow in early IRQ

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou commit d1c7e29e8d276c669e8790bb8be9f505ddc4 upstream. Before ->start() is called, bufsize size is set to HID_MIN_BUFFER_SIZE, 64 bytes. While processing the IRQ, we were as

[PATCH 3.14 36/77] driver core: Fix unbalanced device reference in drivers_probe

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit bb34cb6bbd287b57e955bc5cfd42fcde6aaca279 upstream. bus_find_device_by_name() acquires a device reference which is never released. This results in an object leak, which

<    4   5   6   7   8   9   10   >