Re: [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-04-22 Thread Thierry Reding
On Fri, Apr 22, 2016 at 12:25:52PM +0530, Vinay Simha wrote: > On Thu, Apr 21, 2016 at 9:15 PM, Rob Herring wrote: > > On Wed, Apr 20, 2016 at 03:02:31PM +0530, Vinay Simha BN wrote: > >> Add documentation for lt070me05000 panel > >> > >> Signed-off-by: Vinay Simha BN > >> --- > >> .../bindings/

Re: [PATCH v11 15/17] ARM64: XEN: Add a function to initialize Xen specific UEFI runtime services

2016-04-22 Thread Stefano Stabellini
On Fri, 22 Apr 2016, Catalin Marinas wrote: > On Thu, Apr 07, 2016 at 08:03:32PM +0800, Shannon Zhao wrote: > > From: Shannon Zhao > > > > When running on Xen hypervisor, runtime services are supported through > > hypercall. Add a Xen specific function to initialize runtime services. > > > > Sig

Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed

2016-04-22 Thread Felipe Balbi
Hi Jim, Jim Lin writes: > Android N adds os_desc_compat in v2_descriptor by init_functionfs() > (system/core/adb/usb_linux_client.cpp) to support automatic install > of MTP driver on Windows for USB device mode. > > Current __ffs_data_do_os_desc() of f_fs.c will check reserved1 field > and retur

Re: [PATCH v7 00/24] i2c mux cleanup and locking update

2016-04-22 Thread Peter Rosin
Wolfram Sang wrote: > > The problem with waiting until 4.8 with the rest of the series is that it > > will likely go stale, e.g. patch 22 ([media] rtl2832: change the i2c gate > > to be mux-locked) touches a ton of register accesses in that driver since > > it removes a regmap wrapper that is rende

Re: [alsa-devel] [PATCH 4/4] ASoC: simple-card: Support for selecting system clocks by ID

2016-04-22 Thread Peter Ujfalusi
On 04/22/16 01:29, Stephen Boyd wrote: >>> The first issue with converting the McASP to use CCF internally for clock >>> selection, muxing and rate configuration is that the daVinci platform does >>> not >>> use CCF at all. Given that the davinci-mcasp driver is used by daVinci, we >>> need to hav

Re: [PATCH 10/11] arm64: tegra: Add clock properties on cpu0 for Tegra210

2016-04-22 Thread Jon Hunter
Hi Penny, On 22/04/16 11:31, Penny Chiu wrote: > Add clocks, clock-names, and clock-latency into cpu0 node. > These properties will be used by cpufreq driver. > > Signed-off-by: Penny Chiu > --- > arch/arm64/boot/dts/nvidia/tegra210.dtsi | 6 ++ > 1 file changed, 6 insertions(+) > > diff -

Re: [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands

2016-04-22 Thread Christian Lamparter
On Friday, April 22, 2016 11:32:00 AM David Laight wrote: > From: Andy Shevchenko > > Sent: 21 April 2016 19:15 > > ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it > > for > > them. Do call ata_bmdma_qc_issue() instead for this case. > > > > Suggested-by: Christian Lampa

Re: [PATCH v7 6/7] iommu/arm-smmu: do not advertise IOMMU_CAP_INTR_REMAP

2016-04-22 Thread Eric Auger
Hi Robin, On 04/22/2016 01:16 PM, Robin Murphy wrote: > Hi Eric, Alex, > > On 19/04/16 18:24, Eric Auger wrote: >> Do not advertise IOMMU_CAP_INTR_REMAP for arm-smmu(-v3). Indeed the >> irq_remapping capability is abstracted on irqchip side for ARM as >> opposed to Intel IOMMU featuring IRQ remapp

[PATCH 3.12 08/78] qmi_wwan: add the second QMI/network interface for Sierra Wireless MC7305/MC7355

2016-04-22 Thread Jiri Slaby
From: Reinhard Speyerer 3.12-stable review patch. If anyone has any objections, please let me know. === commit e3426ca7bc2957ee072f61360c2b81b4adb629ad upstream. Sierra Wireless MC7305/MC7355 with USB ID 1199:9041 also provide a second QMI/network interface like the MC73xx with US

[PATCH 3.12 00/78] 3.12.59-stable review

2016-04-22 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.59 release. There are 78 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 Tue Apr 26 13:05:33 CEST 2016. Anything recei

[PATCH v8 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-22 Thread Peter Rosin
Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 2 +- drivers/iio/im

[PATCH 3.12 07/78] net: qmi_wwan: interface #11 in Sierra Wireless MC73xx is not QMI

2016-04-22 Thread Jiri Slaby
From: Aleksander Morgado 3.12-stable review patch. If anyone has any objections, please let me know. === commit fc0d6e9cd0aefbe5de5ebafb1805f2c59539725b upstream. This interface is unusable, as the cdc-wdm character device doesn't reply to any QMI command. Also, the out-of-tree Si

[PATCH 3.12 09/78] qmi_wwan: Add support for Dell Wireless 5809e 4G Modem

2016-04-22 Thread Jiri Slaby
From: Pieter Hollants 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2070c48cf2b78af89ba529c00992eaaa18df8ef7 upstream. Added the USB IDs 0x413c:0x81b1 for the "Dell Wireless 5809e Gobi(TM) 4G LTE Mobile Broadband Card", a Dell-branded Sierr

[PATCH 3.12 13/78] net: qmi_wwan: remove 1199:9070 device id

2016-04-22 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === commit 544c8f6507303e921979ac99f46f00a88b42b6e8 upstream. This turned out to be a bootloader device ID. No need for that in this driver. It will only provide a single serial function

[PATCH 3.12 14/78] net: qmi_wwan: Add WeTelecom-WPD600N

2016-04-22 Thread Jiri Slaby
From: Kristian Evensen 3.12-stable review patch. If anyone has any objections, please let me know. === commit e439bd4a4fdeb29488f48f14845ad35607e6302c upstream. The WeTelecom-WPD600N is an LTE module that, in addition to supporting most "normal" bands, also supports LTE over 450MH

[PATCH 3.12 11/78] net: qmi_wwan: Sierra Wireless MC73xx -> Sierra Wireless MC7304/MC7354

2016-04-22 Thread Jiri Slaby
From: David Ward 3.12-stable review patch. If anyone has any objections, please let me know. === commit e704059272aae2aaa5e5ce7a76e4c27c492e947e upstream. Other Sierra Wireless MC73xx devices exist, with different USB IDs. Cc: Bjørn Mork Signed-off-by: David Ward Signed-off-by:

[PATCH 3.12 12/78] qmi_wwan: add Sierra Wireless MC74xx/EM74xx

2016-04-22 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0db65fcfcded76fe4f74e3ca9f4e2baf67b683ef upstream. New device IDs shamelessly lifted from the vendor driver. Signed-off-by: Bjørn Mork Signed-off-by: David S. Miller Signed-o

[PATCH 3.12 10/78] net: qmi_wwan: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module

2016-04-22 Thread Jiri Slaby
From: David Ward 3.12-stable review patch. If anyone has any objections, please let me know. === commit a8079092c1bbf9aec3756b35256c7816b8845af7 upstream. This is an HP-branded Sierra Wireless EM7355: https://bugzilla.redhat.com/show_bug.cgi?id=1223646#c2 Signed-off-by: David War

Re: [PATCHv5 3/3] selftest/x86: add mremap vdso 32-bit test

2016-04-22 Thread Dmitry Safonov
On 04/21/2016 11:01 PM, Andy Lutomirski wrote: On Mon, Apr 18, 2016 at 6:43 AM, Dmitry Safonov wrote: Should print on success: [root@localhost ~]# ./test_mremap_vdso_32 AT_SYSINFO_EHDR is 0xf773f000 [NOTE] Moving vDSO: [f773f000, f774] -> [a00, a001000] [OK] Or segfault if lan

Re: [RFC][PATCH 04/31] locking,arm: Implement atomic{,64}_fetch_{add,sub,and,andnot,or,xor}{,_relaxed,_acquire,_release}()

2016-04-22 Thread Will Deacon
On Fri, Apr 22, 2016 at 11:04:17AM +0200, Peter Zijlstra wrote: > Implement FETCH-OP atomic primitives, these are very similar to the > existing OP-RETURN primitives we already have, except they return the > value of the atomic variable _before_ modification. > > This is especially useful for irre

[PATCH 3.12 16/78] Add Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card (rev3) to qmi_wwan

2016-04-22 Thread Jiri Slaby
From: Patrik Halfar 3.12-stable review patch. If anyone has any objections, please let me know. === commit fb5eb24cdd5cdb83be77d3e4b2f16e92e06bd9e9 upstream. New revison of Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card has new idProduct Bus 002 Device 006: ID 413c:81b3

[PATCH 3.12 05/78] net: qmi_wwan: add Netgear AirCard 341U

2016-04-22 Thread Jiri Slaby
From: Aleksander Morgado 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4324be1e0bab67194a263be263b7e48c176d43c7 upstream. Signed-off-by: Aleksander Morgado Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Jiri Slaby --

[PATCH 3.12 19/78] qmi_wwan/cdc_ether: move Novatel E371 (1410:9011) to qmi_wwan

2016-04-22 Thread Jiri Slaby
From: Yegor Yefremov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7b5939ba591e9affbe4f336935b0985fd250a2b3 upstream. This device provides QMI and ethernet functionality via a standard CDC ethernet descriptor. But when driven by cdc_ether,

[PATCH 3.12 15/78] net: qmi_wwan: Add SIMCom 7230E

2016-04-22 Thread Jiri Slaby
From: Kristian Evensen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 18715b261541f35ccede9b8686ee3ebaac697d38 upstream. SIMCom 7230E is a QMI LTE module with support for most "normal" bands. Manual testing has showed that only interface fiv

[PATCH 3.12 04/78] qmi_wwan: add "D-Link DWM-221 B1" device id

2016-04-22 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === commit e84810c7b85a2d7897797b3ad3e879168a8e032a upstream. Thomas reports: "Windows: 00 diagnostics 01 modem 02 at-port 03 nmea 04 nic Linux: T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=01

RE: [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands

2016-04-22 Thread David Laight
From: Andy Shevchenko > Sent: 21 April 2016 19:15 > ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it for > them. Do call ata_bmdma_qc_issue() instead for this case. > > Suggested-by: Christian Lamparter > Signed-off-by: Andy Shevchenko > --- > drivers/ata/sata_dwc_460ex

[PATCH 3.12 21/78] cdc_ncm: toggle altsetting to force reset before setup

2016-04-22 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 48906f62c96cc2cd35753e59310cb70eb08cc6a5 ] Some devices will silently fail setup unless they are reset first. This is necessary even if the data interface is already

Re: [PATCH v10 1/2] perf config: Prepare all default configs

2016-04-22 Thread Taeung Song
Hi, On 04/22/2016 07:21 PM, Taeung Song wrote: To precisely manage configs, prepare all default perf's configs that contain default section name, variable name, value and correct type, not string type. In the near future, this will be used when checking type of config variable or showing all co

[PATCH 3.12 06/78] net: qmi_wwan: add additional Sierra Wireless QMI devices

2016-04-22 Thread Jiri Slaby
From: Aleksander Morgado 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a793e71ebd6fc4a2649f33811589a9c4fe7f4e8 upstream. A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial Sierra Wireless drivers. Signed-off-by: Aleks

[PATCH 3.12 24/78] sh_eth: fix NULL pointer dereference in sh_eth_ring_format()

2016-04-22 Thread Jiri Slaby
From: Sergei Shtylyov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit c1b7fca65070bfadca94dd53a4e6b71cd4f69715 ] In a low memory situation, if netdev_alloc_skb() fails on a first RX ring loop iteration in sh_eth_ring_format(), 'rx

[PATCH 3.12 23/78] udp6: fix UDP/IPv6 encap resubmit path

2016-04-22 Thread Jiri Slaby
From: Bill Sommerfeld 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 59dca1d8a6725a121dae6c452de0b2611d5865dc ] IPv4 interprets a negative return value from a protocol handler as a request to redispatch to a new protocol. In cont

[PATCH 3.12 25/78] macvtap: always pass ethernet header in linear

2016-04-22 Thread Jiri Slaby
From: Willem de Bruijn 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 8e2ad4113ce4671686740f808ff2795395c39eef ] The stack expects link layer headers in the skb linear section. Macvtap can create skbs with llheader in frags in edg

