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 t

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 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: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 bi

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

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 TPM-wr

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 usabl

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 a

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

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

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

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

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

[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 Documentation/devicetree/bindings/nvmem

[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

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

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

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

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) $(srctree)/scripts/gen_ksym

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

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

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

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 Lin

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 s

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 se

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 th

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 s

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 some

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

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

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 l

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 can

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

[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 a/dri

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

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 pho

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 of

Re: [PATCH] phy: qcom: qmp: Add SDM845 PCIe QMP PHY support

2019-03-26 Thread Rob Herring
On Mon, Feb 25, 2019 at 10:59:19PM -0800, Bjorn Andersson wrote: > qcom_qmp_phy_init() is extended to support the additional register > writes needed in PCS MISC and the appropriate sequences and resources > are defined for SDM845. > > Signed-off-by: Bjorn Andersson > --- > .../devicetree/bindin

New feature/ABI review process [was Re: [RESEND PATCH v6 04/12] x86/fsgsbase/64:..]

2019-03-26 Thread Thomas Gleixner
Andi, On Mon, 25 Mar 2019, Andi Kleen wrote: > >So on user space to kernel space transitions swapping in kernel GS should > >simply do: > > userGS = RDGSBASE() > > WRGSBASE(kernelGS) > > This would also need to find kernelGS first, by doing RDPID and then > reading it from mem

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

2019-03-26 Thread Liran Alon
> On 26 Mar 2019, at 15:48, Vitaly Kuznetsov wrote: > > Liran Alon writes: > >>> On 26 Mar 2019, at 15:07, Vitaly Kuznetsov wrote: >>> - Instread of putting the temporary HF_SMM_MASK drop to >>> rsm_enter_protected_mode() (as was suggested by Liran), move it to >>> emulator_set_cr() modifyi

[PATCH v2] mfd: Add support for Merrifield Basin Cove PMIC

2019-03-26 Thread Andy Shevchenko
Add an mfd driver for Intel Merrifield Basin Cove PMIC. Signed-off-by: Andy Shevchenko --- - corrected name of Power Source detection driver drivers/mfd/Kconfig | 11 ++ drivers/mfd/Makefile | 1 + drivers/mfd/intel_soc_pmic_mrfld.c | 157 +++

Re: [PATCH v2 1/2] tty/serial: atmel: Add is_half_duplex helper

2019-03-26 Thread Richard Genoud
Le 19/03/2019 à 14:20, Razvan Stefanescu a écrit : > Use a helper function to check that a port needs to use half duplex > communication, replacing several occurrences of multi-line bit checking. > > Fixes: b389f173aaa1 ("tty/serial: atmel: RS485 half duplex w/DMA: enable > RX after TX is done") >

Re: [PATCH][next] RDMA/nes: remove redundant check on udata

2019-03-26 Thread Jason Gunthorpe
On Sat, Mar 02, 2019 at 11:06:36PM +, Colin King wrote: > From: Colin Ian King > > The non-null check on udata is redundant as this check was performed > just a few statements earlier and the check is always true as udata > must be non-null at this point. Remove redundant the check on udata >

Re: tools bugs: make clean deletes files in the git tree

2019-03-26 Thread Joe Lawrence
On 3/26/19 4:45 AM, Adrian Hunter wrote: Hi Doing: make -C tools clean Results in: git diff --stat tools/pci/pcitest.sh | 72 tools/testing/selftests/livepatch/test-callbacks.sh | 587 -

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

2019-03-26 Thread Rafael J. Wysocki
On Tue, Mar 26, 2019 at 3:41 PM Leon Romanovsky wrote: > > 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 bo

Re: [RFC PATCH 1/2] dt-bindings: spi: Add device tree binding documentation for Zynq QSPI controller

2019-03-26 Thread Rob Herring
On Thu, 28 Feb 2019 12:31:53 +0530, Naga Sureshkumar Relli wrote: > This patch adds the dts binding document for Zynq SOC QSPI > controller. > > Signed-off-by: Naga Sureshkumar Relli > --- > .../devicetree/bindings/spi/spi-zynq-qspi.txt | 25 > ++ > 1 file changed, 25 i

Re: [PATCH v2 2/2] tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped

2019-03-26 Thread Richard Genoud
Le 19/03/2019 à 14:20, Razvan Stefanescu a écrit : > In half-duplex operation, RX should be started after TX completes. > > If DMA is used, there is a case when the DMA transfer completes but the > TX FIFO is not emptied, so the RX cannot be restarted just yet. > > Use a boolean variable to store

Re: [PATCH ghak109 V1] audit: link integrity evm_write_xattrs record to syscall event

2019-03-26 Thread Mimi Zohar
On Wed, 2019-03-20 at 20:50 -0400, Richard Guy Briggs wrote: > On 2019-03-20 19:48, Paul Moore wrote: > > On Sat, Mar 16, 2019 at 8:10 AM Richard Guy Briggs wrote: > > > In commit fa516b66a1bf ("EVM: Allow runtime modification of the set of > > > verified xattrs"), the call to audit_log_start() is

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

2019-03-26 Thread Petr Mladek
On Fri 2019-03-22 17:29:30, 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 function

Re: [PATCH v2] x86/syscalls: Mark expected switch fall-throughs

2019-03-26 Thread Oleg Nesterov
On 03/23, Thomas Gleixner wrote: > > On Thu, 28 Feb 2019, Gustavo A. R. Silva wrote: > > > arch/x86/include/asm/syscall.h | 28 > > 1 file changed, 28 insertions(+) > > Second thoughts. So this adds 28 /* fall through */ comments. Now I > appreciate the effort, but c

[PATCH 00/10] Add Tegra194 PCIe support

2019-03-26 Thread Vidya Sagar
Tegra194 has six PCIe controllers based on Synopsys DesignWare core. There are two Universal PHY (UPHY) blocks with each supporting 12(HSIO: Hisg Speed IO) and 8(NVHS: NVIDIA High Speed) lanes respectively. Controllers:0~4 use UPHY lanes from HSIO brick whereas Controller:5 uses UPHY lanes from NVH

[PATCH 02/10] PCI: perform dbi regs write lock towards the end

2019-03-26 Thread Vidya Sagar
Remove multiple write enable and disable sequences of dbi registers as Tegra194 implements writes to BAR-0 register (offset: 0x10) controlled by DBI write-lock enable bit thereby not allowing any further writes to BAR-0 register in config space to take place. Hence disabling write permission only t

[PATCH 01/10] PCI: save pci_bus pointer in pcie_port structure

2019-03-26 Thread Vidya Sagar
save pci_bus pointer created by PCIe sub-system's pci_scan_root_bus_bridge() to be used by host controller drivers for post processing. Tegra host controller driver needs it for the following reasons - to derive pci_host_bridge structure from pci_bus which is used to configure iATU's outbound regio

[PATCH 03/10] PCI: dwc: Move config space capability search API

2019-03-26 Thread Vidya Sagar
move PCIe config space capability search API to common designware file as this can be used by both host and ep mode codes. It also adds extended capability search APIs. Signed-off-by: Vidya Sagar --- drivers/pci/controller/dwc/pcie-designware-ep.c | 37 + drivers/pci/controller/dwc/p

[PATCH 04/10] PCI: Add #defines for PCIe spec r4.0 features

2019-03-26 Thread Vidya Sagar
Add #defines for the Data Link Feature and Physical Layer 16.0 GT/s features. Signed-off-by: Vidya Sagar --- include/uapi/linux/pci_regs.h | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h inde

[PATCH 05/10] dt-bindings: PCI: tegra: Add device tree support for T194

2019-03-26 Thread Vidya Sagar
Add support for Tegra194 PCIe controllers. These controllers are based on Synopsys DesignWare core IP. Signed-off-by: Vidya Sagar --- .../bindings/pci/nvidia,tegra194-pcie.txt | 209 + .../devicetree/bindings/phy/phy-tegra194-p2u.txt | 34 2 files changed, 24

[PATCH 06/10] arm64: tegra: Add P2U and PCIe controller nodes to Tegra194 DT

2019-03-26 Thread Vidya Sagar
Add P2U (PIPE to UPHY) and PCIe controller nodes to device tree. The Tegra194 SoC contains six PCIe controllers and twenty P2U instances grouped into two different PHY bricks namely High-Speed IO (HSIO-12 P2Us) and NVIDIA High Speed (NVHS-8 P2Us) respectively. Signed-off-by: Vidya Sagar --- arch

[PATCH 07/10] arm64: tegra: Enable PCIe slots in P2972-0000 board

2019-03-26 Thread Vidya Sagar
Enable PCIe controller nodes to enable respective PCIe slots on P2972- board. Following is the ownership of slots by different PCIe controllers. Controller-0 : M.2 Key-M slot Controller-1 : On-board Marvell eSATA controller Controller-3 : M.2 Key-E slot Signed-off-by: Vidya Sagar --- arch/ar

[PATCH 08/10] phy: tegra: Add PCIe PIPE2UPHY support

2019-03-26 Thread Vidya Sagar
Synopsys DesignWare core based PCIe controllers in Tegra 194 SoC interface with Universal PHY (UPHY) module through a PIPE2UPHY (P2U) module. For each PCIe lane of a controller, there is a P2U unit instantiated at hardware level. This driver provides support for the programming required for each P2

[PATCH 10/10] arm64: Add Tegra194 PCIe driver to defconfig

2019-03-26 Thread Vidya Sagar
Add PCIe host controller driver for DesignWare core based PCIe controller IP present in Tegra194. Signed-off-by: Vidya Sagar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2d9c39033c1a..2ddea5

[PATCH 09/10] PCI: tegra: Add Tegra194 PCIe support

2019-03-26 Thread Vidya Sagar
Add support for Synopsys DesignWare core IP based PCIe host controller present in Tegra194 SoC. Signed-off-by: Vidya Sagar --- drivers/pci/controller/dwc/Kconfig | 10 + drivers/pci/controller/dwc/Makefile|1 + drivers/pci/controller/dwc/pcie-tegra194.c | 1862 +

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

2019-03-26 Thread Timo Wischer
On 3/26/19 15:23, Takashi Iwai wrote: 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

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

2019-03-26 Thread Andrea Righi
On Tue, Mar 26, 2019 at 11:50:52PM +0900, Masami Hiramatsu wrote: > 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 mod

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

2019-03-26 Thread Paul E. McKenney
On Tue, Mar 26, 2019 at 08:13:11PM +0800, Yafang Shao wrote: > When CONFIG_RCU_TRACE is not set, all these tracepoints are defined 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 > CONFIG_RC

Re: [PATCH 4.9 00/30] 4.9.166-stable review

2019-03-26 Thread Jon Hunter
On 26/03/2019 06:29, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.166 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.14 00/41] 4.14.109-stable review

2019-03-26 Thread Jon Hunter
On 26/03/2019 06:29, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.109 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

[PATCH v7 1/4] ACPI/IORT: Add support for PMCG

2019-03-26 Thread Shameer Kolothum
From: Neil Leeder Add support for the SMMU Performance Monitor Counter Group information from ACPI. This is in preparation for its use in the SMMUv3 PMU driver. Signed-off-by: Neil Leeder Signed-off-by: Hanjun Guo Signed-off-by: Shameer Kolothum Reviewed-by: Robin Murphy Acked-by: Lorenzo Pi

Re: [PATCH 4.19 00/45] 4.19.32-stable review

2019-03-26 Thread Jon Hunter
On 26/03/2019 06:29, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.32 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

[PATCH v7 0/4] arm64 SMMUv3 PMU driver with IORT support

2019-03-26 Thread Shameer Kolothum
This adds a driver for the SMMUv3 PMU into the perf framework. It includes an IORT update to support PM Counter Groups. This is based on the initial work done by Neil Leeder[1] SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of the SMMU PMCG. For example, the PMC

[PATCH v7 2/4] perf/smmuv3: Add arm64 smmuv3 pmu driver

2019-03-26 Thread Shameer Kolothum
From: Neil Leeder Adds a new driver to support the SMMUv3 PMU and add it into the perf events framework. Each SMMU node may have multiple PMUs associated with it, each of which may support different events. SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of the

[PATCH v7 3/4] perf/smmuv3: Add MSI irq support

2019-03-26 Thread Shameer Kolothum
This adds support for MSI-based counter overflow interrupt. Signed-off-by: Shameer Kolothum Reviewed-by: Robin Murphy --- drivers/perf/arm_smmuv3_pmu.c | 58 +++ 1 file changed, 58 insertions(+) diff --git a/drivers/perf/arm_smmuv3_pmu.c b/drivers/perf/a

[PATCH v7 4/4] perf/smmuv3: Enable HiSilicon Erratum 162001800 quirk

2019-03-26 Thread Shameer Kolothum
HiSilicon erratum 162001800 describes the limitation of SMMUv3 PMCG implementation on HiSilicon Hip08 platforms. On these platforms, the PMCG event counter registers (SMMU_PMCG_EVCNTRn) are read only and as a result it is not possible to set the initial counter period value on event monitor start.

Re: [PATCH 5.0 00/52] 5.0.5-stable review

2019-03-26 Thread Jon Hunter
On 26/03/2019 06:29, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.5 release. > There are 52 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses shou

[PATCH v4 0/2] staging: mt7621-mmc: correctness fixes

2019-03-26 Thread George Hilliard
Coding style fixup and rebase of v3, and resubmit of the Kconfig patch that got dropped from v2. No other changes. Thanks for your continued attention and reviews! George

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 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 bits are 0b00, >> means that 3-Byte only addressing. B

[PATCH v4 2/2] staging: mt7621-mmc: Initialize completions a single time during probe

2019-03-26 Thread George Hilliard
The module was initializing completions whenever it was going to wait on them, and not when the completion was allocated. This is incorrect according to the completion docs: Calling init_completion() on the same completion object twice is most likely a bug [...] Re-initialization is also

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

2019-03-26 Thread Petr Mladek
On Tue 2019-03-26 15:55:57, 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 series by Petr I mentioned t

[PATCH v4 1/2] staging: mt7621-mmc: Remove obsolete Kconfig flags

2019-03-26 Thread George Hilliard
These values are not referred to anywhere else in the kernel. Card detect is controlled by the device tree property "mediatek,cd-poll", and there is no driver support for eMMC whatsoever. Signed-off-by: George Hilliard --- v2: Rewrite of v1 v3: [Not present] v4: Resubmit of v2 drivers/staging/m

Re: [PATCH 8/8] vfio/mdev: Improve the create/remove sequence

2019-03-26 Thread Alex Williamson
On Tue, 26 Mar 2019 05:53:22 + Parav Pandit wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Parav Pandit > > Sent: Monday, March 25, 2019 10:19 PM > > To: Alex Williamson > > Cc: k...@vger.kernel.org; linux-kernel@vg

Re: [PATCH 2/3] genirq/timings: Add array suffix computation code

2019-03-26 Thread Daniel Lezcano
Hi Thomas, thanks for reviewing this patch. [ ... ] >> + >> +/* >> + * Exponential moving average computation >> + */ >> +static int irq_timings_ema_new(s64 value, s64 ema_old) > > There is a mixed bag of s64/u64 all over this code. Please stay > consistent. We had enough sign confusion bugs

Re: [PATCH 8/8] vfio/mdev: Improve the create/remove sequence

2019-03-26 Thread Alex Williamson
On Tue, 26 Mar 2019 12:36:22 +0530 Kirti Wankhede wrote: > On 3/23/2019 4:50 AM, Parav Pandit wrote: > > There are five problems with current code structure. > > 1. mdev device is placed on the mdev bus before it is created in the > > vendor driver. Once a device is placed on the mdev bus without

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

2019-03-26 Thread Steven Rostedt
On Tue, 26 Mar 2019 08:18:15 -0700 "Paul E. McKenney" wrote: > On Tue, Mar 26, 2019 at 08:13:11PM +0800, Yafang Shao wrote: > > When CONFIG_RCU_TRACE is not set, all these tracepoints are defined as > > do-nothing macro. > > We'd better make those inline functions that take proper arguments. > >

RE: [PATCH 8/8] vfio/mdev: Improve the create/remove sequence

2019-03-26 Thread Parav Pandit
> -Original Message- > From: Kirti Wankhede > Sent: Tuesday, March 26, 2019 2:06 AM > To: Parav Pandit ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; alex.william...@redhat.com > Cc: Neo Jia > Subject: Re: [PATCH 8/8] vfio/mdev: Improve the create/remove sequence > > > > On

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

2019-03-26 Thread Leon Romanovsky
On Tue, Mar 26, 2019 at 04:12:27PM +0100, Rafael J. Wysocki wrote: > On Tue, Mar 26, 2019 at 3:41 PM Leon Romanovsky wrote: > > > > 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

Re: [PATCH 27/27] kexec: Allow kexec_file() with appropriate IMA policy when locked down

2019-03-26 Thread Mimi Zohar
On Mon, 2019-03-25 at 15:09 -0700, Matthew Garrett wrote: > Systems in lockdown mode should block the kexec of untrusted kernels. > For x86 and ARM we can ensure that a kernel is trustworthy by validating > a PE signature, but this isn't possible on other architectures. On those > platforms we can

Re: [RFC v2 1/2] vfio/pci: export common symbols in vfio-pci

2019-03-26 Thread Alex Williamson
On Tue, 26 Mar 2019 12:37:37 + "Liu, Yi L" wrote: > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Tuesday, March 26, 2019 2:17 AM > > To: Liu, Yi L > > Subject: Re: [RFC v2 1/2] vfio/pci: export common symbols in vfio-pci > > > > On Sat, 23 Mar 2019 11:06:44 + >

[tip:core/urgent] proc/kcore: Remove unused kclist_add_remap()

2019-03-26 Thread tip-bot for Bhupesh Sharma
Commit-ID: db779ef67ffeadbb44e9e818eb64dbe528e2f48f Gitweb: https://git.kernel.org/tip/db779ef67ffeadbb44e9e818eb64dbe528e2f48f Author: Bhupesh Sharma AuthorDate: Tue, 26 Mar 2019 12:20:28 +0530 Committer: Borislav Petkov CommitDate: Tue, 26 Mar 2019 16:36:03 +0100 proc/kcore: Remove u

[PATCH 2/8] tools/lib/traceevent: Add counter to track parsing failures

2019-03-26 Thread Tzvetomir Stoyanov
This patch adds a parsing failures counter to struct tep_handle. The counter can be used to track failures on parsing event format files. It is updated automatically by tep_parse_event(), when failure is detected. The patch also adds two new APIs for accessing the counter: tep_get_parsing_failures

[PATCH 0/8] Cleanup traceevent API and make it more consistent

2019-03-26 Thread Tzvetomir Stoyanov
This patch series does a cleanup of traceevent implementation and APIs: - All "pevent" function parameters and local variables are renamed to "tep". This makes the implementation consistent with the chosen naming convention, tep (trace event parser), and avoids any confusion with the old "

[PATCH v3] kmemleaak: survive in a low-memory situation

2019-03-26 Thread Qian Cai
Kmemleak could quickly fail to allocate an object structure and then disable itself in a low-memory situation. For example, running a mmap() workload triggering swapping and OOM. This is especially problematic for running things like LTP testsuite where one OOM test case would disable the whole kme

[PATCH 7/8] tools/lib/traceevent: rename input arguments and local variables of libtraceevent from pevent to tep

2019-03-26 Thread Tzvetomir Stoyanov
This patch renames from "pevent" to "tep": - all "pevent" input arguments of libtraceevent internal functions. - all local "pevent" variables of libtraceevent. This makes the implementation consistent with the chosen naming convention, tep (trace event parser), and will avoid any confusion with t

[PATCH 4/8] tools/lib/traceevent: rename input arguments of libtraceevent APIs from pevent to tep

2019-03-26 Thread Tzvetomir Stoyanov
This patch renames "struct tep_handle *pevent" input arguments of libtraceevent APIs to "struct tep_handle *tep". This makes the API consistent with the chosen naming convention: tep (trace event parser), instead of the old pevent. Signed-off-by: Tzvetomir Stoyanov --- tools/lib/traceevent/event

[PATCH 3/8] tools/lib/traceevent: Remove tep filter trivial APIs

2019-03-26 Thread Tzvetomir Stoyanov
This patch removes trivial filter tep APIs: enum tep_filter_trivial_type tep_filter_event_has_trivial() tep_update_trivial() tep_filter_clear_trivial() Trivial filters is an optimization, used only in the first version of KernelShark. The API is deprecated, the next KernelShark release does no

[PATCH 5/8] tools/perf,tools/lib/traceevent: rename "pevent" member of struct tep_event to "tep"

2019-03-26 Thread Tzvetomir Stoyanov
This patch renames "pevent" member of the struct tep_event to "tep". This makes the struct consistent with the chosen naming convention: tep (trace event parser), instead of the old pevent. Signed-off-by: Tzvetomir Stoyanov --- tools/lib/traceevent/event-parse.c| 32 +

[PATCH 6/8] tools/perf,tools/lib/traceevent: rename "pevent" member of struct tep_event_filter to "tep"

2019-03-26 Thread Tzvetomir Stoyanov
This patch renames "pevent" member of the struct tep_event_filter to "tep". This makes the struct consistent with the chosen naming convention: tep (trace event parser), instead of the old pevent. Signed-off-by: Tzvetomir Stoyanov --- tools/lib/traceevent/event-parse.h | 2 +- tools/lib/tracee

[PATCH 8/8] tools/lib/traceevent: remove call to exit() from tep_filter_add_filter_str()

2019-03-26 Thread Tzvetomir Stoyanov
This patch removes call to exit() from tep_filter_add_filter_str(). A library function should not force the application to exit. In the current implementation tep_filter_add_filter_str() calls exit() when a special "test_filters" mode is set, used only for debugging purposes. When this mode is set

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