Re: [PATCH] bluetooth.h: __ variants of u8 and friends are not neccessary inside kernel

2016-10-06 Thread Pavel Machek
On Wed 2016-10-05 15:28:51, Joe Perches wrote: > On Thu, 2016-10-06 at 00:13 +0200, Pavel Machek wrote: > > On Wed 2016-10-05 12:15:34, Joe Perches wrote: > > > On Wed, 2016-10-05 at 21:11 +0200, Pavel Machek wrote: > > > > On Wed 2016-10-05 10:53:16, Joe Perches wrote: > [] > > > > > trivia: > > >

[GIT PULL] first round of SCSI updates for the 4.8+ merge window

2016-10-06 Thread James Bottomley
This update includes the usual round of major driver updates (hpsa, be2iscsi, hisi_sas, zfcp, cxlflash). There's a new incarnation of hpsa called smartpqi for which a driver is added, there's some cleanup work of the ibm vscsi target and updates to libfc, plus a whole host of minor fixes and updat

Re: [PATCH] Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled

2016-10-06 Thread Benjamin Tissoires
On Oct 05 2016 or thereabouts, Dmitry Torokhov wrote: > Another Lifebook machine that needs the same quirk as other similar > models to make the driver working. > > Also let's reorder elantech_dmi_force_crc_enabled list so LIfebook enries > are in alphabetical order. > > Reported-by: William Linn

Re: [PATCH v2 0/6] Support PWM polarity control

2016-10-06 Thread Lukasz Majewski
Hi Stefan, > Hi Lukasz, > > On 2016-10-04 00:48, Lukasz Majewski wrote: > > Dear Bhuvanchandra, > > > > Thank you for your effort to send those patches to ML. > > > >> Changes since v2: > >> > >> - Picked the stalled patchset[1] from Lothar Wassmann which adds > >> the basic support for polarit

Re: [PATCH] bluetooth.h: __ variants of u8 and friends are not neccessary inside kernel

2016-10-06 Thread Joe Perches
On Thu, 2016-10-06 at 09:02 +0200, Pavel Machek wrote: > I believe you are wrong. bit addressability does not matter, cpu can > definitely get the bit values. > > u8 foo:1; > u8 bar:1; > u8 baz:1; > > should take 1 byte, where > > bool foo, bar, baz; > > will take more like 3. Definitely true.

Re: [PATCH] crypto: caam: add support for iMX6UL

2016-10-06 Thread Horia Geanta Neag
On 10/4/2016 10:33 AM, Marcus Folkesson wrote: > i.MX6UL does only require three clocks to enable CAAM module. > > Signed-off-by: Marcus Folkesson Reviewed-by: Horia Geantă Thanks, Horia

Re: [PATCH v6 RESEND] serial: rewrite pxa2xx-uart to use 8250_core

2016-10-06 Thread Greg Kroah-Hartman
On Thu, Oct 06, 2016 at 08:25:35AM +0200, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > From: Sergey Yanovich > > > > pxa2xx-uart was a separate uart platform driver. It was declaring > > the same device names and numbers as 8250 driver. As a result, > > it was impossible to use 8250 driv

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Paolo Valente
> Il giorno 05 ott 2016, alle ore 22:36, Shaohua Li ha scritto: > > On Wed, Oct 05, 2016 at 09:57:22PM +0200, Paolo Valente wrote: >> >>> Il giorno 05 ott 2016, alle ore 21:08, Shaohua Li ha scritto: >>> >>> On Wed, Oct 05, 2016 at 11:30:53AM -0700, Shaohua Li wrote: On Wed, Oct 05, 2016

Re: [PATCH] perf powerpc: Don't call perf_event_disable from atomic context

2016-10-06 Thread Peter Zijlstra
On Wed, Oct 05, 2016 at 09:53:38PM +0200, Jiri Olsa wrote: > On Wed, Oct 05, 2016 at 10:09:21AM +0200, Jiri Olsa wrote: > > On Tue, Oct 04, 2016 at 03:29:33PM +1100, Michael Ellerman wrote: > > > > SNIP > > > > > Which is where we cope with the possibility that we couldn't emulate the > > > instr

