[GIT PULL for-4.9 16/48] Btrfs: send, fix failure to rename top level inode due to name collision

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Robbie Ko [ Upstream commit 4dd9920d991745c4a16f53a8f615f706fbe4b3f7 ] Under certain situations, an incremental send operation can fail due to a premature attempt to create a new top level inode (a direct child of the subvolume/snapshot root) whose name collides

[GIT PULL for-4.9 04/48] irqchip/crossbar: Fix incorrect type of local variables

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Franck Demathieu [ Upstream commit b28ace12661fbcfd90959c1e84ff5a85113a82a1 ] The max and entry variables are unsigned according to the dt-bindings. Fix following 3 sparse issues (-Wtypesign): drivers/irqchip/irq-crossbar.c:222:52: warning: incorrect type in

[GIT PULL for-4.9 18/48] md/linear: shutup lockdep warnning

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Shaohua Li [ Upstream commit d939cdfde34f50b95254b375f498447c82190b3e ] Commit 03a9e24(md linear: fix a race between linear_add() and linear_congested()) introduces the warnning. Acked-by: Coly Li Signed-off-by: Shaohua Li Signed-off-by: Sasha

[GIT PULL for-4.9 20/48] net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Majd Dibbiny [ Upstream commit 95f1ba9a24af9769f6e20dfe9a77c863f253f311 ] In the VF driver, module parameter mlx4_log_num_mgm_entry_size was mistakenly overwritten -- and in a manner which overrode the device-managed flow steering option encoded in the parameter.

[GIT PULL for-3.18 10/13] scsi: scsi_dh_emc: return success in clariion_std_inquiry()

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Dan Carpenter [ Upstream commit 4d7d39a18b8b81511f0b893b7d2203790bf8a58b ] We accidentally return an uninitialized variable on success. Fixes: b6ff1b14cdf4 ("[SCSI] scsi_dh: Update EMC handler") Signed-off-by: Dan Carpenter

[GIT PULL for-3.18 00/13] Commits for v3.18 LTS

2017-10-10 Thread Levin, Alexander (Sasha Levin)
Hi Greg, The following commits were sent for review 7+ days ago, and comments were addressed. Please pull for v3.18 LTS. === The following changes since commit ac0058305d83e8e50a9652a003bc2ec468df9f87: Linux 3.18.74 (2017-10-08 10:11:47 +0200) are available in the git repository at:

[GIT PULL for-3.18 02/13] watchdog: kempld: fix gcc-4.3 build

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 3736d4eb6af37492aeded7fec0072dedd959c842 ] gcc-4.3 can't decide whether the constant value in kempld_prescaler[PRESCALER_21] is built-time constant or not, and gets confused by the logic in do_div(): drivers/watchdog/kempld_wdt.o: In

[GIT PULL for-3.18 11/13] uapi: fix linux/rds.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit feb0869d90e51ce8b6fd8a46588465b1b5a26d09 ] Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:106:2: error: unknown type name 'uint8_t' uint8_t

[GIT PULL for-3.18 13/13] target/iscsi: Fix unsolicited data seq_end_offset calculation

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Varun Prakash [ Upstream commit 4d65491c269729a1e3b375c45e73213f49103d33 ] In case of unsolicited data for the first sequence seq_end_offset must be set to minimum of total data length and FirstBurstLength, so do not add cmd->write_data_done to the min of total data

[GIT PULL for-4.4 20/25] ceph: clean up unsafe d_parent accesses in build_dentry_path

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit c6b0b656ca24ede6657abb4a2cd910fa9c1879ba ] While we hold a reference to the dentry when build_dentry_path is called, we could end up racing with a rename that changes d_parent. Handle that situation correctly, by using the rcu_read_lock to

