[PULL] uaccess: fix sparse warning on get/put_user for bitwise types

2015-01-14 Thread Michael S. Tsirkin
Hello, Arnd, As you asked, here's a pull request. This has been in linux-next apparently with no ill effects. The following changes since commit 99975cc6ada0d5f2675e83abecae05aba5f437d2: vhost/net: length miscalculation (2015-01-07 12:22:00 +0200) are available in the git repository at:

Re: [PATCH 12/12] usb: gadget: at91_udc: Allocate udc instance

2015-01-14 Thread Felipe Balbi
On Wed, Jan 14, 2015 at 05:22:04PM +0100, Alexandre Belloni wrote: From: Boris Brezillon boris.brezil...@free-electrons.com Allocate udc structure instead of relying on the statically declared object. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Felipe Balbi

[Resend PATCH] ARM: mm: use phys_addr_t in ioremap_page functions

2015-01-14 Thread Vitaly Andrianov
On a 32 bit ARM architecture with LPAE extension physical addresses cannot fit into unsigned long variable. This patch fixes the ioremap_page function. Signed-off-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali Karicheri m-kariche...@ti.com - Fixing the commit log and resending ---

Re: [PATCH] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-14 Thread Heiko Stübner
Hi Daniel, Am Mittwoch, 14. Januar 2015, 17:10:24 schrieb Daniel Lezcano: On 01/13/2015 12:20 AM, Heiko Stübner wrote: +- clock-frequency: the frequency the timer is running + +Example: + timer: timer@ff81 { + compatible = rockchip,rk3288-timer; + reg =

Re: [PATCH v2] mm: vmscan: fix the page state calculation in too_many_isolated

2015-01-14 Thread Michal Hocko
On Wed 14-01-15 17:06:59, Vinayak Menon wrote: [...] In one such instance, zone_page_state(zone, NR_ISOLATED_FILE) had returned 14, zone_page_state(zone, NR_INACTIVE_FILE) returned 92, and GFP_IOFS was set, and this resulted in too_many_isolated returning true. But one of the CPU's pageset

Re: EFI mixed mode + perf = rampant triple faults

2015-01-14 Thread Matt Fleming
On Wed, 31 Dec, at 06:37:39PM, Matt Fleming wrote: On Wed, 17 Dec, at 08:54:56AM, Andy Lutomirski wrote: As far as I know, the only way to have continuously functional interrupt handling across a long mode transition is to install an interrupt vector table and hope that CPUs actually do

Re: [PATCH 3/3] ftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing

2015-01-14 Thread Borislav Petkov
On Wed, Jan 14, 2015 at 10:40:01AM -0500, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org If the function graph tracer traces a jprobe callback, the system will crash. This can easily be demonstrated by compiling the jprobe sample module that is in the kernel tree,

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-14 Thread Radim Kr?má?
2015-01-14 01:27+, Wu, Feng: the new hardware even doesn't consider the TPR for lowest priority interrupts delivery. A bold move ... what hardware was the first to do so? I think it was starting with Nehalem. Thanks, (Could be that QPI can't inform about TPR changes anymore

[PATCH 3/4] media: stb0899: use sign_extend8 instead of manual work

2015-01-14 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger mart...@posteo.de --- drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-frontends/stb0899_algo.c index 93596e0..7bbcfde 100644 ---

Re: [RFC PATCH 0/3] Introduce IIO interface for fingerprint sensors

2015-01-14 Thread Baluta, Teodora
On Vi, 2014-12-26 at 11:13 +, Jonathan Cameron wrote: On 18/12/14 16:51, Lars-Peter Clausen wrote: Adding V4L folks to Cc for more input. Thanks Lars - we definitely would need the v4l guys to agree to a driver like this going in IIO. (not that I'm convinced it should!) On 12/08/2014

[PATCH] ARM: mm: use phys_addr_t in __arm_ioremap functions

2015-01-14 Thread Vitaly Andrianov
On a 32 bit ARM architecture with LPAE extension physical addresses cannot fit into unsigned long variable. This patch fixes the ioremap_page, __map_ioremap_pfn_caller, __arm_ioremap and __arm_ioremap_exec functions. Signed-off-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali Karicheri

Re: [PATCHv2 1/2] spi: orion: Change spi-orion to use transfer_one() semantics for SPI transfers

2015-01-14 Thread Mark Brown
On Mon, Jan 12, 2015 at 01:13:59PM +1000, Ken Wilson wrote: This commit changes spi-orion to provide setup, set_cs, and transfer_one functions instead of transfer_one_message. This allows chip select support for both native and GPIO chip selects to be added. Applied, thanks. signature.asc

Re: [PATCH -rt] timer: upper bound on loops of __run_timers processing

2015-01-14 Thread Marcelo Tosatti
Ping? On Tue, Dec 30, 2014 at 05:52:28PM -0200, Marcelo Tosatti wrote: Commit timers: do not raise softirq unconditionally, allows for timer wheel processing (__run_timers) to be delayed for long periods of time. The effect is that loops = jiffies - base-timer_jiffies Can grow to

[PATCH v3 05/16] virtio/net: verify device has config space

2015-01-14 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/net needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/net/virtio_net.c | 6 ++ 1 file changed, 6

[PATCH v3 09/16] pci: add pci_iomap_range

2015-01-14 Thread Michael S. Tsirkin
Virtio drivers should map the part of the BAR they need, not necessarily all of it. Cc: Bjorn Helgaas bhelg...@google.com Cc: linux-...@vger.kernel.org Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Rusty Russell ru...@rustcorp.com.au ---

[PATCH v3 08/16] mn10300: drop dead code

2015-01-14 Thread Michael S. Tsirkin
pci-iomap.c was (apparently, mistakenly) reintroduced as part of commit 83c2dc15ce824450e7044b9f90cd529c25747ae0 MN10300: Handle cacheable PCI regions in pci_iomap() probably as side-effect of forward-porting the patch from an old kernel. It's not really needed: the generic pci_iomap does the

[PATCH v3 01/16] virtio_pci: drop virtio_config dependency

2015-01-14 Thread Michael S. Tsirkin
virtio_pci does not depend on virtio_config: let's not include it, users can pull it in as necessary. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- include/uapi/linux/virtio_pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/virtio_pci.h

Re: [PATCH] ARM: mm: use phys_addr_t in __arm_ioremap functions

2015-01-14 Thread Russell King - ARM Linux
On Wed, Jan 14, 2015 at 12:22:34PM -0500, Vitaly Andrianov wrote: On a 32 bit ARM architecture with LPAE extension physical addresses cannot fit into unsigned long variable. This patch fixes the ioremap_page, __map_ioremap_pfn_caller, __arm_ioremap and __arm_ioremap_exec functions. This

Re: [PATCH -rt] timer: upper bound on loops of __run_timers processing

2015-01-14 Thread Steven Rostedt
On Wed, 14 Jan 2015 15:21:47 -0200 Marcelo Tosatti mtosa...@redhat.com wrote: Ping? Sorry, I've fallen behind since the holidays and still trying to catch up. I'll try to look at this this week. -- Steve On Tue, Dec 30, 2014 at 05:52:28PM -0200, Marcelo Tosatti wrote: Commit timers:

Re: [Resend PATCH] ARM: mm: use phys_addr_t in ioremap_page functions

2015-01-14 Thread Russell King - ARM Linux
On Wed, Jan 14, 2015 at 12:44:12PM -0500, Vitaly Andrianov wrote: On a 32 bit ARM architecture with LPAE extension physical addresses cannot fit into unsigned long variable. This patch fixes the ioremap_page function. Signed-off-by: Vitaly Andrianov vita...@ti.com Acked-by: Murali

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Jason Gunthorpe
On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: and I think you effectively have the user usage covered here for such things. It much like GPIO pins - we can describe them but we can also declare they are not visible to the user. A missing element in mainline is a kind of

Re: [PATCH v4 4/5] pstore: add pmsg

2015-01-14 Thread Kees Cook
On Tue, Jan 13, 2015 at 4:16 PM, Mark Salyzyn saly...@android.com wrote: A secured user-space accessible pstore object. Writes to /dev/pmsg0 are appended to the buffer, on reboot the persistent contents are available in /sys/fs/pstore/pmsg-ramoops-[ID]. One possible use is syslogd, or other

Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2015-01-14 Thread David E. Box
Hi, Expect something tonight should the latest tests run okay. I needed to include an EPROBE_DEFER to address the unavailibity of the pci driver needed in order to request the lock during probe of the i2c device. This due to the lock now being requested during probe because of the hang. Dave On

Re: [patch -rt 1/2] KVM: use simple waitqueue for vcpu-wq

2015-01-14 Thread Rik van Riel
On 01/14/2015 12:12 PM, Marcelo Tosatti wrote: The problem: On -RT, an emulated LAPIC timer instances has the following path: 1) hard interrupt 2) ksoftirqd is scheduled 3) ksoftirqd wakes up vcpu thread 4) vcpu thread is scheduled This extra context switch introduces unnecessary