Re: [PATCH V2 2/2] fs/super.c: don't fool lockdep in freeze_super() and thaw_super() paths

2016-10-06 Thread Jan Kara
On Wed 05-10-16 18:44:32, Oleg Nesterov wrote: > On 10/05, Dave Chinner wrote: > > > > On Tue, Oct 04, 2016 at 01:43:43PM +0200, Oleg Nesterov wrote: > > > > > plus the following warnings: > > > > > > [ 1894.500040] run fstests generic/070 at 2016-10-04 05:03:39 > > > [ 1895.076655] ===

Re: [PATCH v2 1/2] Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"

2016-10-06 Thread Benjamin Tissoires
On Oct 05 2016 or thereabouts, Ioan-Adrian Ratiu wrote: > On Tue, 27 Sep 2016, Ioan-Adrian Ratiu wrote: > > This reverts commit 18339f59c3a6 ("HID: dragonrise: fix HID...") because it > > breaks certain dragonrise 0079:0006 gamepads. While it may fix a breakage > > caused by commit 79346d620e9d ("

[GIT] Sparc

2016-10-06 Thread David Miller
Besides some cleanups the major thing here is supporting relaxed ordering PCIe transactions on newer sparc64 machines, from Chris Hyser. Please pull, thanks a lot! The following changes since commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3: Linux 4.8 (2016-10-02 16:24:33 -0700) are available

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Paolo Valente
> Il giorno 05 ott 2016, alle ore 22:46, Shaohua Li ha scritto: > > On Wed, Oct 05, 2016 at 09:47:19PM +0200, Paolo Valente wrote: >> >>> Il giorno 05 ott 2016, alle ore 20:30, Shaohua Li ha scritto: >>> >>> On Wed, Oct 05, 2016 at 10:49:46AM -0400, Tejun Heo wrote: Hello, Paolo. >

Re: [PATCH] security/keys: make BIG_KEYS dependent on stdrng.

2016-10-06 Thread Artem Savkov
On Tue, Sep 06, 2016 at 07:16:13PM +0100, David Howells wrote: > Kirill Marinushkin wrote: > > > IMO, the preferable fix depends on your future plan. > > If you plan to continue using both ANSI X9.31 DRNG and DRBG - I agree with > > the > > patch suggested by Artem Savkov. > > If you plan to red

Re: [GIT PULL] overlayfs update for 4.9

2016-10-06 Thread Miklos Szeredi
On Thu, Oct 6, 2016 at 1:49 AM, Al Viro wrote: > On Wed, Oct 05, 2016 at 09:52:10PM +0200, Miklos Szeredi wrote: >> Hi Al, >> >> Please pull from: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git >> overlayfs-viro >> >> This has an assortment of fixes and cleanups for overla

Re: [PATCH 1/1] Add devices to spidev device tree compatibility list

2016-10-06 Thread Fabien Lahoudere
Hi, On 30/09/16 19:35, Geert Uytterhoeven wrote: On Fri, Sep 30, 2016 at 12:15 PM, Fabien Lahoudere wrote: Entries are needed in the spidev ID list to configure configure it from a device tree. Add entries for the following devices: - "exar,xra1403" : a GPIO expander Looks like a suitable

Re: [RFC 1/2] sdhci: Add device tree property sd-broken-highspeed

2016-10-06 Thread Ulf Hansson
On 5 October 2016 at 22:03, Rob Herring wrote: > On Wed, Oct 5, 2016 at 1:33 PM, Ulf Hansson wrote: >> On 23 September 2016 at 22:01, Zach Brown wrote: >>> Certain board configurations can make highspeed malfunction due to >>> timing issues. In these cases a way is needed to force the controller

Re: [PATCH V3 00/11] block-throttle: add .high limit

2016-10-06 Thread Linus Walleij
On Tue, Oct 4, 2016 at 9:14 PM, Tejun Heo wrote: > I get that bfq can be a good compromise on most desktop workloads and > behave reasonably well for some server workloads with the slice > expiration mechanism but it really isn't an IO resource partitioning > mechanism. Not just desktops, also A

Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping

2016-10-06 Thread Dou Liyang
Hi Yinghai, At 10/06/2016 12:53 PM, Yinghai Lu wrote: On Wed, Oct 5, 2016 at 7:04 AM, Thomas Gleixner wrote: @@ -176,6 +177,11 @@ static int acpi_register_lapic(int id, u return -EINVAL; } +if (!enabled && (id == disabled_id)) { +++disabled_cpus; +return -EIN

Re: [PATCH 2/3] gpio: Add a driver for the Raspberry Pi's firmware GPIO calls.

2016-10-06 Thread Linus Walleij
On Sat, Sep 24, 2016 at 9:01 AM, Eric Anholt wrote: > Linus Walleij writes: >> Sorry I am not familiar with your development model. I don't know >> about any RPI downstream tree... What I mean is that the patch to >> include/soc/bcm2835/raspberrypi-firmware.h should be merged by >> whoever is ma

[PATCH 4.8 01/10] arm64: debug: avoid resetting stepping state machine when TIF_SINGLESTEP

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon 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 th

[PATCH 4.8 00/10] 4.8.1-stable review

2016-10-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.1 release. There are 10 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 Sat Oct 8 07:47:33 UTC 2016. Anything received

[PATCH 4.8 07/10] Revert "usbtmc: convert to devm_kzalloc"

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

[PATCH 4.8 06/10] USB: serial: cp210x: Add ID for a Juniper console

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Kyle Jones commit decc5360f23e9efe0252094f47f57f254dcbb3a9 upstream. Signed-off-by: Kyle Jones Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/cp210x.c |1 + 1 file changed, 1

[PATCH 4.8 05/10] usb: usbip: vudc: fix left shift overflow

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 238b7bd91b16d5a08326f858db42229b212e53d8 upstream. In v_recv_cmd_submit(), urb_p->urb->pipe has the type unsigned int (which is 32-bit long on x86_64) but 11<<30 results in

[PATCH 4.8 09/10] ALSA: hda - Fix headset mic detection problem for several Dell laptops

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 3f640970a41429f0a076c01270bbd014c9eae61c upstream. One of the laptops has the codec ALC256 on it, applying the ALC255_FIXUP_DELL1_MIC_NO_PRESENCE can fix the problem, the rest o

[PATCH 4.8 04/10] Staging: fbtft: Fix bug in fbtft-core

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ksenija Stanojevic commit fc1e2c8ea85e109acf09e74789e9b852f6eed251 upstream. Commit 367e8560e8d7a62d96e9b1d644028a3816e04206 introduced a bug in fbtft-core where fps is always 0, this is becaus

[PATCH 4.8 02/10] Using BUG_ON() as an assert() is _never_ acceptable

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 21f54ddae449f4bdd9f1498124901d67202243d9 upstream. That just generally kills the machine, and makes debugging only much harder, since the traces may long be gone. Debuggi

[PATCH 4.8 03/10] usb: misc: legousbtower: Fix NULL pointer deference

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

[PATCH 4.8 08/10] ALSA: hda - Adding one more ALC255 pin definition for headset problem

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 392c9da24a994f238c5d7ea611c6245be4617014 upstream. We have two new Dell laptop models, they have the same ALC255 pin definition, but not in the pin quirk table yet, as a result,

Re: [PATCH v2 6/8] blk-mq: Rework blk_mq_realloc_hw_ctxs()

2016-10-06 Thread Alexander Gordeev
On Thu, Oct 06, 2016 at 12:47:26AM +0300, Sagi Grimberg wrote: > > >@@ -1908,33 +1909,36 @@ static void blk_mq_realloc_hw_ctxs(struct > >blk_mq_tag_set *set, > > if (node == NUMA_NO_NODE) > > node = set->numa_node; > > > >-hctxs[i] = kzalloc_node(sizeof

[GIT PULL] MFD for v4.9

2016-10-06 Thread Lee Jones
Hi Linus, The following changes since commit 694d0d0bb2030d2e36df73e2d23d5770511dbc8d: Linux 4.8-rc2 (2016-08-14 19:11:36 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git mfd-for-linus-4.9 for you to fetch changes up to b8d336ed90f541

[PATCH 4.8 10/10] ALSA: hda - Add the top speaker pin config for HP Spectre x360

2016-10-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0eec880966e77bdbee0112989a2be67d92e39929 upstream. HP Spectre x360 with CX20724 codec has two speaker outputs while the BIOS sets up only the bottom one (NID 0x17) and disab

Re: [PATCH] Staging:dgnc:dgnc_neo: fixed 80 character line limit coding style issue

2016-10-06 Thread Nadim Almas
May be it is not looking better than yours but it removed 6 warning of the file which is shown by running "perl scripts/checkpatch.pl -f drivers/staging/dgnc/* | less" commend On Thu, Oct 6, 2016 at 10:51 AM, Greg KH wrote: > On Wed, Oct 05, 2016 at 02:53:58PM -0700, Nadim Almas wrote: >> Fixed c

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-10-06 Thread Jon Hunter
Hi Rajendra, On 06/10/16 07:04, Rajendra Nayak wrote: > > On 09/20/2016 03:58 PM, Jon Hunter wrote: >> The Tegra124/210 XUSB subsystem (that consists of both host and device >> controllers) is partitioned across 3 PM domains which are: >> - XUSBA: Superspeed logic (for USB 3.0) >> - XUSBB: Device

Re: [PATCH 2/3] zram: support page-based parallel write

2016-10-06 Thread Sergey Senozhatsky
Hello Minchan, On (10/05/16 11:01), Minchan Kim wrote: [..] > 1. just changed ordering of test execution - hope to reduce testing time due > to >block population before the first reading or reading just zero pages > 2. used sync_on_close instead of direct io > 3. Don't use perf to avoid noise

Re: Problem with VMAP_STACK=y

2016-10-06 Thread Jörg Otte
2016-10-05 20:55 GMT+02:00 Mauro Carvalho Chehab : > Hi Johannes, > > Em Wed, 5 Oct 2016 20:29:45 +0200 > Johannes Stezenbach escreveu: > >> On Wed, Oct 05, 2016 at 06:04:50AM -0300, Mauro Carvalho Chehab wrote: >> > static int cinergyt2_frontend_attach(struct dvb_usb_adapter *adap) >> > { >> >

[PATCH 4.7 003/141] scripts/recordmcount.c: account for .softirqentry.text

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov commit e436fd61a8f62cb7a16310a42b95ab076ff72eff upstream. be7635e7287e ("arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections") added .softirqentry.text sectio

[PATCH 4.7 001/141] cpuset: handle race between CPU hotplug and cpuset_hotplug_work

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Joonwoo Park commit 28b89b9e6f7b6c8fef7b3af39828722bca20cfee upstream. A discrepancy between cpu_online_mask and cpuset's effective_cpus mask is inevitable during hotplug since cpuset defers up

[PATCH 4.7 015/141] i40e: avoid null pointer dereference

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Heinrich Schuchardt commit cd956722167ba4fdba9c1ce3eed251b04ea2e10f upstream. In function i40e_debug_aq parameter desc is assumed to be possibly NULL. Do not dereference it before checking the

[PATCH 4.7 016/141] pinctrl: uniphier: fix .pin_dbg_show() callback

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 10ef8277ec658bf6619da9b3fd65c2db7353c2a4 upstream. Without this, reading the "pins" in the debugfs causes kernel BUG. Fixes: 6e9088920258 ("pinctrl: UniPhier: add UniPhi

[PATCH 4.7 000/141] 4.7.7-stable review

2016-10-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.7.7 release. There are 141 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 Sat Oct 8 07:44:08 UTC 2016. Anything receive

[PATCH 4.7 017/141] pinctrl: Flag strict is a field in struct pinmux_ops

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 7440926ed9623dceca3310c5f437d06c859dc02b upstream. Documentation incorrectly refers to struct pinctrl_desc, where no such flag is available. Replace the name of the struc

[PATCH 4.7 019/141] rcuperf: Dont treat gp_exp mis-setting as a WARN

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Boqun Feng commit af06d4f74a7d2132c805339bfd5ab771b5706f42 upstream. 0day found a boot warning triggered in rcu_perf_writer() on !SMP kernel: WARN_ON(rcu_gp_is_normal() && gp_exp); ,

[PATCH 4.7 018/141] i2c: mux: demux-pinctrl: run properly with multiple instances

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit e35478eac030990e23a56bf11dc074c5a069124a upstream. We can't use a static property for all the changesets, so we now create dynamic ones for each changeset. Signed-off-by: W

[PATCH 4.7 024/141] hwmon: (adt7411) set bit 3 in CFG1 register

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Michael Walle 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 4.7 028/141] iwlwifi: mvm: fix txq aggregation bug

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Oren Givon commit 2c4a247e42526d9aae8f5ce1f190b893532f2806 upstream. Fix an issue where nullfunc frames and block ack requests had the same tid as aggregation frames and were queued on a non ag

[PATCH 4.7 022/141] mmc: tegra: Only advertise UHS modes if IO regulator is present

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Jon Hunter commit 4f6aa3264af4d44caaa649dd3ff1fe98f5817251 upstream. To support UHS modes for Tegra an external regulator must be present to adjust the IO voltage accordingly. Even if the regul

[PATCH 4.7 029/141] iwlwifi: mvm: write the correct internal TXF index

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Golan Ben-Ami commit e7c9bd1cc632e924a69bf704385484386bb10933 upstream. The TX fifos are arranged consecutively in the SMEM, beginning with the regular fifos, and tailed by the internal fifos.

[PATCH 4.7 023/141] nvmem: Declare nvmem_cell_read() consistently

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit a6c50912508d80164a5e607993b617be85a46d73 upstream. nvmem_cell_read() is declared as void * if CONFIG_NVMEM is enabled, and as char * otherwise. This can result in a build w

[PATCH 4.7 020/141] drivers/perf: arm_pmu: Fix leak in error path

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren commit 753246840d012ae34ea80a1d40bc1546c62fb957 upstream. In case of a IRQ type mismatch in of_pmu_irq_cfg() the device node for interrupt affinity isn't freed. So fix this issue

[PATCH 4.7 030/141] iwlwifi: mvm: unmap the paging memory before freeing it

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 3edbc7dabab8ce85aa75c5e290ecda7a3692ebc9 upstream. This led to a DMA splat. Fixes: a6c4fb4441f4 ("iwlwifi: mvm: Add FW paging mechanism for the UMAC on PCI") Signed-o

[PATCH 4.7 021/141] perf/core: Use this_cpu_ptr() when stopping AUX events

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 8b6a3fe8fab97716990a3abde1a01fb5a34552a3 upstream. When tearing down an AUX buf for an event via perf_mmap_close(), __perf_event_output_stop() is called on the event's CPU to

[PATCH 4.7 006/141] can: dev: fix deadlock reported after bus-off

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

[PATCH 4.7 027/141] iwlwifi: mvm: checksum IPv6 fragmented packet

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Sara Sharon commit ecf51424152bad1b2727409f42ddf1bd86f44b7d upstream. Our HW does not support checksum of fragmented packets. Fix code accordingly to checksum those packets in the driver. Sign

[PATCH 4.7 026/141] spi: sh-msiof: Avoid invalid clock generator parameters

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit c3ccf357c3d75bd2924e049b6a991f7c0c111068 upstream. The conversion from a look-up table to a calculation for clock generator parameters forgot to take into account that

[PATCH 4.7 039/141] i40iw: Add missing check for interface already open

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail commit faa739fb5df56aadab96bcd2f6eb3486cc3a3aec upstream. In i40iw_open(), check if interface is already open and return success if it is. Fixes: 8e06af711bf2 ("i40iw: add main,

[PATCH 4.7 007/141] x86/init: Fix cr4_init_shadow() on CR4-less machines

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit e1bfc11c5a6f40222a698a818dc269113245820e upstream. cr4_init_shadow() will panic on 486-like machines without CR4. Fix it using __read_cr4_safe(). Reported-by: da...@sag

[GIT PULL] tpmdd critical fix for Linux 4.9

2016-10-06 Thread Jarkko Sakkinen
Hi James, One critical fix that breaks tpm_tis init so I decided to do an immediate pull request. Thanks. /Jarkko The following changes since commit 1306d8e1c09fdc8ecb9ef235e2116352f810f9c5: Merge tag 'tpmdd-next-20160927' of git://git.infradead.org/users/jjs/linux-tpmdd into ra-next (2016-0

[PATCH 4.7 035/141] usb: gadget: fsl_qe_udc: signedness bug in qe_get_frame()

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

[PATCH 4.7 037/141] mac80211: check skb_linearize() return value

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 0b97a484e52cb423662eb98904aad82dafcc1f10 upstream. The A-MSDU TX code (within TXQs) didn't always check the return value of skb_linearize() properly, resulting in potential

[PATCH 4.7 034/141] iwlwifi: mvm: dont use ret when not initialised

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit ff6e58e648ed5f3cc43891767811d5c3c88bbd41 upstream. fw-dbg code return ret but that variable was either 0 or not initialised. Return 0 always. Signed-off-by: Emmanuel G

[PATCH 4.7 032/141] iwlwifi: mvm: free RX reorder buffer on restart

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Sara Sharon commit 60dec5233cd8651860e8010c953d116fb0f1ba86 upstream. Restart flow zeroes the rx_ba_sessions counter. Mac80211 asks driver to tear down of the session only afterwards, and as a

[PATCH 4.7 041/141] i40iw: Fix double free of allocated_buffer

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail commit d41d0910d97f05be987d2d60de7e8685c108963b upstream. Memory allocated for iwqp; iwqp->allocated_buffer is freed twice in the create_qp error path. Correct this by having it

[PATCH 4.7 040/141] i40iw: Change mem_resources pointer to a u8

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Shiraz Saleem commit 6c7d46fdb8165ece4b0a17fb8f0b9320dbfeffc2 upstream. iwdev->mem_resources is incorrectly defined as an unsigned long instead of u8. As a result, the offset into the dynamic a

[PATCH 4.7 008/141] x86/boot: Initialize FPU and X86_FEATURE_ALWAYS even if we dont have CPUID

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 05fb3c199bb09f5b85de56cc3ede194ac95c5e1f upstream. Otherwise arch_task_struct_size == 0 and we die. While we're at it, set X86_FEATURE_ALWAYS, too. Reported-by: David S

[PATCH 4.7 010/141] drm/nouveau/fifo/nv04: avoid ramht race against cookie insertion

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit 666ca3d8f19082f40745d75f3cc7cc0200ee87e3 upstream. Signed-off-by: Ilia Mirkin Signed-off-by: Ben Skeggs Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/nouveau/nvk

[PATCH 4.7 054/141] MIPS: fix uretprobe implementation

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Nowakowski commit db06068a4fd44a57b642b369d2a295b8448f6b65 upstream. arch_uretprobe_hijack_return_addr should replace the return address for a call with a trampoline address. Signed-off

[PATCH 4.7 012/141] ARM: 8616/1: dt: Respect property size when parsing CPUs

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Robin Murphy 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 t

[PATCH 4.7 013/141] ARM: 8617/1: dma: fix dma_max_pfn()

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit d248220f0465b818887baa9829e691fe662b2c5e upstream. Since commit 6ce0d2001692 ("ARM: dma: Use dma_pfn_offset for dma address translation"), dma_to_pfn() already returns the

[PATCH 4.7 043/141] i40iw: Avoid writing to freed memory

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail commit 433c58139f6a7d59824aadd23d6c9cac1d4e6100 upstream. iwpbl->iwmr points to the structure that contains iwpbl, which is iwmr. Setting this to NULL would result in writing to

[PATCH 4.7 011/141] drm/radeon/si/dpm: add workaround for for Jet parts

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 670bb4fd21c966d0d2a59ad4a99bb4889f9a2987 upstream. Add clock quirks for Jet parts. Reviewed-by: Sonny Jiang Tested-by: Sonny Jiang Signed-off-by: Alex Deucher Signed-off

[PATCH 4.7 004/141] mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Karl Beldan commit f6d7c1b5598b6407c3f1da795dd54acf99c1990c upstream. This fixes subpage writes when using 4-bit HW ECC. There has been numerous reports about ECC errors with devices using thi

[PATCH 4.7 045/141] i40iw: Send last streaming mode message for loopback connections

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Tatyana Nikolova commit 07c72d7d54d138eb2ca37709a5a3d55fbcc01536 upstream. Send a zero length last streaming mode message for loopback connections to synchronize between accepting QP and connec

[PATCH 4.7 042/141] i40iw: Do not set self-referencing pointer to NULL after kfree

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail commit 7eaf8313b1cfe93417a22bdc3f7380cac2a3dc6d upstream. In i40iw_free_virt_mem(), do not set mem->va to NULL after freeing it as mem->va is a self-referencing pointer to mem.

Re: [PATCH] bluetooth.h: __ variants of u8 and friends are not neccessary inside kernel

2016-10-06 Thread Johan Hedberg
Hi, On Thu, Oct 06, 2016, Joe Perches wrote: > On Thu, 2016-10-06 at 09:02 +0200, Pavel Machek wrote: > > I believe you are wrong. bit addressability does not matter, cpu can > > definitely get the bit values. > > > > u8 foo:1; > > u8 bar:1; > > u8 baz:1; > > > > should take 1 byte, where > > >

[PATCH 4.7 046/141] i40iw: Update hw_iwarp_state

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail commit 866e0f4d73390ee6f5cd68aa92cf74eef3a2b0f2 upstream. Update iwqp->hw_iwarp_state to reflect the new state of the CQP modify QP operation. This avoids reissuing a CQP operati

[PATCH 4.7 064/141] regulator: qcom_spmi: Update mvs1/mvs2 switches on pm8941

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 93bfe79b03365f410aa91caf04263173c008ecdf upstream. The mvs1 and mvs2 switches are actually called 5vs1 and 5vs2 on some datasheets. Let's rename them to match the datasheets

[PATCH 4.7 070/141] ARM: sa1100: fix 3.6864MHz clock

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 02ba38a5b6d6e0bc89c7b74651f1873055028a56 upstream. pxa_timer wants to be able to call clk_enable() etc on this clock, but our clk_enable() implementation expects non-NULL en

[PATCH 4.7 063/141] regulator: qcom_spmi: Add support for get_mode/set_mode on switches

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 919163f6362ac23138d31fc8befdd52e5d7e488d upstream. The voltage switches support mode switching, so add support for these ops to those types of regulators. Cc: Bjorn Anderss

[PATCH 4.7 071/141] ARM: sa1100: clear reset status prior to reboot

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

[PATCH 4.7 057/141] printk: fix parsing of "brl=" option

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

[PATCH 4.7 059/141] lib/test_hash.c: fix warning in two-dimensional array init

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit ed76b7a131f41c91b0c725d472f9b969d75ce888 upstream. lib/test_hash.c: In function 'test_hash_init': lib/test_hash.c:146:2: warning: missing braces around initializer

[PATCH 4.7 065/141] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 290284776bb281759b11faa287b8abccaf74bfcb upstream. The voltage ranges listed here are wrong. The correct ranges can be seen in the "native" spmi regulator driver qcom_spmi-r

[PATCH 4.7 047/141] i40iw: Receive notification events correctly

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Shiraz Saleem commit b71121b4b70a995c0b794026e84c880c4f26c361 upstream. Device notifications are not received after the first interface is closed; since there is an unregister for notifications

[PATCH 4.7 060/141] tpm: fix byte-order for the value read by tpm2_get_tpm_pt

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: apro...@chromium.org commit 1b0612b04090e416828c0dd5ed197b0913d834a0 upstream. The result must be converted from BE byte order, which is used by the TPM2 protocol. This has not popped out becau

[PATCH 4.7 061/141] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Anderson commit c2588393e6315ab68207323d37d2a73713d6bc81 upstream. The original commit adding support for continuous voltage mode didn't handle the regulator ramp delay properly. It tr

[PATCH 4.7 072/141] ARM: shmobile: fix regulator quirk for Gen2

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit c2f321126e31cd69365e65ecd4a7c774e4fc71d2 upstream. The current implementation only works if the da9xxx devices are added before their drivers are registered. Only then it ca

[PATCH 4.7 066/141] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit c488f0071eacd10a290df4fb34bbdeb4eb8e7888 upstream. The voltage ranges listed here are wrong. The pma8084 pldo supports three different overlapping voltage ranges with differ

[PATCH 4.7 062/141] regulator: qcom_spmi: Add support for S4 supply on pm8941

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit c333dfe8dba7d3e47e97e1cee3c38123e19ae73c upstream. The S4 supply is sometimes called the boost regulator because it outputs 5V. Typically it's connected to the 5vs1 and 5vs2

[PATCH 4.7 073/141] ARM: sa1111: fix pcmcia suspend/resume

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

[PATCH 4.7 069/141] ARM: sa1100: register clocks early

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 198b51e8a6a31d3a6f8e9dd9cade3635d0291f26 upstream. Since we switched to use pxa_timer, we need to provide the OSTIMER0 clock. However, as the clock is initialised early, we

[PATCH 4.7 102/141] ASoC: Intel: Skylake: Fix error return code in skl_probe()

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 979cf59acc9d634cc140aadd0d2915947ab303cc upstream. Fix to return error code -ENODEV from the error handling case instead of 0, as done elsewhere in this function. Fixes: 87b

[PATCH 4.7 098/141] pNFS/flexfiles: Fix layoutcommit after a commit to DS

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit c001c87a63aa2f35358e33eb05e45e4cbcb34f54 upstream. We should always do a layoutcommit after commit to DS, except if the layout segment we're using has set FF_FLAGS_NO_LAY

[PATCH 4.7 080/141] iwlmvm: mvm: set correct state in smart-fifo configuration

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: striebit commit 849a9627299100ae3f0ce573fc87d2b476f3bb59 upstream. Currently the state sent in SF configuration is always FULL_ON. This commit sets the correct state (e.g. INIT_OFF when station

[PATCH 4.7 093/141] dmaengine: at_xdmac: fix debug string

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit 3935e08768ff777da6496521b1fc36f72823672c upstream. mbr_ds is an integer, don't use %pad to print it. Fixes: commit 268914f4e7a0 ("dmaengine: at_xdmac: use %pad format

[PATCH 4.7 076/141] blk-mq: actually hook up defer list when running requests

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit 52b9c330c6a8a4b5a1819bdaddf4ec76ab571e81 upstream. If ->queue_rq() returns BLK_MQ_RQ_QUEUE_OK, we use continue and skip over the rest of the loop body. However, dptr is ass

[PATCH 4.7 074/141] pcmcia: ds: fix suspend/resume

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit ad8d52b897a14711e026889053befbbee7fd51ba upstream. PCMCIA suspend/resume no longer works since the commit mentioned below, as the callbacks are no longer made. Convert the

[PATCH 4.7 096/141] NFS: Dont drop CB requests with invalid principals

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

[PATCH 4.7 095/141] svc: Avoid garbage replies when pc_func() returns rpc_drop_reply

2016-10-06 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever 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

  1   2   3   4   5   6   7   8   9   >