[GIT PULL for-4.4 25/25] cpufreq: CPPC: add ACPI_PROCESSOR dependency

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit a578884fa0d2768f13d37c6591a9e1ed600482d3 ] Without the Kconfig dependency, we can get this warning: warning: ACPI_CPPC_CPUFREQ selects ACPI_CPPC_LIB which has unmet direct dependencies (ACPI && ACPI_PROCESSOR) Fixes: 5477fb3bd1e8 (ACPI /

[GIT PULL for-4.9 45/48] regulator: core: Resolve supplies before disabling unused regulators

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Javier Martinez Canillas [ Upstream commit 3827b64dba27ebadb4faf51f2c91143e01ba1f6d ] After commit 66d228a2bf03 ("regulator: core: Don't use regulators as supplies until the parent is bound"), input supplies aren't resolved if the input supplies parent device has

[GIT PULL for-4.4 10/25] f2fs: do not wait for writeback in write_begin

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jaegeuk Kim [ Upstream commit 86d54795c94532075d862aa0a79f0c981dab4bdd ] Otherwise we can get livelock like below. [79880.428136] dbench D0 18405 18404 0x [79880.428139] Call Trace: [79880.428142] __schedule+0x219/0x6b0 [79880.428144]

[GIT PULL for-4.9 48/48] cpufreq: CPPC: add ACPI_PROCESSOR dependency

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit a578884fa0d2768f13d37c6591a9e1ed600482d3 ] Without the Kconfig dependency, we can get this warning: warning: ACPI_CPPC_CPUFREQ selects ACPI_CPPC_LIB which has unmet direct dependencies (ACPI && ACPI_PROCESSOR) Fixes: 5477fb3bd1e8 (ACPI /

[GIT PULL for-4.9 36/48] uapi: fix linux/rds.h userspace compilation errors

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: "Dmitry V. Levin" [ Upstream commit feb0869d90e51ce8b6fd8a46588465b1b5a26d09 ] Consistently use types from linux/types.h to fix the following linux/rds.h userspace compilation errors: /usr/include/linux/rds.h:106:2: error: unknown type name 'uint8_t' uint8_t

[GIT PULL for-4.4 06/25] net/mlx4_en: fix overflow in mlx4_en_init_timestamp()

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Eric Dumazet [ Upstream commit 47d3a07528ecbbccf53bc4390d70b4e3d1c04fcf ] The cited commit makes a great job of finding optimal shift/multiplier values assuming a 10 seconds wrap around, but forgot to change the overflow_period computation. It overflows in

[GIT PULL for-4.9 35/48] ceph: clean up unsafe d_parent accesses in build_dentry_path

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit c6b0b656ca24ede6657abb4a2cd910fa9c1879ba ] While we hold a reference to the dentry when build_dentry_path is called, we could end up racing with a rename that changes d_parent. Handle that situation correctly, by using the rcu_read_lock to

[GIT PULL for-4.9 34/48] ceph: fix bogus endianness change in ceph_ioctl_set_layout

2017-10-10 Thread Levin, Alexander (Sasha Levin)
From: Jeff Layton [ Upstream commit 24c149ad6914d349d8b64749f20f3f8ea5031fe0 ] sparse says: fs/ceph/ioctl.c:100:28: warning: cast to restricted __le64 preferred_osd is a __s64 so we don't need to do any conversion. Also, just remove the cast in ceph_ioctl_get_layout as

Re: [PATCH review for 4.9 31/50] xen/manage: correct return value check on xenbus_scanf()

2017-10-23 Thread Levin, Alexander (Sasha Levin)
On Tue, Oct 10, 2017 at 08:49:13AM -0400, Boris Ostrovsky wrote: >On 10/07/2017 06:36 PM, Levin, Alexander (Sasha Levin) wrote: >> From: Jan Beulich <jbeul...@suse.com> >> >> [ Upstream commit 4fed1b125eb6252bde478665fc05d4819f774fa8 ] >> >> A negative r

Re: [PATCH review for 4.9 39/50] ASoC: omap-mcbsp: Add PM QoS support for McBSP to prevent glitches

2017-10-23 Thread Levin, Alexander (Sasha Levin)
On Mon, Oct 09, 2017 at 09:36:56AM +0100, Mark Brown wrote: >On Sat, Oct 07, 2017 at 10:36:55PM +0000, Levin, Alexander (Sasha Levin) wrote: >> From: Matt Ranostay <matt@ranostay.consulting> >> >> [ Upstream commit 9834ffd1ecc3a401d0ce64c2d4235a726da6d4f9 ] >> >

Re: [PATCH review for 4.4 14/24] dmaengine: sun6i: allow build on ARM64 platforms (sun50i)