[PATCH 3.12 01/78] tunnel: Clear IPCB(skb)->opt before dst_link_failure called

2016-04-22 Thread Jiri Slaby
From: Bernie Harris 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5146d1f151122e868e594c7b45115d64825aee5f ] IPCB may contain data from previous layers (in the observed case the qdisc layer). In the observed scenario, the data wa

[PATCH V2 7/9] cpufreq: sunxi: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Maxime Ripard Cc: Chen-Yu Tsai Signed-off-by: Viresh Kumar Acked-by: Arnd Bergmann --- arch/arm/mach-sunxi/sunxi.c | 9 - drivers/cpu

[PATCH V2 4/9] cpufreq: omap: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Tony Lindgren Signed-off-by: Viresh Kumar Acked-by: Arnd Bergmann --- arch/arm/mach-omap2/pm.c | 7 ++- drivers/cpufreq/cpufreq-dt-platd

[PATCH V2 2/9] cpufreq: berlin: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Sebastian Hesselbarth Signed-off-by: Viresh Kumar Acked-by: Antoine Tenart Acked-by: Arnd Bergmann --- arch/arm/mach-berlin/berlin.c| 6 --

Re: [PATCH v7 01/10] iommu: Add DOMAIN_ATTR_MSI_MAPPING attribute

