[PATCH 3.12 167/170] ring-buffer: Check if buffer exists before polling

2014-07-18 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8b8b36834d0fff67fc8668093f4312dd04dcf21d upstream. The per_cpu buffers are created one per possible CPU. But these do not mean that those CPUs are online, nor

[PATCH 3.12 015/170] PCI: Fix incorrect vgaarb conditional in WARN_ON()

2014-07-18 Thread Jiri Slaby
From: Bjorn Helgaas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 67ebd8140dc8923c65451fa0f6a8eee003c4dcd3 upstream. 3448a19da479 "vgaarb: use bridges to control VGA routing where possible" added the "flags & PCI_VGA_STATE_CHANGE_DECODES"

[PATCH 3.12 001/170] Revert "aio: fix kernel memory disclosure in io_getevents() introduced in v3.10"

2014-07-18 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === This reverts commit 0e2e24e5dc6eb6f0698e9dc97e652f132b885624, which was applied twice mistakenly. The first one is bee3f7b8188d4b2a5dfaeb2eb4a68d99f67daecf. Reported-by: Gu Zheng Signed-off-by: Jiri

Re: [PATCH 1/2] clk: samsung: exynos4x12: Enable ARMCLK down feature

2014-07-18 Thread Krzysztof Kozlowski
On pią, 2014-07-18 at 15:01 +0200, Tomasz Figa wrote: > Hi Krzysztof, > > On 18.07.2014 11:53, Krzysztof Kozlowski wrote: > > Enable ARMCLK down and up features on Exynos4212 and 4412 SoCs. The > > frequency of ARMCLK will be reduced upon entering idle mode (WFI or > > WFE). Additionally upon

[PATCH 3.12 072/170] USB: ftdi_sio: fix null deref at port probe

2014-07-18 Thread Jiri Slaby
From: Johan Hovold 3.12-stable review patch. If anyone has any objections, please let me know. === commit aea1ae8760314e072bf1b773521e9de5d5dda10d upstream. Fix NULL-pointer dereference when probing an interface with no endpoints. These devices have two bulk endpoints per

Re: [PATCH 7/9] usb: phy: am335x: setup the gen_phy function pointers _before_ adding the phy

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:28AM +0200, Lothar Waßmann wrote: > Make sure all parameters are correctly set up before registering the > PHY with the USB framework. > > Signed-off-by: Lothar Waßmann > --- > drivers/usb/phy/phy-am335x.c |5 +++-- > 1 file changed, 3 insertions(+), 2

[PATCH 3.12 093/170] rbd: use reference counts for image requests