2017-10-23 Thread Levin, Alexander (Sasha Levin)
On Sun, Oct 08, 2017 at 10:27:45AM +0800, Icenowy Zheng wrote: > > >于 2017年10月8日 GMT+08:00 上午6:37:46, "Levin, Alexander (Sasha Levin)" ><alexander.le...@verizon.com> 写到: >>From: Icenowy Zheng <icen...@aosc.xyz> >> >>[ Upstream commit c429c

Re: [PATCH v2] net/sock: Update sk rcu iterator macro.

2017-10-23 Thread Levin, Alexander (Sasha Levin)
On Mon, Oct 23, 2017 at 11:39:22AM -0400, Tim Hansen wrote: >Mark hlist nodes in sk rcu iterator as protected by the rcu. >hlist_next_rcu accomplishes this and silences the warnings >sparse throws for net/ipv4/udp.c and net/ipv6/udp.c. > >Found with make C=1 net/ipv4/udp.o on linux-next tag

Re: [PATCH 3.10 000/139] 3.10.108-stable review

2017-11-04 Thread Levin, Alexander (Sasha Levin)
On Thu, Nov 02, 2017 at 07:12:00AM +0100, Willy Tarreau wrote: >Hi Guenter, > >On Wed, Nov 01, 2017 at 06:21:13PM -0700, Guenter Roeck wrote: >> drivers/s390/scsi/zfcp_scsi.c: In function 'zfcp_task_mgmt_function': >> drivers/s390/scsi/zfcp_scsi.c:298:4: error: too many arguments to function >>

Re: [PATCH AUTOSEL for 4.9 43/50] regulator: core: Don't use regulators as supplies until the parent is bound

2017-11-06 Thread Levin, Alexander (Sasha Levin)
On Wed, Oct 25, 2017 at 10:06:36AM +0200, Mark Brown wrote: >On Wed, Oct 25, 2017 at 01:56:02AM +0000, Levin, Alexander (Sasha Levin) wrote: > >> When regulators are successfully registered, we check to see if the >> regulator is a supply for any other registered regulator and if

Re: [PATCH AUTOSEL for-4.4 39/39] MIPS: Use Makefile.postlink to insert relocations into vmlinux

2017-11-09 Thread Levin, Alexander (Sasha Levin)
On Thu, Nov 09, 2017 at 09:16:44AM +, Matt Redfearn wrote: > > >On 08/11/17 20:50, Levin, Alexander (Sasha Levin) wrote: >>From: Matt Redfearn <matt.redfe...@imgtec.com> >> >>[ Upstream commit 44079d3509aee89c58f3e4fd929fa53ab2299019 ] >> >>

[PATCH AUTOSEL for-4.9 08/53] ARM: dts: Fix omap3 off mode pull defines

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit d97556c8012015901a3ce77f46960078139cd79d ] We need to also have OFFPULLUDENABLE bit set to use the off mode pull values. Otherwise the line is pulled down internally if no external pull exists. This is has some documentation at:

[PATCH AUTOSEL for-4.9 01/53] extcon: Remove potential problem when calling extcon_register_notifier()

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Chanwoo Choi [ Upstream commit 01b4c9a1ae07a25d208cad0da7dd288007a22984 ] This patch removes the potential problem of extcon_register_notifier() when edev parameter is NULL. When edev is NULL, this function returns the first extcon device which includes the

[PATCH AUTOSEL for-4.9 03/53] fm10k: request reset when mbx->state changes

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Ngai-Mint Kwan [ Upstream commit 2f3fc1e6200309ccf87f61dea56e57e563c4f800 ] Multiple IES API resets can cause a race condition where the mailbox interrupt request bits can be cleared before being handled. This can leave certain mailbox messages from the PF to be

[PATCH AUTOSEL for-4.9 05/53] ARM: dts: Fix compatible for ti81xx uarts for 8250

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit f62280efe8934a1275fd148ef302d1afec8cd3df ] When using 8250_omap driver, we need to specify the right compatible value for the UART to work on dm814x and dm816x. Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin

[PATCH AUTOSEL for-3.18 10/27] igb: Fix hw_dbg logging in igb_update_flash_i210

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Hannu Lounento [ Upstream commit 76ed5a8f47476e4984cc8c0c1bc4cee62650f7fd ] Fix an if statement with hw_dbg lines where the logic was inverted with regards to the corresponding return value used in the if statement. Signed-off-by: Hannu Lounento

[PATCH AUTOSEL for-3.18 06/27] ata: SATA_MV should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 62989cebd367a1aae1e009e1a5b1ec046a4c8fdc ] If NO_DMA=y: ERROR: "dma_pool_alloc" [drivers/ata/sata_mv.ko] undefined! ERROR: "dmam_pool_create" [drivers/ata/sata_mv.ko] undefined! ERROR: "dma_pool_free"

[PATCH AUTOSEL for-4.4 01/39] extcon: palmas: Check the parent instance to prevent the NULL

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Roger Quadros [ Upstream commit 9fe172b9be532acc23e35ba693700383ab775e66 ] extcon-palmas must be child of palmas and expects parent's drvdata to be valid. Check for non NULL parent drvdata and fail if it is NULL. Not doing so will result in a NULL pointer dereference later

[PATCH AUTOSEL for-4.4 13/39] igb: Fix hw_dbg logging in igb_update_flash_i210

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Hannu Lounento [ Upstream commit 76ed5a8f47476e4984cc8c0c1bc4cee62650f7fd ] Fix an if statement with hw_dbg lines where the logic was inverted with regards to the corresponding return value used in the if statement. Signed-off-by: Hannu Lounento

