Re: [PATCH 2/5] rhashtable: don't hold lock on first table throughout insertion.

2018-07-24 Thread NeilBrown
On Tue, Jul 24 2018, Paul E. McKenney wrote: > On Tue, Jul 24, 2018 at 07:52:03AM +1000, NeilBrown wrote: >> On Mon, Jul 23 2018, Paul E. McKenney wrote: >> >> > On Mon, Jul 23, 2018 at 09:13:43AM +1000, NeilBrown wrote: >> >> On Sun, Jul 22 2018, Paul E. McKenney wrote: >> >> > >> >> > One

Re: [Qemu-devel] [RFC v3] qemu: Add virtio pmem device

2018-07-24 Thread Pankaj Gupta
Hi Eric, > > On 07/13/2018 02:52 AM, Pankaj Gupta wrote: > > This patch adds virtio-pmem Qemu device. > > > > This device presents memory address range information to guest > > which is backed by file backend type. It acts like persistent > > memory device for KVM guest. Guest can

RE: [PATCH v2] RFC: clear 1G pages with streaming stores on x86

2018-07-24 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Cannon Matthews > Sent: Tuesday, July 24, 2018 9:37 PM > Subject: Re: [PATCH v2] RFC: clear 1G pages with streaming stores on > x86 > > Reimplement clear_gigantic_page() to clear

Re: [PATCH v1 14/15] drm/mediatek: fixed the error value for add DSI1 in mutex

2018-07-24 Thread CK Hu
Hi, Stu: On Tue, 2018-07-24 at 16:17 +0800, Stu Hsieh wrote: > This patch fixed the error value for add DSI1 in mutex > English is not my mother language, but should it be 'fix' rather than 'fixed'? Regards, CK > Signed-off-by: Stu Hsieh > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 2

[PATCH 2/2] kbuild: do not redirect the first prerequisite for filechk

2018-07-24 Thread Masahiro Yamada
Currently, filechk unconditionally opens the first prerequisite and redirects it as the stdin of a filechk_* rule. Hence, every target using $(call filechk,...) must list something as the first prerequisite even if it is unneeded. '< $<' is actually unneeded in most cases. Each rule can

[PATCH 1/2] ARM: at91: remove unused duplicated filechk_offsets

2018-07-24 Thread Masahiro Yamada
The filechk_offsets in arch/arm/mach-at91/Makefile is never used because it is always overridden by the equivalent one in scripts/Makefile.lib Signed-off-by: Masahiro Yamada --- I will queue this to my kbuild tree. arch/arm/mach-at91/Makefile | 25 - 1 file changed,

Re: [PATCH v3] backlight: pwm_bl: Fix uninitialized variable

