Re: [PATCH 3.4 177/177] x86/tls: Validate TLS entries to protect espfix

2015-01-27 Thread Willy Tarreau
Hi Li, On Wed, Jan 28, 2015 at 12:10:35PM +0800, l...@kernel.org wrote: > From: Andy Lutomirski > > 3.4.106-rc1 review patch. If anyone has any objections, please let me know. > > -- > > > commit 41bdc78544b8a93a9c6814b8bbbfef966272abbe upstream. > > Installing a 16-bit RW d

[PATCH 4/5] xen: add some __init annotations in arch/x86/xen/mmu.c

2015-01-27 Thread Juergen Gross
The file arch/x86/xen/mmu.c has some functions that can be annotated with "__init". Signed-off-by: Juergen Gross --- arch/x86/xen/mmu.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 5c1f9ac..6a8bbf4 100644 --- a/

[PATCH 0/5] xen: various cleanups

2015-01-27 Thread Juergen Gross
Several cleanups in xen kernel files: - move declarations to header file - delete not needed lines - annotate functions as __init - make functions static - use correct types for addresses No functional changes. Juergen Gross (5): xen: cleanup arch/x86/xen/setup.c xen: use correct types for ad

[PATCH 5/5] xen: cleanup arch/x86/xen/mmu.c

2015-01-27 Thread Juergen Gross
Remove a nested ifdef. Signed-off-by: Juergen Gross --- arch/x86/xen/mmu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 6a8bbf4..adca9e2 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -1734,10 +1734,8 @@ static void __init xen_ma

[PATCH 3/5] xen: add some __init and static annotations in arch/x86/xen/setup.c

2015-01-27 Thread Juergen Gross
Some more functions in arch/x86/xen/setup.c can be made "__init". xen_ignore_unusable() can be made "static". Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 4dcc608.

[PATCH 1/5] xen: cleanup arch/x86/xen/setup.c

2015-01-27 Thread Juergen Gross
Remove extern declarations in arch/x86/xen/setup.c which are either not used or redundant. Move needed other extern declarations to xen-ops.h Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 10 -- arch/x86/xen/xen-ops.h | 6 ++ 2 files changed, 6 insertions(+), 10 deletion

[PATCH 2/5] xen: use correct types for addresses in arch/x86/xen/setup.c

2015-01-27 Thread Juergen Gross
In many places in arch/x86/xen/setup.c wrong types are used for physical addresses (u64 or unsigned long long). Use phys_addr_t instead. Use macros already defined instead of open coding them. Correct some other type mismatches. Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c | 25 ++

Re: [PATCHv2 0/8] Fix perf probe issues on powerpc

2015-01-27 Thread Naveen N. Rao
On 2015/01/28 05:14PM, Michael Ellerman wrote: > On Wed, 2015-01-28 at 11:12 +0530, Naveen N. Rao wrote: > > On 2014/12/15 08:20PM, Naveen N Rao wrote: > > > This patchset fixes various issues with perf probe on powerpc across > > > ABIv1 and > > > ABIv2: > > > - in the presence of DWARF debug-inf

Re: [PATCH v3 0/6] KVM: nVMX: Enable nested apicv support.

2015-01-27 Thread Wincy Van
On Wed, Jan 28, 2015 at 6:06 AM, Paolo Bonzini wrote: > > > On 24/01/2015 11:18, Wincy Van wrote: >> v2 ---> v3: >> 1. Add a new field in nested_vmx to avoid the spin lock in v2. >> 2. Drop send eoi to L1 when doing nested interrupt delivery. >> 3. Use hardware MSR bitmap to enable nested vi

Re: [tip:irq/core] genirq: Set initial affinity in irq_set_affinity_hint()

2015-01-27 Thread Yinghai Lu
On Fri, Jan 23, 2015 at 2:42 AM, tip-bot for Jesse Brandeburg wrote: > Commit-ID: e2e64a932556cdfae455497dbe94a8db151fc9fa > Gitweb: http://git.kernel.org/tip/e2e64a932556cdfae455497dbe94a8db151fc9fa > Author: Jesse Brandeburg > AuthorDate: Thu, 18 Dec 2014 17:22:06 -0800 > Committer: T

linux-next: Tree for Jan 28

2015-01-27 Thread Stephen Rothwell
Hi all, Changes since 20150127: The pci tree gained a conflict against the mips tree. The net-next tree gained a conflict against the net tree. The wireless-drivers-next tree lost its build failure. The sound-asoc tree gained a build failure so I used the version from next-20150127. Non

Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable

2015-01-27 Thread Robert Rosengren
My previous mail got blocked by mailing lists for some reasons, so trying once more. I apologize if spamming. On 01/28/2015 07:18 AM, Robert Rosengren wrote: On 01/28/2015 05:06 AM, Guenter Roeck wrote: On 01/27/2015 02:34 PM, Jean Delvare wrote: >On Tue, 27 Jan 2015 12:05:53 -0800, Guenter R

