[PATCH v2 21/37] ARM: tegra: colibri_t20: iris: add dr_mode property

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add dr_mode property to the USB controller. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts

[PATCH v2 16/37] ARM: tegra: colibri_t20: iris: display controller rgb panel support

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add display controller parallel RGB panel support incl. backlight PWM. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 31 ++ 1 file changed, 31 insertions(+) diff --git

[PATCH v2 08/37] ARM: tegra: colibri_t20: regulator clean-up

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Just cosmetic regulator clean-up. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 20 ++-- arch/arm/boot/dts/tegra20-colibri.dtsi | 147 +++-- 2 files changed, 66 insertions(+), 101

[PATCH v2 22/37] ARM: tegra: colibri_t20: annotate/rename lm95245 temperature sensor

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Rename and annotate LM95245 temperature sensor more in-line with our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 06/37] ARM: tegra: colibri_t20: reorder host1x/hdmi properties

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder Host1x/HDMI properties. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi

[PATCH v2 07/37] ARM: tegra: colibri_t20: iris: use no-1-8-v

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Use no-1-8-v property rather than vmmc/vqmmc supplies and drop now obsolete and anyway non-existent vcc_sd. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 13 + 1 file changed, 1 insertion(+), 12

[PATCH v2 32/37] ARM: tegra: colibri_t20: rename i2c_ddc to hdmi_ddc

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Rename i2c_ddc to hdmi_ddc to be more in-line with other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch. arch/arm/boot/dts/tegra20-colibri.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 15/37] ARM: tegra: colibri_t20: add missing pinmux

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Explicitly add pinmux' for all T20 SoC ball groups now: - Colibri Address/Data Bus (GMI) further pins used as GPIOs - Colibri BL_ON - Colibri EXT_IO* - Colibri L_BIAS, LCD_M1 is muxed with LCD_DE today's display need DE, disable LCD_M1 - more Colibri LCD pins (L_* resp.

[PATCH v2 20/37] ARM: tegra: colibri_t20: iris: add gpio wakeup key

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add SODIMM pin 45 as GPIO wakeup key. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts

[PATCH v2 05/37] ARM: tegra: colibri_t20: add local-mac-address property

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add empty local-mac-address property to be filled in by boot loader (e.g. U-Boot). Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH v2 23/37] ARM: tegra: colibri_t20: add i2c-thermtrip

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add i2c-thermtrip which would set the SLEEP MODE bit in the SUPPLYENE register of the TPS658643 PMIC. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 10/37] ARM: tegra: colibri_t20: annotate usb ehci instances

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate USB EHCI instances. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ arch/arm/boot/dts/tegra20-colibri.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git

[PATCH v2 37/37] ARM: tegra: colibri_t20: add eval board device tree

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add an evaluation board device tree more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Updated evaluation board device tree with all applicable previous fixes. - Also reflect this addition in the device tree bindings

[PATCH v2 28/37] ARM: tegra: colibri_t20: simplify model and compatible properties

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Simplify model and compatible by dropping the 256/512 MB from the model and -512 from the compatible properties to be more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also reflect this change in the Iris device tree. -

[PATCH v2 31/37] ARM: tegra: colibri_t20: drop module level model and compatible

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop model and compatible nodes from the module level device tree as they get overridden by the carrier board device tree anyway. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch as suggested by Rob. arch/arm/boot/dts/tegra20-colibri.dtsi | 3 --- 1 file

[PATCH v2 17/37] ARM: tegra: colibri_t20: iris: annotate uarts

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate UART-A and UART-B. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts

[PATCH v2 25/37] ARM: tegra: colibri_t20: add gpio hogs for gmi_wr_n buffers

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add GPIO hogs for GMI_WR_N buffers: - tri-stating GMI_WR_N on SODIMM pin 99 nPWE - not tri-stating GMI_WR_N on SODIMM pin 93 RDnWR Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 16 1 file changed, 16

[PATCH v2 36/37] ARM: tegra: colibri_t20: rename ac97 label to tegra_ac97

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Rename ac97 label to tegra_ac97 to be more in-line with the device tree binding documentation. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 33/37] ARM: tegra: colibri_t20: iris: drop unused i2c_ddc label

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop unused i2c_ddc label. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts

[PATCH v2 34/37] ARM: tegra: colibri_t20: rename tps6586x@34 and drop unused pmic label

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Rename tps6586x@34 to pmic@34 and drop the unused pmic label. Signed-off-by: Marcel Ziswiler --- Changes in v2: - New patch as suggested by Rob. arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 +- arch/arm/boot/dts/tegra20-colibri.dtsi | 2 +- 2 files changed, 2