Re: [patch -rt 2/2] KVM: lapic: mark LAPIC timer handler as irqsafe

2015-01-14 Thread Rik van Riel
On 01/14/2015 12:12 PM, Marcelo Tosatti wrote: Since lapic timer handler only wakes up a simple waitqueue, it can be executed from hardirq context. Reduces average cyclictest latency by 3us. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Acked-by: Rik van Riel r...@redhat.com -- To

Re: [PATCH] mm: account pmd page tables to the process

2015-01-14 Thread Cyrill Gorcunov
On Wed, Jan 14, 2015 at 06:51:56PM +0200, Kirill A. Shutemov wrote: Dave noticed that unprivileged process can allocate significant amount of memory -- 500 MiB on x86_64 -- and stay unnoticed by oom-killer and memory cgroup. The trick is to allocate a lot of PMD page tables. Linux kernel

Re: EFI mixed mode + perf = rampant triple faults

2015-01-14 Thread Andy Lutomirski
On Wed, Jan 14, 2015 at 8:51 AM, Matt Fleming m...@console-pimps.org wrote: On Wed, 31 Dec, at 06:37:39PM, Matt Fleming wrote: On Wed, 17 Dec, at 08:54:56AM, Andy Lutomirski wrote: As far as I know, the only way to have continuously functional interrupt handling across a long mode