Re: [PATCH 1/2] dt: watchdog: Add DT binding documentation for jz47xx watchdog timer

2015-01-27 Thread Guenter Roeck
On Tue, Jan 27, 2015 at 09:16:45PM +0100, Arnd Bergmann wrote: > On Tuesday 27 January 2015 15:11:29 Zubair Lutfullah Kakakhel wrote: > > +clocks: phandle to rtcclk > > +clock-names: must be "rtc" > > + > > +Example: > > + > > +watchdog: jz47xx-watchdog@0x10002000 { > > + compatible = "ingeni

Re: OOM at low page cache?

2015-01-27 Thread Minchan Kim
Hello, On Tue, Jan 27, 2015 at 12:03:34PM +0100, Vlastimil Babka wrote: > CC linux-mm in case somebody has a good answer but missed this in lkml traffic > > On 01/23/2015 11:18 PM, John Moser wrote: > > Why is there no tunable to OOM at low page cache? AFAIR, there were several trial although th

Re: [PATCH] ARM: /proc/atags: Export also for DT

2015-01-27 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 28, 2015, at 10:07 AM, Nicolas Pitre wrote: > > On Tue, 27 Jan 2015, Russell King - ARM Linux wrote: > >> On Tue, Jan 27, 2015 at 04:34:47PM -0500, Nicolas Pitre wrote: >>> On Tue, 27 Jan 2015, Russell King - ARM Linux wrote: Or we pass both the ATAGs and wrapped DT to the kernel

Re: [PATCH v3 2/6] KVM: nVMX: Enable nested virtualize x2apic mode.

2015-01-27 Thread Wincy Van
On Wed, Jan 28, 2015 at 5:39 AM, Paolo Bonzini wrote: > > > On 24/01/2015 11:21, Wincy Van wrote: >> +static void nested_vmx_disable_intercept_for_msr(unsigned long >> *msr_bitmap_l1, >> + unsigned long >> *msr_bitmap_nested, >> +

Re: [PATCH v3 2/6] KVM: nVMX: Enable nested virtualize x2apic mode.

2015-01-27 Thread Wincy Van
On Wed, Jan 28, 2015 at 5:37 AM, Paolo Bonzini wrote: > > > On 24/01/2015 11:21, Wincy Van wrote: >> + memset(vmx_msr_bitmap_nested, 0xff, PAGE_SIZE); > > Most bytes are always 0xff. It's better to initialize it to 0xff once, > and set the bit here if !nested_cpu_has_virt_x2apic_mode(vmcs12

Re: mmotm 2015-01-22-15-04: qemu failures due to 'mm: account pmd page tables to the process'

2015-01-27 Thread Guenter Roeck
On 01/27/2015 01:24 PM, Andrew Morton wrote: On Tue, 27 Jan 2015 08:24:28 -0800 Guenter Roeck wrote: __PAGETABLE_PMD_FOLDED is defined during which is not included into . And we cannot include it here since many of needs to define struct page. I failed to come up with better solution rathe

Re: [PATCHv2 0/8] Fix perf probe issues on powerpc

2015-01-27 Thread Michael Ellerman
On Wed, 2015-01-28 at 11:12 +0530, Naveen N. Rao wrote: > On 2014/12/15 08:20PM, Naveen N Rao wrote: > > This patchset fixes various issues with perf probe on powerpc across ABIv1 > > and > > ABIv2: > > - in the presence of DWARF debug-info, > > - in the absence of DWARF, but with the symbol table

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-27 Thread Baruch Siach
Hi Chunyan Zhang, On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: [...] > +static inline void sprd_rx(struct uart_port *port) > +{ > + struct tty_port *tty = &port->state->port; > + unsigned int ch, flag, lsr, max_count = SPRD_TIMEOUT; > + > + while ((serial_in(port, SPR

Re: [PATCH 1/2] zram: free meta out of init_lock

2015-01-27 Thread Sergey Senozhatsky
On (01/28/15 15:08), Sergey Senozhatsky wrote: > hm... no, it's 100% stable sorry, should be "it's NOT 100% stable". -ss > ./iozone -t 3 -R -r 16K -s 60M -I +Z > > test basesrcu > > " Initial write " 1274320.94 1251996.78 > "Rewrite " 1965783.94

[PATCH] xfs:change kmem_free to use generic kvfree()

2015-01-27 Thread Wang, Yalin
Change kmem_free to use kvfree() generic function, remove the duplicated code. Signed-off-by: Yalin Wang --- fs/xfs/kmem.c | 10 -- fs/xfs/kmem.h | 5 - 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/fs/xfs/kmem.c b/fs/xfs/kmem.c index 53e95b2..a7a3a63 100644 --- a/

Re: [PATCH 1/2] zram: free meta out of init_lock

2015-01-27 Thread Sergey Senozhatsky
On (01/28/15 14:35), Minchan Kim wrote: > I tested it with dd on /dev/zram0 without any FS on my KVM > and I cannot see any measureable performance gap. > Hmm, I will try it on real machine. hm... no, it's 100% stable ./iozone -t 3 -R -r 16K -s 60M -I +Z test basesrcu

Re: [PATCH] mmc: tegra: Write xfer_mode, CMD regs in together

2015-01-27 Thread Alexandre Courbot
On Wed, Jan 28, 2015 at 2:23 AM, Rhyland Klein wrote: > From: Pavan Kunapuli > > If there is a gap between xfer mode and command register writes, > tegra SDMMC controller can sometimes issue a spurious command before > the CMD register is written. To avoid this, these two registers need > to be w

[PATCH v2] dma-buf: cleanup dma_buf_export() to make it easily extensible

2015-01-27 Thread Sumit Semwal
At present, dma_buf_export() takes a series of parameters, which makes it difficult to add any new parameters for exporters, if required. Make it simpler by moving all these parameters into a struct, and pass the struct * as parameter to dma_buf_export(). While at it, unite dma_buf_export_named()

[PATCH v3 5/5] usb: serial: implement CMSPAR for F81232

2015-01-27 Thread Peter Hung
This patch implement CMSPAR in set_termios, and fix some warnning from checkpatch.pl Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c inde

[PATCH v3 2/5] usb: serial: fix callback wrong process for F81232

2015-01-27 Thread Peter Hung
Our int callback will return IIR, not LSR, and bulk-in callback will return [LSR+Data][LSR+Data], so need to rewrite it Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 82 + 1 file changed, 39 insertions(+), 43 deletions(-) diff --git a/dr

[PATCH v3 3/5] usb: serial: implement function for F81232

2015-01-27 Thread Peter Hung
This patch implement the following function: set_termios, tiocmset, tiocmget, dtr_rts Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 103 1 file changed, 84 insertions(+), 19 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/driver

[PATCH v3 4/5] usb: serial: remove unused function for F81232

2015-01-27 Thread Peter Hung
remove unused function set_control_lines() Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index 9a54f56..11a236b 100644 --- a/drivers/usb/serial/f81232.c +++ b/drivers/u

[PATCH v3 1/5] usb: serial: add register map for F81232

2015-01-27 Thread Peter Hung
Add register map for F81232. and add some function to operating this device. etc. f81232_get_register()/f81232_set_register() to work with USB control point. and worker f81232_int_work_wq() to read MSR when IIR acquired. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 229 +++

[PATCH] agp:change agp_free_page_array to use kvfree

2015-01-27 Thread Wang, Yalin
Change agp_free_page_array to use kvfree function, remove the duplicated code. Signed-off-by: Yalin Wang --- drivers/char/agp/agp.h | 5 - drivers/char/agp/generic.c | 11 --- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/char/agp/agp.h b/drivers/char/a

Re: [PATCH 3.4 01/91] KVM: s390: Fix user triggerable bug in dead code

2015-01-27 Thread Zefan Li
Oops... Please ignore those patches that have been released as 3.4.105. I forgot to remove them when I was preparing patches for 3.4.106. On 2015/1/28 12:06, l...@kernel.org wrote: > From: Christian Borntraeger > > 3.4.105-rc1 review patch. If anyone has any objections, please let me know. > >

Re: [PATCH v3 6/6] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-27 Thread Wincy Van
On Wed, Jan 28, 2015 at 5:55 AM, Paolo Bonzini wrote: > > > On 24/01/2015 11:24, Wincy Van wrote: >> if (!nested_cpu_has_virt_x2apic_mode(vmcs12) && >> !nested_cpu_has_apic_reg_virt(vmcs12) && >> - !nested_cpu_has_vid(vmcs12)) >> + !nested_cpu_has_vid(vmcs12

[PATCH RESEND] ssb: Fix Sparse error in main

2015-01-27 Thread Pramod Gurav
This change fixes below sparse error: drivers/ssb/main.c:94:16: warning: symbol 'ssb_sdio_func_to_bus' was not declared. Should it be static? Acked-by: Michael Buesch Signed-off-by: Pramod Gurav --- drivers/ssb/main.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/dri

Re: [PATCHv2 0/8] Fix perf probe issues on powerpc

2015-01-27 Thread Naveen N. Rao
On 2014/12/15 08:20PM, Naveen N Rao wrote: > This patchset fixes various issues with perf probe on powerpc across ABIv1 and > ABIv2: > - in the presence of DWARF debug-info, > - in the absence of DWARF, but with the symbol table, and > - in the absence of debug-info, but with kallsyms. > > Applies

Re: [PATCH/RFC 2/3] ftrace: introduce nohotpatch function attribute

2015-01-27 Thread Heiko Carstens
On Tue, Jan 27, 2015 at 09:42:28AM -0500, Steven Rostedt wrote: > On Tue, 27 Jan 2015 07:19:42 +0100 > Dominik Vogt wrote: > > > While the kernel may use only profiling or hotpatch at the same > > time, Gcc is able to generate both for the same function. > > Understood, but would that be useful

Re: [PATCH 1/2] zram: free meta out of init_lock

2015-01-27 Thread Minchan Kim
On Wed, Jan 28, 2015 at 01:58:55PM +0900, Minchan Kim wrote: > On Wed, Jan 28, 2015 at 01:50:28PM +0900, Sergey Senozhatsky wrote: > > On (01/28/15 13:07), Sergey Senozhatsky wrote: > > > On (01/28/15 12:53), Sergey Senozhatsky wrote: > > > > > So, I want to go with srcu. Do you agree? or another s

[PATCH 3.4 003/177] UBIFS: fix a race condition

2015-01-27 Thread lizf
From: Artem Bityutskiy 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 052c28073ff26f771d44ef33952a41d18dadd255 upstream. Hu (hujiany...@huawei.com) discovered a race condition which may lead to a situation when UBIFS is unable to mount t

[PATCH 3.4 02/91] regmap: Fix handling of volatile registers for format_write() chips

2015-01-27 Thread lizf
From: Mark Brown 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 5844a8b9d98ec11ce1d77610daacf3f0a0e14715 upstream. A previous over-zealous factorisation of code means that we only treat registers as volatile if they are readable. For mos

[PATCH 3.4 06/91] ALSA: hda - Fix COEF setups for ALC1150 codec

2015-01-27 Thread lizf
From: Takashi Iwai 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit acf08081adb5e8fe0519eb97bb49797ef52614d6 upstream. ALC1150 codec seems to need the COEF- and PLL-setups just like its compatible ALC882 codec. Some machines (e.g. SunMicr

[PATCH 3.4 004/177] UBIFS: fix free log space calculation

2015-01-27 Thread lizf
From: Artem Bityutskiy 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit ba29e721eb2df6df8f33c1f248388bb037a47914 upstream. Hu (hujianyang ) discovered an issue in the 'empty_log_bytes()' function, which calculates how many bytes are left i

[PATCH 3.4 009/177] Bluetooth: Fix setting correct security level when initiating SMP

2015-01-27 Thread lizf
From: Johan Hedberg 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 5eb596f55cacc2389554a8d7572d90d5e9d4269d upstream. We can only determine the final security level when both pairing request and response have been exchanged. When initiat

[PATCH 3.4 07/91] ACPI / cpuidle: fix deadlock between cpuidle_lock and cpu_hotplug.lock

2015-01-27 Thread lizf
From: Jiri Kosina 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 6726655dfdd2dc60c035c690d9f10cb69d7ea075 upstream. There is a following AB-BA dependency between cpu_hotplug.lock and cpuidle_lock: 1) cpu_hotplug.lock -> cpuidle_lock ena

[PATCH 3.4 005/177] Bluetooth: Fix issue with USB suspend in btusb driver

2015-01-27 Thread lizf
From: Champion Chen 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 85560c4a828ec9c8573840c9b66487b6ae584768 upstream. Suspend could fail for some platforms because btusb_suspend==> btusb_stop_traffic ==> usb_kill_anchored_urbs. When btu

[PATCH 3.4 10/91] percpu: perform tlb flush after pcpu_map_pages() failure

2015-01-27 Thread lizf
From: Tejun Heo 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 849f5169097e1ba35b90ac9df76b5bb6f9c0aabd upstream. If pcpu_map_pages() fails midway, it unmaps the already mapped pages. Currently, it doesn't flush tlb after the partial unm

[PATCH 3.4 008/177] PCI: Increase IBM ipr SAS Crocodile BARs to at least system page size

2015-01-27 Thread lizf
From: Douglas Lehr 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 9fe373f9997b48fcd6222b95baf4a20c134b587a upstream. The Crocodile chip occasionally comes up with 4k and 8k BAR sizes. Due to an erratum, setting the SR-IOV page size caus

[PATCH 3.4 010/177] Revert "percpu: free percpu allocation info for uniprocessor system"

2015-01-27 Thread lizf
From: Guenter Roeck 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit bb2e226b3bef596dd56be97df655d857b4603923 upstream. This reverts commit 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system"). The commit causes a

[PATCH 3.4 018/177] Drivers: hv: vmbus: Cleanup vmbus_establish_gpadl()

2015-01-27 Thread lizf
From: "K. Y. Srinivasan" 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 72c6b71c245dac8f371167d97ef471b367d0b66b upstream. Eliminate the call to BUG_ON() by waiting for the host to respond. We are trying to reclaim the ownership of memor

[PATCH 3.4 011/177] USB: serial: cp210x: added Ketra N1 wireless interface support

2015-01-27 Thread lizf
From: Joe Savage 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit bfc2d7dfdd761ae3beccdb26abebe03cef042f46 upstream. Added support for Ketra N1 wireless interface, which uses the Silicon Labs' CP2104 USB to UART bridge with customized PID

[PATCH v2 0/2][request for stable inclusion] several pstore related bugfixs

2015-01-27 Thread HuKeping
Hi greg, We want to use pstore on linux 3.10. But we found several bugfixs have not been merged yet. Most of them are obvious and can be cherry-picked cleanly. Would you please apply them to stable 3.10? Change from v1: - remove d4bf205da618bbd0b038e404d646f14e76915718 which has already been merg

[PATCH 2/2] efi-pstore: Make efi-pstore return a unique id

2015-01-27 Thread HuKeping
From: Madper Xie Commit fdeadb43fdf1e7d5698c027b555c389174548e5a upstream. Pstore fs expects that backends provide a unique id which could avoid pstore making entries as duplication or denominating entries the same name. So I combine the timestamp, part and count into id. Signed-off-by: Madper

[PATCH 3.4 11/91] percpu: free percpu allocation info for uniprocessor system

2015-01-27 Thread lizf
From: Honggang Li 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 3189eddbcafcc4d827f7f19facbeddec4424eba8 upstream. Currently, only SMP system free the percpu allocation info. Uniprocessor system should free it too. For example, one x86

[PATCH v2 1/2] pstore/ram: avoid atomic accesses for ioremapped regions

2015-01-27 Thread HuKeping
From: Rob Herring For persistent RAM outside of main memory, the memory may have limitations on supported accesses. For internal RAM on highbank platform exclusive accesses are not supported and will hang the system. So atomic_cmpxchg cannot be used. This commit uses spinlock protection for buffe

[PATCH 3.4 012/177] USB: cp210x: add support for Seluxit USB dongle

2015-01-27 Thread lizf
From: Andreas Bomholtz 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit dee80ad12d2b1b304286a707fde7ab05d1fc7bab upstream. Added the Seluxit ApS USB Serial Dongle to cp210x driver. Signed-off-by: Andreas Bomholtz Signed-off-by: Johan Hov

[PATCH 3.4 014/177] USB: Add device quirk for ASUS T100 Base Station keyboard

2015-01-27 Thread lizf
From: Lu Baolu 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit ddbe1fca0bcb87ca8c199ea873a456ca8a948567 upstream. This full-speed USB device generates spurious remote wakeup event as soon as USB_DEVICE_REMOTE_WAKEUP feature is set. As the

[PATCH 3.4 013/177] PCI: Generate uppercase hex for modalias interface class

2015-01-27 Thread lizf
From: Ricardo Ribalda Delgado 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 89ec3dcf17fd3fa009ecf8faaba36828dd6bc416 upstream. Some implementations of modprobe fail to load the driver for a PCI device automatically because the "interfac

[PATCH 3.4 14/91] ahci: Add Device IDs for Intel 9 Series PCH

2015-01-27 Thread lizf
From: James Ralston 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 1b071a0947dbce5c184c12262e02540fbc493457 upstream. This patch adds the AHCI mode SATA Device IDs for the Intel 9 Series PCH. Signed-off-by: James Ralston Signed-off-by:

[PATCH 3.4 15/91] ata_piix: Add Device IDs for Intel 9 Series PCH

2015-01-27 Thread lizf
From: James Ralston 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 6cad1376954e591c3c41500c4e586e183e7ffe6d upstream. This patch adds the IDE mode SATA Device IDs for the Intel 9 Series PCH. Signed-off-by: James Ralston Signed-off-by:

[PATCH] Mark inline functions as __maybe_unused

2015-01-27 Thread Behan Webster
clang warns if inline functions aren't used. By making them __maybe_unused there is no warning for either gcc nor clang. Signed-off-by: Behan Webster Suggested-by: Arnd Bergmann Cc: Arnd Bergmann Cc: "Christopher Li" --- include/linux/compiler-gcc.h | 12 ++-- 1 file changed, 6 insert

[PATCH 3.4 015/177] firmware_class: make sure fw requests contain a name

2015-01-27 Thread lizf
From: Kees Cook 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 471b095dfe0d693a8d624cbc716d1ee4d74eb437 upstream. An empty firmware request name will trigger warnings when building device names. Make sure this is caught earlier and rejec

[PATCH 3.4 017/177] Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl()

2015-01-27 Thread lizf
From: "K. Y. Srinivasan" 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 66be653083057358724d56d817e870e53fb81ca7 upstream. Eliminate calls to BUG_ON() by properly handling errors. In cases where rollback is possible, we will return the a

[PATCH 3.4 19/91] xen/manage: Always freeze/thaw processes when suspend/resuming

2015-01-27 Thread lizf
From: Ross Lagerwall 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 61a734d305e16944b42730ef582a7171dc733321 upstream. Always freeze processes when suspending and thaw processes when resuming to prevent a race noticeable with HVM guests.

[PATCH 3.4 016/177] Drivers: hv: vmbus: Cleanup vmbus_post_msg()

2015-01-27 Thread lizf
From: "K. Y. Srinivasan" 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit fdeebcc62279119dbeafbc1a2e39e773839025fd upstream. Posting messages to the host can fail because of transient resource related failures. Correctly deal with these fa

[PATCH 3.4 17/91] USB: sierra: avoid CDC class functions on "68A3" devices

2015-01-27 Thread lizf
From: Bjørn Mork 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 049255f51644c1105775af228396d187402a5934 upstream. Sierra Wireless Direct IP devices using the 68A3 product ID can be configured for modes including a CDC ECM class function

[PATCH 3.4 021/177] spi: dw-mid: respect 8 bit mode

2015-01-27 Thread lizf
From: Andy Shevchenko 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit b41583e7299046abdc578c33f25ed83ee95b9b31 upstream. In case of 8 bit mode and DMA usage we end up with every second byte written as 0. We have to respect bits_per_word s

[PATCH 3.4 21/91] usb: dwc3: core: fix order of PM runtime calls

2015-01-27 Thread lizf
From: Felipe Balbi 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit fed33afce0eda44a46ae24d93aec1b5198c0bac4 upstream. Currently, we disable pm_runtime before all register accesses are done, this is dangerous and might lead to abort except

[PATCH 3.4 023/177] kvm: don't take vcpu mutex for obviously invalid vcpu ioctls

2015-01-27 Thread lizf
From: David Matlack 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 2ea75be3219571d0ec009ce20d9971e54af96e09 upstream. vcpu ioctls can hang the calling thread if issued while a vcpu is running. However, invalid ioctls can happen when user

[PATCH 3.4 022/177] spi: dw-mid: terminate ongoing transfers at exit

2015-01-27 Thread lizf
From: Andy Shevchenko 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 8e45ef682cb31fda62ed4eeede5d9745a0a1b1e2 upstream. Do full clean up at exit, means terminate all ongoing DMA transfers. Signed-off-by: Andy Shevchenko Signed-off-by:

[PATCH 3.4 20/91] block: Fix dev_t minor allocation lifetime

2015-01-27 Thread lizf
From: Keith Busch 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 2da78092dda13f1efd26edbbf99a567776913750 upstream. Releases the dev_t minor when all references are closed to prevent another device from acquiring the same major/minor. S

[PATCH 3.4 23/91] drm/radeon: add connector quirk for fujitsu board

2015-01-27 Thread lizf
From: Alex Deucher 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 1952f24d0fa6292d65f886887af87ba8ac79b3ba upstream. Vbios connector table lists non-existent VGA port. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83184 Signed-off-

[PATCH 3.4 020/177] Drivers: hv: vmbus: Cleanup vmbus_close_internal()

2015-01-27 Thread lizf
From: "K. Y. Srinivasan" 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 98d731bb064a9d1817a6ca9bf8b97051334a7cfe upstream. Eliminate calls to BUG_ON() in vmbus_close_internal(). We have chosen to potentially leak memory, than crash the g

[PATCH 3.4 24/91] usb: host: xhci: fix compliance mode workaround

2015-01-27 Thread lizf
From: Felipe Balbi 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 96908589a8b2584b1185f834d365f5cc360e8226 upstream. Commit 71c731a (usb: host: xhci: Fix Compliance Mode on SN65LVP3502CP Hardware) implemented a workaround for a known iss

[PATCH 3.4 22/91] ahci: add pcid for Marvel 0x9182 controller

2015-01-27 Thread lizf
From: Murali Karicheri 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit c5edfff9db6f4d2c35c802acb4abe0df178becee upstream. Keystone K2E EVM uses Marvel 0x9182 controller. This requires support for the ID in the ahci driver. Signed-off-by:

[PATCH 3.4 25/91] Input: elantech - fix detection of touchpad on ASUS s301l

2015-01-27 Thread lizf
From: Hans de Goede 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 271329b3c798b2102120f5df829071c211ef00ed upstream. Adjust Elantech signature validation to account fo rnewer models of touchpads. Reported-and-tested-by: Màrius Monton

[PATCH 3.4 025/177] lockd: Try to reconnect if statd has moved

2015-01-27 Thread lizf
From: Benjamin Coddington 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 173b3afceebe76fa2205b2c8808682d5b541fe3c upstream. If rpc.statd is restarted, upcalls to monitor hosts can fail with ECONNREFUSED. In that case force a lookup of s

[PATCH RESEND] ssb: Fix Sparse error in main

2015-01-27 Thread Pramod Gurav
This change fixes below sparse error: drivers/ssb/main.c:94:16: warning: symbol 'ssb_sdio_func_to_bus' was not declared. Should it be static? Acked-by: Michael Buesch Signed-off-by: Pramod Gurav --- drivers/ssb/main.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/dri

[PATCH 3.4 27/91] uwb: init beacon cache entry before registering uwb device

2015-01-27 Thread lizf
From: Thomas Pugliese 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 675f0ab2fe5a0f7325208e60b617a5f32b86d72c upstream. Make sure the uwb_dev->bce entry is set before calling uwb_dev_add in uwbd_dev_onair so that usermode will only see t

[PATCH 3.4 027/177] rt2800: correct BBP1_TX_POWER_CTRL mask

2015-01-27 Thread lizf
From: Stanislaw Gruszka 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 01f7feeaf4528bec83798316b3c811701bac5d3e upstream. Two bits control TX power on BBP_R1 register. Correct the mask, otherwise we clear additional bit on BBP_R1 registe

[PATCH 3.4 026/177] power: charger-manager: Fix NULL pointer exception with missing cm-fuel-gauge

2015-01-27 Thread lizf
From: Krzysztof Kozlowski 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 661a88860274e059fdb744dfaa98c045db7b5d1d upstream. NULL pointer exception happens during charger-manager probe if 'cm-fuel-gauge' property is not present. [2.4

[PATCH 3.4 26/91] USB: ftdi_sio: Add support for GE Healthcare Nemo Tracker device

2015-01-27 Thread lizf
From: Taylor Braun-Jones 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 9c491c372d677b6420e0f8c6361fe422791662cc upstream. Signed-off-by: Taylor Braun-Jones Cc: Johan Hovold Signed-off-by: Greg Kroah-Hartman [lizf: Backported to 3.4:

[PATCH 3.4 28/91] Input: synaptics - add support for ForcePads

2015-01-27 Thread lizf
From: Dmitry Torokhov 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 5715fc764f7753d464dbe094b5ef9cffa6e479a4 upstream. ForcePads are found on HP EliteBook 1040 laptops. They lack any kind of physical buttons, instead they generate prima

[PATCH 3.4 30/91] libceph: add process_one_ticket() helper

2015-01-27 Thread lizf
From: Ilya Dryomov 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 597cda357716a3cf8d994cb11927af917c8d71fa upstream. Add a helper for processing individual cephx auth tickets. Needed for the next commit, which deals with allocating tick

[PATCH 3.4 031/177] regmap: debugfs: fix possbile NULL pointer dereference

2015-01-27 Thread lizf
From: Xiubo Li 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 2c98e0c1cc6b8e86f1978286c3d4e0769ee9d733 upstream. If 'map->dev' is NULL and there will lead dev_name() to be NULL pointer dereference. So before dev_name(), we need to have c

[PATCH 3.4 030/177] lzo: check for length overrun in variable length encoding.

2015-01-27 Thread lizf
From: Willy Tarreau 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 72cf90124e87d975d0b2114d930808c58b4c05e4 upstream. This fix ensures that we never meet an integer overflow while adding 255 while parsing a variable length encoding. It w

[PATCH 3.4 032/177] regmap: fix possible ZERO_SIZE_PTR pointer dereferencing error.

2015-01-27 Thread lizf
From: Xiubo Li 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit d6b41cb06044a7d895db82bdd54f6e4219970510 upstream. Since we cannot make sure the 'val_count' will always be none zero here, and then if it equals to zero, the kmemdup() will r

[PATCH 3.4 35/91] xhci: Fix null pointer dereference if xhci initialization fails

2015-01-27 Thread lizf
From: Mathias Nyman 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit c207e7c50f31113c24a9f536fcab1e8a256985d7 upstream. If xhci initialization fails before the roothub bandwidth domains (xhci->rh_bw[i]) are allocated it will oops when tryi

[PATCH 3.4 033/177] libata-sff: Fix controllers with no ctl port

2015-01-27 Thread lizf
From: Ondrej Zary 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 6d8ca28fa688a9354bc9fbc935bdaeb3651b6677 upstream. Currently, ata_sff_softreset is skipped for controllers with no ctl port. But that also skips ata_sff_dev_classify requir

[PATCH 3.4 034/177] NFSv4: fix open/lock state recovery error handling

2015-01-27 Thread lizf
From: Trond Myklebust 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit df817ba35736db2d62b07de6f050a4db53492ad8 upstream. The current open/lock state recovery unfortunately does not handle errors such as NFS4ERR_CONN_NOT_BOUND_TO_SESSION c

[PATCH] bcm: address clang inline asm incompatibility

2015-01-27 Thread Behan Webster
From: Alex Elder My GCC-based build environment likes to call register r12 by the name "ip" in inline asm. Behan Webster informed me that his Clang- based build environment likes "r12" instead. Try to make them both happy. Signed-off-by: Alex Elder Signed-off-by: Behan Webster --- arch/arm/

[PATCH 3.4 035/177] serial: 8250: Add Quark X1000 to 8250_pci.c

2015-01-27 Thread lizf
From: Bryan O'Donoghue 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 1ede7dcca3c4fa15a518ab0473126f9c3e621e4c upstream. Quark X1000 contains two designware derived 8250 serial ports. Each port has a unique PCI configuration space consis

[PATCH 3.4 036/177] framebuffer: fix border color

2015-01-27 Thread lizf
From: Mikulas Patocka 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit f74a289b9480648a654e5afd8458c2263c03a1e1 upstream. The framebuffer code uses the current background color to fill the border when switching consoles, however, this resu

[PATCH 3.4 38/91] alarmtimer: Do not signal SIGEV_NONE timers

2015-01-27 Thread lizf
From: Richard Larocque 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 265b81d23a46c39df0a735a3af4238954b41a4c2 upstream. Avoids sending a signal to alarm timers created with sigev_notify set to SIGEV_NONE by checking for that special cas

[PATCH 3.4 037/177] mpc85xx_edac: Make L2 interrupt shared too

2015-01-27 Thread lizf
From: Borislav Petkov 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit a18c3f16a907b8977ef65fc8dd71ed3f7b751748 upstream. The other two interrupt handlers in this driver are shared, except this one. When loading the driver, it fails like t

[PATCH v2] coredump: Use 64bit time for unix time of coredump

2015-01-27 Thread Tina Ruchandani
struct timeval on 32-bit systems will have its tv_sec value overflow in year 2038 and beyond. Use a 64 bit value to print time of the coredump in seconds. ktime_get_real_seconds is chosen here for efficiency reasons. Suggested by: Arnd Bergmann Signed-off-by: Tina Ruchandani --- Changes in v2:

[PATCH 3.4 40/91] don't bugger nd->seq on set_root_rcu() from follow_dotdot_rcu()

2015-01-27 Thread lizf
From: Al Viro 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 7bd88377d482e1eae3c5329b12e33cfd664fa6a9 upstream. return the value instead, and have path_init() do the assignment. Broken by "vfs: Fix absolute RCU path walk failures due to

[PATCH 3.4 039/177] m68k: Disable/restore interrupts in hwreg_present()/hwreg_write()

2015-01-27 Thread lizf
From: Geert Uytterhoeven 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit e4dc601bf99ccd1c95b7e6eef1d3cf3c4b0d4961 upstream. hwreg_present() and hwreg_write() temporarily change the VBR register to another vector table. This table contains

[PATCH 3.4 043/177] pata_serverworks: disable 64-KB DMA transfers on Broadcom OSB4 IDE Controller

2015-01-27 Thread lizf
From: Scott Carter 3.4.106-rc1 review patch. If anyone has any objections, please let me know. -- commit 37017ac6849e772e67dd187ba2fbd056c4afa533 upstream. The Broadcom OSB4 IDE Controller (vendor and device IDs: 1166:0211) does not support 64-KB DMA transfers. Whenever a 64-

[PATCH 3.4 42/91] MIPS: ZBOOT: add missing include

2015-01-27 Thread lizf
From: Aurelien Jarno 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream. Commit dc4d7b37 (MIPS: ZBOOT: gather string functions into string.c) moved the string related functions into a separat

[PATCH 3.4 44/91] ASoC: samsung-i2s: Check secondary DAI exists before referencing

2015-01-27 Thread lizf
From: Charles Keepax 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit 133c2681c4a0c1b589d138c2fdd0f131bdce20ed upstream. In a couple of places the driver is missing a check to ensure there is a secondary DAI before it de-references the poi

[PATCH 3.4 46/91] Input: i8042 - add nomux quirk for Avatar AVIU-145A6

2015-01-27 Thread lizf
From: Hans de Goede 3.4.105-rc1 review patch. If anyone has any objections, please let me know. -- commit d2682118f4bb3ceb835f91c1a694407a31bb7378 upstream. The sys_vendor / product_name are somewhat generic unfortunately, so this may lead to some false positives. But nomux u

  1   2   3   4   5   6   7   8   9   10   >