Re: [PATCH 3/7] mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly v2

2018-09-02 Thread Balbir Singh
On Fri, Aug 31, 2018 at 12:19:35PM -0400, Jerome Glisse wrote: > On Fri, Aug 31, 2018 at 07:27:24PM +1000, Balbir Singh wrote: > > On Thu, Aug 30, 2018 at 10:41:56AM -0400, jgli...@redhat.com wrote: > > > From: Ralph Campbell > > > > > > Private ZONE_DEVICE pages use a special pte entry and thus

Re: [RFC][PATCH 0/5] introduce /proc/PID/idle_bitmap

2018-09-02 Thread Fengguang Wu
Here are the diffstat: arch/x86/kvm/Kconfig| 11 + arch/x86/kvm/Makefile |4 arch/x86/kvm/ept_idle.c | 329 ++ arch/x86/kvm/ept_idle.h | 79 + fs/proc/base.c |2 fs/proc/internal.h |1 fs/proc/task_mmu.c | 63

Re: [PATCH v2 1/2] iio: adc: sc27xx: Add raw data support

2018-09-02 Thread Jonathan Cameron
On Wed, 29 Aug 2018 14:04:04 +0800 Baolin Wang wrote: > The headset device will use channel 20 of ADC controller to detect events, > but it needs the raw ADC data to do conversion according to its own formula. > > Thus we should configure the channel mask separately and configure channel > 20

Re: [PATCH] iio: light: isl29501: Simplify code to kill compiler warning

2018-09-02 Thread Jonathan Cameron
On Sat, 25 Aug 2018 09:30:55 +0100 Jonathan Cameron wrote: > On Thu, 23 Aug 2018 23:24:35 +0200 > Geert Uytterhoeven wrote: > > > With gcc 4.1.2: > > > > drivers/iio/proximity/isl29501.c: In function ‘isl29501_register_write’: > > drivers/iio/proximity/isl29501.c:235: warning: ‘msb’

Re: [PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-09-02 Thread Jonathan Cameron
On Wed, 29 Aug 2018 07:43:53 +0100 Afonso Bordado wrote: > On Mon, 2018-08-27 at 18:13 +0100, Jonathan Cameron wrote: > > On Sat, 25 Aug 2018 22:19:08 +0100 > > Afonso Bordado wrote: > > > > > This patch adds device tree support for the fxas21002c driver, > > > including > > > bindings. > >

[no subject]

2018-09-02 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus x86 specific updates for 4.19: Speculation: - Make the micro code check more robust - Make the L1TF memory limit depend on the internal

Re: [PATCH] iio: light: isl29501: Simplify code to kill compiler warning

2018-09-02 Thread Geert Uytterhoeven
Hi Jonathan, On Sun, Sep 2, 2018 at 10:59 AM Jonathan Cameron wrote: > On Sat, 25 Aug 2018 09:30:55 +0100 > Jonathan Cameron wrote: > > > On Thu, 23 Aug 2018 23:24:35 +0200 > > Geert Uytterhoeven wrote: > > > > > With gcc 4.1.2: > > > > > > drivers/iio/proximity/isl29501.c: In function >

[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 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 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 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 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 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 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] mmc: omap_hsmmc: fix wakeirq handling on removal

2018-09-02 Thread Andreas Kemnade
after unbinding mmc I get things like this: [ 185.294067] mmc1: card 0001 removed [ 185.305206] omap_hsmmc 480b4000.mmc: wake IRQ with no resume: -13 The wakeirq stays in /proc-interrupts rebinding shows this: [ 289.795959] genirq: Flags mismatch irq 112. 200a (480b4000.mmc:wakeup) vs.

Re: [PATCH v2 2/2] iio: adc: sc27xx: Add ADC scale calibration

2018-09-02 Thread Jonathan Cameron
On Wed, 29 Aug 2018 14:04:05 +0800 Baolin Wang wrote: > This patch adds support to read calibration values from the eFuse > controller to calibrate the ADC channel scales, which can make ADC > sample data more accurate. > > Signed-off-by: Baolin Wang Applied to the togreg branch of iio.git and

Re: [PATCH 1/4] iio: gyro: add support for fxas21002c

2018-09-02 Thread Jonathan Cameron
On Wed, 29 Aug 2018 07:43:48 +0100 Afonso Bordado wrote: > On Mon, 2018-08-27 at 18:08 +0100, Jonathan Cameron wrote: > > On Sat, 25 Aug 2018 22:19:07 +0100 > > Afonso Bordado wrote: > > > > > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > > > > > Signed-off-by:

[PATCH v2 30/37] ARM: tegra: colibri_t20: iris: add colibri ssp support

2018-09-02 Thread Marcel Ziswiler
From: Marcel Ziswiler Add Colibri SSP aka SPI support using the SPI4 instance. Signed-off-by: Marcel Ziswiler --- Changes in v2: None arch/arm/boot/dts/tegra20-colibri-iris.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/tegra20-colibri-iris.dts

[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

VLAs and security

2018-09-02 Thread Uecker, Martin
I do not agree that VLAs are generally bad for security. I think the opposite is true. A VLA with the right size allows the compiler to automatically perform or insert meaningful bounds checks, while a fixed upper bound does not. For example: char buf[N]; buf[n] = 1; Here, a compiler /

[no subject]

2018-09-02 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus A small set of updates for core code: - Prevent tracing in functions which are called from trace patching via stop_machine() to prevent

[no subject]

2018-09-02 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus Remove the stale skip_onerr member from the hotplug states. Thanks, tglx --> Mukesh Ojha (1): cpu/hotplug: Remove

Re: [PATCH TRIVIAL] iio: fix position relative kernel version

2018-09-02 Thread Jonathan Cameron
On Tue, 28 Aug 2018 13:30:34 +0300 Eugen Hristev wrote: > Position relative channel type was added in 4.19 kernel version > > Fixes: "3055a6cfa04ba" ("iio: Add channel for Position Relative") > Signed-off-by: Eugen Hristev Applied, thanks. Jonathan > --- >

[GIT pull] x86 updates for 4.19

2018-09-02 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus x86 specific updates for 4.19: Speculation: - Make the micro code check more robust - Make the L1TF memory limit depend on the internal

[GIT pull] core updates for 4.19

2018-09-02 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus A small set of updates for core code: - Prevent tracing in functions which are called from trace patching via stop_machine() to prevent

[tip:x86/urgent] x86/pti: Fix section mismatch warning/error

2018-09-02 Thread tip-bot for Randy Dunlap
Commit-ID: ff924c5a1ec7548825cc2d07980b03be4224ffac Gitweb: https://git.kernel.org/tip/ff924c5a1ec7548825cc2d07980b03be4224ffac Author: Randy Dunlap AuthorDate: Sat, 1 Sep 2018 21:01:28 -0700 Committer: Thomas Gleixner CommitDate: Sun, 2 Sep 2018 11:24:41 +0200 x86/pti: Fix section

[GIT pull] smp/hotplug updates for 4.19

2018-09-02 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus Remove the stale skip_onerr member from the hotplug states. Thanks, tglx --> Mukesh Ojha (1): cpu/hotplug: Remove

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

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

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

Re: [PATCHv3] perf tools: Add struct ordered_events_buffer layer

2018-09-02 Thread Jiri Olsa
On Mon, Aug 27, 2018 at 07:05:43PM +0200, Jiri Olsa wrote: > On Mon, Aug 27, 2018 at 08:24:56AM -0700, Stephane Eranian wrote: > > SNIP > > > > - /* First entry is abused to maintain the to_free list. */ > > > - oe->buffer_idx = 2; > > > - new =

[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

[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 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.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.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 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.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.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 41/89] ata: libahci: Allow reconfigure of DEVSLP register

2018-09-02 Thread Sasha Levin
From: Srinivas Pandruvada [ Upstream commit 11c291461b6ea8d1195a96d6bba6673a94aacebc ] There are two modes in which DEVSLP can be entered. The OS initiated or hardware autonomous. In hardware autonomous mode, BIOS configures the AHCI controller and the device to enable DEVSLP. But they may not

[PATCH AUTOSEL 4.14 81/89] 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.14 79/89] 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.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

[PATCH AUTOSEL 4.14 73/89] 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.14 77/89] ALSA: riptide: Properly endian notations

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit be05e3de3a933156d472127f659d4473c461dcc5 ] The SG descriptor of Riptide contains the little-endian values, hence we need to define with __le32 properly. This fixes sparse warnings like: sound/pci/riptide/riptide.c:1112:40: warning: cast to restricted