[PATCH AUTOSEL for-4.4 30/39] ixgbe: handle close/suspend race with netif_device_detach/present

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit f7f37e7ff2b9b7eff7fbd035569cab35896869a3 ] When an interface is part of a namespace it is possible that ixgbe_close() may be called while __ixgbe_shutdown() is running which ends up in a double free WARN and/or a BUG in

[PATCH AUTOSEL for-4.4 21/39] scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit e0165f20447c8ca1d367725ee94d8ec9f38ca275 ] Clear the VendorVersion in the PLOGI/PLOGI ACC payload Vendor version info may have been set on fabric login. Before sending PLOGI payloads, ensure that it's cleared. Signed-off-by: Dick

[PATCH AUTOSEL for-4.4 24/39] backlight: lcd: Fix race condition during register

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Uwe Kleine-König [ Upstream commit cc21942bce652d1a92dae85b785378256e1df1f7 ] Once device_register is called for a device its attributes might be accessed. As the callbacks of a lcd device's attributes make use of the lcd_ops, the respective member must be

[PATCH AUTOSEL for-4.4 29/39] ixgbe: fix AER error handling

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit 126db13fa0e6d05c9f94e0125f61e773bd5ab079 ] Make sure that we free the IRQs in ixgbe_io_error_detected() when responding to an PCIe AER error and also restore them when the interface recovers from it. Previously it was possible to

[PATCH AUTOSEL for-4.4 11/39] igb: reset the PHY before reading the PHY ID

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Aaron Sierra [ Upstream commit 182785335447957409282ca745aa5bc3968facee ] Several people have reported firmware leaving the I210/I211 PHY's page select register set to something other than the default of zero. This causes the first accesses, PHY_IDx register reads, to

[PATCH AUTOSEL for-4.4 23/39] ALSA: vx: Fix possible transfer overflow

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Takashi Iwai [ Upstream commit 874e1f6fad9a5184b67f4cee37c1335cd2cc5677 ] The pseudo DMA transfer codes in VX222 and VX-pocket driver have a slight bug where they check the buffer boundary wrongly, and may overflow. Also, the zero sample count might be handled badly for

[PATCH AUTOSEL for-4.4 08/39] ata: SATA_HIGHBANK should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 2a736e0585e585c2566b5119af8381910a170e44 ] If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/ata/sata_highbank.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven

[PATCH AUTOSEL for-4.4 16/39] staging: rtl8188eu: fix incorrect ERROR tags from logs

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Galo Navarro [ Upstream commit 401579c22ccbcb54244494069973e64b1fe980d2 ] Several lifecycle events in the rtl8188eu driver are logged using the DBG_88E_LEVEL macro from rtw_debug.h, which is tagged as ERROR regardless of the actual level. Below are dmesg excerpts

[PATCH AUTOSEL for-4.4 18/39] scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 104450eb08ca662e6b1d02da11aca9598e978f3e ] FCoE VPort enable-disable does not bring up the VPort. VPI structure needed to be initialized before being re-registered. Signed-off-by: Dick Kennedy

[PATCH AUTOSEL for-4.9 12/53] ata: SATA_MV should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 62989cebd367a1aae1e009e1a5b1ec046a4c8fdc ] If NO_DMA=y: ERROR: "dma_pool_alloc" [drivers/ata/sata_mv.ko] undefined! ERROR: "dmam_pool_create" [drivers/ata/sata_mv.ko] undefined! ERROR: "dma_pool_free"

[PATCH AUTOSEL for-4.9 02/53] extcon: palmas: Check the parent instance to prevent the NULL

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Roger Quadros [ Upstream commit 9fe172b9be532acc23e35ba693700383ab775e66 ] extcon-palmas must be child of palmas and expects parent's drvdata to be valid. Check for non NULL parent drvdata and fail if it is NULL. Not doing so will result in a NULL pointer dereference later

[PATCH AUTOSEL for-4.4 32/39] ixgbe: add mask for 64 RSS queues

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit 2bf1a87b903bd81b1448a1cef73de59fb6c4d340 ] The indirection table was reported incorrectly for X550 and newer where we can support up to 64 RSS queues. Reported-by Krishneil Singh Signed-off-by: Emil

[PATCH AUTOSEL for-4.4 36/39] MIPS: init: Ensure bootmem does not corrupt reserved memory

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Marcin Nowakowski [ Upstream commit d9b5b658210f28ed9f70c757d553e679d76e2986 ] Current init code initialises bootmem allocator with all of the low memory that it assumes is available, but does not check for reserved memory block, which can lead to corruption

[PATCH AUTOSEL for-4.4 35/39] MIPS: End asm function prologue macros with .insn

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 08889582b8aa0bbc01a1e5a0033b9f98d2e11caa ] When building a kernel targeting a microMIPS ISA, recent GNU linkers will fail the link if they cannot determine that the target of a branch or jump is microMIPS code, with errors such as the

