[PATCH 3.12 05/58] USB: cp210x: relocate private data from USB interface to port

2016-03-16 Thread Jiri Slaby
From: Konstantin Shkolnyy 3.12-stable review patch. If anyone has any objections, please let me know. === commit e2ae67a3b55188b0342522d8139acf013feb2a69 upstream. This change is preparation for implementing a cp2108 bug workaround. The workaround requires storing some private dat

[PATCH 3.12 07/58] [media] usbvision fix overflow of interfaces array

2016-03-16 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 588afcc1c0e45358159090d95bf7b246fb67565f upstream. This fixes the crash reported in: http://seclists.org/bugtraq/2015/Oct/35 The interface number needs a sanity check. Signe

[PATCH 3.12 11/58] genksyms: Handle string literals with spaces in reference files

2016-03-16 Thread Jiri Slaby
From: Michal Marek 3.12-stable review patch. If anyone has any objections, please let me know. === commit a78f70e8d65e88b9f631d073f68cb26dcd746298 upstream. The reference files use spaces to separate tokens, however, we must preserve spaces inside string literals. Currently the on

[PATCH 3.12 08/58] usb: Add connected retry on resume for non SS devices

2016-03-16 Thread Jiri Slaby
From: Al Cooper 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6b82b1223e3b14afd89d167795671a9f4f77b2f0 upstream. Currently usb_port_resume waits for up to 2 seconds for CONNECT status for SS devices only. This change will do the same thing

[PATCH 3.12 04/58] USB: cp210x: flush device queues at close

2016-03-16 Thread Jiri Slaby
From: Konstantin Shkolnyy 3.12-stable review patch. If anyone has any objections, please let me know. === commit ebfb319bb601e501f77809a83b0b69b529c22a8d upstream. Flush all device queues at close in order to work around a cp2108 Tx queue bug. Occasionally, writing data and immed

[PATCH 3.12 09/58] ixgbe: use correct FCoE DDP max check

2016-03-16 Thread Jiri Slaby
From: Vasu Dev 3.12-stable review patch. If anyone has any objections, please let me know. === commit f10166aba2def9bc6443290231c60f7e2f70129b upstream. Use fcoe_ddp_xid from netdev as this is correctly set for different device IDs to avoid DDP skip error on X550 as "xid=0x20b out

[PATCH 3.12 02/58] unix: properly account for FDs passed over unix sockets

2016-03-16 Thread Jiri Slaby
From: willy tarreau 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 712f4aad406bb1ed67f3f98d04c044191f0ff593 ] It is possible for a process to allocate and accumulate far more FDs than the process' limit by sending them over a unix

[PATCH 3.12 06/58] USB: cp210x: work around cp2108 GET_LINE_CTL bug

2016-03-16 Thread Jiri Slaby
From: Konstantin Shkolnyy 3.12-stable review patch. If anyone has any objections, please let me know. === commit d0bf1ff0ae322aca59b00b9a2ad121d35a77e78f upstream. Add helper to access line-control register in order to work around a cp2108 GET_LINE_CTL bug. cp2108 GET_LINE_CTL re

[PATCH 3.12 17/58] libata: fix HDIO_GET_32BIT ioctl

2016-03-16 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 287e6611ab1eac76c2c5ebf6e345e04c80ca9c61 upstream. As reported by Soohoon Lee, the HDIO_GET_32BIT ioctl does not work correctly in compat mode with libata. I have investigat

[PATCH 3.12 01/58] nfsd: fix problem with setting ACL on directories

2016-03-16 Thread Jiri Slaby
From: NeilBrown 3.12-stable review patch. If anyone has any objections, please let me know. === This is a regression of 3.12 stable commit ba1816b40a87a3f3c4ca9cd54a593a10d87bd391 (nfsd: fix NFS regression). If a non-inherited ACL is set on a directory, nfsd will try to set the Po

[PATCH 3.12 23/58] ALSA: ctl: Fix ioctls for X32 ABI

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6236d8bb2afcfe71b88ecea554e0dc638090a45f upstream. The X32 ABI takes the same alignment like x86-64, and this may result in the incompatible struct size from ia32. Unfortunat

[PATCH 3.12 19/58] PM / sleep / x86: Fix crash on graph trace through x86 suspend

2016-03-16 Thread Jiri Slaby
From: Todd E Brandt 3.12-stable review patch. If anyone has any objections, please let me know. === commit 92f9e179a702a6adbc11e2fedc76ecd6ffc9e3f7 upstream. Pause/unpause graph tracing around do_suspend_lowlevel as it has inconsistent call/return info after it jumps to the wakeup

[PATCH 3.12 18/58] libata: Align ata_device's id on a cacheline

2016-03-16 Thread Jiri Slaby
From: Harvey Hunt 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4ee34ea3a12396f35b26d90a094c75db95080baa upstream. The id buffer in ata_device is a DMA target, but it isn't explicitly cacheline aligned. Due to this, adjacent fields can be o