[PATCH v2 35/37] ARM: tegra: colibri_t20: get rid of fake clocks simple bus

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Get rid of the fake clocks simple bus and use node names as per the actual schematics. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Get rid of fake clocks simple bus as suggested by Rob. arch/arm/boot/dts/tegra20-colibri.dtsi | 15 --- 1 file

[PATCH v2 29/37] ARM: tegra: colibri_t20: iris: simplify model and compatible properties

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Simplify model and compatible by dropping the 256/512 MB from the model, -512 from the compatible and rename that property from toradex,iris to toradex,colibri_t20-iris to be more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2:

[PATCH v2 24/37] ARM: tegra: colibri_t20: add gpio hog to unreset usb ethernet chip

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also replace underscores in node name with dashes. arch/arm/boot/dts/tegra20-colibri.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v2 27/37] ARM: tegra: colibri_t20: add compatibility comment

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add compatibility comment. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index

[PATCH v2 26/37] ARM: tegra: colibri_t20: annotate/move sd card detect

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate the SD card, its detect pin and move the SD card detect GPIO definition from the module to the carrier board more in-line with our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++

[PATCH v2 19/37] ARM: tegra: colibri_t20: use high speed uart driver

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Use high speed UART driver compatible nvidia,tegra20-hsuart. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi

[PATCH v2 14/37] ARM: tegra: colibri_t20: pinmux clean-up

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Just cosmetic pinmux clean-up. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Also replace underscores in node names with dashes. arch/arm/boot/dts/tegra20-colibri-iris.dts | 10 +- arch/arm/boot/dts/tegra20-colibri.dtsi | 287 -

[PATCH v2 18/37] ARM: tegra: colibri_t20: iris: add uart-c

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add UART-C. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts b/arch/arm/boot/dts/tegra20-colibri-iris.dts index

[PATCH v2 11/37] ARM: tegra: colibri_t20: remove phy-reset-gpio from controller node

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Remove the phy-reset-gpio from the USB controller node as it is already specified in the PHY node. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v2 13/37] ARM: tegra: colibri_t20: update sound nvidia,model

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Update sound nvidia,model to be more in-line with our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 12/37] ARM: tegra: colibri_t20: indentation/line-feed/white-space clean-up

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Cleaning up indentation, line-feed and white-space. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri.dtsi | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git

[PATCH v2 09/37] ARM: tegra: colibri_t20: add missing regulators

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add missing regulators: - reg_lan_v_bus being USB Ethernet chip vbus supply - carrier board reg_3v3 to be used as backlight and panel power supply - carrier board HDMI supply being reg_5v0 - reg_usbc_vbus being the USB vbus supply of the EHCI instance 0 Signed-off-by:

[PATCH v2 00/37] ARM: dts: tegra: colibri_t20: major revamp incl. eval board support

2018-09-02 Thread Marcel Ziswiler
This series is a major overhaul and adds support for the Colibri Evaluation Board device tree. Changes in v2: - Fix commit message which was mixed up between "[PATCH 03/31] ARM: tegra: colibri_t20: iris: annotate i2c busses" and "[PATCH 04/31] ARM: tegra: colibri_t20: iris: add missing

[PATCH v2 02/37] ARM: tegra: colibri_t20: iris: integrate i2c real time clock support

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Integrate support for GEN1_I2C aka I2C_SDA/SCL on SODIMM pin 194/196 and the M41T0M6 real time clock on the carrier board. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 15 +++ 1 file changed, 15

[PATCH v2 04/37] ARM: tegra: colibri_t20: iris: annotate i2c busses

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Annotate I2C busses: GEN2_I2C and CAM_I2C (I2C3) being unused and DDC_CLOCK/DATA on X3 pin 15/16 e.g. used for display EDID. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Fix commit message which was mixed up between "[PATCH 03/31] ARM: tegra: colibri_t20: iris:

[PATCH v2 01/37] ARM: tegra: colibri_t20: move aliases from module to carrier board

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Move RTC aliases from module to carrier board to be more in-line with all our other device trees. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 2 ++ arch/arm/boot/dts/tegra20-colibri.dtsi | 5 - 2 files

[PATCH v2 03/37] ARM: tegra: colibri_t20: iris: add missing aliases

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add rtc0 being the ultra low-power I2C one as found on the carrier board and the 3rd UART being NVIDIA's UARTB. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Fix commit message which was mixed up between "[PATCH 03/31] ARM: tegra: colibri_t20: iris: annotate i2c

Recent removal of bsg read/write support