2016-04-22 Thread Robin Murphy
On 20/04/16 16:58, Eric Auger wrote: Hi Robin, On 04/20/2016 02:47 PM, Robin Murphy wrote: Hi Eric, On 19/04/16 17:56, Eric Auger wrote: Introduce a new DOMAIN_ATTR_MSI_MAPPING domain attribute. If supported, this means the MSI addresses need to be mapped in the IOMMU. x86 IOMMUs typically do

[PATCH V2 5/9] cpufreq: rockchip: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
From: Finley Xiao This patch add rockchip's compatible string to the compat list and remove similar code from platform code for supporting generic platdev driver. Signed-off-by: Finley Xiao Acked-by: Viresh Kumar Acked-by: Arnd Bergmann Signed-off-by: Viresh Kumar --- arch/arm/mach-rockchip

[PATCH V2 3/9] cpufreq: imx: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Note that the complete routine imx27_dt_init() is removed as of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); has same effect as a NULL .in

[PATCH V2 8/9] cpufreq: zynq: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Michal Simek Cc: Sören Brinkmann Signed-off-by: Viresh Kumar Acked-by: Arnd Bergmann --- arch/arm/mach-zynq/common.c | 2 -- drivers/cpufreq/c

[PATCH V2 9/9] cpufreq: hisilicon: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Leo Yan Signed-off-by: Viresh Kumar Acked-by: Arnd Bergmann --- drivers/cpufreq/Kconfig.arm | 9 drivers/cpufreq/Makefile

