Re: [PATCH] crypto: ccm - avoid scatterlist for MAC encryption

2016-10-17 Thread Johannes Berg
On Mon, 2016-10-17 at 08:37 +0100, Ard Biesheuvel wrote: >  > Could we get a statement first whether it is supported to allocate > aead_req (and other crypto req structures) on the stack? Well, we haven't heard from Herbert :) > If not, then > we have our work cut out for us. But if it is, I'd

[PATCH 2/5] KVM: LAPIC: guarantee the timer is in tsc-deadline mode

2016-10-17 Thread Wanpeng Li
From: Wanpeng Li Check apic_lvtt_tscdeadline() mode directly instead of apic_lvtt_oneshot() and apic_lvtt_period() to guarantee the timer is in tsc-deadline mode when rdmsr MSR_IA32_TSCDEADLINE. Suggsted-by: Radim Krčmář Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Yunhong Jiang Signed-off-by:

Re: [PATCH] staging: dgnc: Replace CamelCase namings with underscores.

2016-10-17 Thread Greg KH
On Mon, Oct 17, 2016 at 01:13:55AM +0530, Pankaj Bharadiya wrote: > Replace CamelCase names with underscores to comply with the standard > kernel coding style. > > Signed-off-by: Pankaj Bharadiya > --- > drivers/staging/dgnc/dgnc_tty.c | 20 ++-- > 1 file changed, 10

[PATCH 3/5] KVM: LAPIC: introduce kvm_get_lapic_target_expiration_tsc()

2016-10-17 Thread Wanpeng Li
From: Wanpeng Li Introdce kvm_get_lapic_target_expiration_tsc() to get APIC Timer target deadline tsc. Cc: Paolo Bonzini Cc: Radim Krčmář Cc: Yunhong Jiang Signed-off-by: Wanpeng Li --- arch/x86/kvm/lapic.c | 9 + arch/x86/kvm/lapic.h | 1 + arch/x86/kvm/x86.c | 2 +- 3 files

Re: [PATCH] ceph: Fix uninitialized dentry pointer in ceph_real_mount()

2016-10-17 Thread Geert Uytterhoeven
Hi Zheng, On Fri, Oct 14, 2016 at 4:47 AM, Yan, Zheng wrote: > On Thu, Oct 13, 2016 at 11:15 PM, Geert Uytterhoeven > wrote: >> fs/ceph/super.c: In function ‘ceph_real_mount’: >> fs/ceph/super.c:818: warning: ‘root’ may be used uninitialized in this >> function >> >> If s_root is

Re: [PATCH] crypto: ccm - avoid scatterlist for MAC encryption

2016-10-17 Thread Ard Biesheuvel
On 17 October 2016 at 08:47, Johannes Berg wrote: > On Mon, 2016-10-17 at 08:37 +0100, Ard Biesheuvel wrote: >> >> Could we get a statement first whether it is supported to allocate >> aead_req (and other crypto req structures) on the stack? > > Well, we haven't heard from Herbert :) > >> If not,

[PATCH 3.12 09/84] Kbuild: disable 'maybe-uninitialized' warning for CONFIG_PROFILE_ALL_BRANCHES

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 815eb71e7149ecce40db9dd0ad09c4dd9d33c60f upstream. CONFIG_PROFILE_ALL_BRANCHES confuses gcc-5.x to the degree that it prints incorrect warnings about a lot of variables that

[PATCH 3.12 76/84] security: let security modules use PTRACE_MODE_* with bitmasks

2016-10-17 Thread Jiri Slaby
From: Jann Horn 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3dfb7d8cdbc7ea0c2970450e60818bb3eefbad69 upstream. It looks like smack and yama weren't aware that the ptrace mode can have flags ORed into it - PTRACE_MODE_NOAUDIT until now,

[PATCH 3.12 77/84] KVM: PPC: Book3S PR: Ignore PMU SPRs

2016-10-17 Thread Jiri Slaby
From: Alexander Graf 3.12-stable review patch. If anyone has any objections, please let me know. === commit f8f6eb0d189cf2724af5ebc8cad460c78fb1994e upstream. When we expose a POWER8 CPU into the guest, it will start accessing PMU SPRs that we don't emulate. Just ignore accesses

[PATCH 3.12 74/84] Revert "usbtmc: convert to devm_kzalloc"

2016-10-17 Thread Jiri Slaby
From: Greg Kroah-Hartman 3.12-stable review patch. If anyone has any objections, please let me know. === commit ab21b63e8aedfc73565dd9cdd51eb338341177cb upstream. This reverts commit e6c7efdcb76f11b04e3d3f71c8d764ab75c9423b. Turns out it was totally wrong. The memory is

[PATCH 3.12 71/84] USB: serial: cp210x: fix hardware flow-control disable

