Re: [tip:x86/boot] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2018-02-13 Thread Andrei Vagin
On Tue, Feb 13, 2018 at 12:02:49PM +0300, Kirill A. Shutemov wrote: > On Tue, Feb 13, 2018 at 12:41:22AM -0800, Andrei Vagin wrote: > > On Tue, Feb 13, 2018 at 11:08:16AM +0300, Kirill A. Shutemov wrote: > > > On Mon, Feb 12, 2018 at 10:51:56PM -0800, Andrei Vagin wrote: > > > > Hi Kirill, > > > >

[PATCH] clk: keystone: sci-clk: add support for dynamically probing clocks

2018-02-13 Thread Tero Kristo
Currently, the driver contains a large hints table for clocks that exist on a device, however, it is possible to probe the clocks from the firmware also. Add support for this, and drop the clock hints table support from the driver completely. This causes the driver to send a few extra sci-clk messa

[PATCH v2 0/2] Add support for AK4458 DAC

2018-02-13 Thread Cosmin-Gabriel Samoila
We support Normal Mode, TDM Mode and PM. Changes since V1: - support only i2c - i2c probe / remove/suspend/ resume moved into shared code - change enum array to separate variables - aggregate Volume control for Left and Right Channel - remove mux from DAPM - remove unused functions - remove unused

[PATCH v2 2/2] ASoC: ak4458: Add bindings for AK4458 DAC

2018-02-13 Thread Cosmin-Gabriel Samoila
Signed-off-by: Junichi Wakasugi Signed-off-by: Mihai Serban Signed-off-by: Shengjiu Wang Signed-off-by: Cosmin-Gabriel Samoila --- Documentation/devicetree/bindings/sound/ak4458.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindi

[PATCH v13 3/9] PCI: Add fwnode handler as input param of pci_register_io_range()

2018-02-13 Thread John Garry
From: Gabriele Paoloni In preparation for having the PCI MMIO helpers to use the new generic I/O space management(logical PIO) we need to add the fwnode handler as extra input parameter. This patch changes the signature of pci_register_io_range() and of its callers as needed. Signed-off-by: Gabr

[PATCH v2 1/2] ASoC: codecs: Add support for AK4458 DAC driver

2018-02-13 Thread Cosmin-Gabriel Samoila
The AK4458 is a 32-bit 8ch Premium DAC that corresponds to a 768kHz PCM input and an 11.2MHz DSD input at maximum. It supports I2S, DSD and TDM modes with 24 or 32 bit MSB or 16, 24, 32 LSB formats. Its datasheet is available here: https://www.akm.com/akm/en/file/datasheet/AK4458VN.pdf Signed-off-

[PATCH v13 4/9] PCI: Apply the new generic I/O management on PCI IO hosts

2018-02-13 Thread John Garry
From: Zhichang Yuan After introducing the new generic I/O space management in logic pio, the original PCI MMIO relevant helpers need to be updated based on the new interfaces. This patch adapts the corresponding code to match the changes introduced by logic pio. Signed-off-by: Zhichang Yuan Sig

[PATCH v13 9/9] MAINTAINERS: Add maintainer for HiSilicon LPC driver

2018-02-13 Thread John Garry
Added maintainer for drivers/bus/hisi_lpc.c Signed-off-by: John Garry --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fc538a9..9a2fe10 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6386,6 +6386,13 @@ W: http://www.hisilicon.com S

[PATCH v13 6/9] LPC: Support the LPC host on Hip06/Hip07 with DT bindings

2018-02-13 Thread John Garry
From: Zhichang Yuan The low-pin-count(LPC) interface of Hip06/Hip07 accesses the peripherals in I/O port addresses. This patch implements the LPC host controller driver which perform the I/O operations on the underlying hardware. We don't want to touch those existing peripherals' driver, such as

[PATCH v13 7/9] ACPI: Translate the I/O range of non-MMIO devices before scanning

2018-02-13 Thread John Garry
On some platforms (such as arm64-based hip06/hip07), access to legacy ISA/LPC devices through access IO space is required, similar to x86 platforms. As the I/O for these devices are not memory mapped like PCI/PCIE MMIO host bridges, they require special low-level device operations through some host

Re: x86/stack protector: X86_32_LAZY_GS=n hangs kernel on old processors

2018-02-13 Thread tedheadster
> On Tue, Feb 13, 2018 at 11:40:17AM -0500, tedheadster wrote: >> in your patch "x86: make lazy %gs optional on x86_32" were you able >> to test it on really old processors? In 4.16.0-rc1, X86_32_LAZY_GS got >> toggled from 'y' to 'n' in my default config because of changes to the >> stack protec