[PATCH V2 1/9] cpufreq: dt: Mark platdev machines array as __initconst

2016-04-22 Thread Viresh Kumar
The machines array in cpufreq-dt-platdev is used only once at boot time and so should be marked with __initconst, so that kernel can free up memory used for it, if required. Suggested-by: Geert Uytterhoeven Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-dt-platdev.c | 2 +- 1 file chan

[PATCH 3.12 26/78] net: Fix use after free in the recvmmsg exit path

2016-04-22 Thread Jiri Slaby
From: Arnaldo Carvalho de Melo 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 34b88a68f26a75e4fded796f1a49c40f82234b7d ] The syzkaller fuzzer hit the following use-after-free: Call Trace: [] __asan_report_load8_noabort+0x3e/

[PATCH V2 6/9] cpufreq: shmobile: Use generic platdev driver

2016-04-22 Thread Viresh Kumar
The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform device now, reuse that and remove similar code from platform code. Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Viresh Kumar Acked-by: Arnd Bergmann --- arch/arm/mach-shmobile/Makefile | 1 - arch/arm/mach-shmobil

[PATCH 3.12 17/78] qmi_wwan: add Sierra Wireless EM74xx device ID

2016-04-22 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === commit bf13c94ccb33c3182efc92ce4989506a0f541243 upstream. The MC74xx and EM74xx modules use different IDs by default, according to the Lenovo EM7455 driver for Windows. Signed-off-by:

[PATCH 3.12 27/78] mlx4: add missing braces in verify_qp_parameters

2016-04-22 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit baefd7015cdb304ce6c94f9679d0486c71954766 ] The implementation of QP paravirtualization back in linux-3.7 included some code that looks very dubious, and gcc-6 has

[PATCH 3.12 28/78] farsync: fix off-by-one bug in fst_add_one

2016-04-22 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit e725a66c0202b5f36c2f9d59d26a65c53bbf21f7 ] gcc-6 finds an out of bounds access in the fst_add_one function when calculating the end of the mmio area: drivers/net/

Re: [PATCH 4/5] regulator: core: Add early supply resolution for a bypassed regulator

2016-04-22 Thread Jon Hunter
On 22/04/16 11:48, Mark Brown wrote: > * PGP Signed by an unknown key > > On Thu, Apr 21, 2016 at 05:12:00PM +0100, Jon Hunter wrote: > >> A regulator that is in bypass will fail to be registered because we will >> attempt to get the voltage of the regulator (ie. it's bypass voltage) >> before t

[PATCH v4 3/5] irqchip/gic: Restore CPU interface checking

2016-04-22 Thread Suzuki K Poulose
From: Marc Zyngier When introducing the whole CPU feature detection framework, we lost the capability to detect a mismatched GIC configuration (using the GICv2 MMIO interface, but having the system register interface enabled). In order to solve this, use the new this_cpu_has_cap() helper. Also m

[PATCH v4 2/5] arm64: Allow a capability to be checked on a single CPU

2016-04-22 Thread Suzuki K Poulose
From: Marc Zyngier Now that the capabilities are only available once all the CPUs have booted, we're unable to check for a particular feature in any subsystem that gets initialized before then. In order to support this, introduce a local_cpu_has_cap() function that tests for the presence of a gi

[PATCH v8] Bluetooth: hci_uart: Support firmware download for Marvell

2016-04-22 Thread Amitkumar Karwar
From: Ganapathi Bhat This patch implement firmware download feature for Marvell Bluetooth devices. If firmware is already downloaded, it will skip downloading. Signed-off-by: Ganapathi Bhat Signed-off-by: Amitkumar Karwar --- v2: Fixed compilation warning reported by kbuild test robot v3: Addr

[PATCH v4 5/5] arm64: Fix behavior of maxcpus=N

2016-04-22 Thread Suzuki K Poulose
maxcpu=n sets the number of CPUs activated at boot time to a max of n, but allowing the remaining CPUs to be brought up later if the user decides to do so. However, on arm64 due to various reasons, we disallowed hotplugging CPUs beyond n, by marking them not present. Now that we have checks in plac

[PATCH v4 1/5] arm64: cpufeature: Add scope for capability check

2016-04-22 Thread Suzuki K Poulose
Add scope parameter to the arm64_cpu_capabilities::matches(), so that this can be reused for checking the capability on a given CPU vs the system wide. The system uses the default scope associated with the capability for initialising the CPU_HWCAPs and ELF_HWCAPs. Cc: James Morse Cc: Marc Zyngier

[PATCH v4 0/5] arm64: Fix behavior of maxcpus=n

2016-04-22 Thread Suzuki K Poulose
This series is an attempt at fixing the maxcpus=n behavior on arm64. So far we have disabled hotplugging a CPU > n, when maxcpus=n is in effect, due to following reasons. 1) Possible cpu feature incompatibilities with the new CPU in heterogeneous systems. 2) New CPU requiring an errata work