2018-07-24 Thread Lee Jones
On Tue, 24 Jul 2018, Daniel Thompson wrote: > Currently, if the DT does not define num-interpolated-steps then > num_steps is undefined and the interpolation code will deploy randomly. > Fix with a simple initialize to zero. > > Fixes: 573fe6d1c25c ("backlight: pwm_bl: Linear interpolation

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-07-24 Thread Lee Jones
On Tue, 24 Jul 2018, Vignesh R wrote: > On Monday 23 July 2018 11:07 AM, Lee Jones wrote: > > On Wed, 18 Jul 2018, Dmitry Torokhov wrote: > > > >> On Wed, Jul 18, 2018 at 08:47:36AM +0100, Lee Jones wrote: > >>> On Tue, 17 Jul 2018, Vignesh R wrote: > >>> > Hi Dmitry, > > On

Re: [PATCH v1 09/10] Input: atmel_mxt_ts - tool type is ignored when slot is closed

2018-07-24 Thread Peter Hutterer
On Tue, Jul 24, 2018 at 10:23:27AM +0200, Benjamin Tissoires wrote: > On Tue, Jul 24, 2018 at 12:34 AM Dmitry Torokhov > wrote: > > > > On Fri, Jul 20, 2018 at 10:51:21PM +0100, Nick Dyer wrote: > > > From: Nick Dyer > > > > > > input_mt_report_slot_state() ignores the tool when the slot is

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Mike Rapoport
On Tue, Jul 24, 2018 at 09:12:55PM -0500, Richard Kuo wrote: > On Tue, Jul 24, 2018 at 08:47:04AM +0300, Mike Rapoport wrote: > > On Mon, Jul 23, 2018 at 04:23:39PM -0500, Richard Kuo wrote: > > > > > > On Mon, Jul 16, 2018 at 10:43:18AM +0300, Mike Rapoport wrote: > > > > This patch adds

[RESEND PATCH] drm/bridge/synopsys: remove commented-out flag in Makefile

2018-07-24 Thread Masahiro Yamada
Please do not comment out unneeded code. Remove. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/bridge/synopsys/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/Makefile b/drivers/gpu/drm/bridge/synopsys/Makefile index 5dad97d..3e1b1e3 100644

[PATCH v2] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Mike Rapoport
This patch adds registration of the system memory with memblock, eliminates bootmem initialization and converts early memory reservations from bootmem to memblock. Signed-off-by: Mike Rapoport --- v2: fix calculation of the reserved memory size arch/hexagon/Kconfig | 3 +++

Re: [PATCH] perf build: Build error in libbpf with EXTRA_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -O2"

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 05:10 PM, Thomas Richter wrote: > commit a5b8bd47dcc57 ("bpf tools: Collect eBPF programs from their own > sections") > > cause a compiler error when building the perf tool in the linux-next tree. > I compile it using a FEDORA 28 installation, my gcc compiler version: > gcc (GCC)

Re: [RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-24 Thread Ian Kent
On Tue, 2018-07-24 at 11:57 -0700, Casey Schaufler wrote: > On 7/24/2018 9:00 AM, David Howells wrote: > > Casey Schaufler wrote: > > > > > > (1) Mount topology and reconfiguration change events. > > > > > > With the possibility of unprivileged mounting you're going to have to > > > address

[PATCH 2/3] phy: qcom-ipq4019-usb: add driver for QCOM/IPQ4019

2018-07-24 Thread John Crispin
Add a driver to setup the USB phy on Qualcom Dakota SoCs. The driver sets up HS and SS phys. In case of HS some magic values need to be written to magic offsets. These were taken from the SDK driver. Signed-off-by: John Crispin --- drivers/phy/qualcomm/Kconfig| 7 +

[PATCH 1/3] dt-bindings: phy-qcom-ipq4019-usb: add binding document

2018-07-24 Thread John Crispin
This patch adds the binding documentation for the HS/SS USB PHY found inside Qualcom Dakota SoCs. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: John Crispin --- .../bindings/phy/phy-qcom-ipq4019-usb.txt | 21 + 1 file changed, 21 insertions(+)

[PATCH 3/3] qcom: ipq4019: add USB devicetree nodes

2018-07-24 Thread John Crispin
This patch makes USB work on the Dakota EVB. Signed-off-by: John Crispin --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 20 +++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 76 +++ 2 files changed, 96 insertions(+) diff --git

Re: [PATCH v1 11/15] drm/mediatek: add dummy buffer for RDMA memory mode

2018-07-24 Thread CK Hu
Hi, Stu: On Tue, 2018-07-24 at 16:17 +0800, Stu Hsieh wrote: > This patch add dummy buffer for RDMA memory mode > > When display power on, the drm frame work would modeset and > set up the display HW. > > In this time, the RDMA would start wroking and read the data from memory. > But, user

Re: [PATCH bpf-next] bpf: btf: fix inconsistent IS_ERR and PTR_ERR

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 04:55 AM, YueHaibing wrote: > Fix inconsistent IS_ERR and PTR_ERR in get_btf, > the proper pointer to be passed as argument is '*btf' > > This issue was detected with the help of Coccinelle. > > Fixes: 2d3feca8c44f ("bpf: btf: print map dump and lookup with btf info") >

[PATCH v5 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-07-24 Thread Keerthy
Cut down the shutdown time from 2 seconds to 1 sec. In case of roll over try again. Signed-off-by: Keerthy --- Changes in v5: * Added an additional check to see if ALARM2 status is not set before retrying. * Cleaned up comments * Also reduced mdelay to 1S lesser as per this commit

Re: [PATCH bpf-next] samples/bpf: xdpsock: order memory on AArch64

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 03:33 PM, Brian Brooks wrote: > Signed-off-by: Brian Brooks Please respin with proper commit message instead of empty one. Thanks, Daniel

[PATCH v5 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-07-24 Thread Keerthy
Use of_device_is_system_power_controller instead of manually reading the system-power-controller property from the device tree node. Reviewed-by: Johan Hovold Signed-off-by: Keerthy --- Changes in v5: * Added Johan's Reviewed-by drivers/rtc/rtc-omap.c | 3 +-- 1 file changed, 1

[PATCH] dmaengine: add a new helper dmam_async_device_register

2018-07-24 Thread Huang Shijie
This patch adds the dmam_async_device_register for DMA code. Use the Devres to call the release for the DMA engine driver. Signed-off-by: Huang Shijie --- Documentation/driver-model/devres.txt | 1 + drivers/dma/dmaengine.c | 35 +++

Re: [PATCH v2] bpf: Add Python 3 support to selftests scripts for bpf

2018-07-24 Thread Daniel Borkmann
On 07/24/2018 09:53 PM, Jeremy Cline wrote: > Adjust tcp_client.py and tcp_server.py to work with Python 3 by using > the print function, marking string literals as bytes, and using the > newer exception syntax. This should be functionally equivalent and > supports Python 3+. > > Signed-off-by:

Re: [PATCH v2] ipvs: fix race between ip_vs_conn_new() and ip_vs_del_dest()

2018-07-24 Thread Julian Anastasov
Hello, On Wed, 25 Jul 2018, Tan Hu wrote: > We came across infinite loop in ipvs when using ipvs in docker > env. > > When ipvs receives new packets and cannot find an ipvs connection, > it will create a new connection, then if the dest is unavailable > (i.e. IP_VS_DEST_F_AVAILABLE),

[PATCH] drivers: net: wlcore: remove duplicate \n for some warnings

2018-07-24 Thread H. Nikolaus Schaller
wl1271_warning() already appends a \n to the format, so adding one to the warning string gives empty lines in the log. Signed-off-by: H. Nikolaus Schaller --- drivers/net/wireless/ti/wlcore/main.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH] arm: dts: am4372: setup rtc as system-power-controller

2018-07-24 Thread Keerthy
RTC alarm2 is connected to pmic_en line and hence can be used to control the pmic enabling/disabling. Hence add the system-power-controller for rtc node. Signed-off-by: Keerthy --- arch/arm/boot/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am4372.dtsi

Re: [PATCH 4.14 00/44] 4.14.58-stable review

2018-07-24 Thread Guenter Roeck
On Mon, Jul 23, 2018 at 02:24:36PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.58 release. > There are 44 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

Re: [PATCH 4.9 00/28] 4.9.115-stable review

2018-07-24 Thread Guenter Roeck
On Mon, Jul 23, 2018 at 02:25:00PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.115 release. > There are 28 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

Re: [PATCH 4.4 000/107] 4.4.144-stable review

2018-07-24 Thread Guenter Roeck
On Mon, Jul 23, 2018 at 02:40:54PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.144 release. > There are 107 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

Re: [PATCH v6 00/10] Add the I3C subsystem

2018-07-24 Thread Wolfram Sang
> > Renesas R-Car Gen2 has two I2C IP cores. One can do DMA and automatic > > transfers to the PMIC, the other has I2C slave functionality. One cannot > > do I2C_SMBUS_QUICK, the other can. And some more kind of quirks. > > Sometimes you can mux the pins to GPIO, so you have a third option. > > >

Re: [PATCH v2] PCI/AER: Do not clear AER bits if we don't own AER

2018-07-24 Thread Alex G.
On 07/23/2018 11:52 AM, Alexandru Gagniuc wrote: When we don't own AER, we shouldn't touch the AER error bits. Clearing error bits willy-nilly might cause firmware to miss some errors. In theory, these bits get cleared by FFS, or via ACPI _HPX method. These mechanisms are not subject to the

Re: [RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-24 Thread David Howells
Casey Schaufler wrote: > > (1) Mount topology and reconfiguration change events. > > With the possibility of unprivileged mounting you're going to have to > address access control on events. If root in a user namespace mounts a > filesystem you may have a case where the "real" user wouldn't

Re: [PATCH 2/3] drivers/irqchip: Add Actions external interrupts support

2018-07-24 Thread Marc Zyngier
On 24/07/18 16:02, Parthiban Nallathambi wrote: > Actions Semi Owl family SoC's S500, S700 and S900 provides support > for 3 external interrupt controllers through SIRQ pins. > > Each line can be independently configured as interrupt or wake-up source, > and triggers either on rising, falling or

Re: [PATCH 4.17 00/63] 4.17.10-stable review

2018-07-24 Thread Guenter Roeck
On Mon, Jul 23, 2018 at 02:24:06PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.10 release. > There are 63 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

Re: [PATCH 08/10] psi: pressure stall information for CPU, memory, and IO

2018-07-24 Thread Johannes Weiner
On Thu, Jul 19, 2018 at 10:31:15PM +0200, Peter Zijlstra wrote: > On Thu, Jul 19, 2018 at 02:47:40PM -0400, Johannes Weiner wrote: > > On Wed, Jul 18, 2018 at 02:03:18PM +0200, Peter Zijlstra wrote: > > > On Thu, Jul 12, 2018 at 01:29:40PM -0400, Johannes Weiner wrote: > > > > + /* Update

Re: [PATCH v3 07/18] dmaengine: dma-jz4780: Add support for the JZ4770 SoC

2018-07-24 Thread Vinod
On 24-07-18, 17:04, Paul Cercueil wrote: > Hi Vinod, > > Le mar. 24 juil. 2018 à 15:32, Vinod a écrit : > > On 21-07-18, 13:06, Paul Cercueil wrote: > > > +static inline void jz4780_dma_chan_enable(struct jz4780_dma_dev > > > *jzdma, > > > +unsigned int chn) > > > > right justified

Applied "regulator: Add sw2_sw4 voltage table to cpcap regulator." to the regulator tree

2018-07-24 Thread Mark Brown
The patch regulator: Add sw2_sw4 voltage table to cpcap regulator. 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

Applied "regulator: Add support for CPCAP regulators on Motorola Xoom devices." to the regulator tree

2018-07-24 Thread Mark Brown
The patch regulator: Add support for CPCAP regulators on Motorola Xoom devices. 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

Re: [PATCH v3 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-24 Thread Mark Brown
On Tue, Jul 24, 2018 at 11:52:48AM -0400, Peter Geis wrote: > On 07/24/2018 10:36 AM, Mark Brown wrote: > > Please submit patches using subject lines reflecting the style for the > > subsystem. This makes it easier for people to identify relevant > > patches. Look at what existing commits in

Re: [PATCH 1/2] pinctrl: stm32: fix bank io port number

2018-07-24 Thread Alexandre Torgue
Hi Rob On 07/20/2018 06:35 PM, Rob Herring wrote: On Mon, Jul 16, 2018 at 02:57:36PM +0200, Alexandre Torgue wrote: In case the exti line is not in line with the bank number (that is the case when there is an hole between two banks, for example GPIOK and then GPIOZ), use "st,bank-ioport" DT

[PATCH v3 2/3] PCI: Samsung SM961/PM961 NVMe disable before FLR quirk

2018-07-24 Thread Alex Williamson
The Samsung SM961/PM961 (960 EVO) sometimes fails to return from FLR with the PCI config space reading back as -1. A reproducible instance of this behavior is resolved by clearing the enable bit in the NVMe configuration register and waiting for the ready status to clear (disabling the NVMe

[PATCH v3 3/3] PCI: Intel DC P3700 NVMe delay after FLR quirk

2018-07-24 Thread Alex Williamson
Add a device specific reset for Intel DC P3700 NVMe device which exhibits a timeout failure in drivers waiting for the ready status to update after NVMe enable if the driver interacts with the device too quickly after FLR. As this has been observed in device assignment scenarios, resolve this

[PATCH v3 1/3] PCI: Export pcie_has_flr()

2018-07-24 Thread Alex Williamson
pcie_flr() suggests pcie_has_flr() to ensure that PCIe FLR support is present prior to calling. pcie_flr() is exported while pcie_has_flr() is not. Resolve this. Signed-off-by: Alex Williamson --- drivers/pci/pci.c |3 ++- include/linux/pci.h |1 + 2 files changed, 3 insertions(+),

[PATCH v3 0/3] PCI: NVMe reset quirks

2018-07-24 Thread Alex Williamson
v3: Separate quirks, only for the afflicted devices v2: Add bug link, use Samsung vendor ID, add spec references Fix two different NVMe device reset issues with device specific quirks. The Samsung controller in patch 2 sometimes doesn't like being reset while enabled, so disable the NVMe

[PATCH v3 2/2] PCI: imx: Initial imx7d pm support

2018-07-24 Thread Leonard Crestez
On imx7d the pcie-phy power domain is turned off in suspend and this can make the system hang after resume when attempting any read from PCI. Fix this by adding minimal suspend/resume code from the nxp internal tree. This will prepare for powering down on suspend and reset the block on resume.

[PATCH v3 0/2] PCI: imx: Initial imx7d pm support

2018-07-24 Thread Leonard Crestez
is a nightmare and unlikely to work. * Drop "reset: imx7: Fix always writing bits as 0 (accepted by Philipp) Series is against linux-next tag next-20180724 where the reset patch was already accepted. The imx7d.dtsi patch is also useful standalone. Link to v2: https://lkml.org/lkml/2018/7/2

[PATCH v3 1/2] Revert "ARM: dts: imx7d: Invert legacy PCI irq mapping"

2018-07-24 Thread Leonard Crestez
This reverts commit 1c86c9dd82f859b474474a7fee0d5195da2c9c1d. That commit followed the reference manual but unfortunately the imx7d manual is incorrect. Tested with ath9k pcie card and confirmed internally. Signed-off-by: Leonard Crestez --- arch/arm/boot/dts/imx7d.dtsi | 12 1

Re: [PATCH v3 3/3] PCI: Intel DC P3700 NVMe delay after FLR quirk

2018-07-24 Thread Alex Williamson
On Tue, 24 Jul 2018 10:14:46 -0600 Alex Williamson wrote: > Add a device specific reset for Intel DC P3700 NVMe device which > exhibits a timeout failure in drivers waiting for the ready status to > update after NVMe enable if the driver interacts with the device too > quickly after FLR. As

Re: [RFC v5 PATCH 1/2] mm: refactor do_munmap() to extract the common part

2018-07-24 Thread Laurent Dufour
On 19/07/2018 01:21, Yang Shi wrote: > Introduces three new helper functions: > * munmap_addr_sanity() > * munmap_lookup_vma() > * munmap_mlock_vma() > > They will be used by do_munmap() and the new do_munmap with zapping > large mapping early in the later patch. > > There is no functional

[PATCH v2] memory: tegra: Don't invoke Tegra30+ specific memory timing setup on Tegra20

2018-07-24 Thread Dmitry Osipenko
This fixes irrelevant "tegra-mc 7000f000.memory-controller: no memory timings for RAM code 0 registered" warning message during of kernels boot-up on Tegra20. Fixes: a8d502fd3348 ("memory: tegra: Squash tegra20-mc into common tegra-mc driver") Signed-off-by: Dmitry Osipenko Acked-by: Jon Hunter

Re: [PATCH v6 9/9] x86: jump-labels: use macros instead of inline assembly

2018-07-24 Thread Nadav Amit
at 7:26 AM, Ingo Molnar wrote: > > * Nadav Amit wrote: > >> Use assembly macros for jump-labels and call them from inline assembly. >> This not only makes the code more readable, but also improves >> compilation decision, specifically inline decisions which GCC base on >> the number of new

Re: [PATCH v4 1/3] lib: add crc64 calculation routines

2018-07-24 Thread Coly Li
On 2018/7/24 12:26 PM, Eric Biggers wrote: > On Thu, Jul 19, 2018 at 12:55:43AM +0800, Coly Li wrote: >> This patch adds the re-write crc64 calculation routines for Linux kernel. >> The CRC64 polynomical arithmetic follows ECMA-182 specification, inspired > > "polynomical" => "polynomial". Same

Re: [PATCH 18/18] cpupower: change strncpy+truncation to strlcpy

2018-07-24 Thread Shuah Khan
On 07/12/2018 07:26 PM, Dominique Martinet wrote: > Generated by scripts/coccinelle/misc/strncpy_truncation.cocci > > Signed-off-by: Dominique Martinet > --- > > Please see https://marc.info/?l=linux-kernel=153144450722324=2 (the > first patch of the serie) for the motivation behind this patch

Re: [PATCH v3 2/2] fpga: zynq-fpga: Add support for readback

2018-07-24 Thread Moritz Fischer
Hi Appana, On Tue, Jul 24, 2018 at 7:17 AM, Appana Durga Kedareswara rao wrote: > This patch does the below > --> Adds support for readback of pl configuration data > --> Adds support for readback of pl configuration registers Can you please make the commit message such that you have full

Re: [PATCH] perf/x86/intel: Fix unwind errors from PEBS entries (mk-II)

2018-07-24 Thread Josh Poimboeuf
On Mon, Jul 23, 2018 at 04:14:27PM +0200, Peter Zijlstra wrote: > On Mon, Jul 23, 2018 at 08:30:06AM -0500, Josh Poimboeuf wrote: > > On Thu, Jul 19, 2018 at 11:19:54PM +0200, Peter Zijlstra wrote: > > > --- a/include/uapi/linux/perf_event.h > > > +++ b/include/uapi/linux/perf_event.h > > > @@

Re: [PATCHv3 2/2] arm64: Add support for STACKLEAK gcc plugin

2018-07-24 Thread Kees Cook
On Tue, Jul 24, 2018 at 5:44 AM, Alexander Popov wrote: > On 21.07.2018 00:41, Laura Abbott wrote: >> This adds support for the STACKLEAK gcc plugin to arm64 by implementing >> stackleak_check_alloca(), based heavily on the x86 version, and adding the >> two helpers used by the stackleak common

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-24 Thread Michal Hocko
On Tue 24-07-18 14:22:06, Vlastimil Babka wrote: > On 07/24/2018 01:19 PM, Michal Hocko wrote: > >> When creating a crashdump, I definitely need the pages containing memmap > >> included in the dump, so I can inspect the struct pages. But this is a > >> bit recursive issue, so I'll try making it

Re: [PATCH v2 1/4] dt-bindings: dma: Add binding for Actions Semi Owl SoCs

2018-07-24 Thread Vinod
On 24-07-18, 14:19, Andreas Färber wrote: > Hi Vinod, > > Am 24.07.2018 um 14:16 schrieb Vinod: > > Patch title should be dmaengine: ... Please always use the apt tags and > > one can find them using git log > > Do you mean dt-bindings: dmaengine: ...? Because this is clearly a DT > binding and

Re: [PATCH v2 3/4] dma: Add Actions Semi Owl family S900 DMA driver

2018-07-24 Thread Vinod
somehow this got stuck so sending again... On 24-07-18, 18:16, Vinod wrote: > On 23-07-18, 09:47, Manivannan Sadhasivam wrote: > > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include >

Re: [PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-24 Thread Mylène Josserand
Hello, Thank you for your review. On Thu, 19 Jul 2018 00:46:45 +0200 Ondřej Jirman wrote: > Hello Mylène, > > On Wed, Jul 18, 2018 at 08:27:17PM +0200, Mylène Josserand wrote: > > Add the support of regulator to use it as VCC source. > > > > Signed-off-by: Mylène Josserand > > --- > >

[PATCH 1/2] um: setup_physmem: stop using global variables

2018-07-24 Thread Mike Rapoport
The setup_physmem() function receives uml_physmem and uml_reserved as parameters and still used these global variables. Replace such usage with local variables. Signed-off-by: Mike Rapoport --- arch/um/kernel/physmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 0/2] um: switch to NO_BOOTMEM

2018-07-24 Thread Mike Rapoport
Hi, These patches convert UML to use NO_BOOTMEM. Tested on x86-64. Mike Rapoport (2): um: setup_physmem: stop using global variables um: switch to NO_BOOTMEM arch/um/Kconfig.common | 2 ++ arch/um/kernel/physmem.c | 22 ++ 2 files changed, 12 insertions(+), 12

[PATCH 2/2] um: switch to NO_BOOTMEM

2018-07-24 Thread Mike Rapoport
Replace bootmem initialization with memblock_add and memblock_reserve calls and explicit initialization of {min,max}_low_pfn. Signed-off-by: Mike Rapoport --- arch/um/Kconfig.common | 2 ++ arch/um/kernel/physmem.c | 20 +--- 2 files changed, 11 insertions(+), 11 deletions(-)

Re: [PATCH v3 03/18] dmaengine: dma-jz4780: Avoid hardcoding number of channels

2018-07-24 Thread Vinod
On 21-07-18, 13:06, Paul Cercueil wrote: > +static const struct jz4780_dma_soc_data jz4780_dma_soc_data[] = { > + [ID_JZ4780] = { .nb_channels = 32, }, why the array of structs? > +}; > + > +static const struct of_device_id jz4780_dma_dt_match[] = { > + { .compatible =

[PATCH v3 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-24 Thread Peter Geis
SW2 and SW4 use a shared table to provide voltage to the cpu core and devices on Tegra hardware. Added this table to the cpcap regulator driver as the first step to supporting this device on Tegra. Signed-off-by: Peter Geis --- drivers/regulator/cpcap-regulator.c | 23 +++ 1

[PATCH v3 2/2] Add support for CPCAP regulators on Motorola Xoom devices.

2018-07-24 Thread Peter Geis
Added support for the CPCAP power management regulator functions on Tegra based Motorola Xoom devices. Added sw2_sw4 value tables, which provide power to the Tegra core and aux devices. Added the Xoom init tables and device tree compatibility match. Signed-off-by: Peter Geis ---

[PATCH v3 0/2] Add support for cpcap regulators on Tegra based Xoom devices.

2018-07-24 Thread Peter Geis
Good Morning, This is revision three of the patch. I have changed the device match from Tegra to Xoom as per Dmitry's suggestion, to be more accurate. The CPCAP regulator driver can support various devices, but currently only supports Omap4 devices. Adds the sw2 and sw4 voltage tables, which

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-24 Thread Tejun Heo
Hello, Patrick. On Mon, Jul 23, 2018 at 06:22:15PM +0100, Patrick Bellasi wrote: > However, the "best effort" bandwidth control we have for CFS and RT > can be further improved if, instead of just looking at time spent on > CPUs, we provide some more hints to the scheduler to know at which >

Re: [PATCH v2] ACPI: bus.c: Let acpi_device_get_match_data() return DT compatibility data

2018-07-24 Thread Nikolaus Voss
On Mon, 9 Jul 2018, Rafael J. Wysocki wrote: On Wednesday, July 4, 2018 4:40:34 PM CEST Andy Shevchenko wrote: On Tue, Jul 3, 2018 at 9:09 AM, Nikolaus Voss wrote: When using ACPI with ACPI_DT_NAMESPACE_HID/ PRP0001 HID and referring to of_device_id table "compatible" strings in DSD, a

Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

2018-07-24 Thread Pavel Machek
On Mon 2018-07-23 12:00:08, Linus Torvalds wrote: > On Mon, Jul 23, 2018 at 7:09 AM Pavel Machek wrote: > > > > Meanwhile... it looks like gcc is not slowed down significantly, but > > other stuff sees 30% .. 40% slowdowns... which is rather > > significant. > > That is more or less expected.

Re: [PATCH v5] PCI: Check for PCIe downtraining conditions

2018-07-24 Thread Tal Gilboa
On 7/24/2018 2:59 AM, Alex G. wrote: On 07/23/2018 05:14 PM, Jakub Kicinski wrote: On Tue, 24 Jul 2018 00:52:22 +0300, Tal Gilboa wrote: On 7/24/2018 12:01 AM, Jakub Kicinski wrote: On Mon, 23 Jul 2018 15:03:38 -0500, Alexandru Gagniuc wrote: PCIe downtraining happens when both the device

Re: [PATCH v3 11/18] dmaengine: dma-jz4780: Add missing residue DTC mask

2018-07-24 Thread Vinod
On 21-07-18, 13:06, Paul Cercueil wrote: > From: Daniel Silsby > > The 'dtc' word in jz DMA descriptors contains two fields: The > lowest 24 bits are the transfer count, and upper 8 bits are the DOA > offset to next descriptor. The upper 8 bits are now correctly masked > off when computing

Re: [PATCHv4 01/12] atomic/tty: Fix up atomic abuse in ldsem

2018-07-24 Thread Ingo Molnar
* Mark Rutland wrote: > > Ok, then these bits will have to wait until Greg's tree goes upstream > > in about two weeks. > > Ok. > > > Which patches can I apply as a preparatory step? > > Patches 2-6 can be applied now. Ok, will apply those. > I guess I should rebase and resend the

Re: [PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-24 Thread Mylène Josserand
Hello Dmitry, Thank you for your review! On Mon, 23 Jul 2018 15:39:26 -0700 Dmitry Torokhov wrote: > On Thu, Jul 19, 2018 at 12:46:45AM +0200, Ondřej Jirman wrote: > > Hello Mylène, > > > > On Wed, Jul 18, 2018 at 08:27:17PM +0200, Mylène Josserand wrote: > > > Add the support of regulator

Re: Include file bpf.h in directory /usr/lib/include/perf/bpf/bpf.h

2018-07-24 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 24, 2018 at 12:49:43PM +0200, Stefan Liebler escreveu: > In each case, the introduction of the subdirectory /usr/lib/include leads to > the regression that one can't build the glibc RPM for s390 anymore as gcc > can't find headers like stdbool.h. > Should bpf.h be moved to

[PATCH] perf test: Fix subtest number when showing results

2018-07-24 Thread Thomas Richter
Perf test 40 for example has several subtests numbered 1-4 when displaying the start of the subtest. When the subtest results are displayed the subtests are numbered 0-3. Use this command to generate trace output: [root@s35lp76 perf]# ./perf test -Fv 40 2>/tmp/bpf1 Fix this by adjusting the

Re: [PATCH v2 4/4] drivers/soc/fsl/dpio: Convert DPIO documentation to .rst

2018-07-24 Thread Horia Geanta
On 7/23/2018 8:00 PM, Roy Pledge wrote: > Convert the Datapath I/O documentation to .rst format > and move to the Documation/networking/dpaa2 directory typo: ^^^ Documentation > > Signed-off-by: Roy Pledge > --- > .../networking/dpaa2/dpio-driver.rst | 30 >

[PATCH] arm: enable RapidIO config options in Kconfig

2018-07-24 Thread Alexei Colin
ARM SoCs with a PCI bus offer the RapiodIO config menu; SoCs with RapidIO IP blocks but without a PCI bus, need to add "select HAS_RAPIDIO" to the Kconfig entry for that SoC (e.g. ARCH_*). HAS_RAPIDIO was chosen over HAVE_RAPIDIO to be consistent with other architectures which already define this

Re: [PATCH] arm: enable RapidIO config options in Kconfig

2018-07-24 Thread Russell King - ARM Linux
On Tue, Jul 24, 2018 at 09:41:26AM -0400, Alexei Colin wrote: > ARM SoCs with a PCI bus offer the RapiodIO config menu; SoCs with > RapidIO IP blocks but without a PCI bus, need to add "select > HAS_RAPIDIO" to the Kconfig entry for that SoC (e.g. ARCH_*). > > HAS_RAPIDIO was chosen over

Re: [PATCH 01/28] ARM: tegra: apalis_t30: enable broken-hpi on emmc

2018-07-24 Thread Dmitry Osipenko
On Sunday, 22 July 2018 19:49:09 MSK Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Avoid eMMC issues by specifying broken-hpi. > > Signed-off-by: Marcel Ziswiler > > --- Is it a specific eMMC card model that has broken HPI or it is a host controller bug?

Re: [PATCH] perf test: Fix subtest number when showing results

2018-07-24 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 24, 2018 at 03:48:58PM +0200, Thomas Richter escreveu: > Perf test 40 for example has several subtests numbered 1-4 when > displaying the start of the subtest. When the subtest results > are displayed the subtests are numbered 0-3. > > Use this command to generate trace output: >

Re: [PATCH 2/5] f2fs: add cur_victim_sec for BG_GC to avoid skipping BG_GC victim

2018-07-24 Thread Chao Yu
On 2018/7/24 21:39, Yunlong Song wrote: > > > On 2018/7/24 21:11, Chao Yu wrote: >> On 2018/7/23 22:10, Yunlong Song wrote: >>> If f2fs aborts BG_GC, then the section bit of victim_secmap will be set, >>> which will cause the section skipped in the future get_victim of BG_GC. >>> In a worst case

[PATCH v3 1/2] fpga: fpga-mgr: Add readback support

2018-07-24 Thread Appana Durga Kedareswara rao
Inorder to debug issues with fpga's users would like to read the fpga configuration information. This patch adds readback support for fpga configuration data in the framework through debugfs interface. Usage: cat /sys/kernel/debug/fpga/fpga0/image Signed-off-by: Appana Durga Kedareswara

[PATCH v3 2/2] fpga: zynq-fpga: Add support for readback

2018-07-24 Thread Appana Durga Kedareswara rao
This patch does the below --> Adds support for readback of pl configuration data --> Adds support for readback of pl configuration registers Usage: Readback of PL configuration registers cat /sys/kernel/debug/fpga/fpga0/image Readback of PL configuration data echo 1 >

Re: [PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-24 Thread Michal Hocko
On Fri 20-07-18 17:09:02, Andrew Morton wrote: [...] > - Undocumented return value. > > - comment "failed to reap part..." is misleading - sounds like it's > referring to something which happened in the past, is in fact > referring to something which might happen in the future. > > - fails

Re: [PATCH] net/p9/trans_fd.c: fix double list_del()

2018-07-24 Thread jiangyiwen
On 2018/7/23 20:19, Tomas Bortoli wrote: > A double list_del(>req_list) is possible in p9_fd_cancel() as > shown by Syzbot. To prevent it we have to ensure that we have the > client->lock when deleting the list. Furthermore, we have to update > the status of the request before releasing the lock,

soft lockup on 4.17.y in migration on Dell PowerEdge

2018-07-24 Thread David Flatz
Hello We experience soft lockups with our workload on every tested 4.17.y kernel. I unfortunately don't know wether there are 4.17 kernels without the bug but 4.16 kernels are fine and don't show this behaviour. Known versions with lockup: 4.17.4, 4.17.8, 4.17.9 Latest known versions

Re: [PATCH 4/4] arm64: dts: allwinner: h5: Add SID for H5

2018-07-24 Thread Maxime Ripard
On Mon, Jul 23, 2018 at 12:42:55PM +0200, Emmanuel Vadot wrote: > The SID controller on H5 look the same as the one present in the A64. > But in case we find some difference one day at a compatible string > of it's own and a fallback to the A64 one. > > Signed-off-by: Emmanuel Vadot > --- >

Re: [PATCH] ACPI / LPSS: Avoid PM quirks on suspend and resume from S3

2018-07-24 Thread Rafael J. Wysocki
On Tuesday, July 24, 2018 10:46:09 AM CEST Kai Heng Feng wrote: > Hi Rafael, > > > On Jun 13, 2018, at 7:17 PM, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > It is reported that commit a192aa923b66a (ACPI / LPSS: Consolidate > > runtime PM and system sleep handling)

Re: [PATCH v3 3/3] dmaengine: imx-sdma: allocate max 20 bds for one transfer

2018-07-24 Thread Lucas Stach
Am Montag, den 23.07.2018, 13:55 + schrieb Robin Gong: > > -Original Message- > > From: Lucas Stach [mailto:l.st...@pengutronix.de] > > Sent: 2018年7月23日 18:54 > > To: Robin Gong ; vk...@kernel.org; > > dan.j.willi...@intel.com; s.ha...@pengutronix.de; li...@armlinux.or > > g.uk > > Cc:

Re: linux-next-20180723: battery status funny after bootup

2018-07-24 Thread Rafael J. Wysocki
On Tue, Jul 24, 2018 at 11:12 AM, Pavel Machek wrote: > On Tue 2018-07-24 10:27:08, Rafael J. Wysocki wrote: >> On Mon, Jul 23, 2018 at 11:49 PM, Pavel Machek wrote: >> > >> > pavel@amd:~$ cat /proc/acpi/battery/BAT0/state >> > present: yes >> > capacity state: ok >> >

[PATCH] PCI: fix unused variable warning

2018-07-24 Thread Arnd Bergmann
The newly introduced function produces a warning without CONFIG_PCI_QUIRKS: drivers/pci/probe.c: In function 'pci_bus_read_dev_vendor_id': drivers/pci/probe.c:2221:18: error: unused variable 'bridge' [-Werror=unused-variable] Move the variable declaration into that #ifdef to avoid the warning.

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-24 Thread Vlastimil Babka
On 07/23/2018 02:30 PM, Michal Hocko wrote: > On Mon 23-07-18 13:45:18, Vlastimil Babka wrote: >> On 07/20/2018 02:34 PM, David Hildenbrand wrote: >>> Dumping tools (like makedumpfile) right now don't exclude reserved pages. >>> So reserved pages might be access by dump tools although nobody

Re: [PATCH v5 1/2] mfd: rk808: Refactor shutdown functions

2018-07-24 Thread Wadim Egorov
Hi, Am 16.04.2018 um 11:38 schrieb Lee Jones: > On Thu, 29 Mar 2018, Daniel Schultz wrote: > >> Since all three shutdown functions have almost the same code, all logic >> from the shutdown functions can be refactored to a new function >> "rk808_update_bits", which can update a register by a given

Re: [PATCH] arm64: fix ACPI dependencies

2018-07-24 Thread Will Deacon
On Tue, Jul 24, 2018 at 11:46:23AM +0200, Arnd Bergmann wrote: > On Tue, Jul 24, 2018 at 11:44 AM, Will Deacon wrote: > > On Tue, Jul 24, 2018 at 11:37:10AM +0200, Rafael J. Wysocki wrote: > >> On Tue, Jul 24, 2018 at 11:33 AM, Arnd Bergmann wrote: > > > > > How about something along the lines

Re: [PATCH] ASoC: meson: axg-spdifout: select SND_PCM_IEC958

2018-07-24 Thread jbrunet
On Tue, 2018-07-24 at 11:36 +0200, Arnd Bergmann wrote: > When CONFIG_SND_PCM_IEC958 is disabled, we get a link error for the > new driver: > > sound/soc/meson/axg-spdifout.o: In function `axg_spdifout_hw_params': > axg-spdifout.c:(.text+0x650): undefined reference to >

[PATCH] x86/PCI: Claim the resources of firmware enabled IOAPIC before children bus

2018-07-24 Thread Lee, Chun-Yi
I got a machine that the resource of firmware enabled IOAPIC conflicts with the resource of a children bus when the PCI host bus be hotplug. [ 3182.243325] PCI host bridge to bus 0001:40 [ 3182.243328] pci_bus 0001:40: root bus resource [io 0xc000-0xdfff window] [ 3182.243330] pci_bus 0001:40:

Re: [PATCH 1/4] dt-bindings: phy: add DT bindings for UniPhier USB3 PHY driver

2018-07-24 Thread Kunihiko Hayashi
Hi Rob, On Tue, 17 Jul 2018 08:16:23 -0600 wrote: > On Tue, Jul 17, 2018 at 4:55 AM Kunihiko Hayashi > wrote: > > > > Hi Rob, > > Thank you for your comments. > > > > On Mon, 16 Jul 2018 14:50:49 -0600 wrote: > > > > > On Fri, Jun 29, 2018 at 05:38:58PM +0900, Kunihiko Hayashi wrote: > > > >

Re: [PATCH v3 00/18] JZ4780 DMA patchset v3

2018-07-24 Thread Vinod
On 24-07-18, 13:09, Paul Cercueil wrote: > Hi, > > Le lun. 23 juil. 2018 à 19:58, Paul Burton a écrit : > > Hi Paul & Vinod, > > > > On Sat, Jul 21, 2018 at 01:06:25PM +0200, Paul Cercueil wrote: > > > This is the version 3 of my jz4780-dma driver update patchset. > > > > > > Apologies to

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