[PATCH v13 8/9] LPC, ACPI: Add the HISI LPC ACPI support

2018-02-13 Thread John Garry
Based on the previous patches, this patch supports the LPC host on Hip06/Hip07 for ACPI FW. Signed-off-by: John Garry Signed-off-by: Zhichang Yuan Signed-off-by: Gabriele Paoloni Tested-by: Dann Frazier --- drivers/acpi/arm64/acpi_indirectio.c | 1 + drivers/bus/hisi_lpc.c | 17

[tip:x86/apic] x86/x2apic: Mark set_x2apic_phys_mode() as __init

2018-02-13 Thread tip-bot for Dou Liyang
Commit-ID: afed7d172091040f38c75a2927fed170ea11585f Gitweb: https://git.kernel.org/tip/afed7d172091040f38c75a2927fed170ea11585f Author: Dou Liyang AuthorDate: Wed, 17 Jan 2018 11:45:43 +0800 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:24:36 +0100 x86/x2apic: Mark set_x2apic_

[PATCH v13 5/9] OF: Add missing I/O range exception for indirect-IO devices

2018-02-13 Thread John Garry
From: Zhichang Yuan There are some special ISA/LPC devices that work on a specific I/O range where it is not correct to specify a 'ranges' property in DTS parent node as cpu addresses translated from DTS node are only for memory space on some architectures, such as Arm64. Without the parent 'rang

[tip:x86/apic] x86/apic: Simplify init_bsp_APIC() usage

2018-02-13 Thread tip-bot for Dou Liyang
Commit-ID: ccf5355d05cd891522267f04b2723002e7f061de Gitweb: https://git.kernel.org/tip/ccf5355d05cd891522267f04b2723002e7f061de Author: Dou Liyang AuthorDate: Wed, 17 Jan 2018 15:37:48 +0800 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:30:38 +0100 x86/apic: Simplify init_bsp_

[PATCH] PCI/ASPM: Use 64-bit arithmetic instead of 32-bit

2018-02-13 Thread Gustavo A. R. Silva
Add suffix ULL to constant 1000 in order to give the compiler complete information about the proper arithmetic to use. Notice that this constant is used in a context that expects an expression of type u64 (64 bits, unsigned). The expression threshold_us * 1000 is currently being evaluated using 32

[tip:x86/asm] x86/asm: Clobber flags in clear_page()

2018-02-13 Thread tip-bot for Alexey Dobriyan
Commit-ID: 1acdbf7ea8a80706561013346d281d282a3c00f9 Gitweb: https://git.kernel.org/tip/1acdbf7ea8a80706561013346d281d282a3c00f9 Author: Alexey Dobriyan AuthorDate: Sat, 13 Jan 2018 21:50:48 +0300 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:36:49 +0100 x86/asm: Clobber flags

[PATCH 03/18] thunderbolt: Handle connecting device in place of host properly

2018-02-13 Thread Mika Westerberg
If the system is suspended and user disconnects cable to another host and connects it to a Thunderbolt device instead we get a warning from driver core about adding duplicate sysfs attribute and adding the new device fails. Handle this properly so that we first remove the existing XDomain connecti

[PATCH] efi/apple-properties: Delete an error message for a failed memory allocation in unmarshal_devices()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:52:10 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/firmware/efi/apple-properties.c | 4 +--- 1 file changed, 1 in

Re: [PATCH] clk: keystone: sci-clk: add support for dynamically probing clocks

2018-02-13 Thread Santosh Shilimkar
On 2/13/2018 8:55 AM, Tero Kristo wrote: Currently, the driver contains a large hints table for clocks that exist on a device, however, it is possible to probe the clocks from the firmware also. Add support for this, and drop the clock hints table support from the driver completely. This causes t

[PATCH v3 02/25] soc: qcom: add support to APR bus driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed more dynamically depending on the state of the services on the dsp. APR is used for communication between application pro

[PATCH 04/18] thunderbolt: Do not overwrite error code when domain adding fails

2018-02-13 Thread Mika Westerberg
If the Thunderbolt domain adding fails for some reason we currently always return -EIO instead of the real error code. To make debugging easier return the actual error code instead. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/nhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 11/25] ASoC: qcom: q6asm: add support to audio stream apis

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to open, write and media format commands in the q6asm module. Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/sound/qcom,q6asm.h | 22 ++ sound/soc/qcom/qdsp6/q6asm.c | 503 - sound/soc/qcom