2018-09-02 Thread Dror Levin
Note: I am not subscribed to LKML so please CC replies to this email. Hi, We have an internal tool that uses the bsg read/write interface to issue SCSI commands as part of a test suite for a storage device. After recently reading on LWN that this interface is to be removed we tried porting our

[tip:x86/microcode] x86/microcode: Make revision and processor flags world-readable

2018-09-02 Thread tip-bot for Jacek Tomaka
Commit-ID: f4661d293eb2d01dfc742982761a36fafe456d46 Gitweb: https://git.kernel.org/tip/f4661d293eb2d01dfc742982761a36fafe456d46 Author: Jacek Tomaka AuthorDate: Sat, 25 Aug 2018 11:50:39 +0800 Committer: Thomas Gleixner CommitDate: Sun, 2 Sep 2018 14:09:13 +0200 x86/microcode: Make

[tip:x86/urgent] x86/microcode: Make sure boot_cpu_data.microcode is up-to-date

2018-09-02 Thread tip-bot for Prarit Bhargava
Commit-ID: 370a132bb2227ff76278f98370e0e701d86ff752 Gitweb: https://git.kernel.org/tip/370a132bb2227ff76278f98370e0e701d86ff752 Author: Prarit Bhargava AuthorDate: Tue, 31 Jul 2018 07:27:39 -0400 Committer: Thomas Gleixner CommitDate: Sun, 2 Sep 2018 14:10:54 +0200 x86/microcode: Make

[tip:x86/urgent] x86/microcode: Update the new microcode revision unconditionally

2018-09-02 Thread tip-bot for Filippo Sironi
Commit-ID: 8da38ebaad23fe1b0c4a205438676f6356607cfc Gitweb: https://git.kernel.org/tip/8da38ebaad23fe1b0c4a205438676f6356607cfc Author: Filippo Sironi AuthorDate: Tue, 31 Jul 2018 17:29:30 +0200 Committer: Thomas Gleixner CommitDate: Sun, 2 Sep 2018 14:10:54 +0200 x86/microcode:

[PATCH AUTOSEL 4.18 001/131] tc-testing: flush gact actions on test teardown

2018-09-02 Thread Sasha Levin
From: Vlad Buslov [ Upstream commit 0c62f8a820b7fdeacf5ad9f9e24b53043d372c97 ] Test 6fb4 creates one mirred and one pipe action, but only flushes mirred on teardown. Leaking pipe action causes failures in other tests. Add additional teardown command to also flush gact actions. Signed-off-by:

[PATCH AUTOSEL 4.18 003/131] misc: mic: SCIF Fix scif_get_new_port() error handling

2018-09-02 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit a39284ae9d2ad09975c8ae33f1bd0f05fbfbf6ee ] There are only 2 callers of scif_get_new_port() and both appear to get the error handling wrong. Both treat zero returns as error, but it actually returns negative error codes and >= 0 on success. Fixes:

[PATCH AUTOSEL 4.18 020/131] blk-mq: fix updating tags depth

2018-09-02 Thread Sasha Levin
From: Ming Lei [ Upstream commit 75d6e175fc511e95ae3eb8f708680133bc211ed3 ] The passed 'nr' from userspace represents the total depth, meantime inside 'struct blk_mq_tags', 'nr_tags' stores the total tag depth, and 'nr_reserved_tags' stores the reserved part. There are two issues in

[PATCH AUTOSEL 4.18 004/131] ALSA: hda/realtek - Add mute LED quirk for HP Spectre x360

2018-09-02 Thread Sasha Levin
From: Alexandru Gagniuc [ Upstream commit 56e40eb6d656194e55ce2012fee9d5a496270aaa ] This device has the same issues as the HP x360 wrt the MUTE LED and the front speakers not working. This patch fixes the MUTE LED issue, but doesn't touch the HDA verbs. The fix for the x360 does not work on

[PATCH AUTOSEL 4.18 009/131] gpio: tegra: Move driver registration to subsys_init level

2018-09-02 Thread Sasha Levin
From: Dmitry Osipenko [ Upstream commit 40b25bce0adbe641a744d1291bc0e51fb7f3c3d8 ] There is a bug in regards to deferred probing within the drivers core that causes GPIO-driver to suspend after its users. The bug appears if GPIO-driver probe is getting deferred, which happens after introducing

[PATCH AUTOSEL 4.18 018/131] scsi: qla2xxx: Silent erroneous message

2018-09-02 Thread Sasha Levin
From: Quinn Tran [ Upstream commit 3f915271b12e11183c606bed1c3dfff0983662d3 ] Driver uses shadow pointer instead of Mirror pointer for firmware dump collection. Skip those entries for Mirror pointers for Request/Response queue from firmware dump template reading. Following messages are printed