Re: [PATCH v2 2/8] thermal: Provide stub for thermal_cdev_update() function

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 04:07:53PM +0100, Lukasz Majewski wrote: Hi Eduardo, On Mon, Dec 22, 2014 at 05:27:42PM +0100, Lukasz Majewski wrote: Odroid U3 fan can work without being registered as OF cooling device (with CONFIG_THERMAL_OF disabled). In this situation it can be controlled

Re: Question concerning RCU

2015-01-14 Thread Paul E. McKenney
On Wed, Jan 14, 2015 at 08:38:03AM +, Stoidner, Christoph wrote: Hi Paul, Two things to try: 1. alt-sysreq-t to get all tasks' stacks, or I am not able to do that since I am working on an embedded system which has no real tty, just a serial connected terminal. 2.

Re: [PATCH v2 1/8] thermal: Provide stub for thermal_of_cooling_device_register() function

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 04:01:06PM +0100, Lukasz Majewski wrote: Hi Eduardo, On Fri, Jan 02, 2015 at 02:54:28PM -0400, Eduardo Valentin wrote: On Mon, Dec 22, 2014 at 05:27:41PM +0100, Lukasz Majewski wrote: Odroid U3 fan can work without being registered as OF cooling device (with

Re: [PATCH v2 0/2] time: tip/timers/urgent: Validate potential mult overflows

2015-01-14 Thread John Stultz
On Wed, Jan 7, 2015 at 10:12 AM, John Stultz john.stu...@linaro.org wrote: Hey Ingo, Thomas, Here are two mult overflow validation fixes from Sasha for tip/timers/urgent that I didn't manage to send out before the holidays. For v2 I've added the mili-micro fix Andy noticed. Let me know if

Re: EFI mixed mode + perf = rampant triple faults

2015-01-14 Thread Borislav Petkov
On Wed, Jan 14, 2015 at 10:27:47AM -0800, Andy Lutomirski wrote: How are you manually triggering an MCE? I've been playing with some MCE stuff recently, but the only reasonably reliable way I know of to trigger an MCE is using WHEA, and I don't have a box with WHEA, and I assume your ASUS

Re: [PATCH 08/12] usb: gadget: at91_udc: Remove non-DT handling code

2015-01-14 Thread Alexandre Belloni
On 14/01/2015 at 11:38:12 -0600, Felipe Balbi wrote : On Wed, Jan 14, 2015 at 05:22:00PM +0100, Alexandre Belloni wrote: From: Boris Brezillon boris.brezil...@free-electrons.com Since non-DT board support has been removed from the at91 architecture we can safely remove non-DT handling

Re: [Xen-devel] [PATCH v2 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper

2015-01-14 Thread Luis R. Rodriguez
On Wed, Jan 14, 2015 at 11:29:41AM +, Stefano Stabellini wrote: On Tue, 13 Jan 2015, Luis R. Rodriguez wrote: On Mon, Dec 15, 2014 at 02:58:26PM +, Stefano Stabellini wrote: On Tue, 9 Dec 2014, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com This lets

Re: [RFC PATCH 06/11] x86,fpu: lazily skip fpu restore with eager fpu mode, too

2015-01-14 Thread Oleg Nesterov
On 01/11, r...@redhat.com wrote: If the next task still has its FPU state present in the FPU registers, there is no need to restore it from memory. Another patch I can't understand... --- a/arch/x86/include/asm/fpu-internal.h +++ b/arch/x86/include/asm/fpu-internal.h @@ -435,13 +435,9 @@

Re: [PATCH] RTC: RK808: fix the rtc time reading issue

2015-01-14 Thread Doug Anderson
Sonny, Chris, it looks like you swapped the set and the clear of this bit, and you're relying on the fact that the i2c transaction takes a certain amount of time after the RTC_GET_TIME BIT is set. I'm not sure how long it actually takes, but why not just put in a usleep() for the minimum

Re: [PATCH v2] staging: skein: Remove all do{} while (0) loop from single statement.

2015-01-14 Thread Jason Cooper
Shirish, Please don't toppost, I've corrected it below. On Mon, Jan 12, 2015 at 11:14:57AM -0800, shirish gajera wrote: On Mon, Jan 12, 2015 at 6:15 AM, Jason Cooper ja...@lakedaemon.net wrote: On Sun, Jan 11, 2015 at 03:41:05PM -0800, Shirish Gajera wrote: This patch fixes the

Re: EFI mixed mode + perf = rampant triple faults

2015-01-14 Thread Andy Lutomirski
On Wed, Jan 14, 2015 at 10:35 AM, Borislav Petkov b...@alien8.de wrote: On Wed, Jan 14, 2015 at 10:27:47AM -0800, Andy Lutomirski wrote: How are you manually triggering an MCE? I've been playing with some MCE stuff recently, but the only reasonably reliable way I know of to trigger an MCE is

Re: [PATCH] RTC: RK808: fix the rtc time reading issue

2015-01-14 Thread Doug Anderson
Chris, On Tue, Jan 13, 2015 at 6:43 PM, Chris Zhong z...@rock-chips.com wrote: + /* After we set the GET_TIME bit, the rtc time couldn't be read +* immediately, we should wait up to 31.25 us, about one cycle of +* 32khz. If we clear the GET_TIME bit here, the time of i2c

Re: [PATCH 1/2] perf symbols: Ignore mapping symbols on aarch64

2015-01-14 Thread Victor Kamensky
On 14 January 2015 at 03:22, Will Deacon will.dea...@arm.com wrote: On Tue, Jan 13, 2015 at 04:59:03PM +, Victor Kamensky wrote: Aarch64 ELF files use mapping symbols with special names $x, $d to identify regions of Aarch64 code (see Aarch64 ELF ABI - ARM IHI 0056B, section 4.5.4 Mapping

Re: [PATCH] char: Added support for u-blox 6 i2c gps driver

2015-01-14 Thread Felipe Tonello
Hi Alan, On Wed, Jan 14, 2015 at 7:48 AM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: On Tue, 13 Jan 2015 17:16:42 -0800 Felipe F. Tonello e...@felipetonello.com wrote: This driver will basically translate serial communication to i2c communication between the user-space and the

Re: [PATCH 08/12] usb: gadget: at91_udc: Remove non-DT handling code

2015-01-14 Thread Felipe Balbi
On Wed, Jan 14, 2015 at 07:35:16PM +0100, Alexandre Belloni wrote: On 14/01/2015 at 11:38:12 -0600, Felipe Balbi wrote : On Wed, Jan 14, 2015 at 05:22:00PM +0100, Alexandre Belloni wrote: From: Boris Brezillon boris.brezil...@free-electrons.com Since non-DT board support has been

Re: [PATCH v4 00/13] Add ACPI _DSD and unified device properties support

2015-01-14 Thread David Woodhouse
I'm looking again at updating of_serial to work with ACPI properties. Specifically, I want to support a serial port with a non-standard baud rate, something like this: Device(COM1) { Name(_HID, EisaId(PNP0501)) Name(_CID, EisaId(PRP0001)) Name(_DSD, Package() {

Re: [PATCH 2/3] leds: leds-mc13783: Use of_get_child_by_name() instead of refcount hack

2015-01-14 Thread Bryan Wu
On Wed, Jan 14, 2015 at 5:51 AM, Geert Uytterhoeven geert+rene...@glider.be wrote: of_find_node_by_name() calls of_node_put() on its from parameter. To counter this, mc13xxx_led_probe_dt() calls of_node_get() first. Use of_get_child_by_name() instead to get rid of the refcount hack.

Re: [RFC PATCH 08/11] x86,fpu: restore user FPU state lazily after __kernel_fpu_end

2015-01-14 Thread Oleg Nesterov
On 01/11, r...@redhat.com wrote: --- a/arch/x86/kernel/i387.c +++ b/arch/x86/kernel/i387.c @@ -89,13 +89,11 @@ void __kernel_fpu_end(void) if (use_eager_fpu()) { /* * For eager fpu, most the time, tsk_used_math() is true. - * Restore the user

[PATCH 3.14 37/77] misc: genwqe: check for error from get_user_pages_fast()

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit cf35d6e0475982667b0d2d318fb27be4b8849827 upstream. `genwqe_user_vmap()` calls `get_user_pages_fast()` and if the return value is less than the number of

[PATCH 3.14 41/77] USB: cdc-acm: check for valid interfaces

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

[PATCH 3.14 34/77] x86_64, vdso: Fix the vdso address randomization algorithm

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

[PATCH 3.14 42/77] Add USB_EHCI_EXYNOS to multi_v7_defconfig

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

[PATCH 3.14 44/77] cdc-acm: memory leak in error case

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

Re: [PATCH v2] ALSA: ASoC: soc-compress.c: fix NULL dereference

2015-01-14 Thread Qais Yousef
On 01/13/2015 05:21 PM, James Hogan wrote: On 13 January 2015 15:16:10 GMT+00:00, Qais Yousef qais.you...@imgtec.com wrote: Will this really be helpful? I think it'll be more clutter (the backtrace on metag arch is not great): I suspect you don't have frame pointers enabled in your kernel

[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 ti...@suse.de commit c507de88f6a336bd7296c9ec0073b2d4af8b4f5e upstream. stac_store_hints() does utterly wrong for masking the values for gpio_dir and gpio_data, likely due to

[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 gwen...@chromium.org commit d1c7e29e8d276c669e8790bb8be9f505ddc4 upstream. Before -start() is called, bufsize size is set to HID_MIN_BUFFER_SIZE, 64 bytes. While processing

[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 karllinuxtest.rel...@ntlworld.com commit da940db41dcf8c04166f711646df2f35376010aa upstream. Apple bluetooth wireless keyboard (sold in UK) has always reported zero for battery

[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 jiang@linux.intel.com commit cc4f14aa170d895c9a43bdb56f62070c8a6da908 upstream. There's an off-by-one bug in function __domain_mapping(), which may trigger the BUG_ON(nr_pages

[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 dan.carpen...@oracle.com commit 69eba10e606a80665f8573221fec589430d9d1cb upstream. In olden times the snd_hda_param_read() function always set *start_id but in 2007 we introduced

[PATCH 3.14 49/77] Drivers: hv: vmbus: Fix a race condition when unregistering a device

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov vkuzn...@redhat.com commit 04a258c162a85c0f4ae56be67634dc43c9a4fa9b upstream. When build with Debug the following crash is sometimes observed: Call Trace: [812b9600]

[PATCH 3.14 48/77] n_tty: Fix read_buf race condition, increment read_head after pushing data

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Christian Riesch christian.rie...@omicron.at commit 8bfbe2de769afda051c56aba5450391670e769fc upstream. Commit 19e2ad6a09f0c06dbca19c98e5f4584269d913dd (n_tty: Remove overflow tests from

[PATCH 3.14 38/77] ALSA: usb-audio: extend KEF X300A FU 10 tweak to Arcam rPAC

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

[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 alex.william...@redhat.com commit bb34cb6bbd287b57e955bc5cfd42fcde6aaca279 upstream. bus_find_device_by_name() acquires a device reference which is never released. This

[PATCH 3.14 16/77] ASoC: max98090: Fix ill-defined sidetone route

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Nikula jarkko.nik...@linux.intel.com commit 48826ee590da03e9882922edf96d8d27bdfe9552 upstream. Commit 5fe5b767dc6f (ASoC: dapm: Do not pretend to support controls for non mixer/mux

[PATCH 3.14 35/77] x86, vdso: Use asm volatile in __getcpu

2015-01-14 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski l...@amacapital.net commit 1ddf0b1b11aa8a90cef6706e935fc31c75c406ba upstream. In Linux 3.18 and below, GCC hoists the lsl instructions in the pvclock code all the way to the

[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 rich...@nod.at commit f38aed975c0c3645bbdfc5ebe35726e64caaf588 upstream. The logic of vfree()'ing vol-upd_buf is tied to vol-updating. In ubi_start_update() vol-updating is

[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 s.grosj...@peak-system.com commit af35d0f1cce7a990286e2b94c260a2c2d2a0e4b0 upstream. This patch sets the correct reverse sequence order to the instructions set to run, when

[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 rich...@nod.at commit aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534 upstream. If the erase worker is unable to erase a PEB it will free the ubi_wl_entry itself. The failing

[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

[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 ax...@fb.com commit a33c1ba2913802b6fb23e974bb2f6a4e73c8b7ce upstream. We currently use num_possible_cpus(), but that breaks on sparc64 where the CPU ID space is discontig. Use

[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 jmaney...@invensense.com commit 6296f4a8eb86f9abcc370fb7a1a116b8441c17fd upstream. Current driver uses a common buffer for reading reports either synchronously in

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 a.ha...@samsung.com 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

[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 stefano.stabell...@eu.citrix.com commit d6883e6f32e07ef2cc974753ba00927de099e6d7 upstream. xen_dma_unmap_page and xen_dma_sync_single_for_cpu take a dma_addr_t handle as

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 andrey.krieger.ut...@gmail.com 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

[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 s.grosj...@peak-system.com commit dc50ddcd4c58a5a0226038307d6ef884bec9f8c2 upstream. This patchs fixes a misplaced call to memset() that fills the request buffer with 0. The

[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 xuejiu...@huawei.com commit 53dc20b9a3d928b0744dad5aee65b610de1cc85d upstream. In ocfs2_link(), the parent directory inode passed to function ocfs2_lookup_ino_from_name() is wrong.

[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 pa...@ucw.cz commit 4bf9636c39ac70da091d5a2e28d3448eaa7f115c upstream. Commit 9fc2105aeaaf (ARM: 7830/1: delay: don't bother reporting bogomips in /proc/cpuinfo) breaks audio in

[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 hdego...@redhat.com commit 7091c443dda8c6c6d8e70e33452252f9ad3e7814 upstream. The v7 proto differentiates between a primary touch (with high precision) and a secondary touch

[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 vba...@suse.cz commit 9e5e3661727eaf960d3480213f8e87c8d67b6956 upstream. Charles Shirron and Paul Cassella from Cray Inc have reported kswapd stuck in a busy loop with nothing

[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 hdego...@redhat.com commit 8b23811535d2e1dd6abbe4ce6ea1edfd50ce72de upstream. NEW packets are send to indicate a discontinuity in the finger coordinate reporting. Specifically a

[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 lau...@codeaurora.org commit c3684fbb446501b48dec6677a6a9f61c215053de upstream. The function cpu_resume currently lives in the .data section. There's no reason for it to be there

[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 torva...@linux-foundation.org commit fee7e49d45149fba60156f5b59014f764d3e3728 upstream. Jay Foad reports that the address sanitizer test (asan) sometimes gets confused by a

[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 k.kozlow...@samsung.com commit 2836766a9d0bd02c66073f8dd44796e6cc23848d upstream. Sleep in atomic context happened on Trats2 board after inserting or removing SD card

[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 han...@cmpxchg.org commit 2d6d7f98284648c5ed113fe22a132148950b140f upstream. Tejun, while reviewing the code, spotted the following race condition between the dirtying and

[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 torva...@linux-foundation.org commit 690eac53daff34169a4d74fc7bfbd388c4896abb upstream. Commit fee7e49d4514 (mm: propagate error from stack expansion even for guard page) made

[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 jo...@kernel.org commit f61ff6c06dc8f32c7036013ad802c899ec590607 upstream. Linus reported perf report command being interrupted due to processing of 'out of order' event, with

[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 hisashi.nakamura...@renesas.com commit 015760563ec77bf17cec712fa94afdf53b285287 upstream. SH-MSIOF driver is enabled autosuspend API of spi framework. But autosuspend

[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 k.kozlow...@samsung.com commit 1222d8fe578cd28a6c7f5e4e6c6b664c56abfdc0 upstream. Invalid buck4 configuration for linear mapping of voltage in S2MPS14 regulators caused

[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 o...@redhat.com commit 3245d6acab981a2388ffb877c7ecc97e763c59d4 upstream. wait_consider_task() checks EXIT_ZOMBIE after EXIT_DEAD/EXIT_TRACE and both checks can fail if we race

[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 aaron...@intel.com commit 7d0b93499f4879ddbc75d594f4ea216ba964f78e upstream. Several Samsung laptop models (SAMSUNG 870Z5E/880Z5E/680Z5E and SAMSUNG

[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 johannes.b...@intel.com commit 1e359a5de861a57aa04d92bb620f52a5c1d7f8b1 upstream. This reverts commit ca34e3b5c808385b175650605faa29e71e91991b. It turns out that the p54 and

[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 a...@linux.intel.com commit 5306c31c5733cb4a79cc002e0c3ad256fd439614 upstream. There was another report of a boot failure with a #GP fault in the uncore SBOX initialization. The

[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 kazuya.mizuguchi...@renesas.com commit 11432050f070810ba139d0226344eef120c3a559 upstream. This patch fixes an issue that the NULL pointer dereference happens when we uses

[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 oneu...@suse.de commit d908f8478a8d18e66c80a12adb27764920c1f1ca upstream. If probe() fails not only the attributes need to be removed but also the memory freed. Reported-by:

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. In

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 philipp.reis...@linbit.com commit 9581f97a687724ea41cf2e145dda4751161198c1 upstream. A connection timeout affects all volumes of a resource! Under the following conditions: A

[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 t...@kernel.org commit 9c6ac78eb3521c5937b2dd8a7d1b300f41092f45 upstream. After invoking -dirty_inode(), __mark_inode_dirty() does smp_mb() and tests inode-i_state locklessly to see

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 w...@the-dreams.de wrote: This platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang w...@the-dreams.de Patch applied, thanks! Yours, Linus Walleij -- To unsubscribe from this

[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 tomi.valkei...@ti.com commit d73f825e6efa723e81d9ffcc4949fe9f03f1df29 upstream. The lcd0 node for am437x-sk-evm.dts contains bad LCD timings, and while they seem to work with a

[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 lokeshvu...@ti.com commit be6688350a4470e417aaeca54d162652aab40ac5 upstream. OMAP wdt driver supports only ti,omap3-wdt compatible. In DRA7 dt wdt compatible property is defined

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 that non

[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 johannes.b...@intel.com commit 7b990789a4c3420fa57596b368733158e432d444 upstream. The change from \d+ to .+ inside __aligned() means that the following structure: struct test

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