[PATCH AUTOSEL for-4.4 33/39] ixgbe: do not disable FEC from the driver

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit 1fe954b2097bb907b4578e6a74e4c1d23785a601 ] FEC is configured by the NVM and the driver should not be overriding it. Signed-off-by: Emil Tantilov Tested-by: Krishneil Singh

[PATCH AUTOSEL for-4.4 09/39] ata: SATA_MV should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 62989cebd367a1aae1e009e1a5b1ec046a4c8fdc ] If NO_DMA=y: ERROR: "dma_pool_alloc" [drivers/ata/sata_mv.ko] undefined! ERROR: "dmam_pool_create" [drivers/ata/sata_mv.ko] undefined! ERROR: "dma_pool_free"

[PATCH AUTOSEL for-3.18 17/27] ALSA: vx: Fix possible transfer overflow

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Takashi Iwai [ Upstream commit 874e1f6fad9a5184b67f4cee37c1335cd2cc5677 ] The pseudo DMA transfer codes in VX222 and VX-pocket driver have a slight bug where they check the buffer boundary wrongly, and may overflow. Also, the zero sample count might be handled badly for

[PATCH AUTOSEL for-3.18 14/27] scsi: lpfc: Correct host name in symbolic_name field

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 6c9231f604c2575be24c96d38deb70f145172f92 ] Correct host name in symbolic_name field of nameserver registrations Signed-off-by: Dick Kennedy Signed-off-by: James Smart

[PATCH AUTOSEL for-4.4 12/39] igb: close/suspend race in netif_device_detach

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Todd Fujinaka [ Upstream commit 9474933caf21a4cb5147223dca1551f527aaac36 ] Similar to ixgbe, when an interface is part of a namespace it is possible that igb_close() may be called while __igb_shutdown() is running which ends up in a double free WARN and/or a BUG

[PATCH AUTOSEL for-4.4 17/39] scsi: lpfc: Add missing memory barrier

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 6b3b3bdb83b4ad51252d21bb13596db879e51850 ] On loosely ordered memory systems (PPC for example), the WQE elements were being updated in memory, but not necessarily flushed before the separate doorbell was written to hw which would

[PATCH AUTOSEL for-4.9 44/53] ixgbe: do not disable FEC from the driver

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit 1fe954b2097bb907b4578e6a74e4c1d23785a601 ] FEC is configured by the NVM and the driver should not be overriding it. Signed-off-by: Emil Tantilov Tested-by: Krishneil Singh

[PATCH AUTOSEL for-4.9 09/53] ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit e13a22a406f20322651b8c0847f4210bdef246d1 ] Note that with 9730 the wiring is different compared to 9514 found on beagleboard xm for example. On beagleboard xm we have: /sys/bus/usb/devices/1-2hub /sys/bus/usb/devices/1-2.1

[PATCH AUTOSEL for-4.9 41/53] ixgbe: Fix reporting of 100Mb capability

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Nguyen [ Upstream commit f215266470dfe86196a31fe0725a86cea77f9a18 ] BaseT adapters that are capable of supporting 100Mb are not reporting this capability. This patch corrects the reporting so that 100Mb is shown as supported on those adapters.

[PATCH AUTOSEL for-4.9 40/53] ixgbe: handle close/suspend race with netif_device_detach/present

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit f7f37e7ff2b9b7eff7fbd035569cab35896869a3 ] When an interface is part of a namespace it is possible that ixgbe_close() may be called while __ixgbe_shutdown() is running which ends up in a double free WARN and/or a BUG in

[PATCH AUTOSEL for-4.9 11/53] ata: SATA_HIGHBANK should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 2a736e0585e585c2566b5119af8381910a170e44 ] If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/ata/sata_highbank.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven

[PATCH AUTOSEL for-4.9 18/53] scsi: ufs: add capability to keep auto bkops always enabled

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: "subha...@codeaurora.org" [ Upstream commit 4e768e7645ec4ffa92ee163643777b261ae97142 ] UFS device requires to perform bkops (back ground operations) periodically but host can control (via auto-bkops parameter of device) when device can perform bkops based on its

[PATCH AUTOSEL for-4.9 06/53] ARM: dts: Fix am335x and dm814x scm syscon to probe children

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit 1aa09df0854efe16b7a80358a18f0a0bebafd246 ] Without these changes children of the scn syscon won't probe. Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL for-4.9 04/53] spi: imx: adjust watermark level according to transfer length

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Jiada Wang [ Upstream commit 66459c5a50a787c474b734b586328f7111ab6df0 ] Previously DMA watermark level is configured to fifosize/2, DMA mode can be used only when transfer length can be divided by 'watermark level * bpw', which makes DMA mode not pratical. This