[PATCH v4 4/5] arm64: Verify CPU errata work arounds on hotplugged CPU

2016-04-22 Thread Suzuki K Poulose
CPU Errata work arounds are detected and applied to the kernel code at boot time and the data is then freed up. If a new hotplugged CPU requires a work around which was not applied at boot time, there is nothing we can do but simply fail the booting. Cc: Will Deacon Cc: Mark Rutland Cc: Andre Pr

[PATCH 3/3] mtd: brcmnand: respect ECC algorithm set by NAND subsystem

2016-04-22 Thread Rafał Miłecki
It's more reliable than guessing based on ECC strength. It allows using NAND on devices with BCH-1 (e.g. D-Link DIR-885L). Signed-off-by: Rafał Miłecki --- drivers/mtd/nand/brcmnand/brcmnand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/brcmnand/brcmnand.

[PATCH 1/5] mpt3sas: Update MPI header to 2.00.42

2016-04-22 Thread Chaitra P B
Updated MPI version and MPI header files. ChangeList: * Added SATADeviceWaitTime to SAS IO Unit Page 4 * Added EEDPObservedValue added to SCSI IO Reply message * Added MPI2_EVENT_ACTIVE_CABLE_EXCEPTION and MPI26_EVENT_DATA_ACTIVE_CABLE_EXCEPT Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sa

[PATCH 0/5] mpt3sas: driver update for Phase12

2016-04-22 Thread Chaitra P B
Here is the change list: * Updated MPI version and MPI header files. * Handle active cable exception event for Intruder/Cutlass HBAs. * Use scsi_prot_ref_tag()API to fill reference tag field in the CDB. * Set maximum transfer length per IO on RAID volumes to 4MB. * Use "synchronize_irq()"API to han

[PATCH 2/5] mpt3sas: Handle active cable exception event

2016-04-22 Thread Chaitra P B
In-order to handle this 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event, driver need to follow below steps, 1. Unmask the 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event, so that FW can notify this event to host driver. 2. After receiving this event, add this event to AEN event queue, for notifying this event

[PATCH 5/5] mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs

2016-04-22 Thread Chaitra P B
Replaced mpt3sas_base_flush_reply_queues()with mpt3sas_base_sync_reply_irqs(),as mpt3sas_base_flush_reply_queues() skips over reply queues that are currently busy (i.e. being handled by interrupt processing in another core). If a reply queue is busy, then call to synchronize_irq()in mpt3sas_base_sy

[PATCH 2/3] Documentation: devicetree: deprecate "soft_bch" nand-ecc-mode value

2016-04-22 Thread Rafał Miłecki
Now that we support nand-ecc-algo property it should be used together with "soft" to specify software BCH ECC. Signed-off-by: Rafał Miłecki --- Documentation/devicetree/bindings/mtd/nand.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindin

[PATCH 1/3] mtd: nand: add support for "nand-ecc-algo" DT property

2016-04-22 Thread Rafał Miłecki
So far it was only possible to specify ECC algorithm using "soft" and "soft_bch" values of nand-ecc-mode prop. There wasn't a way to specify it for a hardware ECC mode. Now that we have independent field in NAND subsystem for storing info about ECC algorithm we may also add support for this new DT

[PATCH 4/5] mpt3sas: Set maximum transfer length per IO to 4MB for VDs