[PATCH 3.12 25/58] ALSA: timer: Fix ioctls for X32 ABI

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit b24e7ad1fdc22177eb3e51584e1cfcb45d818488 upstream. X32 ABI takes the 64bit timespec, thus the timer user status ioctl becomes incompatible with IA32. This results in NOTTY er

Re: [PART1 RFC v2 05/10] KVM: x86: Detect and Initialize AVIC support

2016-03-16 Thread Paolo Bonzini
On 16/03/2016 09:21, Suravee Suthikulpanit wrote: >> Strictly speaking the address of the 0xFEE0 translation is >> unnecessary and it could be all zeroes, but I suggest that you set up an >> APIC access page like Intel does (4k only), using the special memslot. >> The AVIC backing page can th

[PATCH 3.12 16/58] drm/ast: Fix incorrect register check for DRAM width

2016-03-16 Thread Jiri Slaby
From: Timothy Pearson 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2d02b8bdba322b527c5f5168ce1ca10c2d982a78 upstream. During DRAM initialization on certain ASpeed devices, an incorrect bit (bit 10) was checked in the "SDRAM Bus Width Statu

Re: linux-next: build failure after merge of the aio tree

2016-03-16 Thread Andy Shevchenko
On Wed, Mar 16, 2016 at 12:02 AM, Arnd Bergmann wrote: > On Tuesday 15 March 2016 12:22:28 Benjamin LaHaise wrote: >> On Tue, Mar 15, 2016 at 04:19:02PM +, Sudip Mukherjee wrote: >> > On Tue, Mar 15, 2016 at 05:46:34PM +1100, Stephen Rothwell wrote: >> > > Hi Benjamin, >> > > >> > > After merg

[PATCH 3.12 21/58] jffs2: Fix page lock / f->sem deadlock

2016-03-16 Thread Jiri Slaby
From: David Woodhouse 3.12-stable review patch. If anyone has any objections, please let me know. === commit 49e91e7079febe59a20ca885a87dd1c54240d0f1 upstream. With this fix, all code paths should now be obtaining the page lock before f->sem. Reported-by: Szabó Tamás Tested-by:

[PATCH 3.12 14/58] iommu/amd: Fix boot warning when device 00:00.0 is not iommu covered

2016-03-16 Thread Jiri Slaby
From: Suravee Suthikulpanit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 38e45d02ea9f194b89d6bf41e52ccafc8e2c2b47 upstream. The setup code for the performance counters in the AMD IOMMU driver tests whether the counters can be written. It t

[PATCH 3.12 24/58] ALSA: rawmidi: Fix ioctls X32 ABI

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2251fbbc1539f05b0b206b37a602d5776be37252 upstream. Like the previous fixes for ctl and PCM, we need a fix for incompatible X32 ABI regarding the rawmidi: namely, struct snd_ra

[PATCH 3.12 26/58] ALSA: seq: oss: Don't drain at closing a client

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 197b958c1e76a575d77038cc98b4bebc2134279f upstream. The OSS sequencer client tries to drain the pending events at releasing. Unfortunately, as spotted by syzkaller fuzzer, thi

Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3399

2016-03-16 Thread Heiko Stübner
Hi David, Am Mittwoch, 16. März 2016, 02:45:26 schrieb David Wu: > This adds the necessary data for handling io voltage domains on the rk3399. > As interesting tidbit, the rk3399 contains two separate iodomain areas. > One in the regular General Register Files (GRF) and one in PMUGRF in the > pmu

[PATCH 3.12 22/58] Fix directory hardlinks from deleted directories

2016-03-16 Thread Jiri Slaby
From: David Woodhouse 3.12-stable review patch. If anyone has any objections, please let me know. === commit be629c62a603e5935f8177fd8a19e014100a259e upstream. When a directory is deleted, we don't take too much care about killing off all the dirents that belong to it — on the bas

[PATCH 3.12 38/58] tracing: Fix check for cpu online when event is disabled

2016-03-16 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit dc17147de328a74bbdee67c1bf37d2f1992de756 upstream. Commit f37755490fe9b ("tracepoints: Do not trace when cpu is offline") added a check to make sure that tracepo

[PATCH 3.12 27/58] ALSA: hdspm: Fix wrong boolean ctl value accesses

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 537e48136295c5860a92138c5ea3959b9542868b upstream. snd-hdspm driver accesses enum item values (int) instead of boolean values (long) wrongly for some ctl elements. This patch

[PATCH 3.12 20/58] Revert "jffs2: Fix lock acquisition order bug in jffs2_write_begin"

2016-03-16 Thread Jiri Slaby
From: Thomas Betker 3.12-stable review patch. If anyone has any objections, please let me know. === commit 157078f64b8a9cd7011b6b900b2f2498df850748 upstream. This reverts commit 5ffd3412ae55 ("jffs2: Fix lock acquisition order bug in jffs2_write_begin"). The commit modified jffs2

