Re: Bad file pattern in MAINTAINERS section 'KEYS-TRUSTED'

2019-03-26 Thread Denis Kenzior
Hi James, On 03/26/2019 09:25 AM, James Bottomley wrote: Looking at the contents of linux/keys/trusted.h, it looks like the wrong decision to move it. The contents are way too improperly named and duplicative to be in a standard header. It's mostly actually TPM code including a redefinition

Re: [PATCH 1/2] dt-bindings: extcon: Add support for fsa9480 switch

2019-03-26 Thread Rob Herring
On Mon, Feb 25, 2019 at 05:58:21PM +0100, Paweł Chmiel wrote: > From: Tomasz Figa > > This patch adds documentation for binding of extcont Fairchild > Semiconductor FSA9480 microusb switch. > This usb port accessory detector and switch, can be found for example in > some Samsung s5pv210 based

Re: [PATCH 0/4] clk/ARM: exynos: Add ADC to Exynos5410 (Odroid XU)

2019-03-26 Thread Sylwester Nawrocki
On 2/12/19 18:50, Krzysztof Kozlowski wrote: > The DTS patch depends on bindings header with clock ID. I will take it > through samsung-soc for consecutive release. > Krzysztof Kozlowski (4): > dt-bindings: clock: exynos: Put CLK_UART3 in order > dt-bindings: clock: exynos: Add ADC clock ID

[PATCH net-next v3 1/2] net: phy: marvell10g: implement suspend/resume callbacks

2019-03-26 Thread Antoine Tenart
This patch adds the suspend/resume callbacks for Marvell 10G PHYs. The three PCS (base-t, base-r and 1000base-x) are set in low power (the PCS are powered down) when the PHY isn't used. Signed-off-by: Antoine Tenart Reviewed-by: Andrew Lunn --- drivers/net/phy/marvell10g.c | 14 ++

[PATCH net-next v3 2/2] net: phy: marvell10g: add the suspend/resume callbacks for the 88x2210

2019-03-26 Thread Antoine Tenart
When the 88x2110 PHY support was added, the suspend and resume callbacks were forgotten. This patch adds them to the 88x2110 PHY callback definition. Signed-off-by: Antoine Tenart Reviewed-by: Andrew Lunn --- drivers/net/phy/marvell10g.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v19,RESEND 16/27] x86/sgx: Add the Linux SGX Enclave Driver

2019-03-26 Thread Sean Christopherson
On Tue, Mar 26, 2019 at 01:40:57PM +0100, Thomas Gleixner wrote: > On Tue, 26 Mar 2019, Huang, Kai wrote: > > On Wed, 2019-03-20 at 18:21 +0200, Jarkko Sakkinen wrote: > > > 13 files changed, 1657 insertions(+), 2 deletions(-) > > > create mode 100644 arch/x86/include/uapi/asm/sgx.h > > >

Re: [RFC PATCH v2 1/1] mm/vmap: keep track of free blocks for vmap allocation

2019-03-26 Thread Uladzislau Rezki
Hello, Roman. > > > > So, does it mean that this function always returns two following elements? > > Can't it return a single element using the return statement instead? > > The second one can be calculated as ->next? > > > Yes, they follow each other and if you return "prev" for example you

Re: [PATCH -tip v3 04/10] x86/kprobes: Prohibit probing on IRQ handlers directly

2019-03-26 Thread Masami Hiramatsu
On Mon, 25 Mar 2019 17:23:34 -0400 Steven Rostedt wrote: > On Wed, 13 Feb 2019 01:12:44 +0900 > Masami Hiramatsu wrote: > > > Prohibit probing on IRQ handlers in irqentry_text because > > if it interrupts user mode, at that point we haven't changed > > to kernel space yet and which eventually

Re: [PATCH] spi: tegra20-slink: change chip select action order

2019-03-26 Thread Thierry Reding
On Tue, Mar 26, 2019 at 03:30:50PM +0100, Randolph Maaßen wrote: > To transfer via SPI the tegra20-slink driver first sets the command > register, which contains the chip select value, and after that the > command2 register, which contains the chip select line. This leads to a > small spike in the

Applied "ASoC: add fsl_audmix DT binding documentation" to the asoc tree

2019-03-26 Thread Mark Brown
The patch ASoC: add fsl_audmix DT binding documentation has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

[PATCH v6 1/1] gpio: add driver for Mellanox BlueField GPIO controller

2019-03-26 Thread Shravan Kumar Ramani
This patch adds support for the GPIO controller used by Mellanox BlueField SOCs. Reviewed-by: David Woods Signed-off-by: Shravan Kumar Ramani --- drivers/gpio/Kconfig | 7 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-mlxbf.c | 153

Applied "regulator: act8865: Convert to regulator core's simplified DT parsing code" to the regulator tree

2019-03-26 Thread Mark Brown
The patch regulator: act8865: Convert to regulator core's simplified DT parsing code has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually

Applied "regulator: act8865: Constify regulator_ops" to the regulator tree