2016-04-22 Thread Chaitra P B
Set maximum transfer length per IO on RAID volumes to 4MB by setting VD's queue's max_sector to 8192. Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 ++ drivers/scsi/mpt3sas/mpt3sas_scsih.c | 8 2 files changed, 10 insertions(+) diff --git a/drivers/scsi/mpt3sa

RE: [PATCH v7] Bluetooth: hci_uart: Support firmware download for Marvell

2016-04-22 Thread Amitkumar Karwar
Hi Marcel, > > > > + > > > +static int mrvl_setup(struct hci_uart *hu) { > > > + struct mrvl_data *mrvl = hu->priv; > > > + > > > + mrvl_init_fw_data(hu); > > > + set_bit(HCI_UART_DNLD_FW, &mrvl->flags); > > > + > > > + return hci_uart_dnld_fw(hu); > > > +} > > > > So this is clearly the wrong sp

[PATCH 3.12 30/78] net: mvneta: enable change MAC address when interface is up

2016-04-22 Thread Jiri Slaby
From: Dmitri Epshtein 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 928b6519afeb2a5e2dc61154380b545ed66c476a ] Function eth_prepare_mac_addr_change() is called as part of MAC address change. This function check if interface is ru

[PATCH 3/5] mpt3sas: Fix initial Reference tag field for 4K PI drives.

2016-04-22 Thread Chaitra P B
Modified driver code to use scsi_prot_ref_tag() API instead of scsi_get_lba(), while initializing reference tag field in the CDB. Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_s

[PATCH 3.12 29/78] ath9k: fix buffer overrun for ar9287

2016-04-22 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 83d6f1f15f8cce844b0a131cbc63e444620e48b5 ] Code that was added back in 2.6.38 has an obvious overflow when accessing a static array, and at the time it was added o

Re: [PATCH V2 13/14] dt-bindings: arm-gic: Add documentation for Tegra210 AGIC

2016-04-22 Thread Mark Rutland
On Fri, Apr 22, 2016 at 12:12:57PM +0100, Jon Hunter wrote: > > On 22/04/16 11:00, Mark Rutland wrote: > > On Wed, Apr 20, 2016 at 12:03:56PM +0100, Jon Hunter wrote: > >> The Tegra AGIC interrupt controller is compatible with the ARM GIC-400 > >> interrupt controller. > > > > The cover letter sa

Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed

2016-04-22 Thread Lars-Peter Clausen
On 04/22/2016 12:43 PM, Jim Lin wrote: > Android N adds os_desc_compat in v2_descriptor by init_functionfs() > (system/core/adb/usb_linux_client.cpp) to support automatic install > of MTP driver on Windows for USB device mode. > > Current __ffs_data_do_os_desc() of f_fs.c will check reserved1 fiel

[PATCH 3.12 18/78] qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface

2016-04-22 Thread Jiri Slaby
From: Schemmel Hans-Christoph 3.12-stable review patch. If anyone has any objections, please let me know. === commit bd9e33508c5e1eb5d807d11d7bfc52125fcdb04e upstream. Added support for Gemalto's Cinterion PHxx WWAN interfaces by adding QMI_FIXED_INTF with Cinterion's VID and PID.

[PATCH 3.12 22/78] usbnet: cleanup after bind() in probe()

2016-04-22 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 1666984c8625b3db19a9abc298931d35ab7bc64b ] In case bind() works, but a later error forces bailing in probe() in error cases work and a timer may be scheduled. They

[PATCH 3.12 34/78] ipv4: l2tp: fix a potential issue in l2tp_ip_recv

2016-04-22 Thread Jiri Slaby
From: Haishuang Yan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5745b8232e942abd5e16e85fa9b27cc21324acf0 ] pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan Sig

[PATCH 3.12 02/78] net: jme: fix suspend/resume on JMC260

2016-04-22 Thread Jiri Slaby
From: Diego Viola 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit ee50c130c82175eaa0820c96b6d3763928af2241 ] The JMC260 network card fails to suspend/resume because the call to jme_start_irq() was too early, moving the call to jme_

[PATCH 3.12 33/78] xfrm: Fix crash observed during device unregistration and decryption

2016-04-22 Thread Jiri Slaby
From: "subas...@codeaurora.org" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 071d36bf21bcc837be00cea55bcef8d129e7f609 ] A crash is observed when a decrypted packet is processed in receive path. get_rps_cpus() tries to dereferenc

[PATCH 3.12 32/78] ppp: take reference on channels netns

2016-04-22 Thread Jiri Slaby
From: Guillaume Nault 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 1f461dcdd296eecedac6bae2bfa90bd7eb89 ] Let channels hold a reference on their network namespace. Some channel types, like ppp_async and ppp_synctty, can have

[PATCH 3.12 31/78] qlge: Fix receive packets drop.