[PATCH 3.12 29/58] ALSA: hdspm: Fix zero-division

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit c1099c3294c2344110085a38c50e478a5992b368 upstream. HDSPM driver contains a code issuing zero-division potentially in system sample rate ctl code. This patch fixes it by not p

[PATCH 3.12 12/58] cifs: fix out-of-bounds access in lease parsing

2016-03-16 Thread Jiri Slaby
From: Justin Maggard 3.12-stable review patch. If anyone has any objections, please let me know. === commit deb7deff2f00bdbbcb3d560dad2a89ef37df837d upstream. When opening a file, SMB2_open() attempts to parse the lease state from the SMB2 CREATE Response. However, the parsing co

[PATCH 3.12 34/58] MIPS: traps: Fix SIGFPE information leak from `do_ov' and `do_trap_or_bp'

2016-03-16 Thread Jiri Slaby
From: "Maciej W. Rozycki" 3.12-stable review patch. If anyone has any objections, please let me know. === commit e723e3f7f9591b79e8c56b3d7c5a204a9c571b55 upstream. Avoid sending a partially initialised `siginfo_t' structure along SIGFPE signals issued from `do_ov' and `do_trap_or_

[PATCH 3.12 32/58] USB: serial: option: add support for Telit LE922 PID 0x1045

2016-03-16 Thread Jiri Slaby
From: Daniele Palmas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5deef5551c77e488922cc4bf4bc76df63be650d0 upstream. This patch adds support for 0x1045 PID of Telit LE922. Signed-off-by: Daniele Palmas Signed-off-by: Johan Hovold Signed

[PATCH 3.12 36/58] Revert "drm/radeon: hold reference to fences in radeon_sa_bo_new"

2016-03-16 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === This reverts commit 40df18b49e7fe4ec9ab93f68c33661ee291149bd, commit f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb upstream. It causes oopses: BUG: unable to handle kernel NULL pointer dereference at

[PATCH 3.12 30/58] ALSA: timer: Fix broken compat timer user status ioctl

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3a72494ac2a3bd229db941d51e7efe2f6ccd947b upstream. The timer user status compat ioctl returned the bogus struct used for 64bit architectures instead of the 32bit one. This pa

[PATCH 3.12 31/58] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-03-16 Thread Jiri Slaby
From: Vittorio Alfieri 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3c4c615d70c8cbdc8ba8c79ed702640930652a79 upstream. The Parrot NMEA GPS Flight Recorder is a USB composite device consisting of hub, flash storage, and cp210x usb to serial

[PATCH 3.12 28/58] ALSA: hdsp: Fix wrong boolean ctl value accesses

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit eab3c4db193f5fcccf70e884de9a922ca2c63d80 upstream. snd-hdsp driver accesses enum item values (int) instead of boolean values (long) wrongly for some ctl elements. This patch

[PATCH 3.12 33/58] USB: serial: option: add support for Quectel UC20