[PATCH v3 24/25] ASoC: qcom: apq8096: Add db820c machine driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 8 +++ sound/soc/qcom/apq8096.c | 173 +++ 2 files changed, 181 insertions(+) create mode 100644 sound/so

[PATCH v3 23/25] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 89 ++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/device

Re: [PATCH] x86/microcode/intel: Use 64-bit arithmetic instead of 32-bit

2018-02-13 Thread Thomas Gleixner
On Tue, 13 Feb 2018, Gustavo A. R. Silva wrote: > Add suffix ULL to constant 1024 in order to give the compiler complete > information about the proper arithmetic to use. Notice that this > constant is used in a context that expects an expression of type > u64 (64 bits, unsigned). > > The express

[PATCH v3 25/25] arm64: dts: msm8996: db820c: Add sound card support

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds hdmi sound card support to db820c via qdsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 44 +++- arch/arm64/boot/dts/qcom/msm8996.dtsi| 62 2 files changed,

[PATCH v3 22/25] ASoC: qcom: q6routing: add support to MI2S Mixers

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add support to MI2S mixers required to select path between ASM stream and AFE ports. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 142 +++ 1 file changed, 142 insertions(+) diff --git a/sound

[PATCH v3 21/25] ASoC: qcom: q6afe-dai: add support to 4 MI2S ports

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 4 MI2S dais supported on LPASS IP. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe-dai.c | 154 +++ 1 file changed, 154 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c b/soun

[PATCH v3 12/25] ASoC: qcom: qdsp6: Add support to Q6CORE

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to core apr service, which is used to query status of other static and dynamic services on the dsp. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig| 5 + sound/soc/qcom/qdsp6/Makefile | 1 + sound/soc/qcom/qdsp6/q6core

[PATCH v3 19/25] ASoC: qcom: q6afe: add support to MI2S ports

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/sound/qcom,q6afe.h | 10 +++ sound/soc/qcom/qdsp6/q6afe.c | 111 + sound/soc/qcom/qdsp6/q6afe.h | 10 +++ 3 files changed, 131 insertions(+) diff --git a/i

[PATCH v3 20/25] ASoC: qcom: q6afe: add support to MI2S sysclks

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to LPASS Bit clock, LPASS Digital core clock and OSR clock. These clocks are required for both MI2S and PCM setup. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe.c | 115 +++ sound/soc/

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 6:50 PM, Pali Rohár wrote: > On Tuesday 13 February 2018 17:06:19 Andy Shevchenko wrote: >> On Tue, Feb 13, 2018 at 5:00 PM, Pali Rohár wrote: >> > On Tuesday 13 February 2018 16:55:00 Andy Shevchenko wrote: >> >> On Mon, Feb 12, 2018 at 5:30 PM, Pali Rohár wrote: >> >> >

[PATCH v3 17/25] ASoC: qcom: q6afe-dai: add support to slim afe dais

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus AFE backend dais. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe-dai.c | 211 +++ 1 file changed, 211 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c b/sound/soc/qco

[PATCH v3 13/25] ASoC: qcom: qdsp6: Add support to q6routing driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the matrix between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/Makefile