2016-04-22 Thread Jiri Slaby
From: Manish Chopra 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 2c9a266afefe137bff06bbe0fc48b4d3b3cb348c ] When running small packets [length < 256 bytes] traffic, packets were being dropped due to invalid data in those packets

[PATCH 3.12 37/78] ipv6: Count in extension headers in skb->network_header

2016-04-22 Thread Jiri Slaby
From: Jakub Sitnicki 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 3ba3458fb9c050718b95275a3310b74415e767e2 ] When sending a UDPv6 message longer than MTU, account for the length of fragmentable IPv6 extension headers in skb->net

[PATCH 3.12 03/78] sctp: lack the check for ports in sctp_v6_cmp_addr

2016-04-22 Thread Jiri Slaby
From: Xin Long 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 40b4f0fd74e46c017814618d67ec9127ff20f157 ] As the member .cmp_addr of sctp_af_inet6, sctp_v6_cmp_addr should also check the port of addresses, just like sctp_v4_cmp_add

[PATCH 3.12 35/78] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-22 Thread Jiri Slaby
From: Haishuang Yan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit be447f305494e019dfc37ea4cdf3b0e4200b4eba ] pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan Sig

Re: [PATCH v4 2/2] KVM: move vcpu id checking to archs

2016-04-22 Thread Igor Mammedov
On Fri, 22 Apr 2016 11:25:38 +0200 Greg Kurz wrote: > Hi Radim ! > > On Thu, 21 Apr 2016 19:36:11 +0200 > Radim Krčmář wrote: > > > 2016-04-21 18:45+0200, Greg Kurz: > > > On Thu, 21 Apr 2016 18:00:19 +0200 > > > Radim Krčmář wrote: > > >> 2016-04-21 16:20+0200, Greg Kurz: [...] > >

Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again

2016-04-22 Thread Christian Lamparter
On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote: > On 4/21/2016 4:25 PM, Christian Lamparter wrote: > > On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote: > >> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to > >> generic > >> DMA driver") to switch t

[PATCH 3.12 36/78] ip6_tunnel: set rtnl_link_ops before calling register_netdevice

2016-04-22 Thread Jiri Slaby
From: Thadeu Lima de Souza Cascardo 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit b6ee376cb0b7fb4e7e07d6cd248bd40436fb9ba6 ] When creating an ip6tnl tunnel with ip tunnel, rtnl_link_ops is not set before ip6_tnl_create2 is called

[PATCH 3.12 39/78] hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated

2016-04-22 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3c2e2266a5bd2d1cef258e6e54dca1d99946379f upstream. arm:pxa_defconfig can result in the following crash if the max driver is not instantiated. Unhandled fault: page domai

[PATCH 3.12 41/78] parisc: Fix kernel crash with reversed copy_from_user()

2016-04-22 Thread Jiri Slaby
From: Helge Deller 3.12-stable review patch. If anyone has any objections, please let me know. === commit ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 upstream. The kernel module testcase (lib/test_user_copy.c) exhibited a kernel crash on parisc if the parameters for copy_from_user we

[PATCH 3.12 40/78] parisc: Avoid function pointers for kernel exception routines

2016-04-22 Thread Jiri Slaby
From: Helge Deller 3.12-stable review patch. If anyone has any objections, please let me know. === commit e3893027a300927049efc1572f852201eb785142 upstream. We want to avoid the kernel module loader to create function pointers for the kernel fixup routines of get_user() and put_us

[PATCH 3.12 38/78] USB: qmi_wwan: Add quirk for Quectel EC20 Mini PCIe module

2016-04-22 Thread Jiri Slaby
From: Petr Štetiar 3.12-stable review patch. If anyone has any objections, please let me know. === commit b3d8cf019fb9dd28389b08da7bf54ffabf453ed3 upstream. This device has same vendor and product IDs as G2K devices, but it has different number of interfaces(4 vs 5) and also diffe

[PATCH 3.12 42/78] ALSA: timer: Use mod_timer() for rearming the system timer

2016-04-22 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4a07083ed613644c96c34a7dd2853dc5d7c70902 upstream. ALSA system timer backend stops the timer via del_timer() without sync and leaves del_timer_sync() at the close instead. Th

[PATCH 3.12 49/78] usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()

2016-04-22 Thread Jiri Slaby
From: Yoshihiro Shimoda 3.12-stable review patch. If anyone has any objections, please let me know. === commit 894f2fc44f2f3f48c36c973b1123f6ab298be160 upstream. When unexpected situation happened (e.g. tx/rx irq happened while DMAC is used), the usbhsf_pkt_handler() was possible

[PATCH 3.12 48/78] mac80211: fix unnecessary frame drops in mesh fwding