[PATCH AUTOSEL 4.14 78/89] ALSA: pcm: Fix sparse warning wrt PCM format type

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit f8b6c0cfbdd7359db9bb4da38dd54217296f9264 ] The PCM format type is with __bitwise, hence it needs the explicit cast with __force. It's ugly, but there is a reason for that cost... This fixes the sparse warning: sound/core/oss/pcm_oss.c:1854:55: warning:

[PATCH AUTOSEL 4.9 02/62] 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 83/89] ALSA: hda: Fix implicit PCM format type conversion

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit a6ea5fe95ab4a1a7af6d57429fe3ecde9acf5b5a ] The PCM format type is defined with __bitwise, hence it can't be passed as integer but needs an explicit cast. In this patch, instead of the messy cast flood, define the format argument of

[PATCH AUTOSEL 4.9 03/62] Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV

2018-09-02 Thread Sasha Levin
From: Johan Hedberg [ Upstream commit 6c3711ec64fd23a9abc8aaf59a9429569a6282df ] This driver was recently updated to use serdev, so add the appropriate dependency. Without this one can get compiler warnings like this if CONFIG_SERIAL_DEV_BUS is not enabled: CC [M] drivers/bluetooth/hci_h5.o

[PATCH AUTOSEL 4.14 80/89] 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.9 01/62] 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.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 84/89] ALSA: au88x0: Fix sparse warning wrt PCM format type

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit 10d3d91e3bc4e152a580bf523e4fd6bf279ae532 ] 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 vortex_alsafmt_aspfmt() with the proper snd_pcm_format_t type.

[PATCH AUTOSEL 4.14 52/89] 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.14 26/89] ftrace: Add missing check for existing hwlat thread

2018-09-02 Thread Sasha Levin
From: Erica Bugden [ Upstream commit 82fbc8c48adffd73297e7edbd7266a89d00cc52f ] The hwlat tracer uses a kernel thread to measure latencies. The function that creates this kernel thread, start_kthread(), can be called when the tracer is initialized and when the tracer is explicitly enabled.

[PATCH AUTOSEL 4.14 46/89] 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.14 35/89] 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.14 48/89] x86/kexec: Allocate 8k PGDs for PTI

2018-09-02 Thread Sasha Levin
From: Joerg Roedel [ Upstream commit ca38dc8f2724d101038b1205122c93a1c7f38f11 ] Fuzzing the PTI-x86-32 code with trinity showed unhandled kernel paging request oops-messages that looked a lot like silent data corruption. Lot's of debugging and testing lead to the kexec-32bit code, which is

  1   2   3   4   5   6   7   8   9   10   >