[PATCH AUTOSEL 4.18 049/131] perf evlist: Fix error out while applying initial delay and LBR

2018-09-02 Thread Sasha Levin
From: Kan Liang [ Upstream commit 95035c5e167ae6e740b1ddd30210ae0eaf39a5db ] 'perf record' will error out if both --delay and LBR are applied. For example: # perf record -D 1000 -a -e cycles -j any -- sleep 2 Error: dummy:HG: PMU Hardware doesn't support sampling/overflow-interrupts.

[PATCH AUTOSEL 4.18 051/131] macintosh/via-pmu: Add missing mmio accessors

2018-09-02 Thread Sasha Levin
From: Finn Thain [ Upstream commit 576d5290d678a651b9f36050fc1717e0573aca13 ] Add missing in_8() accessors to init_pmu() and pmu_sr_intr(). This fixes several sparse warnings: drivers/macintosh/via-pmu.c:536:29: warning: dereference of noderef expression drivers/macintosh/via-pmu.c:537:33:

[PATCH AUTOSEL 4.18 052/131] perf build: Fix installation directory for eBPF

2018-09-02 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 83868bf71d2eb7700b37f1ea188007f0125e4ee4 ] The perf tool build and install is controlled via a Makefile. The 'install' rule creates directories and copies files. Among them are header files installed in /usr/lib/include/perf/bpf/. However all listed

[PATCH AUTOSEL 4.18 047/131] perf c2c report: Fix crash for empty browser

2018-09-02 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 73978332572ccf5e364c31e9a70ba953f8202b46 ] 'perf c2c' scans read/write accesses and tries to find false sharing cases, so when the events it wants were not asked for or ended up not taking place, we get no histograms. So do not try to display entry details if

[PATCH AUTOSEL 4.18 010/131] powerpc/powernv: Fix concurrency issue with npu->mmio_atsd_usage

2018-09-02 Thread Sasha Levin
From: Reza Arbab [ Upstream commit 9eab9901b015f489199105c470de1ffc337cfabb ] We've encountered a performance issue when multiple processors stress {get,put}_mmio_atsd_reg(). These functions contend for mmio_atsd_usage, an unsigned long used as a bitmask. The accesses to mmio_atsd_usage are

[PATCH AUTOSEL 4.18 023/131] media: usbtv: use irqsave() in USB's complete callback

2018-09-02 Thread Sasha Levin
From: Sebastian Andrzej Siewior [ Upstream commit 320905baa1dbddd3991c287432176d536e1d5b79 ] The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the

[PATCH AUTOSEL 4.18 053/131] ath9k: report tx status on EOSP

2018-09-02 Thread Sasha Levin
From: Felix Fietkau [ Upstream commit 36e14a787dd0b459760de3622e9709edb745a6af ] Fixes missed indications of end of U-APSD service period to mac80211 Signed-off-by: Felix Fietkau Signed-off-by: Kalle Valo Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/ath9k/xmit.c | 3 ++- 1 file

[PATCH AUTOSEL 4.18 017/131] scsi: qla2xxx: Fix session state stuck in Get Port DB

2018-09-02 Thread Sasha Levin
From: Quinn Tran [ Upstream commit 8fde6977ac478c00eeb2beccfdd4a6ad44219f6c ] This patch sets discovery state back to GNL (Get Name List) when session is stuck at GPDB (Get Port DataBase). This will allow state machine to retry login and move session state ahead in discovery. Signed-off-by:

[PATCH AUTOSEL 4.18 022/131] scsi: target: fix __transport_register_session locking

2018-09-02 Thread Sasha Levin
From: Mike Christie [ Upstream commit 6a64f6e1591322beb8ce16e952a53582caf2a15c ] When __transport_register_session is called from transport_register_session irqs will already have been disabled, so we do not want the unlock irq call to enable them until the higher level has done the final

[PATCH AUTOSEL 4.18 012/131] selftests/bpf: fix a typo in map in map test

2018-09-02 Thread Sasha Levin
From: Roman Gushchin [ Upstream commit 0069fb854364da79fd99236ea620affc8e1152d5 ] Commit fbeb1603bf4e ("bpf: verifier: MOV64 don't mark dst reg unbounded") revealed a typo in commit fb30d4b71214 ("bpf: Add tests for map-in-map"): BPF_MOV64_REG(BPF_REG_0, 0) was used instead of

[PATCH AUTOSEL 4.18 025/131] timers: Clear timer_base::must_forward_clk with timer_base::lock held

2018-09-02 Thread Sasha Levin
From: Gaurav Kohli [ Upstream commit 363e934d8811d799c88faffc5bfca782fd728334 ] timer_base::must_forward_clock is indicating that the base clock might be stale due to a long idle sleep. The forwarding of the base clock takes place in the timer softirq or when a timer is enqueued to a base