2014-07-18 Thread Jiri Slaby
From: Alex Elder 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0f2d5be792b0466b06797f637cfbb0f64dbb408c upstream. Each image request contains a reference count, but to date it has not actually been used. (I think this was just an

Re: [PATCH 5/9] usb: musb: print error message with dev_err() instead of dev_dbg()

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:26AM +0200, Lothar Waßmann wrote: > no commit log. Not a bug fix. > Signed-off-by: Lothar Waßmann > --- > drivers/usb/musb/musb_core.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/musb/musb_core.c

Re: [PATCH ftrace/core v3 2/3] ftrace, kprobes: Support IPMODIFY flag to find IP modify conflict

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 16:09:07 +0900 Masami Hiramatsu wrote: > > "The ops can modify the IP register. This can only be set along with > > SAVE_REGS. If another ops is already registered for any of the > > functions that this ops will be registered for, then this ops will fail > > to register." >

Re: [PATCH 6/9] usb: musb: core: properly setup the HW before registering it to the USB core

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:27AM +0200, Lothar Waßmann wrote: > Without this patch overriding the USBOTG_ID pin by setting the iddig > bit in the USB_MODE register doesn't work because it happens too late > to be recognized correctly. and how did you test this ? Why is it too late ? What was

[PATCH 3.12 121/170] tty: Correct INPCK handling

2014-07-18 Thread Jiri Slaby
From: Peter Hurley 3.12-stable review patch. If anyone has any objections, please let me know. === commit 66528f90669691c85c73bea4f0c9f4a5857c4cab upstream. If INPCK is not set, input parity detection should be disabled. This means parity errors should not be received from the

Re: [PATCH] irqchip: add keystone irq controller ip driver

2014-07-18 Thread Santosh Shilimkar
Hi Jason, On Friday 18 July 2014 08:59 AM, Jason Cooper wrote: > Grygorii, > > On Mon, Jul 14, 2014 at 06:27:57PM +0300, Grygorii Strashko wrote: >> On Keystone SOCs, DSP cores can send interrupts to ARM >> host using the IRQ controller IP. It provides 28 IRQ >> signals to ARM. The IRQ handler

[PATCH 3.12 138/170] hwmon: (adm1031) Fix writes to limit registers

2014-07-18 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit 145e74a4e505adb84f4e5d4fff7938475c35 upstream. Upper limit for write operations to temperature limit registers was clamped to a fractional value. However, limit

Re: [PATCH 4/9] usb: phy: am335x-control: prevent module from being unloaded when in use

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:25AM +0200, Lothar Waßmann wrote: > This patch fixes the real cause of the crash that was "fixed" by > commit 7adb5c876e9c usb: musb: Fix panic upon musb_am335x module removal > > Signed-off-by: Lothar Waßmann what is the "real cause of the crash" ? You don't

Re: [PATCH] ARM: at91: at91sam9x5: correct typo error for ohci clock

2014-07-18 Thread Nicolas Ferre
On 14/07/2014 08:14, Boris BREZILLON : > On Mon, 14 Jul 2014 11:08:14 +0800 > Bo Shen wrote: > >> Correct the typo error for the second "uhphs_clk". >> >> Signed-off-by: Bo Shen > > Acked-by: Boris Brezillon Acked-by: Nicolas Ferre > sam9n12 dtsi has the same bug, I'll fix it Ok, thanks

Re: ls -l /proc/1/exe -> Permission denied

2014-07-18 Thread Joakim Tjernlund
Richard Weinberger wrote on 2014/07/18 14:58:30: > > On Thu, Jul 17, 2014 at 1:18 PM, Joakim Tjernlund > wrote: > > Trying to real /proc//exe I noticed I could not read links not > > belonging to my user such as: > > jocke > ls -l /proc/1/exe > > ls: cannot read symbolic link

[PATCH 3.12 075/170] rt2x00: fix rfkill regression on rt2500pci

2014-07-18 Thread Jiri Slaby
From: Stanislaw Gruszka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 616a8394b5df8c88f4dd416f4527439a4e365034 upstream. As reported by Niels, starting rfkill polling during device probe (commit e2bc7c5, generally sane change) broke rfkill

[PATCH 3.12 124/170] ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-07-18 Thread Jiri Slaby
From: Sander Eikelenboom 3.12-stable review patch. If anyone has any objections, please let me know. === commit b7a7723513dc89f83d6df13206df55d4dc26e825 upstream. This (widely used) construction: if(printk_ratelimit()) dev_dbg() Causes the ratelimiting to spam the

Re: [PATCH] [RFC] initial getrandom wrapper to provide getentropy for LibreSSL

2014-07-18 Thread Brent Cook
On Jul 18, 2014, at 1:49 AM, Brent Cook wrote: > From: Brent Cook > > This is not a kernel patch, but rather an initial test of the API to see > how it might mesh LibreSSL's expectations for how getentropy works. > > It is a bit more code to carefully handle the extra return values, as > not

[PATCH 3.12 019/170] recordmcount/MIPS: Fix possible incorrect mcount_loc table entries in modules

2014-07-18 Thread Jiri Slaby
From: Alex Smith 3.12-stable review patch. If anyone has any objections, please let me know. === commit 91ad11d7cc6f4472ebf177a6252fbf0fd100d798 upstream. On MIPS calls to _mcount in modules generate 2 instructions to load the _mcount address (and therefore 2 relocations). The

Re: [PATCH v10 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-18 Thread Tejun Heo
On Fri, Jul 18, 2014 at 02:30:02PM +0200, Antoine Ténart wrote: > @@ -321,6 +321,8 @@ struct ahci_host_priv { > u32 cap;/* cap to use */ > u32 cap2; /* cap2 to use */ > u32 port_map; /* port

[PATCH 3.12 042/170] powerpc: 64bit sendfile is capped at 2GB

2014-07-18 Thread Jiri Slaby
From: Anton Blanchard 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5d73320a96fcce80286f1447864c481b5f0b96fa upstream. commit 8f9c0119d7ba (compat: fs: Generic compat_sys_sendfile implementation) changed the PowerPC 64bit sendfile call

[PATCH 3.12 056/170] tracing: Try again for saved cmdline if failed due to locking

2014-07-18 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 379cfdac37923653c9d4242d10052378b7563005 upstream. In order to prevent the saved cmdline cache from being filled when tracing is not active, the comms are only

Re: [PATCH 3.12 000/170] 3.12.25-stable review

2014-07-18 Thread Guenter Roeck
On 07/18/2014 05:16 AM, Jiri Slaby wrote: On 07/18/2014 02:12 PM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.25 release. There are 170 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied,

[PATCH 3.12 146/170] powerpc/perf: Add PPMU_ARCH_207S define

2014-07-18 Thread Jiri Slaby
From: Joel Stanley 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4d9690dd56b0d18f2af8a9d4a279cb205aae3345 upstream. Instead of separate bits for every POWER8 PMU feature, have a single one for v2.07 of the architecture. This saves us

[PATCH 3.12 012/170] Input: elantech - deal with clickpads reporting right button events

2014-07-18 Thread Jiri Slaby
From: Hans de Goede 3.12-stable review patch. If anyone has any objections, please let me know. === commit cd9e83e2754465856097f31c7ab933ce74c473f8 upstream. At least the Dell Vostro 5470 elantech *clickpad* reports right button clicks when clicked in the right bottom area:

Re: [PATCH 3/9] usb: musb_am335x: source cleanup

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:24AM +0200, Lothar Waßmann wrote: > - remove comma after end of list delimiter > The empty entry must always be the last item in the list, thus there > is no point in having a trailing comma to facilitate adding > succeding entries. > Remove the comma, so that

[PATCH 3.12 142/170] ACPI / EC: Add asynchronous command byte write support

2014-07-18 Thread Jiri Slaby
From: Lv Zheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit f92fca0060fc4dc9227342d0072d75df98c1e5a5 upstream. Move the first command byte write into advance_transaction() so that all EC register accesses that can affect the command

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Richard Weinberger
Am 18.07.2014 15:37, schrieb Guenter Roeck: > On 07/18/2014 01:23 AM, Borislav Petkov wrote: >> On Fri, Jul 18, 2014 at 12:29:37AM -0700, Guenter Roeck wrote: >>> First, 'abuse' is a relative term. It describes a use you >>> (and possibly many others) may find objectionable, but that >>> does not

[PATCH 3.12 163/170] drm/radeon: fix typo in golden register setup on evergreen

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6abafb78f9881b4891baf74ab4e9f090ae45230e upstream. Fixes hangs on driver load on some cards. bug: https://bugs.freedesktop.org/show_bug.cgi?id=76998 Signed-off-by: Alex

[PATCH 3.12 048/170] powerpc: Don't skip ePAPR spin-table CPUs

2014-07-18 Thread Jiri Slaby
From: Scott Wood 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6663a4fa6711050036562ddfd2086edf735fae21 upstream. Commit 59a53afe70fd530040bdc69581f03d880157f15a "powerpc: Don't setup CPUs with bad status" broke ePAPR SMP booting. ePAPR

Re: [PATCH 1/9] usb: musb: core: cleanup - remove some useless 'break's from switch statements

2014-07-18 Thread Felipe Balbi
HI, On Fri, Jul 18, 2014 at 11:31:22AM +0200, Lothar Waßmann wrote: > no commit log == no commit, also the worst thing you can do is have your bug fixes depend on cleanups. This is *not* a bug fix by any stretch of the imagination. > Signed-off-by: Lothar Waßmann > --- >

Re: [PATCH 2/9] usb: phy: am335x: group the #includes by subdirs

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:23AM +0200, Lothar Waßmann wrote: > no commit log. Not a bug fix. > Signed-off-by: Lothar Waßmann > --- > drivers/usb/phy/phy-am335x.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/usb/phy/phy-am335x.c

[PATCH 3.12 165/170] drm/i915: Don't clobber the GTT when it's within stolen memory

2014-07-18 Thread Jiri Slaby
From: Ville Syrjälä 3.12-stable review patch. If anyone has any objections, please let me know. === commit f1e1c2129b79cfdaf07bca37c5a10569fe021abe upstream. On most gen2-4 platforms the GTT can be (or maybe always is?) inside the stolen memory region. If that's the case, reduce

[PATCH 3.12 170/170] ACPI / battery: Retry to get battery information if failed during probing

2014-07-18 Thread Jiri Slaby
From: Lan Tianyu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 75646e758a0ecbed5024454507d5be5b9ea9dcbf upstream. Some machines (eg. Lenovo Z480) ECs are not stable during boot up and causes battery driver fails to be loaded due to failure

[PATCH 3.12 108/170] blkcg: fix use-after-free in __blkg_release_rcu() by making blkcg_gq refcnt an atomic_t

2014-07-18 Thread Jiri Slaby
From: Tejun Heo 3.12-stable review patch. If anyone has any objections, please let me know. === commit a5049a8ae34950249a7ae94c385d7c5c98914412 upstream. Hello, So, this patch should do. Joe, Vivek, can one of you guys please verify that the oops goes away with this patch?

Re: [PATCHv4 5/5] arm64: Add atomic pool for non-coherent and CMA allocations.

2014-07-18 Thread Catalin Marinas
On Wed, Jul 02, 2014 at 07:03:38PM +0100, Laura Abbott wrote: > diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c > index 4164c5a..a2487f1 100644 > --- a/arch/arm64/mm/dma-mapping.c > +++ b/arch/arm64/mm/dma-mapping.c [...] > static void *__dma_alloc_coherent(struct device

[PATCH 3.12 034/170] pNFS: Handle allocation errors correctly in filelayout_alloc_layout_hdr()

2014-07-18 Thread Jiri Slaby
From: Trond Myklebust 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6df200f5d5191bdde4d2e408215383890f956781 upstream. Return the NULL pointer when the allocation fails. Reported-by: Fengguang Wu Signed-off-by: Trond Myklebust

[PATCH 3.12 164/170] drm/radeon: stop poisoning the GART TLB

2014-07-18 Thread Jiri Slaby
From: Christian König 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0986c1a55ca64b44ee126a2f719a6e9f28cbe0ed upstream. When we set the valid bit on invalid GART entries they are loaded into the TLB when an adjacent entry is loaded. This

[PATCH 3.12 014/170] PCI: Add new ID for Intel GPU "spurious interrupt" quirk

2014-07-18 Thread Jiri Slaby
From: Thomas Jarosch 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7c82126a94e69bbbac586f0249e7ef11e681246c upstream. After a CPU upgrade while keeping the same mainboard, we faced "spurious interrupt" problems again. It turned out that

[PATCH 3.12 127/170] usb: option: Add ID for Telewell TW-LTE 4G v2

2014-07-18 Thread Jiri Slaby
From: Bernd Wachter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3d28bd840b2d3981cd28caf5fe1df38f1344dd60 upstream. Add ID of the Telewell 4G v2 hardware to option driver to get legacy serial interface working Signed-off-by: Bernd

[PATCH 3.12 102/170] arm64: mm: Make icache synchronisation logic huge page aware

2014-07-18 Thread Jiri Slaby
From: Steve Capper 3.12-stable review patch. If anyone has any objections, please let me know. === commit 923b8f5044da753e4985ab15c1374ced2cdf616c upstream. The __sync_icache_dcache routine will only flush the dcache for the first page of a compound page, potentially leading to

[PATCH 3.12 082/170] drm/radeon/atom: fix dithering on certain panels

2014-07-18 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 642528355c694f5ed68f6bff9ff520326a249f99 upstream. We need to specify the encoder mode as LVDS for eDP when using the Crtc_Source atom table in order to properly set up the

[PATCH 3.12 159/170] ext4: disable synchronous transaction batching if max_batch_time==0

2014-07-18 Thread Jiri Slaby
From: Eric Sandeen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5dd214248f94d430d70e9230bda72f2654ac88a8 upstream. The mount manpage says of the max_batch_time option, This optimization can be turned off entirely by

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-07-18 Thread Richard Weinberger
On Fri, Jul 18, 2014 at 12:55 PM, Yue Zhang wrote: > From: Yue Zhang > > This patch addresses the comment from Olaf Hering and Greg KH > for a previous commit 3a494e710367 ("hyperv: Add handler for > RNDIS_STATUS_NETWORK_CHANGE event") > > In previous solution, the driver calls "network restart"

[PATCH 3.12 111/170] KVM: x86: Increase the number of fixed MTRR regs to 10

2014-07-18 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 682367c494869008eb89ef733f196e99415ae862 upstream. Recent Intel CPUs have 10 variable range MTRRs. Since operating systems sometime make assumptions on CPUs while they ignore

[PATCH 3.12 155/170] intel_pstate: Set CPU number before accessing MSRs

2014-07-18 Thread Jiri Slaby
From: Vincent Minet 3.12-stable review patch. If anyone has any objections, please let me know. === commit 179e8471673ce0249cd4ecda796008f7757e5bad upstream. Ensure that cpu->cpu is set before writing MSR_IA32_PERF_CTL during CPU initialization. Otherwise only cpu0 has its

[PATCH 3.12 020/170] MIPS: MSC: Prevent out-of-bounds writes to MIPS SC ioremap'd region

2014-07-18 Thread Jiri Slaby
From: Markos Chandras 3.12-stable review patch. If anyone has any objections, please let me know. === commit ab6c15bc6620ebe220970cc040b29bcb2757f373 upstream. Previously, the lower limit for the MIPS SC initialization loop was set incorrectly allowing one extra loop leading to

[git pull] IOMMU Fixes for Linux v3.16-rc5

2014-07-18 Thread Joerg Roedel
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/joro/iommu.git tags/iommu-fixes-v3.16-rc5 for you to fetch changes up to

[PATCH 3.12 058/170] ALSA: usb-audio: Fix races at disconnection and PCM closing

2014-07-18 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 92a586bdc06de6629dae1b357dac221253f55ff8 upstream. When a USB-audio device is disconnected while PCM is still running, we still see some race: the disconnect callback calls

Re: [PATCH RFC tip/core/rcu 2/2] rcu: Create rcuo kthreads only for onlined CPUs

2014-07-18 Thread Sasha Levin
On 07/18/2014 08:55 AM, Paul E. McKenney wrote: > On Fri, Jul 18, 2014 at 07:17:17AM -0400, Sasha Levin wrote: >> > On 07/14/2014 06:06 AM, Paul E. McKenney wrote: >>> > > From: "Paul E. McKenney" >>> > > >>> > > RCU currently uses for_each_possible_cpu() to spawn rcuo kthreads, >>> > > which

Re: [PATCH v2 2/6] printk: LOG_CONT and LOG_NEWLINE are opposites

2014-07-18 Thread Alex Elder
On 07/18/2014 05:53 AM, Petr Mládek wrote: >> @@ -1686,9 +1690,8 @@ asmlinkage int vprintk_emit(int facility, int level, >> >if (cont_add(facility, level, text, text_len)) >> >printed_len += text_len; >> >else >> > - printed_len +=

[PATCH 3.12 002/170] ipvs: stop tot_stats estimator only under CONFIG_SYSCTL

2014-07-18 Thread Jiri Slaby
From: Julian Anastasov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 9802d21e7a0b0d2167ef745edc1f4ea7a0fc6ea3 ] The tot_stats estimator is started only when CONFIG_SYSCTL is defined. But it is stopped without checking

[PATCH 3.12 022/170] UBIFS: Remove incorrect assertion in shrink_tnc()

2014-07-18 Thread Jiri Slaby
From: hujianyang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 72abc8f4b4e8574318189886de627a2bfe6cd0da upstream. I hit the same assert failed as Dolev Raviv reported in Kernel v3.10 shows like this: [ 9641.164028] UBIFS assert failed in

[PATCH 3.12 129/170] USB: ftdi_sio: Add extra PID.

2014-07-18 Thread Jiri Slaby
From: Bert Vermeulen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5a7fbe7e9ea0b1b9d7ffdba64db1faa3a259164c upstream. This patch adds PID 0x0003 to the VID 0x128d (Testo). At least the Testo 435-4 uses this, likely other gear as well.

[PATCH 3.12 132/170] workqueue: fix dev_set_uevent_suppress() imbalance

2014-07-18 Thread Jiri Slaby
From: Maxime Bizon 3.12-stable review patch. If anyone has any objections, please let me know. === commit bddbceb688c6d0decaabc7884fede319d02f96c8 upstream. Uevents are suppressed during attributes registration, but never restored, so kobject_uevent() does nothing.

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Guenter Roeck
On 07/18/2014 01:23 AM, Borislav Petkov wrote: On Fri, Jul 18, 2014 at 12:29:37AM -0700, Guenter Roeck wrote: First, 'abuse' is a relative term. It describes a use you (and possibly many others) may find objectionable, but that does not mean all uses are objectionable. Do you actually have a

[PATCH 3.12 000/170] 3.12.25-stable review

2014-07-18 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.25 release. There are 170 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 Sun Jul 20 12:11:21 2014 Anything received

[PATCH 3.12 154/170] dm io: fix a race condition in the wake up code for sync_io

2014-07-18 Thread Jiri Slaby
From: Joe Thornber 3.12-stable review patch. If anyone has any objections, please let me know. === commit 10f1d5d111e8aed46a0f1179faf9a3cf422f689e upstream. There's a race condition between the atomic_dec_and_test(>count) in dec_count() and the waking of the sync_io() thread. If

Re: [PATCH v2 1/6] printk: initialize syslog_prev and console_prev

2014-07-18 Thread Alex Elder
On 07/18/2014 05:43 AM, Petr Mládek wrote: > On Thu 2014-07-17 09:09:06, Alex Elder wrote: >> Two global variables, "syslog_prev" and "console_prev", maintain a >> copy of the flags value used in the log record most recently >> formatted for syslog or the console, respectively. . . . >> @@

[PATCH 3.12 083/170] drm/radeon: don't allow RADEON_GEM_DOMAIN_CPU for command submission

2014-07-18 Thread Jiri Slaby
From: Marek Olšák 3.12-stable review patch. If anyone has any objections, please let me know. === commit ec65da385d46f63740c1c9230b891a6dcbd64c71 upstream. It hangs the hardware. Signed-off-by: Marek Olšák Reviewed-by: Christian König Signed-off-by: Jiri Slaby ---

[PATCH 3.12 021/170] UBIFS: fix an mmap and fsync race condition

2014-07-18 Thread Jiri Slaby
From: hujianyang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 691a7c6f28ac90cccd0dbcf81348ea90b211bdd0 upstream. There is a race condition in UBIFS: Thread A (mmap)Thread B (fsync) ->__do_fault

[PATCH 3.12 114/170] nfsd: fix rare symlink decoding bug

2014-07-18 Thread Jiri Slaby
From: "J. Bruce Fields" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 76f47128f9b33af1e96819746550d789054c9664 upstream. An NFS operation that creates a new symlink includes the symlink data, which is xdr-encoded as a length followed by

[PATCH 3.12 008/170] target: Fix left-over se_lun->lun_sep pointer OOPs

2014-07-18 Thread Jiri Slaby
From: Nicholas Bellinger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 83ff42fcce070801a3aa1cd6a3269d7426271a8d upstream. This patch fixes a left-over se_lun->lun_sep pointer OOPs when one of the

[PATCH 3.12 131/170] iio: ti_am335x_adc: Fix: Use same step id at FIFOs both ends

2014-07-18 Thread Jiri Slaby
From: Jan Kardell 3.12-stable review patch. If anyone has any objections, please let me know. === commit baa3c65298c089a9014b4e523a14ec2885cca1bc upstream. Since AI lines could be selected at will (linux-3.11) the sending and receiving ends of the FIFO does not agree about what

[PATCH 3.12 028/170] IB/qib: Fix port in pkey change event

2014-07-18 Thread Jiri Slaby
From: Mike Marciniszyn 3.12-stable review patch. If anyone has any objections, please let me know. === commit 911eccd284d13d78c92ec4f1f1092c03457d732a upstream. The code used a literal 1 in dispatching an IB_EVENT_PKEY_CHANGE. As of the dual port qib QDR card, this is not

[PATCH 3.12 037/170] NFS: populate ->net in mount data when remounting

2014-07-18 Thread Jiri Slaby
From: Mateusz Guzik 3.12-stable review patch. If anyone has any objections, please let me know. === commit a914722f333b3359d2f4f12919380a334176bb89 upstream. Otherwise the kernel oopses when remounting with IPv6 server because net is dereferenced in dev_get_by_name. Use net ns

Re: [PATCH v2 4/4] mfd: pm8921: rename pm8921-core driver

2014-07-18 Thread Prakash Burla
On Thu, Jul 17, 2014 at 9:47 PM, Stanimir Varbanov wrote: > The pm8921-core driver presently supports pm8921 and pm8058 > Qualcomm PMICs. To avoid confusion with new generation PMICs > (like pm8941) rename the pm8921-core driver to more > appropriate name pm8xxx-ssbi, which reflects better that

[PATCH 3.12 092/170] dm thin: update discard_granularity to reflect the thin-pool blocksize

2014-07-18 Thread Jiri Slaby
From: Lukas Czerner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 09869de57ed2728ae3c619803932a86cb0e2c4f8 upstream. DM thinp already checks whether the discard_granularity of the data device is a factor of the thin-pool block size. But

[PATCH 3.12 133/170] cpuset,mempolicy: fix sleeping function called from invalid context

2014-07-18 Thread Jiri Slaby
From: Gu Zheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 391acf970d21219a2a5446282d3b20eace0c0d7a upstream. When runing with the kernel(3.15-rc7+), the follow bug occurs: [ 9969.258987] BUG: sleeping function called from invalid

[PATCH 3.12 113/170] iio: of_iio_channel_get_by_name() returns non-null pointers for error legs

2014-07-18 Thread Jiri Slaby
From: Adam Thomson 3.12-stable review patch. If anyone has any objections, please let me know. === commit a2c12493ed7e63a18cef33a71686d12ffcd6600e upstream. Currently in the inkern.c code for IIO framework, the function of_iio_channel_get_by_name() will return a non-NULL pointer

[PATCH 3.12 076/170] mtd: eLBC NAND: fix subpage write support

2014-07-18 Thread Jiri Slaby
From: Pekon Gupta 3.12-stable review patch. If anyone has any objections, please let me know. === commit f034d87def51f026b735d1e2877e9387011b2ba3 upstream. As subpage write is enabled by default for all drivers, nand_write_subpage_hwecc causes a crash if the driver did not

[PATCH 3.12 016/170] mtip32xx: Fix ERO and NoSnoop values in PCIe upstream on AMD systems

2014-07-18 Thread Jiri Slaby
From: Asai Thambi S P 3.12-stable review patch. If anyone has any objections, please let me know. === commit d1e714db8129a1d3670e449b87719c78e2c76f9f upstream. A hardware quirk in P320h/P420m interfere with PCIe transactions on some AMD chipsets, making P320h/P420m unusable. This

[PATCH 3.12 030/170] IB/srp: Fix a sporadic crash triggered by cable pulling

2014-07-18 Thread Jiri Slaby
From: Bart Van Assche 3.12-stable review patch. If anyone has any objections, please let me know. === commit 024ca90151f5e4296d30f72c13ff9a075e23c9ec upstream. Avoid that the loops that iterate over the request ring can encounter a pointer to a SCSI command in req->scmnd that is

[PATCH 3.12 068/170] usb: musb: ux500: don't propagate the OF node

2014-07-18 Thread Jiri Slaby
From: Linus Walleij 3.12-stable review patch. If anyone has any objections, please let me know. === commit 82363cf2eeafeea6ba88849f5e2febdc8a05943f upstream. There is a regression in the upcoming v3.16-rc1, that is caused by a problem that has been around for a while but now

[PATCH 3.12 161/170] drm/radeon/dpm: Reenabling SS on Cayman

2014-07-18 Thread Jiri Slaby
From: Alexandre Demers 3.12-stable review patch. If anyone has any objections, please let me know. === commit 41959341ac7e33dd360c7a881d13566f9eca37b2 upstream. It reverts commit c745fe611ca42295c9d91d8e305d27983e9132ef now that Cayman is stable since VDDCI fix. Spread spectrum

[PATCH 3.12 023/170] watchdog: sp805: Set watchdog_device->timeout from ->set_timeout()

2014-07-18 Thread Jiri Slaby
From: Viresh Kumar 3.12-stable review patch. If anyone has any objections, please let me know. === commit 938626d96a3ffb9eb54552bb0d3a4f2b30ffdeb0 upstream. Implementation of ->set_timeout() is supposed to set 'timeout' field of 'struct watchdog_device' passed to it. sp805 was

[PATCH 3.12 041/170] powerpc/serial: Use saner flags when creating legacy ports

2014-07-18 Thread Jiri Slaby
From: Benjamin Herrenschmidt 3.12-stable review patch. If anyone has any objections, please let me know. === commit c4cad90f9e9dcb85afc5e75a02ae3522ed077296 upstream. We had a mix & match of flags used when creating legacy ports depending on where we found them in the

[PATCH 3.12 168/170] powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64

2014-07-18 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit fb43e8477ed9006c4f397f904c691a120503038c upstream. powerpc:allmodconfig has been failing for some time with the following error. arch/powerpc/kernel/exceptions-64s.S:

[PATCH 3.12 099/170] iwlwifi: pcie: try to get ownership several times

2014-07-18 Thread Jiri Slaby
From: Emmanuel Grumbach 3.12-stable review patch. If anyone has any objections, please let me know. === commit 501fd9895c1d7d8161ed56698ae2fccb10ef14f5 upstream. Some races with the hardware can happen when we take ownership of the device. Don't give up after the first try.

[PATCH 3.12 106/170] b43: fix frequency reported on G-PHY with /new/ firmware

2014-07-18 Thread Jiri Slaby
From: Rafał Miłecki 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2fc68eb122c7ea6cd5be1fe7d6650c0beb2f4f40 upstream. Support for firmware rev 508+ was added years ago, but we never noticed it reports channel in a different way for G-PHY

[PATCH 3.12 066/170] USB: option: add device ID for SpeedUp SU9800 usb 3g modem

2014-07-18 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1cab4c68e339086cdaff7535848e878e8f261fca upstream. Reported by Alif Mubarak Ahmad: This device vendor and product id is 1c9e:9800 It is working as serial interface with

[PATCH 3.12 110/170] ext4: Fix hole punching for files with indirect blocks

2014-07-18 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit a93cd4cf86466caa49cfe64607bea7f0bde3f916 upstream. Hole punching code for files with indirect blocks wrongly computed number of blocks which need to be cleared when traversing

[PATCH 3.12 038/170] nfs: Fix cache_validity check in nfs_write_pageuptodate()

2014-07-18 Thread Jiri Slaby
From: Scott Mayhew 3.12-stable review patch. If anyone has any objections, please let me know. === commit 18dd78c427513fb0f89365138be66e6ee8700d1b upstream. NFS_INO_INVALID_DATA cannot be ignored, even if we have a delegation. We're still having some problems with data

[PATCH 3.12 087/170] drm/vmwgfx: Fix incorrect write to read-only register v2:

2014-07-18 Thread Jiri Slaby
From: Thomas Hellstrom 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4e578080ed3262ed2c3985868539bc66218d25c0 upstream. Commit "drm/vmwgfx: correct fb_fix_screeninfo.line_length", while fixing a vmwgfx fbdev bug, also writes the pitch to a

[PATCH 3.12 025/170] watchdog: kempld-wdt: Use the correct value when configuring the prescaler with the watchdog

2014-07-18 Thread Jiri Slaby
From: gundberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit a9e0436b303e94ba57d3bd4b1fcbeaa744b7ebeb upstream. Use the prescaler index, rather than its value, to configure the watchdog. This will prevent a mismatch with the prescaler used

[PATCH 3.12 152/170] clk: s2mps11: Fix double free corruption during driver unbind

2014-07-18 Thread Jiri Slaby
From: Krzysztof Kozlowski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2a96dfa49c83a2a7cbdb11382976aaa6b2636764 upstream. After unbinding the driver memory was corrupted by double free of clk_lookup structure. This lead to OOPS when

[PATCH 3.12 046/170] powerpc: Don't setup CPUs with bad status

2014-07-18 Thread Jiri Slaby
From: Michael Neuling 3.12-stable review patch. If anyone has any objections, please let me know. === commit 59a53afe70fd530040bdc69581f03d880157f15a upstream. OPAL will mark a CPU that is guarded as "bad" in the status property of the CPU node. Unfortunatley Linux doesn't check

[PATCH 3.12 098/170] mac80211: fix a memory leak on sta rate selection table

2014-07-18 Thread Jiri Slaby
From: Felix Fietkau 3.12-stable review patch. If anyone has any objections, please let me know. === commit 53d045258ee2e38b1e882617cb0799a04d05f5fa upstream. If the rate control algorithm uses a selection table, it is leaked when the station is destroyed - fix that.

[PATCH] irqchip: gicv2m: Clean up logic for detecting MSI support

2014-07-18 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit It's not quite clear that msi-controller is already checked by of_msi_chip_add. So, this patch add a note to clarify. Also, clean up redundant logic and unnecessary pr_info. Cc: Mark Rutland Cc: Marc Zyngier Cc: Jason Cooper Cc: Catalin Marinas Cc: Will Deacon

[PATCH 3.12 148/170] cpufreq: Makefile: fix compilation for davinci platform

2014-07-18 Thread Jiri Slaby
From: Prabhakar Lad 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5a90af67c2126fe1d04ebccc1f8177e6ca70d3a9 upstream. Since commtit 8a7b1227e303 (cpufreq: davinci: move cpufreq driver to drivers/cpufreq) this added dependancy only for

[PATCH 3.12 100/170] hugetlb: fix copy_hugetlb_page_range() to handle migration/hwpoisoned entry

2014-07-18 Thread Jiri Slaby
From: Naoya Horiguchi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4a705fef986231a3e7a6b1a6d3c37025f021f49f upstream. There's a race between fork() and hugepage migration, as a result we try to "dereference" a swap entry as a normal pte,

[PATCH 3.12 097/170] mac80211: don't check netdev state for debugfs read/write

2014-07-18 Thread Jiri Slaby
From: Arik Nemtsov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 923eaf367206e01f22c97aee22300e332d071916 upstream. Doing so will lead to an oops for a p2p-dev interface, since it has no netdev. Signed-off-by: Arik Nemtsov Signed-off-by:

[PATCH 3.12 071/170] usb: chipidea: udc: delete td from req's td list at ep_dequeue

2014-07-18 Thread Jiri Slaby
From: Peter Chen 3.12-stable review patch. If anyone has any objections, please let me know. === commit e4adcff09ca39ecbcc4851d40d0f0a5458e7b77a upstream. We need to delete un-finished td from current request's td list at ep_dequeue API, otherwise, this non-user td will be

[PATCH 3.12 103/170] ARM: OMAP2+: Fix parser-bug in platform muxing code

2014-07-18 Thread Jiri Slaby
From: "David R. Piegdon" 3.12-stable review patch. If anyone has any objections, please let me know. === commit c021f241f4fab2bb4fc4120a38a828a03dd3f970 upstream. Fix a parser-bug in the omap2 muxing code where muxtable-entries will be wrongly selected if the requested muxname is

[PATCH 3.12 009/170] iscsi-target: Avoid rejecting incorrect ITT for Data-Out

2014-07-18 Thread Jiri Slaby
From: Nicholas Bellinger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 97c99b47ac58bacb7c09e1f47d5d184434f6b06a upstream. This patch changes iscsit_check_dataout_hdr() to dump the incoming Data-Out payload when the received ITT is not

[PATCH 3.12 150/170] arm64: implement TASK_SIZE_OF

2014-07-18 Thread Jiri Slaby
From: Colin Cross 3.12-stable review patch. If anyone has any objections, please let me know. === commit fa2ec3ea10bd377f9d55772b1dab65178425a1a2 upstream. include/linux/sched.h implements TASK_SIZE_OF as TASK_SIZE if it is not set by the architecture headers. TASK_SIZE uses the

[PATCH 3.12 064/170] xhci: correct burst count field for isoc transfers on 1.0 xhci hosts

2014-07-18 Thread Jiri Slaby
From: Mathias Nyman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3213b151387df0b95f4eada104f68eb1c1409cb3 upstream. The transfer burst count (TBC) field in xhci 1.0 hosts should be set to the number of bursts needed to transfer all

[PATCH 3.12 027/170] IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq

2014-07-18 Thread Jiri Slaby
From: Yann Droneaud 3.12-stable review patch. If anyone has any objections, please let me know. === commit 43bc889380c2ad9aa230eccc03a15cc52cf710d4 upstream. The i386 ABI disagrees with most other ABIs regarding alignment of data type larger than 4 bytes: on most ABIs a padding

[PATCH 3.12 140/170] hwmon: (adm1021) Fix cache problem when writing temperature limits

2014-07-18 Thread Jiri Slaby
From: Axel Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit c024044d4da2c9c3b32933b4235df1e409293b84 upstream. The module test script for the adm1021 driver exposes a cache problem when writing temperature limits. temp_min and temp_max

<    1   2   3   4   5   6   7   8   9   10   >