[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

[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

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, >flags); > > > + > > > + return hci_uart_dnld_fw(hu); > > > +} > > > > So this is clearly the wrong spot.

[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

[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(+)

[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

[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

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, >flags); > > > + > > > + return hci_uart_dnld_fw(hu); > > > +} > > > > So this is clearly the wrong spot.

[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

[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

[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

[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

[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

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

[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

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

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

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

[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

[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

[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

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

[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

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

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

[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

[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

[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

[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

[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

[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

[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

[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

[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

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

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

[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

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

[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

[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

[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

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

[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

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

[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

[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

[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

[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

[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

[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

[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

[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

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

[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

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

[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

[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

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

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

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

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

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

[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

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

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

[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

[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

[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

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

[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

[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

[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

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

[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

[PATCH 3.12 60/78] usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize

2016-04-22 Thread Jiri Slaby
From: "Felipe F. Tonello" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 03d27ade4941076b34c823d63d91dc895731a595 upstream. buflen by default (256) is smaller than wMaxPacketSize (512) in high-speed devices. That

[PATCH 3.12 56/78] usbvision: fix crash on detecting device with invalid configuration

2016-04-22 Thread Jiri Slaby
From: Vladis Dronov 3.12-stable review patch. If anyone has any objections, please let me know. === commit fa52bd506f274b7619955917abfde355e3d19ffe upstream. The usbvision driver crashes when a specially crafted usb device with invalid number of interfaces or

[PATCH 3.12 58/78] jme: Fix device PM wakeup API usage

2016-04-22 Thread Jiri Slaby
From: Guo-Fu Tseng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 81422e672f8181d7ad1ee6c60c723aac649f538f upstream. According to Documentation/power/devices.txt The driver should not use device_set_wakeup_enable()

[PATCH 3.12 55/78] usbvision: fix leak of usb_dev on failure paths in usbvision_probe()

2016-04-22 Thread Jiri Slaby
From: Alexey Khoroshilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit afd270d1a45043cef14341bcceff62ed50e8dc9a upstream. There is no usb_put_dev() on failure paths in usbvision_probe(). Found by Linux Driver

[PATCH 3.12 60/78] usb: gadget: f_midi: Fixed a bug when buflen was smaller than wMaxPacketSize

2016-04-22 Thread Jiri Slaby
From: "Felipe F. Tonello" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 03d27ade4941076b34c823d63d91dc895731a595 upstream. buflen by default (256) is smaller than wMaxPacketSize (512) in high-speed devices. That caused the OUT endpoint to

[PATCH 3.12 56/78] usbvision: fix crash on detecting device with invalid configuration

2016-04-22 Thread Jiri Slaby
From: Vladis Dronov 3.12-stable review patch. If anyone has any objections, please let me know. === commit fa52bd506f274b7619955917abfde355e3d19ffe upstream. The usbvision driver crashes when a specially crafted usb device with invalid number of interfaces or endpoints is

[PATCH 3.12 58/78] jme: Fix device PM wakeup API usage

2016-04-22 Thread Jiri Slaby
From: Guo-Fu Tseng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 81422e672f8181d7ad1ee6c60c723aac649f538f upstream. According to Documentation/power/devices.txt The driver should not use device_set_wakeup_enable() which is the policy for

[PATCH 3.12 55/78] usbvision: fix leak of usb_dev on failure paths in usbvision_probe()

2016-04-22 Thread Jiri Slaby
From: Alexey Khoroshilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit afd270d1a45043cef14341bcceff62ed50e8dc9a upstream. There is no usb_put_dev() on failure paths in usbvision_probe(). Found by Linux Driver Verification project

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