2016-10-17 Thread Jiri Slaby
From: Konstantin Shkolnyy 3.12-stable review patch. If anyone has any objections, please let me know. === commit a377f9e906af4df9071ba8ddba60188cb4013d93 upstream. A bug in the CRTSCTS handling caused RTS to alternate between CRTSCTS=0 => "RTS is transmit active signal" and

[PATCH 3.12 75/84] ACPICA: acpi_get_sleep_type_data: Reduce warnings

2016-10-17 Thread Jiri Slaby
From: Prarit Bhargava 3.12-stable review patch. If anyone has any objections, please let me know. === commit a59b679ab85635737947310323f2f2bcfa0664a7 upstream. ACPICA commit 7bb77313091e52a846df4c9c2bea90be31bfb9d8 Eliminate warnings for "not found" _Sx errors, since these are

[PATCH 3.12 80/84] ALSA: usb-line6: use the same declaration as definition in header for MIDI manufacturer ID

2016-10-17 Thread Jiri Slaby
From: Takashi Sakamoto 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8da08ca03b73593d5299893bf29fc08569c3fb5f upstream. Currently, usb-line6 module exports an array of MIDI manufacturer ID and usb-pod module uses it. However, the

[PATCH 3.12 84/84] KVM: MIPS: Drop other CPU ASIDs on guest MMU changes

2016-10-17 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 91e4f1b6073dd680d86cdb7e42d7a9db39d8 upstream. When a guest TLB entry is replaced by TLBWI or TLBWR, we only invalidate TLB entries on the local CPU. This doesn't work

[PATCH 3.12 79/84] ALSA: ali5451: Fix out-of-bound position reporting

2016-10-17 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit db68577966abc1aeae4ec597b3dcfa0d56e92041 upstream. The pointer callbacks of ali5451 driver may return the value at the boundary occasionally, and it results in the kernel

Re: [PATCH] crypto: ccm - avoid scatterlist for MAC encryption

2016-10-17 Thread Johannes Berg
On Mon, 2016-10-17 at 08:50 +0100, Ard Biesheuvel wrote: > I just realised that patch should probably use > aead_request_alloc/aead_request_free [and drop the memset]. That also > fixes the latent bug where the alignment of the req ctx is not take > into account. Good point, I'll fix that up. >

[PATCH 3.12 70/84] IB/mlx4: Fix incorrect MC join state bit-masking on SR-IOV

2016-10-17 Thread Jiri Slaby
From: Alex Vesker 3.12-stable review patch. If anyone has any objections, please let me know. === commit e5ac40cd66c2f3cd11bc5edc658f012661b16347 upstream. Because of an incorrect bit-masking done on the join state bits, when handling a join request we failed to detect a

[PATCH 3.12 72/84] usb: misc: legousbtower: Fix NULL pointer deference

2016-10-17 Thread Jiri Slaby
From: Greg Kroah-Hartman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2fae9e5a7babada041e2e161699ade2447a01989 upstream. This patch fixes a NULL pointer dereference caused by a race codition in the probe function of the legousbtower

[PATCH 3.12 82/84] mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled

2016-10-17 Thread Jiri Slaby
From: Uwe Kleine-König 3.12-stable review patch. If anyone has any objections, please let me know. === commit 88003fb10f1fc606e1704611c62ceae95fd1d7da upstream. This fixes a compile failure: drivers/built-in.o: In function `wm8350_i2c_probe':

[PATCH 3.12 73/84] USB: serial: cp210x: Add ID for a Juniper console

2016-10-17 Thread Jiri Slaby
From: Kyle Jones 3.12-stable review patch. If anyone has any objections, please let me know. === commit decc5360f23e9efe0252094f47f57f254dcbb3a9 upstream. Signed-off-by: Kyle Jones Signed-off-by: Jiri Slaby --- drivers/usb/serial/cp210x.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH] leds: leds-pca963x: workaround group blink scaling issue

2016-10-17 Thread Jacek Anaszewski
On 10/15/2016 02:00 PM, Matt Ranostay wrote: On Fri, Oct 14, 2016 at 7:20 AM, Tony Lindgren wrote: * Jacek Anaszewski [161013 23:37]: On 10/13/2016 04:20 PM, Matt Ranostay wrote: On Thu, Oct 13, 2016 at 4:05 PM, Jacek Anaszewski wrote: Why DT property? Is it somehow dependent on the board

[PATCH 3.12 69/84] IB/ipoib: Don't allow MC joins during light MC flush

2016-10-17 Thread Jiri Slaby
From: Alex Vesker 3.12-stable review patch. If anyone has any objections, please let me know. === commit 344bacca8cd811809fc33a249f2738ab757d327f upstream. This fix solves a race between light flush and on the fly joins. Light flush doesn't set the device to down and unset

[PATCH 3.12 81/84] mfd: 88pm80x: Double shifting bug in suspend/resume

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a6dc644512fd083400a96ac4a035ac154fe6b8d upstream. set_bit() and clear_bit() take the bit number so this code is really doing "1 << (1 << irq)" which is a double shift bug.

[PATCH 3.12 83/84] KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register

2016-10-17 Thread Jiri Slaby
From: Thomas Huth 3.12-stable review patch. If anyone has any objections, please let me know. === commit fa73c3b25bd8d0d393dc6109a1dba3c2aef0451e upstream. The MMCR2 register is available twice, one time with number 785 (privileged access), and one time with number 769

Re: [tip:x86/urgent] x86/cpufeature: Add AVX512_4VNNIW and AVX512_4FMAPS features

2016-10-17 Thread Thomas Gleixner
On Sun, 16 Oct 2016, Borislav Petkov wrote: > > The spec can be found in Intel Software Developer Manual or in > > Instruction Set Extensions Programming Reference. See > > https://software.intel.com/sites/default/files/managed/69/78/319433-025.pdf. > > > +/* Intel-defined CPU features, CPUID

Re: linux-4.9-rc1/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:1561: poor error checking ?

2016-10-17 Thread Luca Coelho
Hi David, On Mon, 2016-10-17 at 07:40 +, David Binderman wrote: > Hello there, > > linux-4.9-rc1/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:1561]: (style) > Checking if unsigned variable 'len' is less than zero. > > Source code is > > len = min((size_t)le32_to_cpu(rsp->len) << 2,

[PATCH 3.12 78/84] KVM: PPC: Book3S PR: Emulate TIR register

2016-10-17 Thread Jiri Slaby
From: Alexander Graf 3.12-stable review patch. If anyone has any objections, please let me know. === commit a5948fa092a04dfd6b9ee31c99eb6896c158eb08 upstream. In parallel to the Processor ID Register (PIR) threaded POWER8 also adds a Thread ID Register (TIR). Since PR KVM doesn't

[PATCH 3.12 16/84] Staging: iio: adc: fix indent on break statement

2016-10-17 Thread Jiri Slaby
From: Colin Ian King 3.12-stable review patch. If anyone has any objections, please let me know. === commit b6acb0cfc21293a1bfc283e9217f58f7474ef728 upstream. Fix indent warning when building with gcc 6: drivers/staging/iio/adc/ad7192.c:239:4: warning: statement is indented as

[PATCH 3.12 07/84] Makefile: revert "Makefile: Document ability to make file.lst and file.S" partially

2016-10-17 Thread Jiri Slaby
From: Wang YanQing 3.12-stable review patch. If anyone has any objections, please let me know. === commit 40ab87a4003c7952976ce901a2b9ece5ed833168 upstream. Commit 627189797807 ("Makefile: Document ability to make file.lst and file.S") document ability to make file.S, but there

Re: [PATCH] UBI: Fix crash in try_recover_peb()

2016-10-17 Thread Geert Uytterhoeven
Hi Boris, On Thu, Oct 13, 2016 at 4:24 PM, Boris Brezillon wrote: > On Thu, 13 Oct 2016 16:05:36 +0200 > Geert Uytterhoeven wrote: > >> drivers/mtd/ubi/eba.c: In function ‘try_recover_peb’: >> drivers/mtd/ubi/eba.c:744: warning: ‘vid_hdr’ is used uninitialized in >> this function >> >>

[PATCH 3.12 66/84] KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write

2016-10-17 Thread Jiri Slaby
From: Radim Krčmář 3.12-stable review patch. If anyone has any objections, please let me know. === commit dccbfcf52cebb8963246eba5b177b77f26b34da0 upstream. If vmcs12 does not intercept APIC_BASE writes, then KVM will handle the write with vmcs02 as the current VMCS. This will

[PATCH 3.12 65/84] ASoC: omap-mcpdm: Fix irq resource handling

2016-10-17 Thread Jiri Slaby
From: Peter Ujfalusi 3.12-stable review patch. If anyone has any objections, please let me know. === commit a8719670687c46ed2e904c0d05fa4cd7e4950cd1 upstream. Fixes: ddd17531ad908 ("ASoC: omap-mcpdm: Clean up with devm_* function") Managed irq request will not doing any good in

[PATCH 3.12 62/84] brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill

2016-10-17 Thread Jiri Slaby
From: Florian Fainelli 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5c5fa1f464ac954982df1d96b9f9a5103d21aedd upstream. In case dma_mapping_error() returns an error in dma_rxfill, we would be leaking a packet that we allocated with

Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2016-10-17 Thread Adrian Hunter
On 12/10/16 15:17, Ziji Hu wrote: > Hi Adrian, > > On 2016/10/11 20:39, Adrian Hunter wrote: >> On 07/10/16 18:22, Gregory CLEMENT wrote: >>> From: Ziji Hu >>> >>> Marvell Xenon eMMC/SD/SDIO Host Controller contains PHY. >>> Three types of PHYs are supported. >>> >>> Add support to multiple

Re: [PATCH] UBI: Fix crash in try_recover_peb()

2016-10-17 Thread Geert Uytterhoeven
Hi Boris, On Fri, Oct 14, 2016 at 12:49 PM, Boris Brezillon wrote: > On Thu, 13 Oct 2016 16:24:58 +0200 > Boris Brezillon wrote: >> On Thu, 13 Oct 2016 16:05:36 +0200 >> Geert Uytterhoeven wrote: >> >> > drivers/mtd/ubi/eba.c: In function ‘try_recover_peb’: >> >

[PATCH 3.12 68/84] IB/core: Fix use after free in send_leave function

2016-10-17 Thread Jiri Slaby
From: Erez Shitrit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 68c6bcdd8bd00394c234b915ab9b97c74104130c upstream. The function send_leave sets the member: group->query_id (group->query_id = ret) after calling the sa_query, but

[PATCH 3.12 63/84] brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get()

2016-10-17 Thread Jiri Slaby
From: Florian Fainelli 3.12-stable review patch. If anyone has any objections, please let me know. === commit f823a2aa8f4674c095a5413b9e3ba12d82df06f2 upstream. wlc_phy_txpower_get_current() does a logical OR of power->flags, which presumes that power.flags was initiliazed

[PATCH 3.12 67/84] IB/ipoib: Fix memory corruption in ipoib cm mode connect flow

2016-10-17 Thread Jiri Slaby
From: Erez Shitrit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 546481c2816ea3c061ee9d5658eb48070f69212e upstream. When a new CM connection is being requested, ipoib driver copies data from the path pointer in the CM/tx object, the path

[PATCH 3.12 61/84] NFS: Don't drop CB requests with invalid principals

2016-10-17 Thread Jiri Slaby
From: Chuck Lever 3.12-stable review patch. If anyone has any objections, please let me know. === commit a4e187d83d88eeaba6252aac0a2ffe5eaa73a818 upstream. Before commit 778be232a207 ("NFS do not find client in NFSv4 pg_authenticate"), the Linux callback server replied with

[PATCH 3.12 64/84] powerpc/prom: Fix sub-processor option passed to ibm, client-architecture-support

2016-10-17 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 66443efa83dc73775100b7442962ce2cb0d4472e upstream. When booting from an OpenFirmware which supports it, we use the "ibm,client-architecture-support" firmware call to

Re: kernel panic caused by raedon driver during reboot

2016-10-17 Thread Baoquan He
On 10/17/16 at 04:37pm, Michel Dänzer wrote: > On 17/10/16 04:17 PM, Baoquan He wrote: > > In fact this could happen in radeon_pci_shutdown. I tried reboot and > > poweroff, kernel panic happened in both cases. Attachments are console > > log and kernel config of 4.9-rc1 on linus's tree. > > This

[PATCH 3.12 56/84] tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO

2016-10-17 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit cdf8b4633075f2171d440d2e37c9c2609019a81a upstream. AT_VECTOR_SIZE_ARCH should be defined with the maximum number of NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it

[PATCH 3.12 57/84] em28xx-i2c: rt_mutex_trylock() returns zero on failure

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit e44c153b30c9a0580fc2b5a93f3c6d593def2278 upstream. The code is checking for negative returns but it should be checking for zero. Fixes: aab3125c43d8 ('[media] em28xx: add

[PATCH 3.12 58/84] gspca: avoid unused variable warnings

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit d7e92e15e92fc987640772bf110586898b5f15aa upstream. When CONFIG_INPUT is disabled, multiple gspca backend drivers print compile-time warnings about unused variables:

[PATCH 3.12 54/84] ARM: sa1111: fix pcmcia suspend/resume

2016-10-17 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 06dfe5cc0cc684e735cb0232fdb756d30780b05d upstream. SA PCMCIA was broken when PCMCIA switched to using dev_pm_ops for the PCMCIA socket class. PCMCIA used to handle

[PATCH 3.12 60/84] svc: Avoid garbage replies when pc_func() returns rpc_drop_reply

2016-10-17 Thread Jiri Slaby
From: Chuck Lever 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0533b13072f4bf35738290d2cf9e299c7bc6c42a upstream. If an RPC program does not set vs_dispatch and pc_func() returns rpc_drop_reply, the server sends a reply anyway containing

[PATCH 3.12 00/84] 3.12.65-stable review

2016-10-17 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.65 release. There are 84 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 Wed Oct 19 09:48:13 CEST 2016. Anything

[PATCH 3.12 59/84] avr32: off by one in at32_init_pio()

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 55f1cf83d5cf885c75267269729805852039c834 upstream. The pio_dev[] array has MAX_NR_PIO_DEVICES elements so the > should be >=. Fixes: 5f97f7f9400d ('[PATCH] avr32

[PATCH 3.12 55/84] hwrng: omap - Fix assumption that runtime_get_sync will always succeed

2016-10-17 Thread Jiri Slaby
From: Nishanth Menon 3.12-stable review patch. If anyone has any objections, please let me know. === commit 61dc0a446e5d08f2de8a24b45f69a1e302bb1b1b upstream. pm_runtime_get_sync does return a error value that must be checked for error conditions, else, due to various reasons,

[PATCH 3.12 46/84] hwmon: (adt7411) set bit 3 in CFG1 register

2016-10-17 Thread Jiri Slaby
From: Michael Walle 3.12-stable review patch. If anyone has any objections, please let me know. === commit b53893aae441a034bf4dbbad42fe218561d7d81f upstream. According to the datasheet you should only write 1 to this bit. If it is not set, at least AIN3 will return bad values on

[PATCH 3.12 53/84] ARM: sa1100: clear reset status prior to reboot

2016-10-17 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit da60626e7d02a4f385cae80e450afc8b07035368 upstream. Clear the current reset status prior to rebooting the platform. This adds the bit missing from 04fef228fb00 ("[ARM] pxa:

[PATCH 3.12 52/84] printk: fix parsing of "brl=" option

2016-10-17 Thread Jiri Slaby
From: Nicolas Iooss 3.12-stable review patch. If anyone has any objections, please let me know. === commit ae6c33ba6e37eea3012fe2640b22400ef3f2d0f3 upstream. Commit bbeddf52adc1 ("printk: move braille console support into separate braille.[ch] files") moved the parsing of

[PATCH v2][resend v2] drm: bridge: add DesignWare HDMI I2S audio support

2016-10-17 Thread Kuninori Morimoto
From: Kuninori Morimoto Current dw-hdmi is supporting sound via AHB bus, but it has I2S audio feature too. This patch adds I2S audio support to dw-hdmi. This HDMI I2S is supported by using ALSA SoC common HDMI encoder driver. Tested-by: Jose Abreu Signed-off-by: Kuninori Morimoto --- v1 ->

[PATCH 3.12 31/84] iommu/amd: Update Alias-DTE in update_device_table()

2016-10-17 Thread Jiri Slaby
From: Joerg Roedel 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3254de6bf74fe94c197c9f819fe62a3a3c36f073 upstream. Not doing so might cause IO-Page-Faults when a device uses an alias request-id and the alias-dte is left in a lower

Re: MD-RAID: Use seq_putc() in three status functions?

2016-10-17 Thread Hannes Reinecke
On 10/17/2016 09:39 AM, SF Markus Elfring wrote: Does it improve code? Does it improve anything? >>> >>> Yes. - I got such an impression. >>> >>> * Is it more efficient to call the function "seq_printf" for the desired >>> data processing >>> for a single character than to pass it to the

[PATCH 3.12 27/84] CRIS: Fix headers_install

2016-10-17 Thread Jiri Slaby
From: Sam Ravnborg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6eb64b8c64f7177b160b4bdbabd317d523bf4bfc upstream. Fix headers_install by adjusting the path to arch files. And delete unused Kbuild file. Drop special handling of cris in

[PATCH 3.12 49/84] ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7

2016-10-17 Thread Jiri Slaby
From: Srinivas Ramana 3.12-stable review patch. If anyone has any objections, please let me know. === commit 117e5e9c4cfcb7628f08de074fbfefec1bb678b7 upstream. If the bootloader uses the long descriptor format and jumps to kernel decompressor code, TTBCR may not be in a right

[PATCH 3.12 45/84] tools/vm/slabinfo: fix an unintentional printf

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2d6a4d64812bb12dda53704943b61a7496d02098 upstream. The curly braces are missing here so we print stuff unintentionally. Fixes: 9da4714a2d44 ('slub: slabinfo update for

Re: [Intel-gfx] [PATCH v2 05/10] drm/i915/gen9: Get rid of redundant watermark values

2016-10-17 Thread Maarten Lankhorst
Op 17-10-16 om 08:05 schreef Daniel Vetter: > On Thu, Oct 13, 2016 at 05:04:03PM -0300, Paulo Zanoni wrote: >> Em Qui, 2016-10-13 às 15:39 +0200, Maarten Lankhorst escreveu: >>> Op 08-10-16 om 02:11 schreef Lyude: Now that we've make skl_wm_levels make a little more sense, we can remove

[PATCH 3.12 41/84] mm,ksm: fix endless looping in allocating memory when ksm enable

2016-10-17 Thread Jiri Slaby
From: zhong jiang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5b398e416e880159fe55eefd93c6588fa072cd66 upstream. I hit the following hung task when runing a OOM LTP test case with 4.1 kernel. Call trace: [] __switch_to+0x74/0x8c []

[PATCH 3.12 19/84] fix memory leaks in tracing_buffers_splice_read()

2016-10-17 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1ae2293dd6d2f5c823cf97e60b70d03631cd622f upstream. Signed-off-by: Al Viro Signed-off-by: Jiri Slaby --- kernel/trace/trace.c | 17 + 1 file changed, 9

[PATCH 3.12 26/84] sched/core: Fix a race between try_to_wake_up() and a woken up task

2016-10-17 Thread Jiri Slaby
From: Balbir Singh 3.12-stable review patch. If anyone has any objections, please let me know. === commit 135e8c9250dd5c8c9aae5984fde6f230d0cbfeaf upstream. The origin of the issue I've seen is related to a missing memory barrier between check for task->state and the check for

[PATCH 3.12 38/84] sched/core: Fix an SMP ordering race in try_to_wake_up() vs. schedule()

2016-10-17 Thread Jiri Slaby
From: Peter Zijlstra 3.12-stable review patch. If anyone has any objections, please let me know. === commit ecf7d01c229d11a44609c0067889372c91fb4f36 upstream. Oleg noticed that its possible to falsely observe p->on_cpu == 0 such that we'll prematurely continue with the wakeup and

[PATCH 3.12 37/84] xfs: fixed signedness of error code in xfs_inode_buf_verify

2016-10-17 Thread Jiri Slaby
From: Jeff Mahoney 3.12-stable review patch. If anyone has any objections, please let me know. === Prior to v3.17, XFS used positive error codes internally. Commit af8d971602b9583e5e8400e637e2a48c7480bc64 (xfs: inode recovery readahead can race with inode buffer creation),

[PATCH 3.12 33/84] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-10-17 Thread Jiri Slaby
From: Michal Hocko 3.12-stable review patch. If anyone has any objections, please let me know. === commit 735f2770a770156100f534646158cb58cb8b2939 upstream. Commit fec1d0115240 ("[PATCH] Disable CLONE_CHILD_CLEARTID for abnormal exit") has caused a subtle regression in nscd which

[PATCH 3.12 43/84] drm/radeon/si/dpm: add workaround for for Jet parts

2016-10-17 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 670bb4fd21c966d0d2a59ad4a99bb4889f9a2987 upstream. Add clock quirks for Jet parts. Reviewed-by: Sonny Jiang Tested-by: Sonny Jiang Signed-off-by: Alex Deucher

[PATCH 3.12 08/84] kbuild: forbid kernel directory to contain spaces and colons

2016-10-17 Thread Jiri Slaby
From: Robert Jarzmik 3.12-stable review patch. If anyone has any objections, please let me know. === commit 51193b76bfff5027cf96ba63effae808ad67cca7 upstream. When the kernel path contains a space or a colon somewhere in the path name, the modules_install target doesn't work

[PATCH v2] hwmon: (adm1275) Enable adm1278 VOUT sampling

2016-10-17 Thread Joel Stanley
From: Yi Li The adm1278 can optionally monitor the VOUT pin. This functioanltiy is not enabled at reset, so PMON_CONFIG needs to be modified in order to enable it. Signed-off-by: Yi Li Signed-off-by: Joel Stanley --- v2: Return an error when unable to enable VOUT monitoring as suggestd by

[PATCH 3.12 50/84] arm64: debug: avoid resetting stepping state machine when TIF_SINGLESTEP

2016-10-17 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3a402a709500c5a3faca2111668c33d96555e35a upstream. When TIF_SINGLESTEP is set for a task, the single-step state machine is enabled and we must take care not to reset it to the

Re: [PATCH v2] usb: dwc3: gadget: Wait for end transfer complete before free irq

2016-10-17 Thread Felipe Balbi
Hi, (I have added you to another thread which is where we'll be collecting discussion about this, however ...) Alan Stern writes: > On Fri, 14 Oct 2016, Felipe Balbi wrote: > >> argh, we have nested spinlocks :-( Well, we shouldn't call >> usb_ep_disable() with locks held AFAICR. So the

[PATCH 3.12 29/84] powerpc/ptrace: Fix out of bounds array access warning

2016-10-17 Thread Jiri Slaby
From: Khem Raj 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1e407ee3b21f981140491d5b8a36422979ca246f upstream. gcc-6 correctly warns about a out of bounds access arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an offset

[PATCH 3.12 42/84] can: dev: fix deadlock reported after bus-off

2016-10-17 Thread Jiri Slaby
From: Sergei Miroshnichenko 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9abefcb1aaa58b9d5aa40a8bb12c87d02415e4c8 upstream. A timer was used to restart after the bus-off state, leading to a relatively large can_restart() executed in an

[PATCH 3.12 36/84] IB/srpt: Simplify srpt_handle_tsk_mgmt()

2016-10-17 Thread Jiri Slaby
From: Bart Van Assche 3.12-stable review patch. If anyone has any objections, please let me know. === commit 51093254bf879bc9ce96590400a87897c7498463 upstream. Let the target core check task existence instead of the SRP target driver. Additionally, let the target core check the

[PATCH 3.12 39/84] powerpc: Add macros for the ibm_architecture_vec[] lengths

2016-10-17 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit e8a4fd0afe05d5213d809fa686d3b8319464acfd upstream. The encoding of the lengths in the ibm_architecture_vec array is "interesting" to say the least. It's non-obvious how

[PATCH 3.12 32/84] clockevents: export clockevents_unbind_device instead of clockevents_unbind

2016-10-17 Thread Jiri Slaby
From: Vitaly Kuznetsov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 32a158325acf12842764b1681f53903673f2f22e upstream. It looks like clockevents_unbind is being exported by mistake as: - it is static; - it is not listed in

[PATCH 3.12 10/84] gcov: disable -Wmaybe-uninitialized warning

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit e72e2dfe7c16ffbfbabf9cb24adc6d9f93a4fe37 upstream. When gcov profiling is enabled, we see a lot of spurious warnings about possibly uninitialized variables being used:

[PATCH 3.12 44/84] ARM: 8616/1: dt: Respect property size when parsing CPUs

2016-10-17 Thread Jiri Slaby
From: Robin Murphy 3.12-stable review patch. If anyone has any objections, please let me know. === commit ba6dea4f7cedb4b1c17e36f4087675d817c2e24b upstream. Whilst MPIDR values themselves are less than 32 bits, it is still perfectly valid for a DT to have #address-cells > 1 in

[PATCH 3.12 35/84] kaweth: fix firmware download

2016-10-17 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 60bcabd080f53561efa9288be45c128feda1a8bb upstream. This fixes the oops discovered by the Umap2 project and Alan Stern. The intf member needs to be set before the firmware is

Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422

2016-10-17 Thread Felipe Balbi
Hi, Michael Niewöhner writes: > Hi Felipe, > On Fri, 2016-10-07 at 22:26 +0200, Michael Niewöhner wrote: >> Hi Felipe, >> >> On Fr, 2016-10-07 at 10:42 +0300, Felipe Balbi wrote: >> > Hi, >> > >> > Michael Niewöhner writes: >> > > >> > > > >> > > > The clocks are same across

Re: [PATCH] mfd: Add HiSilicon Flash Memory Controller(FMC) driver

2016-10-17 Thread linshunquan (A)
On 2016/10/10 11:19, linshunquan (A) wrote: > > > On 2016/9/15 5:56, Rob Herring wrote: >> On Wed, Sep 14, 2016 at 4:12 AM, linshunquan (A) >> wrote: >>> >>> >>> On 2016/9/13 22:56, Rob Herring wrote: On Tue, Sep 06, 2016 at 10:57:22AM +0800, linshunquan 00354166 wrote: > From:

[PATCH 3.12 34/84] NFSD: Using free_conn free connection

2016-10-17 Thread Jiri Slaby
From: Kinglong Mee 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3f42d2c428c724212c5f4249daea97e254eb0546 upstream. Connection from alloc_conn must be freed through free_conn, otherwise, the reference of svc_xprt will never be put.

[PATCH 3.12 51/84] MIPS: Malta: Fix IOCU disable switch read for MIPS64

2016-10-17 Thread Jiri Slaby
From: Paul Burton 3.12-stable review patch. If anyone has any objections, please let me know. === commit 305723ab439e14debc1d339aa04e835d488b8253 upstream. Malta boards used with CPU emulators feature a switch to disable use of an IOCU. Software has to check this switch & ignore

[PATCH 3.12 30/84] ppp: defer netns reference release for ppp channel

2016-10-17 Thread Jiri Slaby
From: WANG Cong 3.12-stable review patch. If anyone has any objections, please let me know. === commit 205e1e255c479f3fd77446415706463b282f94e4 upstream. Matt reported that we have a NULL pointer dereference in ppp_pernet() from ppp_connect_channel(), i.e. pch->chan_net is NULL.

[PATCH 3.12 40/84] mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl

2016-10-17 Thread Jiri Slaby
From: Karl Beldan 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6d7c1b5598b6407c3f1da795dd54acf99c1990c upstream. This fixes subpage writes when using 4-bit HW ECC. There has been numerous reports about ECC errors with devices using this

[PATCH 3.12 48/84] usb: gadget: fsl_qe_udc: signedness bug in qe_get_frame()

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit f4693b08cc901912a87369c46537b94ed4084ea0 upstream. We can't assign -EINVAL to a u16. Fixes: 3948f0e0c999 ('usb: add Freescale QE/CPM USB peripheral controller driver')

[PATCH 3.12 47/84] iwlwifi: pcie: fix access to scratch buffer

2016-10-17 Thread Jiri Slaby
From: Sara Sharon 3.12-stable review patch. If anyone has any objections, please let me know. === commit d5d0689aefc59c6a5352ca25d7e6d47d03f543ce upstream. This fixes a pretty ancient bug that hasn't manifested itself until now. The scratchbuf for command queue is allocated only

[PATCH 3.12 01/84] gcov: disable tree-loop-im to reduce stack usage

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit c87bf431448b404a6ef5fbabd74c0e3e42157a7f upstream. Enabling CONFIG_GCOV_PROFILE_ALL produces us a lot of warnings like lib/lz4/lz4hc_compress.c: In function

[PATCH 3.12 05/84] ocfs2: fix start offset to ocfs2_zero_range_for_truncate()

2016-10-17 Thread Jiri Slaby
From: Ashish Samant 3.12-stable review patch. If anyone has any objections, please let me know. === commit d21c353d5e99c56cdd5b5c1183ffbcaf23b8b960 upstream. If we punch a hole on a reflink such that following conditions are met: 1. start offset is on a cluster boundary 2. end

Re: kernel BUG at arch/x86/kernel/traps.c:643! when run Redhat7(v3.10) in kvm guest

2016-10-17 Thread Kefeng Wang
On 2016/10/15 2:36, Andy Lutomirski wrote: > On Thu, Oct 13, 2016 at 11:14 PM, Kefeng Wang > wrote: >> Hi all, >> >> We met BUG_ON in do_device_not_available(fpu exception handler) when run >> redhat7 in kvm guest, >> and there is no special test on this guest, only some network packet receipt

[PATCH 3.12 15/84] iwlegacy: avoid warning about missing braces

2016-10-17 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2cce76c3fab410520610a7d2f52faebc3cfcf843 upstream. gcc-6 warns about code in il3945_hw_txq_ctx_free() being somewhat ambiguous:

[PATCH 3.12 17/84] fix fault_in_multipages_...() on architectures with no-op access_ok()

2016-10-17 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit e23d4159b109167126e5bcd7f3775c95de7fee47 upstream. Switching iov_iter fault-in to multipages variants has exposed an old bug in underlying fault_in_multipages_...(); they break if

Re: [lkp] [posix_acl] 073931017b: xfstests.generic.314.fail

2016-10-17 Thread Jan Kara
On Mon 17-10-16 10:11:22, kernel test robot wrote: > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit 073931017b49d9458aa351605b43a7e34598caef ("posix_acl: Clear SGID bit > when setting file permissions") > > in

[PATCH 3.12 23/84] i2c-eg20t: fix race between i2c init and interrupt enable

2016-10-17 Thread Jiri Slaby
From: "Yadi.hu" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 371a015344b6e270e7e3632107d9554ec6d27a6b upstream. the eg20t driver call request_irq() function before the pch_base_address, base address of i2c controller's register, is

Re: [RFC PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-17 Thread Michal Hocko
On Mon 17-10-16 07:49:59, Dave Chinner wrote: > On Thu, Oct 13, 2016 at 01:04:56PM +0200, Michal Hocko wrote: > > On Thu 13-10-16 09:39:47, Michal Hocko wrote: > > > On Thu 13-10-16 11:29:24, Dave Chinner wrote: > > > > On Fri, Oct 07, 2016 at 03:18:14PM +0200, Michal Hocko wrote: > > > [...] > >

[PATCH 3.12 12/84] Disable "frame-address" warning

2016-10-17 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit 124a3d88fa20e1869fc229d7d8c740cc81944264 upstream. Newer versions of gcc warn about the use of __builtin_return_address() with a non-zero argument when "-Wall" is

[PATCH 3.12 24/84] qxl: check for kmap failures

2016-10-17 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit f4cceb2affcd1285d4ce498089e8a79f4cd2fa66 upstream. If kmap fails, it leads to memory corruption. Fixes: f64122c1f6ad ('drm: add new QXL driver. (v1.4)') Signed-off-by: Dan

[PATCH 3.12 11/84] Disable "maybe-uninitialized" warning globally

2016-10-17 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6e8d666e925333c55378e8d5540a8a9ee0eea9c5 upstream. Several build configurations had already disabled this warning because it generates a lot of false positives. But some

[PATCH 3.12 02/84] reiserfs: fix "new_insert_key may be used uninitialized ..."

2016-10-17 Thread Jiri Slaby
From: Jeff Mahoney 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0a11b9aae49adf1f952427ef1a1d9e793dd6ffb6 upstream. new_insert_key only makes any sense when it's associated with a new_insert_ptr, which is initialized to NULL and changed to

[PATCH 3.12 28/84] powerpc/ps3: Remove unused os_area_db_id_video_mode

2016-10-17 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4fa9a3f6b616fd9f2555d9d0c04513a942750986 upstream. This struct is unused, which is now a build error with gcc 6: error: 'os_area_db_id_video_mode' defined but not used

Re: [PATCH] x86/smp: Add irq_enter/exit() in smp_reschedule_interrupt()

2016-10-17 Thread Peter Zijlstra
On Mon, Oct 17, 2016 at 12:19:43PM +0800, Wanpeng Li wrote: > 2016-10-16 21:39 GMT+08:00 Peter Zijlstra : > >> [] do_trace_write_msr+0x135/0x140 > >> [] native_write_msr+0x20/0x30 > >> [] native_apic_msr_eoi_write+0x1d/0x30 > >> [] smp_reschedule_interrupt+0x1d/0x30 > >> []

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