[PATCH AUTOSEL 4.18 011/131] powerpc/4xx: Fix error return path in ppc4xx_msi_probe()

2018-09-02 Thread Sasha Levin
From: Guenter Roeck [ Upstream commit 6e0495c2e8ac39b1aad0a4588fe64413ce9028c0 ] An arbitrary error in ppc4xx_msi_probe() quite likely results in a crash similar to the following, seen after dma_alloc_coherent() returned an error. Unable to handle kernel paging request for data at address

[PATCH AUTOSEL 4.18 043/131] ASoC: soc-pcm: Use delay set in component pointer function

2018-09-02 Thread Sasha Levin
From: Akshu Agrawal [ Upstream commit 9fb4c2bf130b922c77c16a8368732699799c40de ] Take into account the base delay set in pointer callback. There are cases where a pointer function populates runtime->delay, such as: ./sound/pci/hda/hda_controller.c ./sound/soc/intel/atom/sst-mfld-platform-pcm.c

[PATCH AUTOSEL 4.18 050/131] powerpc/pseries: fix EEH recovery of some IOV devices

2018-09-02 Thread Sasha Levin
From: Sam Bobroff [ Upstream commit b87b9cf4935325c98522823caeddd333022a1c62 ] EEH recovery currently fails on pSeries for some IOV capable PCI devices, if CONFIG_PCI_IOV is on and the hypervisor doesn't provide certain device tree properties for the device. (Found on an IOV capable device

[PATCH AUTOSEL 4.18 089/131] iio: ad9523: Fix return value for ad952x_store()

2018-09-02 Thread Sasha Levin
From: Lars-Peter Clausen [ Upstream commit 9a5094ca29ea9b1da301b31fd377c0c0c4c23034 ] A sysfs write callback function needs to either return the number of consumed characters or an error. The ad952x_store() function currently returns 0 if the input value was "0", this will signal that no

[PATCH AUTOSEL 4.18 071/131] Bluetooth: hidp: Fix handling of strncpy for hid->name information

2018-09-02 Thread Sasha Levin
From: Marcel Holtmann [ Upstream commit b3cadaa485f0c20add1644a5c877b0765b285c0c ] This fixes two issues with setting hid->name information. CC net/bluetooth/hidp/core.o In function ‘hidp_setup_hid’, inlined from ‘hidp_session_dev_init’ at net/bluetooth/hidp/core.c:815:9,

[PATCH AUTOSEL 4.18 058/131] mtd: rawnand: make subop helpers return unsigned values

2018-09-02 Thread Sasha Levin
From: Miquel Raynal [ Upstream commit 760c435e0f85ed19e48a90d746ce1de2cd02def7 ] A report from Colin Ian King pointed a CoverityScan issue where error values on these helpers where not checked in the drivers. These helpers can error out only in case of a software bug in driver code, not because

[PATCH AUTOSEL 4.18 069/131] PCI: mobiveil: Fix struct mobiveil_pcie.pcie_reg_base address type

2018-09-02 Thread Sasha Levin
From: Lorenzo Pieralisi [ Upstream commit af3f606e0bbb6d811c50b7b90fe324b07fb7cab8 ] The field pcie_reg_base in struct mobiveil_pcie represents a physical address so it should be of phys_addr_t type rather than void __iomem*; this results in the following compilation warnings:

[PATCH AUTOSEL 4.18 079/131] pinctrl/amd: only handle irq if it is pending and unmasked

2018-09-02 Thread Sasha Levin
From: Daniel Kurtz [ Upstream commit 8bbed1eef001fdfc0ee9595f64cc4f769d265af4 ] The AMD pinctrl driver demultiplexes GPIO interrupts and fires off their individual handlers. If one of these GPIO irqs is configured as a level interrupt, and its downstream handler is a threaded ONESHOT

[PATCH AUTOSEL 4.18 072/131] x86/mm: Remove in_nmi() warning from vmalloc_fault()

2018-09-02 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit 6863ea0cda8725072522cd78bda332d9a0b73150 ] It is perfectly okay to take page-faults, especially on the vmalloc area while executing an NMI handler. Remove the warning. Signed-off-by: Joerg Roedel Signed-off-by: Thomas Gleixner Tested-by: David H.

[PATCH AUTOSEL 4.18 075/131] regulator: tps65217: Fix NULL pointer dereference on probe

2018-09-02 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit 4f919ca2bf6da826ba1a4316e1b8e9c94e5dbeb2 ] There is no check that tps->strobes is allocated successfully in tps65217_regulator_probe(). The patch adds corresponding check. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by:

[PATCH AUTOSEL 4.18 093/131] dm cache: only allow a single io_mode cache feature to be requested

2018-09-02 Thread Sasha Levin
From: John Pittman [ Upstream commit af9313c32c0fa2a0ac3b113669273833d60cc9de ] More than one io_mode feature can be requested when creating a dm cache device (as is: last one wins). The io_mode selections are incompatible with one another, we should force them to be selected exclusively. Add

[PATCH AUTOSEL 4.18 111/131] mfd: ti_am335x_tscadc: Fix struct clk memory leak

2018-09-02 Thread Sasha Levin
From: Zumeng Chen [ Upstream commit c2b1509c77a99a0dcea0a9051ca743cb88385f50 ] Use devm_elk_get() to let Linux manage struct clk memory to avoid the following memory leakage report: unreferenced object 0xdd75efc0 (size 64): comm "systemd-udevd", pid 186, jiffies 4294945126 (age 1195.750s)

[PATCH AUTOSEL 4.18 068/131] PCI: mobiveil: Add missing ../pci.h include

2018-09-02 Thread Sasha Levin
From: Lorenzo Pieralisi [ Upstream commit d3743012230f8dab30d47caba1f2ee9e382385e7 ] PCI mobiveil host controller driver currently fails to compile with the following error: drivers/pci/controller/pcie-mobiveil.c: In function 'mobiveil_pcie_probe': drivers/pci/controller/pcie-mobiveil.c:788:8:

[PATCH AUTOSEL 4.18 070/131] powerpc/mm: Don't report PUDs as memory leaks when using kmemleak

2018-09-02 Thread Sasha Levin
From: Michael Ellerman [ Upstream commit a984506c542e26b31cbb446438f8439fa2253b2e ] Paul Menzel reported that kmemleak was producing reports such as: unreferenced object 0xc000f8b8 (size 16384): comm "init", pid 1, jiffies 4294937416 (age 312.240s) hex dump (first 32 bytes):

[PATCH AUTOSEL 4.18 096/131] media: s5p-mfc: Fix buffer look up in s5p_mfc_handle_frame_{new, copy_time} functions

2018-09-02 Thread Sasha Levin
From: Sylwester Nawrocki [ Upstream commit 4faeaf9c0f4581667ce5826f9c90c4fd463ef086 ] Look up of buffers in s5p_mfc_handle_frame_new, s5p_mfc_handle_frame_copy_time functions is not working properly for DMA addresses above 2 GiB. As a result flags and timestamp of returned buffers are not set

[PATCH AUTOSEL 4.18 106/131] media: em28xx: Fix DualHD disconnect oops

2018-09-02 Thread Sasha Levin
From: Brad Love [ Upstream commit 20cdcaf903298d54b834daedf65a2ddef70cae0a ] During the duplication of em28xx state for the second tuner pair a pointer to alt_max_pkt_size_isoc is copied. During tear down the second tuner is destroyed first and kfrees alt_max_pkt_size_isoc, then the first tuner

[PATCH AUTOSEL 4.18 117/131] ALSA: sb: Fix PCM format bit calculation

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit 55ff2d1ea5487fe131cce399baf4503dcf5cc8e1 ] The PCM format type in snd_pcm_format_t can't be treated as integer implicitly since it's with __bitwise. We have already a helper function to get the bit index of the given type, and use it in each place instead.

[PATCH AUTOSEL 4.18 118/131] ALSA: asihpi: Fix PCM format notations

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit a91a0e774984aa57090c39dc3269a812417737ed ] asihpi driver treats -1 as an own invalid PCM format, but this needs a proper cast with __force prefix since PCM format type is __bitwise. Define a constant with the proper type and use it allover. This fixes

[PATCH AUTOSEL 4.18 119/131] ALSA: ad1816a: Fix sparse warning wrt PCM format type

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit d63f33d3f083bdb3a7c2dfd623f4d811b2a8d772 ] The PCM format type is with __bitwise, and it can't be converted from integer implicitly. Instead of an ugly cast, declare the function argument of snd_ad1816a_get_format() with the proper snd_pcm_format_t type.

[PATCH AUTOSEL 4.18 120/131] f2fs: fix to propagate return value of scan_nat_page()

2018-09-02 Thread Sasha Levin
From: Chao Yu [ Upstream commit e2374015f27fe5ee5d5c37966e2faf396cdaaa65 ] As Anatoly Trosinenko reported in bugzilla: How to reproduce: 1. Compile the 73fcb1a370c76 version of the kernel using the config attached 2. Unpack and mount the attached filesystem image as F2FS 3. The kernel will

