[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 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 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 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 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 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 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

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 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

[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 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 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 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 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 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 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 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 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

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 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/

[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 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 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 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 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 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 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 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

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 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

[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

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 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

[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 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 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 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 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

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

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 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: [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 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: [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 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: [RFC][PATCH 06/31] locking,avr32: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-04-22 Thread Hans-Christian Noren Egtvedt
Around Fri 22 Apr 2016 11:04:19 +0200 or thereabout, 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 usef

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 v7 01/10] iommu: Add DOMAIN_ATTR_MSI_MAPPING attribute

2016-04-22 Thread Eric Auger
Hi Robin, On 04/22/2016 01:31 PM, Robin Murphy wrote: > 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 m

[PATCH 2/2] printk, allow different timestamps for printk.time

2016-04-22 Thread Prarit Bhargava
Over the past years I've seen many reports of bugs that include time-stamped kernel logs (enabled when CONFIG_PRINTK_TIME=y or print.time=1 is specified as a kernel parameter) that do not align with either external time stamped logs or /var/log/messages. This also makes determining the time of a f

[PATCH 1/2] lib, switch CONFIG_PRINTK_TIME to int

2016-04-22 Thread Prarit Bhargava
CONFIG_PRINTK_TIME is a bool and in order to add timestamp options for the monotonic and real time clock it must be expanded to an int. Cc: Petr Mladek Cc: John Stultz Cc: Xunlei Pang Cc: Thomas Gleixner Cc: Baolin Wang Cc: Andrew Morton Cc: Greg Kroah-Hartman Cc: Petr Mladek Cc: Tejun Heo

[PATCH 0/2 v7]: printk, Add monotonic and real printk timestamps

2016-04-22 Thread Prarit Bhargava
This patchset adds monotonic and real printk timestamps. The first patch changes CONFIG_PRINT_TIME from a bool to an int to allow for the additional timestamps that are added in patch 2. Changes from v6: Petr Mladek pointed out that the current patch causes problems for dmesg (and potentially oth

Re: [PATCH v3] sched/cpufreq: optimize cpufreq update kicker to avoid update multiple times

2016-04-22 Thread Rafael J. Wysocki
[Added linux-pm to the CC - can you please do so for PM-related patches in the future?] On 4/22/2016 11:07 AM, Wanpeng Li wrote: From: Wanpeng Li Sometimes delta_exec is 0 due to update_curr() is called multiple times, this is captured by: u64 delta_exec = rq_clock_task(rq) - curr->s

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

2016-04-22 Thread Tero Kristo
On 22/04/16 14:52, Peter Ujfalusi wrote: 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

Re: [PATCH v11 3/3] printk: make printk.synchronous param rw

2016-04-22 Thread Sergey Senozhatsky
Hello, On (04/22/16 10:41), Petr Mladek wrote: > Ah, I see and feel shame. It is actually explained in the comment > above printk_initcall_done declaration. Well, the explanation confused > me a bit ;-) I suggest to change it sligtly: > > /* > * printk_sync_set() can be called from two places: >

[PATCH 1/2] crypto: s5p-sss - Use common BIT macro

2016-04-22 Thread Krzysztof Kozlowski
The BIT() macro is obvious and well known, so prefer to use it instead of crafted own macro. Signed-off-by: Krzysztof Kozlowski --- drivers/crypto/s5p-sss.c | 95 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/drivers/crypto/s5p-s

[PATCH 2/2] crypto: s5p-sss - Fix missed interrupts when working with 8 kB blocks

2016-04-22 Thread Krzysztof Kozlowski
The tcrypt testing module on Exynos5422-based Odroid XU3/4 board failed on testing 8 kB size blocks: $ sudo modprobe tcrypt sec=1 mode=500 testing speed of async ecb(aes) (ecb-aes-s5p) encryption test 0 (128 bit key, 16 byte blocks): 21971 operations in 1 seconds (351536 b

Re: [PATCH] media: vb2: Fix regression on poll() for RW mode

2016-04-22 Thread Mauro Carvalho Chehab
Em Thu, 21 Apr 2016 11:15:16 +0200 Ricardo Ribalda Delgado escreveu: > When using a device is read/write mode, vb2 does not handle properly the > first select/poll operation. It allways return POLLERR. > > The reason for this is that when this code has been refactored, some of > the operations h

Re: [PATCH] qla1280: Reduce can_queue to 32

2016-04-22 Thread Laurence Oberman
The change looks fine, I see its hard-coded to 32 in qla1280_set_defaults() Would it be better to create a #define like other drivers and use that in both. Also did the below patch resolve this for the bug reporter. I ask because if I check 4.3 it was also set to the same value of 0xf and tha

Re: [PATCHv7 2/3] x86/vdso: add mremap hook to vm_special_mapping

2016-04-22 Thread Dmitry Safonov
On 04/21/2016 10:52 PM, Andy Lutomirski wrote: On Mon, Apr 18, 2016 at 7:23 AM, Dmitry Safonov wrote: Add possibility for userspace 32-bit applications to move vdso mapping. Previously, when userspace app called mremap for vdso, in return path it would land on previous address of vdso page, res

Re: [PATCH] mmc: mediatek: fix request blocked by cancel_delayed_work

2016-04-22 Thread Ulf Hansson
On 18 April 2016 at 09:13, Chaotian Jing wrote: > there are 2 points will cause could not call mmc_request_done() > and eventually cause the caller thread blocked. > > A. if card was busy, cancel_delayed_work() will return false because > the delay work has not been scheduled, in this case, need p

<    1   2   3   4   5   6   7   8   9   >