2016-03-16 Thread Jiri Slaby
From: Yegor Yefremov 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0992d0f54847d0d1d85c60fcaa054f175ab1ccd upstream. Add support for Quectel UC20 and blacklist the QMI interface. Signed-off-by: Yegor Yefremov [johan: amend commit message

[PATCH 3.12 39/58] ASoC: wm8994: Fix enum ctl accesses in a wrong type

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8019c0b37cd5a87107808300a496388b777225bf upstream. The DRC Mode like "AIF1DRC1 Mode" and EQ Mode like "AIF1.1 EQ Mode" in wm8994 codec driver are enum ctls, while the current

[PATCH 3.12 48/58] efi: Make our variable validation list include the guid

2016-03-16 Thread Jiri Slaby
From: Peter Jones 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8282f5d9c17fe15a9e658c06e3f343efae1a2a2f upstream. All the variables in this list so far are defined to be in the global namespace in the UEFI spec, so this just further ensure

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-16 Thread Felipe Balbi
Hi, Mark Brown writes: > [ text/plain ] > On Mon, Feb 29, 2016 at 11:22:12PM +0900, Mark Brown wrote: >> On Mon, Jan 04, 2016 at 11:04:26AM +0800, Baolin Wang wrote: > > I see Felipe is no longer at TI so his e-mail was bouncing - let's > resend this with his kernel.org address: I don't have th

[PATCH 3.12 47/58] efi: Do variable name validation tests in utf8

2016-03-16 Thread Jiri Slaby
From: Peter Jones 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3dcb1f55dfc7631695e69df4a0d589ce5274bd07 upstream. Actually translate from ucs2 to utf8 before doing the test, and then test against our other utf8 data, instead of fudging it.

Re: [PATCH] mmc: sdhci-of-at91: fix wakeup issue when using runtime pm

2016-03-16 Thread Ulf Hansson
On 10 March 2016 at 11:30, Ludovic Desroches wrote: > It was impossible to wake-up on card detect event because when sdhci > controller is runtime suspend, it is assumed that all the clocks are > disabled so we can't get irqs. > If the device is removable and there is no gpio to manage the card >

[PATCH 3.12 50/58] efi: Add pstore variables to the deletion whitelist

2016-03-16 Thread Jiri Slaby
From: Matt Fleming 3.12-stable review patch. If anyone has any objections, please let me know. === commit e246eb568bc4cbbdd8a30a3c11151ff9b7ca7312 upstream. Laszlo explains why this is a good idea, 'This is because the pstore filesystem can be backed by UEFI variables, and (fo

[PATCH 3.12 37/58] KVM: VMX: disable PEBS before a guest entry

2016-03-16 Thread Jiri Slaby
From: Radim Krčmář 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7099e2e1f4d9051f31bbfa5803adf954bb5d76ef upstream. Linux guests on Haswell (and also SandyBridge and Broadwell, at least) would crash if you decided to run a host command that

[PATCH 3.12 35/58] ubi: Fix out of bounds write in volume update code

2016-03-16 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit e4f6daac20332448529b11f09388f1d55ef2084c upstream. ubi_start_leb_change() allocates too few bytes. ubi_more_leb_change_data() will write up to req->upd_bytes + ubi->min_

[PATCH 3.12 42/58] mac80211: minstrel_ht: set default tx aggregation timeout to 0

2016-03-16 Thread Jiri Slaby
From: Felix Fietkau 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7a36b930e6ed4702c866dc74a5ad07318a57c688 upstream. The value 5000 was put here with the addition of the timeout field to ieee80211_start_tx_ba_session. It was originally adde

[PATCH 3.12 40/58] ASoC: wm8958: Fix enum ctl accesses in a wrong type

2016-03-16 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit d0784829ae3b0beeb69b476f017d5c8a2eb95198 upstream. "MBC Mode", "VSS Mode", "VSS HPF Mode" and "Enhanced EQ Mode" ctls in wm8958 codec driver are enum, while the current driver

[PATCH 3.12 13/58] CIFS: Fix SMB2+ interim response processing for read requests

2016-03-16 Thread Jiri Slaby
From: Pavel Shilovsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6cc3b24235929b54acd5ecc987ef11a425bd209e upstream. For interim responses we only need to parse a header and update a number credits. Now it is done for all SMB2+ command ex

[PATCH 3.12 51/58] lib/ucs2_string: Correct ucs2 -> utf8 conversion

2016-03-16 Thread Jiri Slaby
From: Jason Andryuk 3.12-stable review patch. If anyone has any objections, please let me know. === commit a68075908a37850918ad96b056acc9ac4ce1bd90 upstream. The comparisons should be >= since 0x800 and 0x80 require an additional bit to store. For the 3 byte case, the existing sh

[PATCH 3.12 49/58] efi: Make efivarfs entries immutable by default

2016-03-16 Thread Jiri Slaby
From: Peter Jones 3.12-stable review patch. If anyone has any objections, please let me know. === commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 upstream. "rm -rf" is bricking some peoples' laptops because of variables being used to store non-reinitializable firmware driver data

[PATCH 3.12 58/58] xen/pciback: Check PF instead of VF for PCI_COMMAND_MEMORY

2016-03-16 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8d47065f7d1980dde52abb874b301054f3013602 upstream. Commit 408fb0e5aa7fda0059db282ff58c3b2a4278baa0 (xen/pciback: Don't allow MSI-X ops if PCI_COMMAND_MEMORY is not se

[PATCH 3.12 54/58] xen/pciback: Return error on XEN_PCI_OP_enable_msix when device has MSI or MSI-X enabled

2016-03-16 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5e0ce1455c09dd61d029b8ad45d82e1ac0b6c4c9 upstream. The guest sequence of: a) XEN_PCI_OP_enable_msix b) XEN_PCI_OP_enable_msix results in hitting an NULL pointer

[PATCH 3.12 57/58] xen/pciback: Don't allow MSI-X ops if PCI_COMMAND_MEMORY is not set.

2016-03-16 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 408fb0e5aa7fda0059db282ff58c3b2a4278baa0 upstream. commit f598282f51 ("PCI: Fix the NIU MSI-X problem in a better way") teaches us that dealing with MSI-X can be trou

[PATCH 3.12 52/58] modules: fix longstanding /proc/kallsyms vs module insertion race.

2016-03-16 Thread Jiri Slaby
From: Rusty Russell 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8244062ef1e54502ef55f54cced659913f244c3e upstream. For CONFIG_KALLSYMS, we keep two symbol tables and two string tables. There's one full copy, marked SHF_ALLOC and laid out

[PATCH 3.12 53/58] xen/pciback: Return error on XEN_PCI_OP_enable_msi when device has MSI or MSI-X enabled

2016-03-16 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56441f3c8e5bd45aab10dd9f8c505dd4bec03b0d upstream. The guest sequence of: a) XEN_PCI_OP_enable_msi b) XEN_PCI_OP_enable_msi c) XEN_PCI_OP_disable_msi results in

[PATCH 3.12 56/58] xen/pciback: For XEN_PCI_OP_disable_msi[|x] only disable if device has MSI(X) enabled.