[PATCH AUTOSEL 4.14 09/89] media: davinci: vpif_display: Mix memory leak on probe error path

2018-09-02 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit 61e641f36ed81ae473177c085f0bfd83ad3b55ed ] If vpif_probe() fails on v4l2_device_register() then memory allocated at initialize_vpif() for global vpif_obj.dev[i] become unreleased. The patch adds deallocation of vpif_obj.dev[i] on the error path and

[PATCH AUTOSEL 4.14 12/89] scsi: qla2xxx: Fix unintended Logout

2018-09-02 Thread Sasha Levin
From: Quinn Tran [ Upstream commit cb97f2c2e8d9f8c71ddbf04ad57e163ee6d86474 ] During normal IO, FW can return IO with 'port unavailble' status. Driver would send a LOGO to remote port for session resync. On an off chance, a PLOGI could arrive before sending the LOGO. This patch will skip

[PATCH AUTOSEL 4.14 03/89] ethtool: Remove trailing semicolon for static inline

2018-09-02 Thread Sasha Levin
From: Florian Fainelli [ Upstream commit d89d41556141a527030a15233135ba622ba3350d ] Android's header sanitization tool chokes on static inline functions having a trailing semicolon, leading to an incorrectly parsed header file. While the tool should obviously be fixed, also fix the header files

[PATCH AUTOSEL 4.14 14/89] scsi: target: fix __transport_register_session locking

2018-09-02 Thread Sasha Levin
From: Mike Christie [ Upstream commit 6a64f6e1591322beb8ce16e952a53582caf2a15c ] When __transport_register_session is called from transport_register_session irqs will already have been disabled, so we do not want the unlock irq call to enable them until the higher level has done the final

[PATCH AUTOSEL 4.18 115/131] ALSA: wss: Fix sparse warning wrt PCM format type

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit 6be9a60efb401487a4d658ef23d652a9e6860b34 ] The PCM format type is with __bitwise, and it can't be converted from integer implicitly. Instead of an ugly cast, declare the function argument of snd_wss_get_format() with the proper snd_pcm_format_t type. This

[PATCH AUTOSEL 4.18 109/131] mfd: rave-sp: Initialize flow control and parity of the port

2018-09-02 Thread Sasha Levin
From: Andrey Smirnov [ Upstream commit 6c450bdf13ebe110821a74960936cec936edae49 ] Relying on serial port defaults for flow control and parity can result in complete breakdown of communication with RAVE SP on some platforms where defaults are not what we need them to be. One such case is

[PATCH AUTOSEL 4.14 17/89] timers: Clear timer_base::must_forward_clk with timer_base::lock held

2018-09-02 Thread Sasha Levin
From: Gaurav Kohli [ Upstream commit 363e934d8811d799c88faffc5bfca782fd728334 ] timer_base::must_forward_clock is indicating that the base clock might be stale due to a long idle sleep. The forwarding of the base clock takes place in the timer softirq or when a timer is enqueued to a base

[PATCH AUTOSEL 4.14 13/89] blk-mq: fix updating tags depth

2018-09-02 Thread Sasha Levin
From: Ming Lei [ Upstream commit 75d6e175fc511e95ae3eb8f708680133bc211ed3 ] The passed 'nr' from userspace represents the total depth, meantime inside 'struct blk_mq_tags', 'nr_tags' stores the total tag depth, and 'nr_reserved_tags' stores the reserved part. There are two issues in

[PATCH AUTOSEL 4.14 19/89] gpu: ipu-v3: default to id 0 on missing OF alias

2018-09-02 Thread Sasha Levin
From: Philipp Zabel [ Upstream commit 2d87e6c1b99c402360fdfe19ce4f579ab2f96adf ] This is better than storing -ENODEV in the id number. This fixes SoCs with only one IPU that don't specify an IPU alias in the device tree. Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.14 33/89] perf evlist: Fix error out while applying initial delay and LBR

2018-09-02 Thread Sasha Levin
From: Kan Liang [ Upstream commit 95035c5e167ae6e740b1ddd30210ae0eaf39a5db ] 'perf record' will error out if both --delay and LBR are applied. For example: # perf record -D 1000 -a -e cycles -j any -- sleep 2 Error: dummy:HG: PMU Hardware doesn't support sampling/overflow-interrupts.

[PATCH AUTOSEL 4.14 43/89] scsi: 3ware: fix return 0 on the error path of probe

2018-09-02 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit 4dc98c1995482262e70e83ef029135247fafe0f2 ] tw_probe() returns 0 in case of fail of tw_initialize_device_extension(), pci_resource_start() or tw_reset_sequence() and releases resources. twl_probe() returns 0 in case of fail of