2016-04-22 Thread Jiri Slaby
From: Michal Kazior 3.12-stable review patch. If anyone has any objections, please let me know. === commit cf44012810ccdd8fd947518e965cb04b7b8498be upstream. The ieee80211_queue_stopped() expects hw queue number but it was given raw WMM AC number instead. This could cause frame d

[PATCH 3.12 50/78] usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer

2016-04-22 Thread Jiri Slaby
From: Yoshihiro Shimoda 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6490865c67825277b29638e839850882600b48ec upstream. This patch adds a code to surely disable TX IRQ of the pipe before starting TX DMAC transfer. Otherwise, a lot of unnec

Re: [PATCH v7 6/7] iommu/arm-smmu: do not advertise IOMMU_CAP_INTR_REMAP

2016-04-22 Thread Robin Murphy
Hi Eric, Alex, On 19/04/16 18:24, Eric Auger wrote: Do not advertise IOMMU_CAP_INTR_REMAP for arm-smmu(-v3). Indeed the irq_remapping capability is abstracted on irqchip side for ARM as opposed to Intel IOMMU featuring IRQ remapping HW. So to check IRQ remapping capability, the msi domain needs

Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master

2016-04-22 Thread Peter Rosin
Crestez Dan Leonard wrote: > On 04/21/2016 04:56 PM, Peter Rosin wrote: > > Crestez Dan Leonard wrote: > >> On 04/20/2016 11:31 PM, Peter Rosin wrote: > >>> Crestez Dan Leonard wrote: > Changes since that version: > * Nest the adapter in inv_mpu6050_state instead of making it static > >>>

[PATCH 3.12 53/78] HID: usbhid: fix inconsistent reset/resume/reset-resume behavior

2016-04-22 Thread Jiri Slaby
From: Alan Stern 3.12-stable review patch. If anyone has any objections, please let me know. === commit 972e6a993f278b416a8ee3ec65475724fc36feb2 upstream. The usbhid driver has inconsistently duplicated code in its post-reset, resume, and reset-resume pathways. reset-resu

Re: [PATCH v7 00/24] i2c mux cleanup and locking update

2016-04-22 Thread Wolfram Sang
> The problem with waiting until 4.8 with the rest of the series is that it > will likely go stale, e.g. patch 22 ([media] rtl2832: change the i2c gate > to be mux-locked) touches a ton of register accesses in that driver since > it removes a regmap wrapper that is rendered obsolete. Expecting tha

[PATCH 3.12 51/78] ext4: add lockdep annotations for i_data_sem

2016-04-22 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit daf647d2dd58cec59570d7698a45b98e580f2076 upstream. With the internal Quota feature, mke2fs creates empty quota inodes and quota usage tracking is enabled as soon as the file

[PATCH 3.12 52/78] perf: Cure event->pending_disable race

2016-04-22 Thread Jiri Slaby
From: Peter Zijlstra 3.12-stable review patch. If anyone has any objections, please let me know. === commit 28a967c3a2f99fa3b5f762f25cb2a319d933571b upstream. Because event_sched_out() checks event->pending_disable _before_ actually disabling the event, it can happen that the even

[PATCH 3.12 47/78] xen/events: Mask a moving irq

2016-04-22 Thread Jiri Slaby
From: Boris Ostrovsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit ff1e22e7a638a0782f54f81a6c9cb139aca2da35 upstream. Moving an unmasked irq may result in irq handler being invoked on both source and target CPUs. With 2-level this can hap

[PATCH 3.12 54/78] drm/radeon: hold reference to fences in radeon_sa_bo_new (3.17 and older)

2016-04-22 Thread Jiri Slaby
From: Nicolai Hähnle 3.12-stable review patch. If anyone has any objections, please let me know. === [Backport of upstream commit f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb, with an additional NULL pointer guard that is required for kernels 3.17 and older. To be precise, any kerne

[PATCH 3.12 46/78] xen/events: introduce test_and_set_mask()

2016-04-22 Thread Jiri Slaby
From: Wei Liu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3f70fa828249e3f37883be98f5b4d08e947f55b0 upstream. In preparation for adding event channel port ops, add test_and_set_mask(). Signed-off-by: Wei Liu Signed-off-by: David Vrabel

Re: [PATCH V2 13/14] dt-bindings: arm-gic: Add documentation for Tegra210 AGIC

2016-04-22 Thread Jon Hunter
On 22/04/16 11:00, Mark Rutland wrote: > On Wed, Apr 20, 2016 at 12:03:56PM +0100, Jon Hunter wrote: >> The Tegra AGIC interrupt controller is compatible with the ARM GIC-400 >> interrupt controller. > > The cover letter says it _is_ a GIC-400, just used in a slightly unusual > manner (i.e. not d

<    1   2   3   4   5   6   7   8   9   >