2016-03-16 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7cfb905b9638982862f0331b36ccaaca5d383b49 upstream. Otherwise just continue on, returning the same values as previously (return of 0, and op->result has the PIRQ value

[PATCH 3.12 55/58] xen/pciback: Do not install an IRQ handler for MSI interrupts.

2016-03-16 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit a396f3a210c3a61e94d6b87ec05a75d0be2a60d0 upstream. Otherwise an guest can subvert the generic MSI code to trigger an BUG_ON condition during MSI interrupt freeing:

spurious warning from of_i2c_register_device with fixed_regulator?

2016-03-16 Thread Pavel Machek
Hi! We are getting this in the logs: i2c i2c-0: of_i2c: invalid reg on /soc/i2c@ffc04000/vcc3p3-regulator In the dts we have: socfpga_cyclone5_sockit.dts: regulator_3_3v: vcc3p3-regulator { compatible = "regulator-fixed"; regulator-name =

[PATCH 3.12 45/58] lib/ucs2_string: Add ucs2 -> utf8 helper functions

2016-03-16 Thread Jiri Slaby
From: Peter Jones 3.12-stable review patch. If anyone has any objections, please let me know. === commit 73500267c930baadadb0d02284909731baf151f7 upstream. This adds ucs2_utf8size(), which tells us how big our ucs2 string is in bytes, and ucs2_as_utf8, which translates from ucs2 t

[PATCH 3.12 43/58] powerpc: Fix dedotify for binutils >= 2.26

2016-03-16 Thread Jiri Slaby
From: Andreas Schwab 3.12-stable review patch. If anyone has any objections, please let me know. === commit f15838e9cac8f78f0cc506529bb9d3b9fa589c1f upstream. Since binutils 2.26 BFD is doing suffix merging on STRTAB sections. But dedotify modifies the symbol names in place, whic

[PATCH 3.12 44/58] KVM: x86: move steal time initialization to vcpu entry time

2016-03-16 Thread Jiri Slaby
From: Marcelo Tosatti 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7cae2bedcbd4680b155999655e49c27b9cf020fa upstream. As reported at https://bugs.launchpad.net/qemu/+bug/1494350, it is possible to have vcpu->arch.st.last_steal initialized

[PATCH 3.12 15/58] x86/entry/compat: Add missing CLAC to entry_INT80_32

2016-03-16 Thread Jiri Slaby
From: Andy Lutomirski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3d44d51bd339766f0178f0cf2e8d048b4a4872aa upstream. This doesn't seem to fix a regression -- I don't think the CLAC was ever there. I double-checked in a debugger: entries

[PATCH 3.12 46/58] efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version

2016-03-16 Thread Jiri Slaby
From: Peter Jones 3.12-stable review patch. If anyone has any objections, please let me know. === commit e0d64e6a880e64545ad7d55786aa84ab76bac475 upstream. Translate EFI's UCS-2 variable names to UTF-8 instead of just assuming all variable names fit in ASCII. Signed-off-by: Peter

[PATCH 3.12 41/58] wext: fix message delay/ordering

2016-03-16 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8bf862739a7786ae72409220914df960a0aa80d8 upstream. Beniamino reported that he was getting an RTM_NEWLINK message for a given interface, after the RTM_DELLINK for it. It turns

[PATCH 3.12 03/58] unix: correctly track in-flight fds in sending process user_struct

2016-03-16 Thread Jiri Slaby
From: Hannes Frederic Sowa 3.12-stable review patch. If anyone has any objections, please let me know. === commit 415e3d3e90ce9e18727e8843ae343eda5a58fad6 upstream. The commit referenced in the Fixes tag incorrectly accounted the number of in-flight fds over a unix domain socket t

Re: [PATCH v3 6/8] arm64: dts: rockchip: Add power key to GeekBox

2016-03-16 Thread Andreas Färber
Am 11.03.2016 um 00:04 schrieb Julien Chauveau: >> Le 6 mars 2016 à 20:53, Andreas Färber a écrit : >> >> Signed-off-by: Andreas Färber >> --- >> v2 -> v3: >> * Adopted wakeup-source instead of gpio-key,wakeup (Julien) >> * Dropped gpio-keys #address-cells and #size-cells properties (Julien) >> *

[PATCH 3.12 00/58] 3.12.57-stable review

2016-03-16 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.57 release. There are 58 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 Mar 18 10:38:57 CET 2016. Anything receiv

Re: [RFC PATCH v4 0/7] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table

2016-03-16 Thread Yongji Xie
Ping. On 2016/3/7 15:48, Yongji Xie wrote: Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs and MSI-X table. This is because sub-page BARs' mmio page may be shared with other BARs and MSI-X table should not be accessed directly from the guest for security r

[PATCH 2/2] kconfig: add unexpected data itself to warning

2016-03-16 Thread Paul Bolle
If the .config parser runs into unexpected data it emits a warnings like .config:6911:warning: unexpected data Add the unexpected data itself to the warning too, to make it easier to discover what is going wrong: .config:6911:warning: unexpected data: CONFOG_CHARGER_TPS65217=m Signed-off

[PATCH 1/2] kconfig: add chomp like helper function

2016-03-16 Thread Paul Bolle
Add a helper function that strips trailing new lines and carriage returns from strings. Call it chomp, after the perl function that inspired it. Signed-off-by: Paul Bolle --- scripts/kconfig/confdata.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/scripts/kconfig/co

Re: [PATCH] x86/microcode: Change checksum to u32

2016-03-16 Thread Pavel Machek
Hi! > Checksum should be unsigned 32-bit otherwise the calculation overflows > resulting in undefined behaviour: > @@ -49,7 +49,7 @@ int microcode_sanity_check(void *mc, int print_err) > unsigned long total_size, data_size, ext_table_size; > struct microcode_header_intel *mc_header =

Re: [PATCH] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-03-16 Thread Jisheng Zhang
Dear all, On Wed, 16 Mar 2016 18:36:22 +0800 Jisheng Zhang wrote: > dw_pcie_setup_rc(), as its name indicates, setups the RC. But current > dw_pcie_host_init() also contains some necessary rc setup code. > > Another reason: the host may lost power during suspend to ram, the RC > need to be re-se

Re: [PATCH 3.4 030/107] NET: AX.25: Stop heartbeat timer on disconnect.

2016-03-16 Thread Richard Stearn
l...@kernel.org wrote: From: Richard Stearn 3.4.111-rc1 review patch. If anyone has any objections, please let me know. Hi This patch should _not_ be applied. Breaks other parts of the driver. Investigations on-going. Apologies for the disruption. -- Regards Richard

Re: [PATCH] iommu: provide of_xlate pointer unconditionally

2016-03-16 Thread Robin Murphy
On 15/03/16 21:37, Arnd Bergmann wrote: iommu drivers that support the standard DT bindings use a of_xlate callback pointer, but that is only part of struct iommu_ops when CONFIG_OF_IOMMU is enabled, leading to build errors in randconfig builds when that is not provided: drivers/iommu/mtk_iommu.

Re: [PATCH for-4.6] cgroup: ignore css_sets associated with dead cgroups during migration

2016-03-16 Thread Peter Zijlstra
On Tue, Mar 15, 2016 at 08:43:04PM -0400, Tejun Heo wrote: > Before 2e91fa7f6d45 ("cgroup: keep zombies associated with their > original cgroups"), all dead tasks were associated with init_css_set. > If a zombie task is requested for migration, while migration prep > operations would still be perfo

RE: [PATCH v2 2/2] cpuacct: split usage into user_usage and sys_usage.

2016-03-16 Thread Zhao Lei
Hi, Peter Zijlstra Thanks for so detailed review. > -Original Message- > From: Peter Zijlstra [mailto:pet...@infradead.org] > Sent: Thursday, March 10, 2016 9:27 PM > To: Zhao Lei > Cc: cgro...@vger.kernel.org; linux-kernel@vger.kernel.org; > mi...@redhat.com; t...@kernel.org; Yang Dongs

[PATCH] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-03-16 Thread Jisheng Zhang
dw_pcie_setup_rc(), as its name indicates, setups the RC. But current dw_pcie_host_init() also contains some necessary rc setup code. Another reason: the host may lost power during suspend to ram, the RC need to be re-setup after resume. The rc can't be correctly resumed without the rc setup code

Re: [PATCH v2 all 12/14] memory: omap-gpmc: use of_platform_default_populate() to populate default bus

2016-03-16 Thread Roger Quadros
On 16/03/16 09:35, Kefeng Wang wrote: > Use helper of_platform_default_populate() in linux/of_platform > when possible, instead of calling of_platform_populate() with > the default match table. > > Cc: Roger Quadros > Cc: Tony Lindgren > Signed-off-by: Kefeng Wang Acked-by: Roger Quadros che

[PATCH] PM / AVS: rockchip-io: add io selectors and supplies for rk3399

2016-03-16 Thread David Wu
This adds the necessary data for handling io voltage domains on the rk3399. As interesting tidbit, the rk3399 contains two separate iodomain areas. One in the regular General Register Files (GRF) and one in PMUGRF in the pmu power domain. Signed-off-by: David Wu --- .../bindings/power/rockchip-i

Re: [linux-sunxi] Re: [PATCH 0/4] Add AXP209 GPIO driver

2016-03-16 Thread Hans de Goede
Hi, On 16-03-16 11:10, Linus Walleij wrote: On Wed, Mar 9, 2016 at 4:44 PM, Hans de Goede wrote: On Wed, Mar 09, 2016 at 01:17:50PM +0100, Hans de Goede wrote: Eventually, yes, it needs both. But they don't even have to be the same driver, since they provide two different features. The only

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-16 Thread Jiri Pirko
Wed, Mar 16, 2016 at 11:23:10AM CET, ouli...@huawei.com wrote: >Hi Jiri Pirko, thanks your reviewing. >sorry, I will send a new patch according to your reviews. > >On 2016/3/11 18:42, Jiri Pirko wrote: >> Fri, Mar 11, 2016 at 11:37:09AM CET, ouli...@huawei.com wrote: >>> The driver for Hisilicon Ro

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-16 Thread Byungchul Park
On Wed, Mar 16, 2016 at 04:56:05PM +0900, Sergey Senozhatsky wrote: > On (03/16/16 16:30), Byungchul Park wrote: > > > > Do you mean the wake_up_process() in console_unlock? > > no, I meant wake_up_process(printk_kthread), the newly added one. I got it. You are talking about wake_up_process() in

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-16 Thread oulijun
Hi dledford, thanks for reviewing. I have modified according to your reivews. I will send a new patch at soon. thanks Lijun Ou On 2016/3/12 18:39, Leon Romanovsky wrote: > On Fri, Mar 11, 2016 at 06:37:09PM +0800, Lijun Ou wrote: >> The driver for Hisilicon RoCE is a platform driver. >> The driv

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-16 Thread oulijun
Hi Jiri Pirko, thanks your reviewing. sorry, I will send a new patch according to your reviews. On 2016/3/11 18:42, Jiri Pirko wrote: > Fri, Mar 11, 2016 at 11:37:09AM CET, ouli...@huawei.com wrote: >> The driver for Hisilicon RoCE is a platform driver. >> The driver will support mulitple versions

Re: [PATCH v11 3/9] arm64: add copy_to/from_user to kprobes blacklist

2016-03-16 Thread James Morse
Hi Pratyush, On 16/03/16 05:43, Pratyush Anand wrote: > On 15/03/2016:06:47:52 PM, James Morse wrote: >> If I understand this correctly - you can't kprobe these ldr/str instructions >> as the fault handler wouldn't find kprobe's out-of line version of the >> instruction in the exception table...

Re: Possible race at user mode helper in request_firmware

2016-03-16 Thread Ming Lei
On Wed, 16 Mar 2016 15:21:24 +0530 Chandra Sekhar Lingutla wrote: > Hi Ming, > > On 03/16/2016 02:34 PM, Chandra Sekhar Lingutla wrote: > > On 03/16/2016 02:28 PM, Ming Lei wrote: > >> On Wed, Mar 16, 2016 at 4:48 PM, Chandra Sekhar Lingutla > >> wrote: > >>> On 03/16/2016 02:12 PM, Ming Lei wr

Re: [v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers

2016-03-16 Thread Michael Ellerman
On Tue, 2016-15-03 at 13:07:49 UTC, Christophe Leroy wrote: > Some versions of GCC, reportedly before 4.8, fail with > arch/powerpc/mm/8xx_mmu.c:139:2: error: memory input 1 is not directly > addressable > > Change the one-element array into a simple variable to avoid this. > > Signed-off-by: Chr

Re: [v3,1/8] powerpc: Create a helper for getting the kernel toc value

2016-03-16 Thread Michael Ellerman
On Tue, 2016-03-15 at 02:27 +0100, Jiri Kosina wrote: > On Mon, 14 Mar 2016, Michael Ellerman wrote: > > > > Move the logic to work out the kernel toc pointer into a header. This is > > > a good cleanup, and also means we can use it elsewhere in future. > > > > > > Reviewed-by: Kamalesh Babulal >

[PATCH] clocksource: use clocksource_freq2mult() helper

2016-03-16 Thread Alexander Kuleshov
which is introduced in the 7aca0c072 commit to simplify calculation of the mult and shift in the clocks_calc_mult_shift(). Signed-off-by: Alexander Kuleshov --- kernel/time/clocksource.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/time/clocksource.c b/kernel/tim

Re: [PATCH] HID: microsoft: Add ID for MS Wireless Comfort Keyboard

2016-03-16 Thread Jiri Kosina
On Fri, 11 Mar 2016, Slava Bacherikov wrote: > Microsoft Wireless Comfort Keyboard has vendor specific My Favorites > 1-5 keys. Linux already supports this buttons on other MS keyboards by > MS_ERGONOMY quirk. So apply MS_ERGONOMY quirk to USB PID 0x00e3 > (Microsoft Wireless Optical Desktop Recei

[PATCH v2] phy: hi6220: Add missing MFD_SYSCON dependency on HAS_IOMEM

2016-03-16 Thread Krzysztof Kozlowski
The MFD_SYSCON depends on HAS_IOMEM so when selecting it avoid unmet direct dependencies. This fixes warning on allyesconfig on ARCH=um: warning: (ST_IRQCHIP && HIP04_ETH && STMMAC_PLATFORM && DWMAC_IPQ806X && DWMAC_LPC18XX && DWMAC_ROCKCHIP && DWMAC_SOCFPGA && DWMAC_STI && TI_CPSW

Re: [PATCH RFC] block: fix bio merge checks when virt_boundary is set

2016-03-16 Thread Vitaly Kuznetsov
Keith Busch writes: > On Tue, Mar 15, 2016 at 04:17:56PM +0100, Vitaly Kuznetsov wrote: >> The reason of the slowdown is the fact that bios don't get merged and we >> end up sending many short requests to the host. My investigation led me to >> the following code (__bvec_gap_to_prev()): >> >>

[PATCH v2] mmc: block: fix ABI regression of mmc_blk_ioctl

2016-03-16 Thread Shawn Lin
If mmc_blk_ioctl returns -EINVAL, blkdev_ioctl continues to work without returning err to user-space. But now we check CAP_SYS_RAWIO firstly, so we return -EPERM to blkdev_ioctl, which make blkdev_ioctl return -EPERM to user-space directly. So this will break all the ioctl with BLKROSET. Now we fin

Re: [RFT] iommu/amd: use subsys_initcall() on amdv2 iommu

2016-03-16 Thread Oded Gabbay
On Wed, Mar 16, 2016 at 12:14 PM, Joerg Roedel wrote: > On Wed, Mar 16, 2016 at 09:02:43AM +0200, Oded Gabbay wrote: >> fwiw, we currently have this covered by the ugly hack of putting iommu >> subsystem in front of gpu subsystem in the main drivers makefile (See >> 1bacc894c227fad8a727eb99728df70

Re: [RFT] iommu/amd: use subsys_initcall() on amdv2 iommu

2016-03-16 Thread Joerg Roedel
On Wed, Mar 16, 2016 at 09:02:43AM +0200, Oded Gabbay wrote: > fwiw, we currently have this covered by the ugly hack of putting iommu > subsystem in front of gpu subsystem in the main drivers makefile (See > 1bacc894c227fad8a727eb99728df708eba57654) Sure, but the above is a less ugly hack to solve

Re: [PATCH] tpm: fix tpm_bios_log_setup stub prototype

2016-03-16 Thread Jarkko Sakkinen
On Wed, Mar 16, 2016 at 09:19:48AM +0100, Arnd Bergmann wrote: > A cleanup patch changed the prototype of the regular tpm_bios_log_setup > function, but not that of the stub that is used when the TPM is disabled, > causing a harmless build warning: > > drivers/char/tpm/tpm-chip.c: In function 'tpm

Re: [PATCH v2] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-16 Thread Aaron Tomlin
On Tue 2016-03-15 00:19 -0400, Joshua Hunt wrote: > > > While working on a script to restore all sysctl params before a series of > tests I found that writing any value into the > /proc/sys/kernel/{nmi_watchdog,soft_watchdog,watchdog,watchdog_thresh} > causes them to call proc_watchdog_update().

Re: [linux-sunxi] Re: [PATCH 0/4] Add AXP209 GPIO driver

2016-03-16 Thread Linus Walleij
On Wed, Mar 9, 2016 at 4:44 PM, Hans de Goede wrote: >> On Wed, Mar 09, 2016 at 01:17:50PM +0100, Hans de Goede wrote: >> Eventually, yes, it needs both. But they don't even have to be the >> same driver, since they provide two different features. The only >> reason we have that construct in the

Re: [PATCH 2/2] PCI: mvebu: use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS for mvebu_pcie_pm_ops

2016-03-16 Thread Thomas Petazzoni
Dear Jisheng Zhang, On Wed, 16 Mar 2016 17:59:41 +0800, Jisheng Zhang wrote: > use SET_NOIRQ_SYSTEM_SLEEP_PM_OPS helper macro for mvebu_pcie_pm_ops. > The macro also setups freeze_noirq, thaw_noirq and poweroff_noirq, > restore_noirq accordingly. > > Signed-off-by: Jisheng Zhang > --- > drivers

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-16 Thread Will Deacon
[adding Cavium folk and Timur] On Wed, Mar 16, 2016 at 05:32:23PM +0800, Ganesh Mahendran wrote: > Reverts commit 97303480753e ("arm64: Increase the max granular size"). > > The commit 97303480753e ("arm64: Increase the max granular size") will > degrade system performente in some cpus. > > We t

Re: [PATCH 1/2] PCI: mvebu: constify mvebu_pcie_pm_ops structure

2016-03-16 Thread Thomas Petazzoni
Dear Jisheng Zhang, On Wed, 16 Mar 2016 17:59:40 +0800, Jisheng Zhang wrote: > The mvebu_pcie_pm_ops structure is never modified, so declare it as > const. > > Signed-off-by: Jisheng Zhang > --- > drivers/pci/host/pci-mvebu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by:

Re: [PATCH v4 1/3] mmc: sdhci: Set DMA mask when adding host

2016-03-16 Thread Arnd Bergmann
On Wednesday 16 March 2016 11:26:48 Adrian Hunter wrote: > On 16/03/16 11:07, Arnd Bergmann wrote: > > On Wednesday 16 March 2016 10:43:33 Adrian Hunter wrote: > >>> + > >>> + /* 32-bit mask as default & fallback */ > >>> + if (ret) { > >>> + ret = dma_set_mask_and_coherent(dev,

  1   2   3   4   >