[PATCH AUTOSEL for-4.9 39/53] ixgbe: fix AER error handling

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit 126db13fa0e6d05c9f94e0125f61e773bd5ab079 ] Make sure that we free the IRQs in ixgbe_io_error_detected() when responding to an PCIe AER error and also restore them when the interface recovers from it. Previously it was possible to

[PATCH AUTOSEL for-4.4 38/39] MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 9799270affc53414da96e77e454a5616b39cdab0 ] Code in arch/mips/netlogic/common/irq.c which handles the XLP PIC fails to build in XLR configurations due to cpu_is_xlp9xx not being defined, leading to the following build failure:

[PATCH AUTOSEL for-4.4 19/39] scsi: lpfc: Correct host name in symbolic_name field

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 6c9231f604c2575be24c96d38deb70f145172f92 ] Correct host name in symbolic_name field of nameserver registrations Signed-off-by: Dick Kennedy Signed-off-by: James Smart

[PATCH AUTOSEL for-3.18 23/27] MIPS: End asm function prologue macros with .insn

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 08889582b8aa0bbc01a1e5a0033b9f98d2e11caa ] When building a kernel targeting a microMIPS ISA, recent GNU linkers will fail the link if they cannot determine that the target of a branch or jump is microMIPS code, with errors such as the

[PATCH AUTOSEL for-3.18 01/27] extcon: palmas: Check the parent instance to prevent the NULL

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Roger Quadros [ Upstream commit 9fe172b9be532acc23e35ba693700383ab775e66 ] extcon-palmas must be child of palmas and expects parent's drvdata to be valid. Check for non NULL parent drvdata and fail if it is NULL. Not doing so will result in a NULL pointer dereference later

[PATCH AUTOSEL for-3.18 05/27] ata: SATA_HIGHBANK should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 2a736e0585e585c2566b5119af8381910a170e44 ] If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/ata/sata_highbank.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven

[PATCH AUTOSEL for-3.18 04/27] ata: ATA_BMDMA should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 7bc7ab1e63dfe004931502f90ce7020e375623da ] If NO_DMA=y: ERROR: "dmam_alloc_coherent" [drivers/ata/libata.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven

[PATCH AUTOSEL for-3.18 13/27] scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 104450eb08ca662e6b1d02da11aca9598e978f3e ] FCoE VPort enable-disable does not bring up the VPort. VPI structure needed to be initialized before being re-registered. Signed-off-by: Dick Kennedy

[PATCH AUTOSEL for-4.4 04/39] ARM: dts: Fix am335x and dm814x scm syscon to probe children

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit 1aa09df0854efe16b7a80358a18f0a0bebafd246 ] Without these changes children of the scn syscon won't probe. Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL for-4.4 07/39] ata: ATA_BMDMA should depend on HAS_DMA

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Geert Uytterhoeven [ Upstream commit 7bc7ab1e63dfe004931502f90ce7020e375623da ] If NO_DMA=y: ERROR: "dmam_alloc_coherent" [drivers/ata/libata.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven

[PATCH AUTOSEL for-4.4 22/39] ALSA: vx: Don't try to update capture stream before running

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Takashi Iwai [ Upstream commit ed3c177d960bb5881b945ca6f784868126bb90db ] The update of stream costs significantly, and we should avoid it unless the stream really has started. Check pipe->running flag instead of pipe->prepared. Signed-off-by: Takashi Iwai

[PATCH AUTOSEL for-4.4 05/39] ARM: OMAP2+: Fix init for multiple quirks for the same SoC

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit 6e613ebf4405fc09e2a8c16ed193b47f80a3cbed ] It's possible that there are multiple quirks that need to be initialized for the same SoC. Fix the issue by not returning on the first match. Signed-off-by: Tony Lindgren

Re: [PATCH AUTOSEL for-4.9 04/53] spi: imx: adjust watermark level according to transfer length

2017-11-08 Thread Levin, Alexander (Sasha Levin)
On Wed, Nov 08, 2017 at 08:57:52PM +, Mark Brown wrote: >On Wed, Nov 08, 2017 at 08:49:55PM +0000, Levin, Alexander (Sasha Levin) wrote: >> From: Jiada Wang <jiada_w...@mentor.com> >> >> [ Upstream commit 66459c5a50a787c474b734b586328f7111ab6df0 ] >>

[PATCH AUTOSEL for-3.18 12/27] scsi: lpfc: Add missing memory barrier

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 6b3b3bdb83b4ad51252d21bb13596db879e51850 ] On loosely ordered memory systems (PPC for example), the WQE elements were being updated in memory, but not necessarily flushed before the separate doorbell was written to hw which would