[PATCH AUTOSEL 4.14 24/89] tty: rocket: Fix possible buffer overwrite on register_PCI

2018-09-02 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit 0419056ec8fd01ddf5460d2dba0491aad22657dd ] If number of isa and pci boards exceed NUM_BOARDS on the path rp_init()->init_PCI()->register_PCI() then buffer overwrite occurs in register_PCI() on assign rcktpt_io_addr[i]. The patch adds check on upper bound

[PATCH AUTOSEL 4.14 28/89] f2fs: fix defined but not used build warnings

2018-09-02 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit cb15d1e43db0a6341c1e26ac6a2c74e61b74f1aa ] Fix build warnings in f2fs when CONFIG_PROC_FS is not enabled by marking the unused functions as __maybe_unused. ../fs/f2fs/sysfs.c:519:12: warning: 'segment_info_seq_show' defined but not used [-Wunused-function]

[PATCH AUTOSEL 4.14 31/89] perf c2c report: Fix crash for empty browser

2018-09-02 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 73978332572ccf5e364c31e9a70ba953f8202b46 ] 'perf c2c' scans read/write accesses and tries to find false sharing cases, so when the events it wants were not asked for or ended up not taking place, we get no histograms. So do not try to display entry details if

[PATCH AUTOSEL 4.14 21/89] uio: potential double frees if __uio_register_device() fails

2018-09-02 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit f019f07ecf6a6b8bd6d7853bce70925d90af02d1 ] The uio_unregister_device() function assumes that if "info->uio_dev" is non-NULL that means "info" is fully allocated. Setting info->uio_de has to be the last thing in the function. In the current code, if

[PATCH AUTOSEL 4.14 49/89] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-02 Thread Sasha Levin
From: Vladimir Murzin [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed Sec_frac (bits [23:20]): Security fractional field. When the Security field is , determines the support for features from the ARMv7

[PATCH AUTOSEL 4.14 40/89] MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET

2018-09-02 Thread Sasha Levin
From: Paul Burton [ Upstream commit 0494d7ffdcebc6935410ea0719b24ab626675351 ] isa_virt_to_bus() & isa_bus_to_virt() claim to treat ISA bus addresses as being identical to physical addresses, but they fail to do so in the presence of a non-zero PHYS_OFFSET. Correct this by having them use

[PATCH AUTOSEL 4.14 47/89] x86/mm: Remove in_nmi() warning from vmalloc_fault()

2018-09-02 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit 6863ea0cda8725072522cd78bda332d9a0b73150 ] It is perfectly okay to take page-faults, especially on the vmalloc area while executing an NMI handler. Remove the warning. Signed-off-by: Joerg Roedel Signed-off-by: Thomas Gleixner Tested-by: David H.

[PATCH AUTOSEL 4.14 70/89] media: helene: fix xtal frequency setting at power on

2018-09-02 Thread Sasha Levin
From: Katsuhiro Suzuki [ Upstream commit a00e5f074b3f3cd39d1ccdc53d4d805b014df3f3 ] This patch fixes crystal frequency setting when power on this device. Signed-off-by: Katsuhiro Suzuki Acked-by: Abylay Ospan Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.14 72/89] f2fs: Fix uninitialized return in f2fs_ioc_shutdown()

2018-09-02 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit 2a96d8ad94ce57cb0072f7a660b1039720c47716 ] "ret" can be uninitialized on the success path when "in == F2FS_GOING_DOWN_FULLSYNC". Fixes: 60b2b4ee2bc0 ("f2fs: Fix deadlock in shutdown ioctl") Signed-off-by: Dan Carpenter Reviewed-by: Chao Yu Signed-off-by:

[PATCH AUTOSEL 4.14 71/89] f2fs: fix to wait on page writeback before updating page

2018-09-02 Thread Sasha Levin
From: Chao Yu [ Upstream commit 6aead1617b3adf2b7e2c56f0f13e4e0ee42ebb4a ] In error path of f2fs_move_rehashed_dirents, inode page could be writeback state, so we should wait on inode page writeback before updating it. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim Signed-off-by: Sasha

[PATCH AUTOSEL 4.14 60/89] MIPS: Octeon: add missing of_node_put()

2018-09-02 Thread Sasha Levin
From: Nicholas Mc Guire [ Upstream commit b1259519e618d479ede8a0db5474b3aff99f5056 ] The call to of_find_node_by_name returns a node pointer with refcount incremented thus it must be explicitly decremented here after the last usage. Signed-off-by: Nicholas Mc Guire Signed-off-by: Paul Burton

<    1   2   3   4   5   6   7   8   9   10   >