Re: [PATCH v5 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-02-13 Thread Joe Lawrence
Was this patch ever picked up in the tip tree? (Maybe I'm not looking in the right branch?) Thanks, -- Joe On 01/19/2018 02:06 AM, Masami Hiramatsu wrote: > Hi Ingo, > > Could you pick this to tip tree? > > Thank you, > > On Wed, 10 Jan 2018 00:51:22 +0100 > Jessica Yu wrote: > >> Hi, >>

[PATCH v3 15/25] ASoC: qcom: qdsp6: Add support to q6asm dai driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/Makefile| 2 +- sound/soc/qcom/qdsp6/q6asm-dai.c | 621 +++ sound/soc/qco

[PATCH v3 18/25] ASoC: qcom: q6routing: add support to all SLIMBus Mixers

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 261 +++ 1 file changed, 261 insertions(+) diff --git a/sou

[PATCH v3 14/25] ASoC: qcom: qdsp6: Add support to q6afe dai driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/Makefile| 2 +- sound/soc/qcom/qdsp6/q6afe-dai.c | 280 +++ sound/soc/qcom/qdsp6/q6afe.h | 3 + 3 files ch

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 7:01 PM, Andy Shevchenko wrote: > Similar approach is used in spi-pxa2xx.c (check > pxa2xx_spi_pci_compound_match). Another approach might be a registration of I2C board info from dell-smo8800.c. Not sure if it better, because theoretically user may disable that one, but

[PATCH v3 16/25] ASoC: qcom: q6afe: add SLIMBus port Support

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 6 SLIMBus AFE ports, which are used as backend dais. Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/sound/qcom,q6afe.h | 14 sound/soc/qcom/qdsp6/q6afe.c | 129 + sound/soc/qcom/qds

Re: [PATCH v2 11/11] watchdog/hpwdt: Update driver version.

2018-02-13 Thread Guenter Roeck
On Sun, Feb 11, 2018 at 10:21:11PM -0700, Jerry Hoemann wrote: > Update driver version number to reflect changes. > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdo

[PATCH v3 10/25] ASoC: qcom: q6asm: Add support to memory map and unmap

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to memory map and unmap regions commands in q6asm module. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6asm.c | 312 +++ sound/soc/qcom/qdsp6/q6asm.h | 5 + 2 files changed, 317 insertio

[PATCH v3 09/25] ASoC: qcom: qdsp6: Add support to Q6ASM

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds basic support to Q6 ASM (Audio Stream Manager) module on Q6DSP. ASM supports up to 8 concurrent streams. each stream can be setup as playback/capture. ASM provides top control functions like Pause/flush/resume for playback and record. ASM can Create/destr

[PATCH v3 03/25] ASoC: qcom: qdsp6: Add common qdsp6 helper functions

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common helper functions like translating dsp error to linux error codes and channel mappings etc. These functions are used in all the following qdsp6 drivers. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 14 ++

[PATCH v3 08/25] dt-bindings: sound: qcom: Add bindings for q6asm

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6asm.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt diff --git a/Documentation/devicetree/bin

[PATCH v3 05/25] ASoC: qcom: qdsp6: Add support to Q6AFE

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to Q6AFE (Audio Front End) module on Q6DSP. AFE module sits right at the other end of cpu where the codec/audio devices are connected. AFE provides abstraced interfaces to both hardware and virtual devices. Each AFE tx/rx port can be configured

[tip:x86/urgent] x86/io: Define readq()/writeq() to use 64-bit type

2018-02-13 Thread tip-bot for Andy Shevchenko
Commit-ID: 0fc8483b698620ea3d8cc6635b54eccc613c23a3 Gitweb: https://git.kernel.org/tip/0fc8483b698620ea3d8cc6635b54eccc613c23a3 Author: Andy Shevchenko AuthorDate: Fri, 19 Jan 2018 16:33:22 +0200 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:14:41 +0100 x86/io: Define readq()/

[PATCH v3 06/25] dt-bindings: sound: qcom: Add bindings for q6adm

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6adm.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.txt diff --git a/Documentation/devicetree/bin

[PATCH v3 07/25] ASoC: qcom: qdsp6: Add support to Q6ADM

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to Q6ADM (Audio Device Manager) module in q6dsp. ADM performs routing between audio streams and AFE ports. It does Rate matching for streams going to devices driven by different clocks, it handles volume ramping, Mixing with channel and bit-width.

[PATCH v3 00/25] ASoC: qcom: Add support to QDSP based Audio

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patchset aims to provide a basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset support audio playback on HDMI-RX, MI2S, SLIMBus and will add support to other features as we move on. QDSP has both static and

[PATCH v3 01/25] dt-bindings: soc: qcom: Add bindings for APR bus

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add dt bindings for Qualcomm APR (Asynchronous Packet Router) bus driver. This bus is used for communicating with DSP which provides audio and various other services to cpu. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/soc/qcom/qcom,apr.tx

[PATCH v3 04/25] dt-bindings: sound: qcom: Add bindings for q6afe

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6afe.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6afe.txt diff --git a/Documentation/devicetree/bin

[PATCH 18/18] thunderbolt: Add support for Intel Titan Ridge

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky Intel Titan Ridge is the next Thunderbolt 3 controller. The ICM firmware message format in Titan Ridge differs from Falcon Ridge and Alpine Ridge somewhat because it is using route strings addressing devices. In addition to that the DMA port of 4-channel (two port) control

Re: [PATCH] kstrtox: make kstrtobool_from_user() very strict

2018-02-13 Thread Alexey Dobriyan
On Tue, Feb 13, 2018 at 06:02:27PM +0200, Andy Shevchenko wrote: > On Sat, Feb 10, 2018 at 11:11 PM, Alexey Dobriyan wrote: > > Once upon a time module parameter parsing code accepted > > 0, 1, y, n, Y and N for boolean values. Gratituous but contained > > to module code and thus tolerable. > > >

[PATCH 00/18] thunderbolt: Add support for Intel Titan Ridge

2018-02-13 Thread Mika Westerberg
Hi, This series adds support for Intel Titan Ridge Thunderbolt controller. Titan Ridge is the next generation Thunderbolt 3 controller and successor of Alpine Ridge. In addition to fixes and Titan Ridge support this series adds following: - USB only security level (SL4). - A new attribute f

[PATCH 15/18] thunderbolt: Add 'boot' attribute for devices

2018-02-13 Thread Mika Westerberg
From: Yehezkel Bernat In various cases, Thunderbolt device can be connected by ICM on boot without waiting for approval from user. Most cases are related to OEM-specific BIOS configurations. This information is interesting for user-space as if the device isn't in SW ACL, it may create a friction

[PATCH 16/18] thunderbolt: Add support for preboot ACL

2018-02-13 Thread Mika Westerberg
Preboot ACL is a mechanism that allows connecting Thunderbolt devices boot time in more secure way than the legacy Thunderbolt boot support. As with the legacy boot option, this also needs to be enabled from the BIOS before booting is allowed. Difference to the legacy mode is that the userspace sof

[tip:x86/asm] x86/asm: Trim clear_page.S includes

2018-02-13 Thread tip-bot for Alexey Dobriyan
Commit-ID: 16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae Gitweb: https://git.kernel.org/tip/16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae Author: Alexey Dobriyan AuthorDate: Sat, 13 Jan 2018 22:06:48 +0300 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:37:07 +0100 x86/asm: Trim clear_pag

[PATCH 17/18] thunderbolt: Introduce USB only (SL4) security level

2018-02-13 Thread Mika Westerberg
This new security level works so that it creates one PCIe tunnel to the connected Thunderbolt dock, removing PCIe links downstream of the dock. This leaves only the internal USB controller visible. Display Port tunnels are created normally. While there make sure security sysfs attribute returns "

[PATCH 14/18] thunderbolt: Move driver ready handling to struct icm

2018-02-13 Thread Mika Westerberg
Intel Titan Ridge uses slightly different format for ICM driver ready response, so add a new ->driver_ready() callback to struct icm and move the existing handling to a separate function which we then use in Falcon Ridge and Alpine Ridge. No functional changes intended. Signed-off-by: Mika Wester

Re: [PATCH] fs: dcache: Avoid livelock between d_alloc_parallel and __d_add

2018-02-13 Thread Matthew Wilcox
On Tue, Feb 13, 2018 at 12:58:51PM +, Will Deacon wrote: > This patch resolves the livelock by not taking hlist_bl_lock in > d_alloc_parallel if the sequence counter is odd, since any subsequent > masked comparison with i_dir_seq will fail anyway. > > Cc: Peter Zijlstra > Cc: Al Viro > Signe

[PATCH 13/18] thunderbolt: Add constant for approval timeout

2018-02-13 Thread Mika Westerberg
We will be using this from Titan Ridge support code as well so make it constant. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/icm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/thunderbolt/icm.c b/drivers/thunderbolt/icm.c index 55006994b517..a707a3b

[PATCH 4.9.y] ubifs: Massage assert in ubifs_xattr_set() wrt. init_xattrs

2018-02-13 Thread Julia Cartwright
From: Xiaolei Li This is a conceptual cherry-pick of commit d8db5b1ca9d4c57e49893d0f78e6d5ce81450cc8 upstream. The inode is not locked in init_xattrs when creating a new inode. Without this patch, there will occurs assert when booting or creating a new file, if the kernel config CONFIG_SECURITY

[PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mika Westerberg
Sometimes during cold boot ICM has not yet authenticated the active NVM image leading to timeout and failing the driver probe. Allow ICM to take some more time and increase the timeout to 3 seconds before we give up. While there fix icm_firmware_init() to return the real error code without overwri

[PATCH 12/18] thunderbolt: Add tb_xdomain_find_by_route()

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky This is needed by the new ICM interface to find xdomains by route string instead of link and depth. Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg --- drivers/thunderbolt/xdomain.c | 40 +++- include/linux/thunderbol

[PATCH 11/18] thunderbolt: Add tb_switch_find_by_route()

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky With the new ICM messaging there is need for find switch by route string instead of link and depth. Add new function that makes it possible. Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg --- drivers/thunderbolt/switch.c | 33 ++

[PATCH 07/18] thunderbolt: Handle rejected Thunderbolt devices

2018-02-13 Thread Mika Westerberg
The ICM firmware may reject devices for different reasons, even if we have asked it to accept anything. If we notice a device is rejected, we just log the event and bail out. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/icm.c | 6 ++ drivers/thunderbolt/tb_msgs.h | 1 + 2 files

[PATCH 08/18] thunderbolt: Factor common ICM add and update operations out

2018-02-13 Thread Mika Westerberg
The newer ICM will not use link and depth to address devices. Instead it uses route strings. In order to take advantage of the existing code factor out common operations so that we can use the same functions with the new ICM as well. No functional changes intended. Signed-off-by: Mika Westerberg

[PATCH 09/18] thunderbolt: Correct function name in kernel-doc comment

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky Use correct name in kernel-doc of tb_switch_find_by_uuid(). Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg --- drivers/thunderbolt/switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thunderbolt/switch.c b/drivers/thund

[PATCH 02/18] thunderbolt: Serialize PCIe tunnel creation with PCI rescan

2018-02-13 Thread Mika Westerberg
We need to make sure a new PCIe tunnel is not created in a middle of previous PCI rescan because otherwise the rescan code might find too much and fail to reconfigure devices properly. This is important when native PCIe hotplug is used. In BIOS assisted hotplug there should be no such issue. Signe

[PATCH 05/18] thunderbolt: Wait a bit longer for root switch config space

2018-02-13 Thread Mika Westerberg
In some case reading root switch config space takes longer than what we are currently waiting in the driver resulting timeout and failure. Increase number of retries to allow some more time for the root switch config space to become accesssible. Also log an error if the timeout is exceeded so we k

[PATCH 10/18] thunderbolt: Add tb_switch_get()

2018-02-13 Thread Mika Westerberg
Sometimes there is need for increasing reference count of a switch as well. This also follows what we have for xdomains. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/tb.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h inde

[PATCH 01/18] thunderbolt: Resume control channel after hibernation image is created

2018-02-13 Thread Mika Westerberg
The driver misses implementation of PM hook that undoes what ->freeze_noirq() does after the hibernation image is created. This means the control channel is not resumed properly and the Thunderbolt bus becomes useless in later stages of hibernation (when the image is stored or if the operation fail

[PATCH v13 1/9] LIB: Introduce a generic PIO mapping method

2018-02-13 Thread John Garry
From: Zhichang Yuan In commit 41f8bba7f555 ("of/pci: Add pci_register_io_range() and pci_pio_to_address()"), a new I/O space management was supported. With that driver, the I/O ranges configured for PCI/PCIe hosts on some architectures can be mapped to logical PIO, converted easily between CPU ad

[PATCH v13 2/9] PCI: Remove unused __weak attribute in pci_register_io_range()

2018-02-13 Thread John Garry
From: Gabriele Paoloni Currently pci_register_io_range() has only one definition; therefore there is no use of the __weak attribute. Signed-off-by: Gabriele Paoloni Acked-by: Bjorn Helgaas --- drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pc

[PATCH v13 0/9] LPC: legacy ISA I/O support

2018-02-13 Thread John Garry
This patchset supports the IPMI-bt device attached to the Low-Pin-Count interface implemented on Hisilicon Hip06/Hip07 SoC. --- | LPC host| | | --- |

Re: [PATCH] reset: add support for non-DT systems

2018-02-13 Thread David Lechner
On 02/13/2018 09:25 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The reset framework only supports device-tree. There are some platforms however, which need to use it even in legacy, board-file based mode. An example of such architecture is the DaVinci family of SoCs which supports

Re: [tip:x86/boot] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2018-02-13 Thread Ingo Molnar
* Andrei Vagin wrote: > On Tue, Feb 13, 2018 at 12:02:49PM +0300, Kirill A. Shutemov wrote: > > On Tue, Feb 13, 2018 at 12:41:22AM -0800, Andrei Vagin wrote: > > > On Tue, Feb 13, 2018 at 11:08:16AM +0300, Kirill A. Shutemov wrote: > > > > On Mon, Feb 12, 2018 at 10:51:56PM -0800, Andrei Vagin w

Re: linux-next: unnecessary merge in the v4l-dvb tree

2018-02-13 Thread Junio C Hamano
Mauro Carvalho Chehab writes: > Yes, that's my pain. I don't want ff only when pulling from others, > only when pulling from upstream tree. > >> >> We may want per-remote equivalent for it, i.e. e.g. >> >> [pull] >> ff=false ;# good default for collecting contributions >> >>

Re: [PATCH] kstrtox: make kstrtobool_from_user() very strict

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 7:11 PM, Alexey Dobriyan wrote: > On Tue, Feb 13, 2018 at 06:02:27PM +0200, Andy Shevchenko wrote: >> On Sat, Feb 10, 2018 at 11:11 PM, Alexey Dobriyan >> wrote: >> > Once upon a time module parameter parsing code accepted >> > 0, 1, y, n, Y and N for boolean values. Grat

Re: [PATCH v5 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-02-13 Thread Ingo Molnar
* Joe Lawrence wrote: > Was this patch ever picked up in the tip tree? (Maybe I'm not looking > in the right branch?) Sorry, had a bit of a backlog: I picked up the two fixes/improvements now, and they will show up in tip:perf/urgent once they go through some local testing. Thanks!

RE: [PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mario.Limonciello
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Tuesday, February 13, 2018 11:00 AM > To: linux-kernel@vger.kernel.org > Cc: Andreas Noever ; Michael Jamet > ; Yehezkel Bernat ; Bjorn > Helgaas ; Limonciello, Mario > ; Radion Mirchevsky > ; Mika

Re: [PATCH] x86/microcode/intel: Use 64-bit arithmetic instead of 32-bit

2018-02-13 Thread Gustavo A. R. Silva
Hi Thomas, Quoting Thomas Gleixner : On Tue, 13 Feb 2018, Gustavo A. R. Silva wrote: Add suffix ULL to constant 1024 in order to give the compiler complete information about the proper arithmetic to use. Notice that this constant is used in a context that expects an expression of type u64 (64

Re: [PATCH 00/31 v2] PTI support for x86_32

2018-02-13 Thread Linus Torvalds
On Tue, Feb 13, 2018 at 12:54 AM, Greg KH wrote: > On Sun, Feb 11, 2018 at 09:40:41AM -0800, Mark D Rustad wrote: >> >> ISTR that iscsi doesn't work when running a 64-bit kernel with a >> 32-bit userspace. I remember someone offered kernel patches to fix it, >> but I think they were rejected. I ha

FW: Ihr Angebot

2018-02-13 Thread Martin Kiefer
Sehr geehrte Damen und Herren, nach unserem Besuch Ihrer Homepage möchten wir Ihnen ein Angebot von Produkten vorstellen, das Ihnen ermöglichen wird, den Verkauf Ihrer Produkte sowie Dienstleistungen deutlich zu erhöhen. Unser Angebot beinhaltet Datenbanken mit den Adressen deutscher Firmen,

[tip:x86/boot] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2018-02-13 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 89674e91fcf51f77dc4e87b77c6840f31b85077d Gitweb: https://git.kernel.org/tip/89674e91fcf51f77dc4e87b77c6840f31b85077d Author: Kirill A. Shutemov AuthorDate: Fri, 9 Feb 2018 17:22:28 +0300 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 18:16:22 +0100 x86/boot/compressed/6

Re: linux-next: unnecessary merge in the v4l-dvb tree

2018-02-13 Thread Linus Torvalds
On Tue, Feb 13, 2018 at 9:18 AM, Junio C Hamano wrote: > > That makes me wonder if another heuristic I floated earlier is more > appropriate. When merging a tag object T, if refs/tags/T exists and > it is that tag object, then an updated "merge" would default to "--ff"; > otherwise, it would keep

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Fix ring buffer signaling

2018-02-13 Thread Stephen Hemminger
> if (rbi->ring_buffer->feature_bits.feat_pending_send_sz) { > u32 pending_sz = READ_ONCE(rbi->ring_buffer->pending_send_sz); > > /* > + * Ensure the read of write_index in hv_get_bytes_to_write() > + * happens after the read of pending

Re: lost connection to test machine (4)

2018-02-13 Thread Dennis Zhou
Hi Eric, On Tue, Feb 13, 2018 at 05:35:26AM -0800, Eric Dumazet wrote: > > Also I would consider using this fix as I had warnings of cpus being > stuck there for more than 50 ms : > > > diff --git a/mm/percpu-vm.c b/mm/percpu-vm.c > index > 9158e5a81391ced4e268e3d5dd9879c2bc7280ce..6309b01ceb3

Re: [PATCH 1/2] dt-bindings: Documentation for qcom,llcc

2018-02-13 Thread Channa
On 2018-02-13 06:37, Mark Rutland wrote: On Tue, Feb 06, 2018 at 11:56:50AM -0800, Channa wrote: On 2018-02-02 03:05, Mark Rutland wrote: > On Thu, Feb 01, 2018 at 12:39:09PM -0800, Channa wrote: > > On 2018-02-01 02:44, Mark Rutland wrote: > > > On Thu, Jan 25, 2018 at 03:55:12PM -0800, Channag

Re: [PATCHv2 4/6] iommu/intel: Handle DMAR faults on workqueue

2018-02-13 Thread Dmitry Safonov
On Tue, 2018-02-13 at 17:35 +0100, Joerg Roedel wrote: > On Mon, Feb 12, 2018 at 04:48:23PM +, Dmitry Safonov wrote: > > dmar_fault() reports/handles/cleans DMAR faults in a cycle one-by- > > one. > > The nuisance is that it's set as a irq handler and runs with > > disabled > > interrupts - whi

*Beachtung*

2018-02-13 Thread Euro Millions
Herzlichen Glückwunsch, Sie haben € 650.000, - in den monatlichen Auslosungen von Euro Millions / Google Promo am 10. Februar 2018 gewonnen. Kontaktieren Sie unseren Schadenregulierungsbeauftragten mit den folgenden Informationen Vollständiger Name Heimatadresse Geschlecht Alter Besetzung Telef

Re: [PATCH] kstrtox: make kstrtobool_from_user() very strict

2018-02-13 Thread Alexey Dobriyan
On Mon, Feb 12, 2018 at 09:03:06AM -0800, Kees Cook wrote: > On Mon, Feb 12, 2018 at 3:58 AM, Alexey Dobriyan wrote: > > On Sun, Feb 11, 2018 at 01:27:58PM -0800, Kees Cook wrote: > >> On Sat, Feb 10, 2018 at 1:11 PM, Alexey Dobriyan > >> wrote: > >> > Once upon a time module parameter parsing c

[PATCH] x86/boot/compressed/64: Do not truncate gdt address

2018-02-13 Thread Kirill A. Shutemov
Before going to 32-bit trampoline we need to load GDT to make sure that we have the table with 32-bit code segment. The load was implemented incorrectly and the table address is truncated to 32-bit. It causes problems if gdt is above 4G. Reported-and-tested-by: Andrei Vagin Fixes: b4b56015ed1c (

Re: [PATCH v3 2/5] x86/apic: Fix restoring boot irq mode in reboot and kexec/kdump

2018-02-13 Thread Eric W. Biederman
Dou Liyang writes: > Hi Baoquan, > > At 02/12/2018 11:08 AM, Eric W. Biederman wrote: >> Baoquan He writes: >> >>> This is a regression fix. >>> >>> Before, to fix erratum AVR31, commit 522e66464467 ("x86/apic: Disable >>> I/O APIC before shutdown of the local APIC") moved lapic_shutdown() >>> c

Re: [PATCH 2/2] GCC release 8 support for gcc-plugins

2018-02-13 Thread Christoph Hellwig
On Sun, Feb 04, 2018 at 12:34:38PM -0500, valdis.kletni...@vt.edu wrote: > For reasons totally beyond my understanding, gcc 8 changed the > order of two structure member, which leads to an error: I'm a little late on this, but isn't the whole point of C99 initializers that field order should not m

Re: [PATCH v2 03/11] watchdog/hpwdt: Update nmi_panic message.

2018-02-13 Thread Guenter Roeck
On Sun, Feb 11, 2018 at 10:21:03PM -0700, Jerry Hoemann wrote: > Include the nmistat in the nmi_panic message to give support > an indication why the NMI was called (e.g. a timeout or generate > nmi button.) > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 27 +

Re: [tip:x86/boot] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2018-02-13 Thread Kirill A. Shutemov
On Tue, Feb 13, 2018 at 09:21:58AM -0800, tip-bot for Kirill A. Shutemov wrote: > Commit-ID: 89674e91fcf51f77dc4e87b77c6840f31b85077d > Gitweb: > https://git.kernel.org/tip/89674e91fcf51f77dc4e87b77c6840f31b85077d > Author: Kirill A. Shutemov > AuthorDate: Fri, 9 Feb 2018 17:22:28 +0300

Re: [PATCH] reset: add support for non-DT systems

2018-02-13 Thread Bartosz Golaszewski
2018-02-13 18:17 GMT+01:00 David Lechner : > On 02/13/2018 09:25 AM, Bartosz Golaszewski wrote: >> >> From: Bartosz Golaszewski >> >> The reset framework only supports device-tree. There are some platforms >> however, which need to use it even in legacy, board-file based mode. >> >> An example of

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