2019-03-26 Thread Mark Brown
The patch regulator: act8865: Constify regulator_ops has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "spi: stm32-qspi: add spi_master_put in release function" to the spi tree

2019-03-26 Thread Mark Brown
The patch spi: stm32-qspi: add spi_master_put in release function has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "spi: stm32-qspi: add dma support" to the spi tree

2019-03-26 Thread Mark Brown
The patch spi: stm32-qspi: add dma support has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during

Applied "regulator: da9063: convert header to SPDX" to the regulator tree

2019-03-26 Thread Mark Brown
The patch regulator: da9063: convert header to SPDX has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "regulator: tps65217: Fix off-by-one for latest seletor of tps65217_uv1_ranges" to the regulator tree

2019-03-26 Thread Mark Brown
The patch regulator: tps65217: Fix off-by-one for latest seletor of tps65217_uv1_ranges has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually

Applied "ASoC: fsl: Add Audio Mixer CPU DAI driver" to the asoc tree

2019-03-26 Thread Mark Brown
The patch ASoC: fsl: Add Audio Mixer CPU DAI driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "regulator: sc2731: Constify regulators" to the regulator tree

2019-03-26 Thread Mark Brown
The patch regulator: sc2731: Constify regulators has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

[PATCH v6 0/1] gpio: add driver for Mellanox BlueField GPIO

2019-03-26 Thread Shravan Kumar Ramani
Changes since v5: Use devm_platform_ioremap_resource(). Shravan Kumar Ramani (1): gpio: add driver for Mellanox BlueField GPIO controller drivers/gpio/Kconfig | 7 +++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-mlxbf.c | 153 ++ 3

Re: [PATCH -next] x86/apic: Reduce print level of CPU limit announcement

2019-03-26 Thread Leon Romanovsky
On Tue, Mar 26, 2019 at 01:29:54PM +0100, Rafael J. Wysocki wrote: > On Tue, Mar 26, 2019 at 1:02 PM Leon Romanovsky wrote: > > > > From: Leon Romanovsky > > > > Kernel is booted with less possible CPUs (possible_cpus kernel boot > > option) than available CPUs will have prints like this: > > >

Re: [PATCH v2 2/8] kbuild: Support for Symbols.list creation

2019-03-26 Thread Joao Moreira
On 3/20/19 4:08 PM, Miroslav Benes wrote: diff --git a/scripts/Makefile.build b/scripts/Makefile.build index fd03d60f6c5a..1e28ad21314c 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -247,6 +247,11 @@ cmd_gen_ksymdeps = \ $(CONFIG_SHELL)

[PATCH] spi: tegra20-slink: change chip select action order

2019-03-26 Thread Randolph Maaßen
To transfer via SPI the tegra20-slink driver first sets the command register, which contains the chip select value, and after that the command2 register, which contains the chip select line. This leads to a small spike in the chip selct 0 line between the set of the value and the selection of the

Re: [PATCH 3/3] rcu: validate arguments for rcu tracepoints

2019-03-26 Thread Paul E. McKenney
On Tue, Mar 26, 2019 at 09:40:07AM +0800, Yafang Shao wrote: > When CONFIG_RCU_TRACE is not set, all these tracepoints are define as > do-nothing macro. > We'd better make those inline functions that take proper arguments. > > As RCU_TRACE() is defined as do-nothing marco as well when >

Re: [PATCH v2 2/4] mm/sparse: Optimize sparse_add_one_section()

2019-03-26 Thread Michal Hocko
On Tue 26-03-19 22:18:03, Baoquan He wrote: > On 03/26/19 at 03:03pm, Michal Hocko wrote: > > On Tue 26-03-19 21:45:22, Baoquan He wrote: > > > On 03/26/19 at 11:17am, Michal Hocko wrote: > > > > On Tue 26-03-19 18:08:17, Baoquan He wrote: > > > > > On 03/26/19 at 10:29am, Michal Hocko wrote: > >

[PATCH v5 6/6] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2019-03-26 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP fpga driver bindings. Signed-off-by: Nava kishore Manne --- Changes for v5: -Moved pcap node as a child to firwmare node as suggested by Rob. Changes for v4: -Modified binding description as suggested by

[PATCH v5 4/6] dt-bindings: pinctrl: Add ZynqMP pin controller bindings

2019-03-26 Thread Nava kishore Manne
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP pin controller bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../bindings/pinctrl/xlnx,zynqmp-pinctrl.txt | 275 ++ 1 file changed, 275 insertions(+) create mode

[PATCH v5 5/6] dt-bindings: nvmem: Add bindings for ZynqMP nvmem driver

2019-03-26 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP nvmem driver bindings. Signed-off-by: Nava kishore Manne Reviewed-by: Rob Herring --- .../bindings/nvmem/xlnx,zynqmp-nvmem.txt | 47 +++ 1 file changed, 47 insertions(+) create mode 100644

[PATCH v5 3/6] dt-bindings: reset: Add bindings for ZynqMP reset driver

2019-03-26 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP reset driver bindings. Signed-off-by: Nava kishore Manne Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../bindings/reset/xlnx,zynqmp-reset.txt | 52 +++ .../dt-bindings/reset/xlnx-zynqmp-resets.h| 130 ++ 2