[PATCH AUTOSEL for-4.9 38/53] ixgbe: Configure advertised speeds correctly for KR/KX backplane

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Don Skidmore [ Upstream commit 54f6d4c42451dbd2cc7e0f0bd8fc3eddcab511fe ] This patch ensures that the advertised link speeds are configured for X553 KR/KX backplane. Without this patch the link remains at 1G when resuming from low power after being

[PATCH AUTOSEL for-4.9 07/53] ARM: OMAP2+: Fix init for multiple quirks for the same SoC

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Tony Lindgren [ Upstream commit 6e613ebf4405fc09e2a8c16ed193b47f80a3cbed ] It's possible that there are multiple quirks that need to be initialized for the same SoC. Fix the issue by not returning on the first match. Signed-off-by: Tony Lindgren

[PATCH AUTOSEL for-4.9 13/53] drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit 1ae0d5af347df224a6e76334683f13a96d915a44 ] Here, If devm_ioremap_nocache will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind

[PATCH AUTOSEL for-4.9 19/53] tcp: provide timestamps for partial writes

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Soheil Hassas Yeganeh [ Upstream commit ad02c4f547826167a709dab8a89a1caefd2c1f50 ] For TCP sockets, TX timestamps are only captured when the user data is successfully and fully written to the socket. In many cases, however, TCP writes can be partial for which no

[PATCH AUTOSEL for-4.9 20/53] staging: rtl8188eu: fix incorrect ERROR tags from logs

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Galo Navarro [ Upstream commit 401579c22ccbcb54244494069973e64b1fe980d2 ] Several lifecycle events in the rtl8188eu driver are logged using the DBG_88E_LEVEL macro from rtw_debug.h, which is tagged as ERROR regardless of the actual level. Below are dmesg excerpts

Re: [PATCH AUTOSEL for-4.9 04/53] spi: imx: adjust watermark level according to transfer length

2017-11-08 Thread Levin, Alexander (Sasha Levin)
On Wed, Nov 08, 2017 at 10:11:02PM +, Mark Brown wrote: >On Wed, Nov 08, 2017 at 09:39:11PM +0000, Levin, Alexander (Sasha Levin) wrote: >> >On Wed, Nov 08, 2017 at 08:49:55PM +0000, Levin, Alexander (Sasha Levin) >> >wrote: >> >This seems like an optimiz

Re: [PATCH AUTOSEL for-4.9 04/53] spi: imx: adjust watermark level according to transfer length

2017-11-08 Thread Levin, Alexander (Sasha Levin)
On Wed, Nov 08, 2017 at 11:11:11PM +, Mark Brown wrote: >On Wed, Nov 08, 2017 at 10:48:14PM +0000, Levin, Alexander (Sasha Levin) wrote: >> On Wed, Nov 08, 2017 at 10:11:02PM +, Mark Brown wrote: > >> >expose problems if we start using it. If you look at the hist

[PATCH AUTOSEL for-3.18 16/27] ALSA: vx: Don't try to update capture stream before running

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Takashi Iwai [ Upstream commit ed3c177d960bb5881b945ca6f784868126bb90db ] The update of stream costs significantly, and we should avoid it unless the stream really has started. Check pipe->running flag instead of pipe->prepared. Signed-off-by: Takashi Iwai

[PATCH AUTOSEL for-3.18 08/27] igb: reset the PHY before reading the PHY ID

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Aaron Sierra [ Upstream commit 182785335447957409282ca745aa5bc3968facee ] Several people have reported firmware leaving the I210/I211 PHY's page select register set to something other than the default of zero. This causes the first accesses, PHY_IDx register reads, to

[PATCH AUTOSEL for-3.18 19/27] backlight: adp5520: Fix error handling in adp5520_bl_probe()

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Alexey Khoroshilov [ Upstream commit 0eb3fba8c68275f0122f65f7316efaaf86448016 ] If adp5520_bl_setup() fails, sysfs group left unremoved. By the way, fix overcomplicated assignement of error code. Found by Linux Driver Verification project (linuxtesting.org).

[PATCH AUTOSEL for-3.18 27/27] MIPS: Use Makefile.postlink to insert relocations into vmlinux

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Matt Redfearn [ Upstream commit 44079d3509aee89c58f3e4fd929fa53ab2299019 ] When relocatable support for MIPS was merged, there was no support for an architecture to add a postlink step for vmlinux. This meant that only invoking a target within the boot directory,

[PATCH AUTOSEL for-3.18 22/27] ixgbe: handle close/suspend race with netif_device_detach/present

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Emil Tantilov [ Upstream commit f7f37e7ff2b9b7eff7fbd035569cab35896869a3 ] When an interface is part of a namespace it is possible that ixgbe_close() may be called while __ixgbe_shutdown() is running which ends up in a double free WARN and/or a BUG in