[PATCH v5 1/6] dt-bindings: power: Add ZynqMP power domain bindings

2019-03-26 Thread Nava kishore Manne
From: Rajan Vaja Add documentation to describe ZynqMP power domain bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../bindings/power/xlnx,zynqmp-genpd.txt | 34 include/dt-bindings/power/xlnx-zynqmp-power.h | 39

[PATCH v5 2/6] dt-bindings: soc: Add ZynqMP PM bindings

2019-03-26 Thread Nava kishore Manne
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP power management bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../power/reset/xlnx,zynqmp-power.txt | 25 +++ 1 file changed, 25 insertions(+) create mode

[PATCH v5 0/6]dt-bindings: Firmware node binding for ZynqMP core

2019-03-26 Thread Nava kishore Manne
Base firmware node and clock child node binding are part of mainline kernel. This patchset adds documentation to describe rest of the firmware child node bindings. Complete firmware DT node example is shown below for ease of understanding: firmware { zynqmp_firmware: zynqmp-firmware {

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Heikki Krogerus
On Tue, Mar 26, 2019 at 04:12:43PM +0200, Sakari Ailus wrote: > Moi, > > On Tue, Mar 26, 2019 at 04:06:33PM +0200, Heikki Krogerus wrote: > > Hi, > > > > On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > > > > > > On ACPI based systems the resulting strings look like > > > > > >

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 04:12:43PM +0200, Sakari Ailus wrote: > On Tue, Mar 26, 2019 at 04:06:33PM +0200, Heikki Krogerus wrote: > > On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > > > > > Do we support swnode here? > > > > > > > > Good question. The swnodes have no hierarchy

Re: [PATCH v19,RESEND 08/27] x86/cpu/intel: Detect SGX support and update caps appropriately

2019-03-26 Thread Sean Christopherson
On Tue, Mar 26, 2019 at 05:17:40AM -0700, Huang, Kai wrote: > On Wed, 2019-03-20 at 18:21 +0200, Jarkko Sakkinen wrote: > > From: Sean Christopherson > > > > Similar to other large Intel features such as VMX and TXT, SGX must be > > explicitly enabled in IA32_FEATURE_CONTROL MSR to be truly

Re: Bad file pattern in MAINTAINERS section 'KEYS-TRUSTED'

2019-03-26 Thread James Bottomley
On Tue, 2019-03-26 at 08:10 -0400, Mimi Zohar wrote: > Hi Jarrko, > > On Tue, 2019-03-26 at 13:37 +0200, Jarkko Sakkinen wrote: > > Mimi, > > > > Can you fix this and I can ack and send PR through my tree? > > Making the "trusted.h" include file public was part of David's "KEYS: > Support

Re: [PATCH 09/10] ALSA: pcm: Add snd_pcm_ops for snd_pcm_link()

2019-03-26 Thread Takashi Iwai
On Tue, 26 Mar 2019 12:25:37 +0100, Timo Wischer wrote: > > On 3/26/19 09:35, Takashi Iwai wrote: > > On Tue, 26 Mar 2019 08:49:33 +0100, > wrote: > > From: Timo Wischer > > snd_pcm_link() can be called by the user as long as the device is not >

Re:Re: [PATCH v2] mtd: spi-nor: Return error when nor->addr_width does not match the device size

2019-03-26 Thread Liu Xiang
Hi, Vignesh Thanks for your suggestion. I will send a new patch. At 2019-03-19 13:22:15, "Vignesh Raghavendra" wrote: >Hi, > >On 13/03/19 7:15 PM, Liu Xiang wrote: >> In some is25lp256, the DWORD1 of JEDEC Basic Flash Parameter Header >> is 0xfff920e5. So the DWORD1[18:17] Address Bytes

Re: [PATCH v2 2/4] mm/sparse: Optimize sparse_add_one_section()

2019-03-26 Thread Baoquan He
On 03/26/19 at 03:03pm, Michal Hocko wrote: > On Tue 26-03-19 21:45:22, Baoquan He wrote: > > On 03/26/19 at 11:17am, Michal Hocko wrote: > > > On Tue 26-03-19 18:08:17, Baoquan He wrote: > > > > On 03/26/19 at 10:29am, Michal Hocko wrote: > > > > > On Tue 26-03-19 17:02:25, Baoquan He wrote: > >

Re: [PATCH v2 3/4] ARM: dts: da850-evm: enable cpufreq

2019-03-26 Thread Adam Ford
On Fri, Mar 22, 2019 at 8:31 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > Enable cpufreq-dt support for da850-evm. The cvdd is supplied by the > tps6507 pmic with configurable output voltage, so all operating points > can be enabled. > > Signed-off-by: Bartosz Golaszewski >

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Sakari Ailus
Moi, On Tue, Mar 26, 2019 at 04:06:33PM +0200, Heikki Krogerus wrote: > Hi, > > On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > > > > > On ACPI based systems the resulting strings look like > > > > > > > > > > \_SB.PCI0.CIO2.port@1.endpoint@0 > > > > > > > > > > where

Re: [PATCH] libata: fix using DMA buffers on stack

2019-03-26 Thread Jens Axboe
On 3/25/19 9:07 PM, raymond pang wrote: > When CONFIG_VMAP_STACK=y, __pa() returns incorrect physical address for > a stack virtual address. Stack DMA buffers must be avoided. The patch looks fine, but it's white space mangled so it won't apply. Additionally, you don't need to use kzfree, just

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Sakari Ailus
Hi Andy, On Tue, Mar 26, 2019 at 03:55:57PM +0200, Andy Shevchenko wrote: > On Tue, Mar 26, 2019 at 03:39:47PM +0200, Sakari Ailus wrote: > > On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > > > On Sun, Mar 24, 2019 at 08:17:46PM +0200, Sakari Ailus wrote: > > > > The patch

Re: [PATCH v11 6/8] rtc: bd70528: Initial support for ROHM bd70528 RTC

2019-03-26 Thread Vaittinen, Matti
On Mon, 2019-03-25 at 18:04 +0100, Alexandre Belloni wrote: > On 25/03/2019 14:06:42+0200, Matti Vaittinen wrote: > > Support RTC block in ROHM bd70528 power management IC. Support > > getting and setting the time and date as well as arming an alarm > > which can also be used to wake the PMIC from

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Heikki Krogerus
Hi, On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > > > > On ACPI based systems the resulting strings look like > > > > > > > > \_SB.PCI0.CIO2.port@1.endpoint@0 > > > > > > > > where the nodes are separated by a dot (".") and the first three are > > > > ACPI device

RE: [PATCH v4 6/6] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2019-03-26 Thread Nava kishore Manne
Hi Rob, Thanks for the response. Please find my response inline. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Tuesday, March 26, 2019 12:49 AM > To: Nava kishore Manne > Cc: at...@kernel.org; m...@kernel.org; mark.rutl...@arm.com; Michal Simek > ;

Re: [PATCH v11 6/8] rtc: bd70528: Initial support for ROHM bd70528 RTC

2019-03-26 Thread Alexandre Belloni
On 26/03/2019 13:51:40+, Vaittinen, Matti wrote: > On Mon, 2019-03-25 at 18:04 +0100, Alexandre Belloni wrote: > > On 25/03/2019 14:06:42+0200, Matti Vaittinen wrote: > > > Support RTC block in ROHM bd70528 power management IC. Support > > > getting and setting the time and date as well as

Re: [PATCH v2 2/4] mm/sparse: Optimize sparse_add_one_section()

2019-03-26 Thread Michal Hocko
On Tue 26-03-19 21:45:22, Baoquan He wrote: > On 03/26/19 at 11:17am, Michal Hocko wrote: > > On Tue 26-03-19 18:08:17, Baoquan He wrote: > > > On 03/26/19 at 10:29am, Michal Hocko wrote: > > > > On Tue 26-03-19 17:02:25, Baoquan He wrote: > > > > > Reorder the allocation of usemap and memmap

Re: [PATCH] perf machine: Update kernel map address and re-order properly

2019-03-26 Thread Namhyung Kim
Hello, On Tue, Mar 26, 2019 at 6:12 PM liwei (GF) wrote: > > Hi Arnaldo, > > Please shoot a glance at this modification, i think this issue is influential. > > On 2019/2/28 19:28, Jiri Olsa Wrote: > > On Thu, Feb 28, 2019 at 05:20:03PM +0800, Wei Li wrote: > >> Since commit 1fb87b8e9599 ("perf

Re: [PATCH v2 1/4] ARM: davinci: fix cpufreq registration on da850-evm

2019-03-26 Thread Adam Ford
On Fri, Mar 22, 2019 at 8:31 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > The system_rev variable is never set on davinci and is always 0, so > we're using the default max operating point of 300MHz. The cvdd supply > comes from the tps6507 pmic and the voltage can go all the

Re: [RFC PATCH 0/10] Another Approach to Use PMEM as NUMA Node

2019-03-26 Thread Michal Hocko
On Sat 23-03-19 12:44:25, Yang Shi wrote: > > With Dave Hansen's patches merged into Linus's tree > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c221c0b0308fd01d9fb33a16f64d2fd95f8830a4 > > PMEM could be hot plugged as NUMA node now. But, how to use PMEM as

[PATCH v3 1/2] iio: Add driver for TLA202x ADCs

2019-03-26 Thread Ibtsam Ul-Haq
Basic driver for Texas Instruments TLA202x series ADCs. Input channels are configurable from the device tree. Input scaling is supported. Trigger buffer support is not yet implemented. Signed-off-by: Ibtsam Ul-Haq --- Changes in v3: - Added locking when setting SCALE - Removed deep-indented goto

Re: [PATCH v2] x86/boot: Use EFI setup data if provided

2019-03-26 Thread Borislav Petkov
On Mon, Mar 25, 2019 at 11:10:01PM +, Junichi Nomura wrote: > efi_get_rsdp_addr() and kexec_get_rsdp_addr() could be implemented > like this (sorry about the pseudo code): This doesn't look like what I suggested: > So efi_get_rsdp_addr() needs to be refactored in such a way so that at >

Re: [PATCH v2 2/4] mm/sparse: Optimize sparse_add_one_section()

2019-03-26 Thread Mike Rapoport
On Tue, Mar 26, 2019 at 09:45:22PM +0800, Baoquan He wrote: > On 03/26/19 at 11:17am, Michal Hocko wrote: > > On Tue 26-03-19 18:08:17, Baoquan He wrote: > > > On 03/26/19 at 10:29am, Michal Hocko wrote: > > > > On Tue 26-03-19 17:02:25, Baoquan He wrote: > > > > > Reorder the allocation of usemap

[PATCH v3 2/2] dt-bindings: iio: Add bindings for TI TLA202x ADCs

2019-03-26 Thread Ibtsam Ul-Haq
This adds devicetree bindings for TI TLA202x ADCs. Signed-off-by: Ibtsam Ul-Haq --- .../devicetree/bindings/iio/adc/ti-tla2024.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ti-tla2024.txt diff --git

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 03:39:47PM +0200, Sakari Ailus wrote: > On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > > On Sun, Mar 24, 2019 at 08:17:46PM +0200, Sakari Ailus wrote: > > The patch series by Petr I mentioned takes care about OF case. But it > > doesn't > > have

Re: [PATCH V3 01/23] perf/x86: Support outputting XMM registers

2019-03-26 Thread Liang, Kan
On 3/26/2019 9:47 AM, Thomas Gleixner wrote: On Tue, 26 Mar 2019, Liang, Kan wrote: On 3/25/2019 8:11 PM, Thomas Gleixner wrote: -#define REG_RESERVED (~((1ULL << PERF_REG_X86_MAX) - 1ULL)) +#define REG_RESERVED 0 What's the point of having this around? I once thought it may be kept

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-26 Thread Thomas Gleixner
On Tue, 26 Mar 2019, Josh Poimboeuf wrote: > On Sun, Mar 24, 2019 at 09:13:18PM +0100, Thomas Gleixner wrote: > > Second thoughts. I'm not really convinced that changing the meaning of > > notsupported and in fact overloading it, is the right thing to do. > > notsupported means now: > > > > CPU

Re: CONFIG_DEBUG_VIRTUAL breaks boot on x86-32

2019-03-26 Thread William Kucharski
Does this still happen on 5.1-rc2? Do you have idea as to what max_low_pfn() gets set to on your system at boot time? From the screen shot I'm guessing it MIGHT be 0x373fe, but it's hard to know for sure. > On Mar 21, 2019, at 2:22 PM, Meelis Roos wrote: > > I tried to debug another

Re: [RFC PATCH v4 0/8] This patch-set is to enable Guest CET support

2019-03-26 Thread Yang Weijiang
On Mon, Mar 18, 2019 at 11:03:43PM +0800, Yang Weijiang wrote: > Control-flow Enforcement Technology (CET) provides protection against > return/jump-oriented programming (ROP) attacks. To make kvm Guest OS own > the capability, this patch-set is required. It enables CET related CPUID > report,

Re: [PATCH v2] arm64: dts: rockchip: add rk3399 UART DMAs

2019-03-26 Thread Katsuhiro Suzuki
Hello Robin, Sorry for inconvenience. Since I don't adhere enabling DMA for UARTs, please revert my patch if you need. BTW, there are DMA properties in RK3328 device-tree like as this patch. RK3328 UART DMA could not work correctly too...?? Best Regards, Katsuhiro Suzuki On 2019/03/26 20:48,

Re: [RESEND PATCH v6 06/11] mfd: max77650: new core mfd driver

2019-03-26 Thread Bartosz Golaszewski
pt., 22 mar 2019 o 10:12 Pavel Machek napisał(a): > > On Mon 2019-03-18 18:42:23, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Add the core mfd driver for max77650 PMIC. We define five sub-devices > > for which the drivers will be added in subsequent patches. > > > >

Re: [PATCH] KVM: x86: nVMX: allow RSM to restore VMXE CR4 flag

2019-03-26 Thread Vitaly Kuznetsov
Liran Alon writes: >> On 26 Mar 2019, at 15:07, Vitaly Kuznetsov wrote: >> >> Commit 5bea5123cbf0 ("KVM: VMX: check nested state and CR4.VMXE against >> SMM") introduced a check to vmx_set_cr4() forbidding to set VMXE from SMM. >> The check is correct, however, there is a special case when RSM

Re: [PATCH V3 01/23] perf/x86: Support outputting XMM registers

2019-03-26 Thread Thomas Gleixner
On Tue, 26 Mar 2019, Liang, Kan wrote: > On 3/25/2019 8:11 PM, Thomas Gleixner wrote: > > -#define REG_RESERVED (~((1ULL << PERF_REG_X86_MAX) - 1ULL)) > +#define REG_RESERVED 0 What's the point of having this around? > int perf_reg_validate(u64 mask) > { > if (!mask || mask &

[PATCH] Staging: emxx_udc: emxx_udc: Fixed a coding style error

2019-03-26 Thread Will Cunningham
Removed unnecessary parentheses. Signed-off-by: Will Cunningham --- drivers/staging/emxx_udc/emxx_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index a913d40f0801..80a906742cdc 100644 ---

Re: [PATCH v2 2/4] mm/sparse: Optimize sparse_add_one_section()

2019-03-26 Thread Baoquan He
On 03/26/19 at 11:17am, Michal Hocko wrote: > On Tue 26-03-19 18:08:17, Baoquan He wrote: > > On 03/26/19 at 10:29am, Michal Hocko wrote: > > > On Tue 26-03-19 17:02:25, Baoquan He wrote: > > > > Reorder the allocation of usemap and memmap since usemap allocation > > > > is much simpler and

[PATCH v2] devantech-srf04.yaml: transform DT binding to YAML

2019-03-26 Thread Andreas Klinger
devantech-srf04.yaml: yaml devicetree binding for iio ultrasonic proximity driver of devantech srf04 use devantech-srf04.txt, transform binding into yaml and remove the outdated DT documentation Signed-off-by: Andreas Klinger --- .../bindings/iio/proximity/devantech-srf04.txt | 28

Re: [PATCH] arm64: dts: rockchip: decrease rising edge time of UART2

2019-03-26 Thread Katsuhiro Suzuki
Hello Tony, Robin, I continue to investigate UART TX rising time problem. Recently, I found one of cause of this problem. In my environment, this problem occurred on linux-next only. U-Boot does not face it. So I compared settings between U-Boot and linux-next. After I found GRF_IO_VSEL

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Sakari Ailus
Hi Andy, On Tue, Mar 26, 2019 at 03:13:53PM +0200, Andy Shevchenko wrote: > On Sun, Mar 24, 2019 at 08:17:46PM +0200, Sakari Ailus wrote: > > On Fri, Mar 22, 2019 at 07:21:14PM +0200, Andy Shevchenko wrote: > > > On Fri, Mar 22, 2019 at 05:29:30PM +0200, Sakari Ailus wrote: > > > > Add support

Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory

2019-03-26 Thread Oleg Nesterov
On 03/25, Christopher Lameter wrote: > > On Fri, 22 Mar 2019, Matthew Wilcox wrote: > > > Only for SLAB and SLUB. SLOB requires that you pass a pointer to the > > slab cache; it has no way to look up the slab cache from the object. > > Well then we could either fix SLOB to conform to the others

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-26 Thread Sakari Ailus
Hi Andy, On Tue, Mar 26, 2019 at 03:16:26PM +0200, Andy Shevchenko wrote: > On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > > The prefix is used for printing purpose before a node, and it also works > > as a separator between two nodes. > > > > One nit below. > > > +static

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-26 Thread Josh Poimboeuf
On Sun, Mar 24, 2019 at 09:13:18PM +0100, Thomas Gleixner wrote: > On Fri, 1 Mar 2019, Josh Poimboeuf wrote: > > Make the /sys/devices/system/cpu/smt/* files available on all arches, so > > user space has a consistent way to detect whether SMT is enabled. > > > > The 'control' file now shows

Re: [LINUX PATCH v13] rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-03-26 Thread Helmut Grohne
On Sat, Feb 09, 2019 at 12:07:27PM +0530, Naga Sureshkumar Relli wrote: > +static void pl353_nfc_force_byte_access(struct nand_chip *chip, > + bool force_8bit) > +{ > + struct pl353_nand_controller *xnfc = > + container_of(chip, struct

Re: [PATCH v2 6/6] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Sakari Ailus
Hi Andy, Rasmus, Thanks for the comments. On Tue, Mar 26, 2019 at 03:24:50PM +0200, Andy Shevchenko wrote: > On Tue, Mar 26, 2019 at 02:11:35PM +0100, Rasmus Villemoes wrote: > > On 26/03/2019 13.41, Sakari Ailus wrote: > > > Add support for %pfw conversion specifier (with "f" and "P" modifiers)

RE: [PATCH 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes

2019-03-26 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Tuesday, March 26, 2019 5:43 PM > > i.MX8QXP contains a total of 4 EDMA controllers of which two are primarily > for audio components and the other two are for non-audio periperhals. > > This patch adds the EDMA0/EDMA1 nodes used by audio peripherals. > > EDMA0

Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory

2019-03-26 Thread Oleg Nesterov
Sorry, I am sick and can't work, hopefully I'll return tomorrow. On 03/22, Christopher Lameter wrote: > > On Fri, 22 Mar 2019, Waiman Long wrote: > > > I am looking forward to it. > > There is also alrady rcu being used in these paths. kfree_rcu() would not > be enough? It is an estalished

[PATCH v2 2/2] dt-bindings: phy-qcom-qmp: Add qcom,msm8998-qmp-pcie-phy

2019-03-26 Thread Marc Gonzalez
Add compatible string for QMP PCIe phy on msm8998. Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt

Re: [PATCH v2 6/6] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 02:11:35PM +0100, Rasmus Villemoes wrote: > On 26/03/2019 13.41, Sakari Ailus wrote: > > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > > support printing full path of the node, including its name ("f") and only > > the node's name ("P") in the

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-26 Thread David Woodhouse
On Tue, 2019-03-26 at 12:17 +, Lorenzo Pieralisi wrote: > [+Zhou, Gustavo] > > On Tue, Mar 26, 2019 at 12:00:55PM +0200, Jonathan Chocron wrote: > > Adding support for Amazon's Annapurna Labs PCIe driver. > > The HW controller is based on DesignWare's IP. > > > > The HW doesn't support

Re: [PATCH net-next v5 05/22] ethtool: introduce ethtool netlink interface

2019-03-26 Thread Michal Kubecek
On Tue, Mar 26, 2019 at 01:09:09PM +0100, Jiri Pirko wrote: > Mon, Mar 25, 2019 at 06:08:09PM CET, mkube...@suse.cz wrote: > >+All "set" and "action" type requests require admin privileges (CAP_NET_ADMIN > >+in the namespace). Most "get" type request are allowed for anyone but there > >

[PATCH v2 1/2] phy: qcom-qmp: Add msm8998 PCIe QMP PHY support

2019-03-26 Thread Marc Gonzalez
Copy init sequence from downstream: https://source.codeaurora.org/quic/la/kernel/msm-4.4/tree/arch/arm/boot/dts/qcom/msm8998-v2.dtsi?h=LE.UM.1.3.r3.25#n372 Signed-off-by: Marc Gonzalez Reviewed-by: Vivek Gautam --- drivers/phy/qualcomm/phy-qcom-qmp.c | 110

Re: [PATCH v12 01/11] bitops: Introduce the for_each_set_clump8 macro

2019-03-26 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 02:03:19PM +0100, Lukas Wunner wrote: > On Tue, Mar 26, 2019 at 07:08:18PM +0900, William Breathitt Gray wrote: > > On Tue, Mar 26, 2019 at 10:43:45AM +0100, Lukas Wunner wrote: > > In this case, bitmap_get_value8 could be simplified to something like > > this: > > > >

Re: [PATCH] timekeeping: Force upper bound for setting CLOCK_REALTIME

2019-03-26 Thread Arnd Bergmann
On Tue, Mar 26, 2019 at 1:31 PM Thomas Gleixner wrote: > > On Tue, 26 Mar 2019, Miroslav Lichvar wrote: > > On Sat, Mar 23, 2019 at 11:36:19AM +0100, Thomas Gleixner wrote: > > > It is reasonable to force an upper bound for the various methods of > > > setting > > > CLOCK_REALTIME. Year 2262 is

Re: Reading `/sys/kernel/debug/kmemleak` takes 3 s and content not shown

2019-03-26 Thread Paul Menzel
Dear Christophe, On 26.03.19 13:55, Christophe Leroy wrote: Le 26/03/2019 à 13:49, Paul Menzel a écrit : On 19.02.19 10:44, Paul Menzel wrote: On a the IBM S822LC (8335-GTA) with Ubuntu 18.10, and Linux 5.0-rc5+ accessing `/sys/kernel/debug/kmemleak` takes a long time. According to

Re: linux-next: build failure after merge of the sound-asoc tree

2019-03-26 Thread Mark Brown
On Tue, Mar 26, 2019 at 01:33:49PM +1100, Stephen Rothwell wrote: > After merging the sound-asoc tree, today's linux-next build (powerpc > allyesconfig) failed like this: > sound/soc/codecs/tlv320aic32x4-clk.c: In function 'clk_aic32x4_pll_prepare': > include/linux/kernel.h:979:32: error:

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-26 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > The prefix is used for printing purpose before a node, and it also works > as a separator between two nodes. > One nit below. > +static const char * > +acpi_fwnode_get_name_prefix(const struct fwnode_handle *fwnode) > +{ > +

Re: [PATCH V3 01/23] perf/x86: Support outputting XMM registers

2019-03-26 Thread Liang, Kan
On 3/25/2019 8:11 PM, Thomas Gleixner wrote: On Fri, 22 Mar 2019, kan.li...@linux.intel.com wrote: + PERF_REG_X86_XMM15 = 62, + + /* All registers include the XMMX registers */ + PERF_REG_X86_MAX = PERF_REG_X86_XMM15 + 2, Ergo: PERF_REG_X86_MAX == 64 -#define

Re: [PATCH v0] nvmem: core: Export nvmem cell info to userspace

2019-03-26 Thread Gaurav Kohli
On 3/25/2019 4:28 PM, Srinivas Kandagatla wrote: On 24/03/2019 15:25, Gaurav Kohli wrote: On 3/22/2019 8:53 PM, Srinivas Kandagatla wrote: On 20/03/2019 05:53, Gaurav Kohli wrote: From: Shiraz Hashim Existing nvmem framework export full register space as nvmem binary, but not

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Andy Shevchenko
On Sun, Mar 24, 2019 at 08:17:46PM +0200, Sakari Ailus wrote: > On Fri, Mar 22, 2019 at 07:21:14PM +0200, Andy Shevchenko wrote: > > On Fri, Mar 22, 2019 at 05:29:30PM +0200, Sakari Ailus wrote: > > > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > > > support printing

[PATCH] mfd: Kconfig: Fix typo in PMIC_ADP5520 help text

2019-03-26 Thread michael.hennerich
From: Michael Hennerich No functional changes. This fixes a simple typo in the help text. Signed-off-by: Michael Hennerich --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 0ce2d8d..5660d48 100644 ---

Re: [PATCH] KVM: x86: nVMX: allow RSM to restore VMXE CR4 flag

2019-03-26 Thread Liran Alon
> On 26 Mar 2019, at 15:07, Vitaly Kuznetsov wrote: > > Commit 5bea5123cbf0 ("KVM: VMX: check nested state and CR4.VMXE against > SMM") introduced a check to vmx_set_cr4() forbidding to set VMXE from SMM. > The check is correct, however, there is a special case when RSM is called > to leave

Re: [PATCH v2 6/6] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-26 Thread Rasmus Villemoes
On 26/03/2019 13.41, Sakari Ailus wrote: > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > support printing full path of the node, including its name ("f") and only > the node's name ("P") in the printk family of functions. The two flags > have equivalent functionality

[PATCH] KVM: x86: nVMX: allow RSM to restore VMXE CR4 flag

2019-03-26 Thread Vitaly Kuznetsov
Commit 5bea5123cbf0 ("KVM: VMX: check nested state and CR4.VMXE against SMM") introduced a check to vmx_set_cr4() forbidding to set VMXE from SMM. The check is correct, however, there is a special case when RSM is called to leave SMM: rsm_enter_protected_mode() is called with HF_SMM_MASK still set

Re: [PATCH v12 01/11] bitops: Introduce the for_each_set_clump8 macro

2019-03-26 Thread Lukas Wunner
On Tue, Mar 26, 2019 at 07:08:18PM +0900, William Breathitt Gray wrote: > On Tue, Mar 26, 2019 at 10:43:45AM +0100, Lukas Wunner wrote: > > I'd try to avoid copying around the clump value and use a pointer > > to u8 instead. > > Although in this case we are handling 8-bit clumps, I anticipate

Re: [PATCH v2] pci: pcie-xilinx: fix a missing-check bug for __get_free_pages

2019-03-26 Thread Robin Murphy
On 23/03/2019 21:04, Aditya Pakki wrote: In case __get_free_pages fail, the fix returns error upstream to avoid NULL pointer dereference. Where does msi_pages ever get dereferenced? The logic here might actually still have a chance of working out OK with NULL depending on how the memory maps

Re: [PATCH 1/2] devantech-srf04.yaml: transform DT binding to YAML

2019-03-26 Thread Rob Herring
On Tue, Mar 26, 2019 at 7:31 AM Andreas Klinger wrote: > > use devantech-srf04.txt and transform binding into yaml I'd just collapse these into 1 patch. > > Signed-off-by: Andreas Klinger > --- > .../bindings/iio/proximity/devantech-srf04.yaml| 62 > ++ > 1 file

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-26 Thread Bjorn Helgaas
Nits, probably Lorenzo will fix them up unless he sees more substantive things. On Tue, Mar 26, 2019 at 12:00:55PM +0200, Jonathan Chocron wrote: > Adding support for Amazon's Annapurna Labs PCIe driver. Ideally, use "imperative mood", i.e., write it as a command: Add support for Amazon's

[PATCH] iio: adc: stm32: fix sleep inside atomic section when using DMA

2019-03-26 Thread Fabrice Gasnier
Enabling CONFIG_DEBUG_ATOMIC_SLEEP=y triggers this BUG message: BUG: sleeping function called from invalid context at kernel/irq/chip.c... Call stack is as follows: - __might_sleep - handle_nested_irq <-- Expects threaded irq - iio_trigger_poll_chained - stm32_adc_dma_buffer_done -

Re: [External] Re: Print map for total physical and virtual memory

2019-03-26 Thread Matthew Wilcox
On Tue, Mar 26, 2019 at 12:35:25PM +, Pankaj Suryawanshi wrote: > From: Matthew Wilcox > Sent: 26 March 2019 17:06 > To: Pankaj Suryawanshi > Cc: linux-kernel@vger.kernel.org; linux...@kvack.org > Subject: [External] Re: Print map for total physical and virtual memory > > CAUTION: This email

Re: [PATCH v2 4/4] drivers/base/memory.c: Rename the misleading parameter

2019-03-26 Thread Baoquan He
On 03/26/19 at 04:43am, Matthew Wilcox wrote: > On Tue, Mar 26, 2019 at 05:02:27PM +0800, Baoquan He wrote: > > The input parameter 'phys_index' of memory_block_action() is actually > > the section number, but not the phys_index of memory_block. Fix it. > > > static int > >

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