[PATCH AUTOSEL for-3.18 20/27] gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit 4b0ea93f250afc6c1128e201b0a8a115ae613e47 ] Here, pci_iomap can fail, handle this case and return -ENOMEM. Signed-off-by: Arvind Yadav Signed-off-by: Daniel Vetter Link:

[PATCH AUTOSEL for-3.18 25/27] MIPS: init: Ensure reserved memory regions are not added to bootmem

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Marcin Nowakowski [ Upstream commit e89ef66d7682f031f026eee6bba03c8c2248d2a9 ] Memories managed through boot_mem_map are generally expected to define non-crossing areas. However, if part of a larger memory block is marked as reserved, it would still be added

[PATCH AUTOSEL for-4.9 24/53] scsi: lpfc: Correct host name in symbolic_name field

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 6c9231f604c2575be24c96d38deb70f145172f92 ] Correct host name in symbolic_name field of nameserver registrations Signed-off-by: Dick Kennedy Signed-off-by: James Smart

[PATCH AUTOSEL for-4.9 32/53] drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Jarkko Nikula [ Upstream commit 42f7f3c4811b3149253ecf2e133832c969884466 ] Add module alias for Sony ACX565AKM LCD panel. This makes it probe on Nokia N900 when panel driver is built as a module. Signed-off-by: Jarkko Nikula

[PATCH AUTOSEL for-4.9 28/53] power: supply: axp288_fuel_gauge: Read 15 bit values 2 registers at a time

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 4949fc5e071f8e8d8122e0b16cf6a2ec1ca36258 ] In order for the MSB -> LSB latching to work correctly we must read the 2 8 bit registers of a 15 bit value in one consecutive read. This fixes charge_full reporting 3498768 on some reads and

[PATCH AUTOSEL for-4.9 23/53] scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: James Smart [ Upstream commit 104450eb08ca662e6b1d02da11aca9598e978f3e ] FCoE VPort enable-disable does not bring up the VPort. VPI structure needed to be initialized before being re-registered. Signed-off-by: Dick Kennedy

[PATCH AUTOSEL for-4.9 30/53] ALSA: vx: Don't try to update capture stream before running

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Takashi Iwai [ Upstream commit ed3c177d960bb5881b945ca6f784868126bb90db ] The update of stream costs significantly, and we should avoid it unless the stream really has started. Check pipe->running flag instead of pipe->prepared. Signed-off-by: Takashi Iwai

[PATCH AUTOSEL for-4.9 29/53] power: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 248efcf00602f0282587999bcc221a872bd72530 ] In order for the MSB -> LSB latching to work correctly we must read the 2 8 bit registers of a 12 bit value in one consecutive read. This fixes voltage_ocv reporting inconsistent values on my

[PATCH AUTOSEL for-4.9 48/53] MIPS: End asm function prologue macros with .insn

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 08889582b8aa0bbc01a1e5a0033b9f98d2e11caa ] When building a kernel targeting a microMIPS ISA, recent GNU linkers will fail the link if they cannot determine that the target of a branch or jump is microMIPS code, with errors such as the

[PATCH AUTOSEL for-4.9 21/53] x86/irq, trace: Add __irq_entry annotation to x86's platform IRQ handlers

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Daniel Bristot de Oliveira [ Upstream commit c4158ff536439619fa342810cc575ae2c809f03f ] This patch adds the __irq_entry annotation to the default x86 platform IRQ handlers. ftrace's function_graph tracer uses the __irq_entry annotation to notify the entry and return of

[PATCH AUTOSEL for-4.9 45/53] staging: rtl8712: fixed little endian problem

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Jannik Becher [ Upstream commit 502c80744fcac6b16f28699469c70db499fe2f69 ] Fixed a sparse warning. Using function le16_to_cpus() to avoid double assignment. Signed-off-by: Jannik Becher Tested-by: Larry Finger

[PATCH AUTOSEL for-4.9 46/53] staging: wilc1000: Fix endian sparse warning

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Mike Kofron [ Upstream commit 94500d5667386119c27725fe314f6882f68580a9 ] drivers/staging/wilc1000/linux_wlan.c:995:18: warning: restricted __be16 degrades to integer Signed-off-by: Mike Kofron Signed-off-by: Greg Kroah-Hartman

[PATCH AUTOSEL for-4.9 52/53] MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds

2017-11-08 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 9799270affc53414da96e77e454a5616b39cdab0 ] Code in arch/mips/netlogic/common/irq.c which handles the XLP PIC fails to build in XLR configurations due to cpu_is_xlp9xx not being defined, leading to the following build failure:

<    3   4   5   6   7   8   9   10   11   12   >