Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-27 Thread Boris Brezillon
On Tue, 20 Nov 2018 11:55:21 + wrote: > + > + /* > + * We set nor->addr_width here to skip spi_nor_set_4byte_opcodes() > + * later because this latest function implements a legacy quirk for > + * the erase size of Spansion memory. However this quirk is no longer > + *

Re: [PATCH v5 2/7] tpm: remove definition of TPM2_ACTIVE_PCR_BANKS

2018-11-27 Thread Roberto Sassu
On 11/16/2018 2:38 PM, Jarkko Sakkinen wrote: On Wed, Nov 14, 2018 at 04:31:03PM +0100, Roberto Sassu wrote: tcg_efi_specid_event and tcg_pcr_event2 declaration contains static arrays for a list of hash algorithms used for event logs and event log digests. However, according to TCG EFI

[PATCH v3] spi: mediatek: Add bindings for mediatek MT7629 soc platform

2018-11-27 Thread Leilk Liu
This patch adds a DT binding documentation for the MT7629 soc. Signed-off-by: Leilk Liu --- v3: remove cover-letter. v2: remove "mediatek,mt7629-spi" compatible according Matthias's advice. v1: This series are based on 4.20-rc1 and provide two patches to support mt7629 IC. ---

Re: [PATCH v2 00/12] tracing: Unifying dynamic event interface

2018-11-27 Thread Masami Hiramatsu
Ping? Hi Tom, This series, especially [09/12] tracing: Remove unneeded synth_event_mutex will effect your current working series. Please tell me your opinion. Thank you, On Mon, 5 Nov 2018 17:59:46 +0900 Masami Hiramatsu wrote: > Hi, > > This is v2 series of unifying dynamic event

[PATCH v2] lzo: fix ip overrun during compress.

2018-11-27 Thread Yueyi Li
It`s possible ip overrun in lzo1x_1_do_compress() when compressed page is point to the end of memory and which virtual address is 0xf000. Leading to a NULL pointer access during the get_unaligned_le32(ip). Fix this panic: [ 2738.034508] Unable to handle kernel NULL pointer dereference

[PATCH] sound/soc/rockchip: add RT5640 codec option

2018-11-27 Thread Max Kellermann
The Firefly-RK3399 DeviceTree (`arch/arm64/boot/dts/rockchip/rk3399-firefly.dts`) defines a `simple-audio-card` device which selects a `realtek,rt5640` codec. This codec however is inaccessible in the kernel configuration (`SND_SOC_RT5640`) and thus cannot be used. This patch adds a new

[PATCH v3 1/3] perf annotate: Compute average IPC and IPC coverage per symbol

2018-11-27 Thread Jin Yao
Add support to perf report annotate view or perf annotate --stdio2 to aggregate the IPC derived from timed LBRs per symbol. We compute the average IPC and the IPC coverage percentage. For example, $ perf annotate --stdio2 Percent IPC Cycle (Average IPC: 2.30, IPC Coverage: 54.8%)

[PATCH v3 3/3] perf report: Display average IPC and IPC coverage per symbol

2018-11-27 Thread Jin Yao
Support displaying the average IPC and IPC coverage per symbol in perf report TUI and stdio modes. For example, $ perf record -b ... $ perf report -s symbol Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [ 54.8%] 18.02% [.]

[PATCH v3 2/3] perf annotate: Create a annotate2 flag in struct symbol

2018-11-27 Thread Jin Yao
We often use the symbol__annotate2() to annotate a specified symbol. While annotating may take some time, so in order to avoid annotating the same symbol repeatedly, the patch creates a new flag to indicate the symbol has been annotated. Signed-off-by: Jin Yao --- tools/perf/util/annotate.c | 1

[PATCH v3 0/3] perf report/annotate: Support average IPC and IPC coverage for function

2018-11-27 Thread Jin Yao
Add supporting of displaying the average IPC and IPC coverage percentage per function. For example, $ perf record -b ... $ perf report -s symbol or perf report -s symbol --stdio Overhead Symbol IPC [IPC Coverage] 39.60% [.] __random 2.30 [

Re: [PATCH] sis5513: fix potential use after free

2018-11-27 Thread Christoph Hellwig
On Wed, Nov 28, 2018 at 08:55:26AM +0800, Pan Bian wrote: > The function sis_find_family drops lpc_bridge reference via pci_dev_put, > however, after that, field lpc_bridge->revision is read. This may result > in a use after free bug. The patch moves the put operation after the > condition check.

Re: [PATCH] ata: read ->revision before dropping pci_device reference

2018-11-27 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH] Little memset_explicit optimisation

2018-11-27 Thread Joey Pabalinas
On Wed, Nov 28, 2018 at 06:32:27AM +, David CARLIER wrote: > Bad entrance with bad idea I m afraid :-) sorry for the noise. We all start somewhere, no worries :) -- Cheers, Joey Pabalinas signature.asc Description: PGP signature

Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

2018-11-27 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-11-21 23:30:43) > On Wed 21 Nov 01:01 PST 2018, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2018-11-05 21:50:13) > > > As of v4.20-rc1 probing the GCC driver on a SDM845 device with the > > > standard security implementation causes an access violation and an >

Re: [PATCH] Little memset_explicit optimisation

2018-11-27 Thread David CARLIER
Bad entrance with bad idea I m afraid :-) sorry for the noise.

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Michal Hocko
On Tue 27-11-18 14:50:05, Linus Torvalds wrote: > On Tue, Nov 27, 2018 at 12:57 PM Andrea Arcangeli wrote: > > > > This difference can only happen with defrag=always, and that's not the > > current upstream default. > > Ok, thanks. That makes it a bit less critical. > > > That MADV_HUGEPAGE

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-27 Thread Chanho Min
> > > > Hrm, converting unconditionally with msleep() looks too drastic. > > Yes, it looks drastic. But, IMHO, I can't say busy-spin is not non-drastic. Fix typo in this comment: I can't say busy-spin is not drastic. Thanks Chanho

Re: [PATCH] lzo: fix ip overrun during compress.

2018-11-27 Thread Yueyi Li
Hi Willy, On 2018/11/28 12:08, Willy Tarreau wrote: > Hi Yueyi, > > On Tue, Nov 27, 2018 at 10:34:26AM +, Yueyi Li wrote: >> It`s possible ip overrun in lzo1x_1_do_compress() when compressed page is >> point to the end of memory and which virtual address is 0xf000. >> Leading to

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-27 Thread Jiri Kosina
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > > Does it really have to? > > > > We need this special handling only if the next task has TIF_SPEC_UPDATE > > set, which is one-off event globally (when seccomp marks all its threads > > so due to seccomp filter change), and once all the

[PATCH V2 3/4] defconfig: arm64: add i.MX system controller thermal support

2018-11-27 Thread Anson Huang
This patch enables CONFIG_IMX_SC_THERMAL as module. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index abd80c5..9f12324 100644 --- a/arch/arm64/configs/defconfig +++

[PATCH V2 4/4] ARM64: dts: imx: add i.MX8QXP thermal support

2018-11-27 Thread Anson Huang
Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index

[PATCH V2 1/4] dt-bindings: thermal: add binding doc for i.MX system controller thermal driver

2018-11-27 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors,

[PATCH V2 2/4] thermal: imx_sc: add i.MX system controller thermal support

2018-11-27 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message

[PATCH V2 0/4] Add i.MX System Controller thermal driver support

2018-11-27 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message

Re: [PATCH v3 3/3] thermal: tegra: parse sensor id before sensor register

2018-11-27 Thread Wei Ni
Hi Daniel, I updated my patch to parse the sensor id, please take a look. Wei. On 28/11/2018 1:44 PM, Wei Ni wrote: > Since different platforms may not support all 4 > sensors, so the sensor registration may be failed. > Add codes to parse dt to find sensor id which > need to be registered. So

[PATCH v3 3/3] thermal: tegra: parse sensor id before sensor register

2018-11-27 Thread Wei Ni
Since different platforms may not support all 4 sensors, so the sensor registration may be failed. Add codes to parse dt to find sensor id which need to be registered. So that the registration can be successful on all platform. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 46

[PATCH v3 2/3] thermal: tegra: fix memory allocation

2018-11-27 Thread Wei Ni
Fix memory allocation to store the pointers to thermal_zone_device. Signed-off-by: Wei Ni Acked-by: Thierry Reding --- drivers/thermal/tegra/soctherm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c index

[PATCH v3 0/3] Fixes for Tegra soctherm

2018-11-27 Thread Wei Ni
This series fixed some issues for Tegra soctherm Main changes from v2: 1. add codes to parse sensor id to avoid registration failure. Main changes from v1: 1. Acked by Thierry Reding for the patch "thermal: tegra: fix memory allocation". 2. Print out the sensor name when register failed. 2.

[PATCH v3 1/3] thermal: tegra: remove unnecessary warnings

2018-11-27 Thread Wei Ni
Convert warnings to info as not all platforms may have all the thresholds and sensors enabled. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c

[PATCH v2 1/2] mtd: rawnand: denali: remove ->dev_ready() hook

2018-11-27 Thread Masahiro Yamada
The Denali NAND IP has no way to read out the current signal level of the R/B# pin. Instead, denali_dev_ready() checks if the R/B# transition has already happened. (The INTR__INT_ACT interrupt is asserted at the rising edge of the R/B# pin.) It is not a correct way to implement the ->dev_ready()

[PATCH v2 0/2] mtd: rawnand: denali: clean-up unnecessary hook and device reset

2018-11-27 Thread Masahiro Yamada
I sent this series on September, and Miquel replied this series was applied: http://patchwork.ozlabs.org/patch/967242/ But, It turned out not applied. I rebased it and resending now. Masahiro Yamada (2): mtd: rawnand: denali: remove ->dev_ready() hook mtd: rawnand: denali: remove

[PATCH v2 2/2] mtd: rawnand: denali: remove denali_reset_banks()

2018-11-27 Thread Masahiro Yamada
In nand_scan_ident(), the controller driver resets every NAND chip. This is done by sending NAND_CMD_RESET. The Denali IP provides another way to do the equivalent thing; if a bit is set in the DEVICE_RESET register, the controller sends the RESET command to the corresponding device.

linux-next: Tree for Nov 28

2018-11-27 Thread Stephen Rothwell
Hi all, Changes since 20181127: The vfs tree gained a conflict against the ext3 tree. Non-merge commits (relative to Linus' tree): 5084 5241 files changed, 259238 insertions(+), 151877 deletions(-) I have created

[PATCH V2 0/4] Add i.MX system controller RTC driver

2018-11-27 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation. Since the RTC set time

[PATCH V2 1/4] dt-bindings: rtc: add binding doc for i.MX system controller RTC driver

2018-11-27 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation, this patch adds binding

[PATCH V2 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-27 Thread Anson Huang
Add i.MX8QXP system controller RTC support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 9155d45..ef57db6 100644

[PATCH V2 2/4] rtc: add i.MX system controller RTC support

2018-11-27 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and secure rtc etc.. This patch adds i.MX system controller RTC driver support, Linux kernel has to communicate with system controller via MU (message unit) IPC

[PATCH V2 3/4] defconfig: arm64: add i.MX system controller RTC support

2018-11-27 Thread Anson Huang
This patch enables CONFIG_RTC_DRV_IMX_SC as module by default. Signed-off-by: Anson Huang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6d224f7..e3df5dd 100644 ---

Re: [PATCH v5 1/2] gpio: Add driver for PC Engines APU boards

2018-11-27 Thread kbuild test robot
Hi Florian, Thank you for the patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.20-rc4 next-20181127] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-27 Thread Jarkko Sakkinen
On Sat, Nov 24, 2018 at 08:45:34AM -0800, Jarkko Sakkinen wrote: > On Fri, Nov 23, 2018 at 04:39:23AM -0600, Dr. Greg wrote: > > Jarkko, when this driver lands it will set the SGX ABI in stone for > > Linux. It would be very, very helpful to the development community if > > there was some

Re: siginfo pid not populated from ptrace?

2018-11-27 Thread Eric W. Biederman
Kees Cook writes: > On Tue, Nov 27, 2018 at 4:38 PM, Kees Cook wrote: >> On Tue, Nov 27, 2018 at 3:21 PM, Tycho Andersen wrote: >>> On Mon, Nov 12, 2018 at 12:24:43PM -0700, Tycho Andersen wrote: On Mon, Nov 12, 2018 at 11:55:38AM -0700, Tycho Andersen wrote: > I haven't manage to

Re: [PATCH 1/1] sched/headers: fix thread_info. is overwritten by STACK_END_MAGIC

2018-11-27 Thread Wang, Dongsheng
Hello Kees, On 2018/11/28 6:38, Kees Cook wrote: > On Thu, Nov 22, 2018 at 11:54 PM, Wang Dongsheng > wrote: >> When select ARCH_TASK_STRUCT_ON_STACK the first of thread_info variable >> is overwritten by STACK_END_MAGIC. In fact, the ARCH_TASK_STRUCT_ON_STACK >> is not a real task on stack,

Re: linux-next: Tree for Nov 27 (scsi/aha1542)

2018-11-27 Thread Stephen Rothwell
Hi all, On Tue, 27 Nov 2018 20:14:58 -0800 Randy Dunlap wrote: > > On 11/26/18 8:25 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20181126: > > > > on i386: > > ERROR: "__udivdi3" [drivers/scsi/aha1542.ko] undefined! > > somewhere in aha1542_interrupt() according to

[PATCH v2 3/3] dt-bindings: reset: imx7: Document usage on i.MX8MQ SoCs

2018-11-27 Thread Andrey Smirnov
The driver now supports i.MX8MQ, so update bindings accordingly. Cc: p.za...@pengutronix.de Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: linux-...@nxp.com Cc:

[PATCH v2 2/3] reset: imx7: Add support for i.MX8MQ IP block variant

2018-11-27 Thread Andrey Smirnov
Add bits and pieces needed to support IP block variant found on i.MX8MQ SoCs. Cc: p.za...@pengutronix.de Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: linux-...@nxp.com

[PATCH v2 1/3] reset: imx7: Add plubming to support multiple IP variants

2018-11-27 Thread Andrey Smirnov
In order to enable supporting i.MX8MQ with this driver, convert it to expect variant specific bits to be passed via driver data. Cc: p.za...@pengutronix.de Cc: Fabio Estevam Cc: cphe...@gmail.com Cc: l.st...@pengutronix.de Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: Rob Herring

[PATCH v2 0/3] Reset controller support for i.MX8MQ

2018-11-27 Thread Andrey Smirnov
Everyone: This patch contains changes I made in order to add support for i.MX8MQ to reset-imx7.c in order to enable support of PCIE IP block on i.MX8MQ SoCs (full tree can be found at [github-v1]). NOTE: This patch depens on CONFIG_ARCH_IMX8MQ introduced in [imx8mq] Feedback is welcome!

RE: [PATCH] PCI: Mark NXP LS1088 to avoid bus reset bus

2018-11-27 Thread Bharat Bhushan
Hi, > -Original Message- > From: Alex Williamson > Sent: Tuesday, November 27, 2018 9:39 PM > To: Bjorn Helgaas > Cc: Bharat Bhushan ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; bharatb.ya...@gmail.com; David Daney > ; Jan Glauber ; Maik > Broemme ; Chris Blake > >

[PATCH 25/41] scsi: lpfc: lpfc_nportdisc: Mark expected switch fall-through

2018-11-27 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/lpfc/lpfc_nportdisc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c

Re: [PATCH v2 00/15] ARM: sunxi: Enable Broadcom-based Bluetooth controllers

2018-11-27 Thread Chen-Yu Tsai
Hi, On Thu, Nov 15, 2018 at 5:36 PM Chen-Yu Tsai wrote: > > Hi everyone, > > This is v2 of my Broadcom-based Bluetooth controllers on Allwinner SoC- > based SBCs series. > > Changes since v1: > > - Collected tags > - Re-organize dt binding clocks and clock-names properties > - Simplify

Re: [PATCH] Small typo fix

2018-11-27 Thread William Kucharski
> On Nov 27, 2018, at 2:04 PM, Emre Ates wrote: > > --- > mm/vmstat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/vmstat.c b/mm/vmstat.c > index 9c624595e904..cc7d04928c2e 100644 > --- a/mm/vmstat.c > +++ b/mm/vmstat.c > @@ -1106,7 +1106,7 @@ int

Re: kmemleak: Early log buffer exceeded (525980) during boot

2018-11-27 Thread Qian Cai
On 11/10/18 11:59 AM, Catalin Marinas wrote: > On Sat, Nov 10, 2018 at 10:08:10AM -0500, Qian Cai wrote: >> On Nov 8, 2018, at 4:23 PM, Qian Cai wrote: >>> The maximum value for DEBUG_KMEMLEAK_EARLY_LOG_SIZE is only 4, so it >>> disables kmemleak every time on this aarch64 server running

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-27 Thread Theodore Y. Ts'o
On Wed, Nov 28, 2018 at 03:16:33AM +0300, Andrey Jr. Melnikov wrote: > Corrupted inodes - always directory, not touched at least year or > more for writing. Something wrong when updating atime? We're not sure. The frustrating thing is that it's not reproducing for me. I run extensive regression

Re: [PATCH] lzo: fix ip overrun during compress.

2018-11-27 Thread Willy Tarreau
Hi Yueyi, On Tue, Nov 27, 2018 at 10:34:26AM +, Yueyi Li wrote: > It`s possible ip overrun in lzo1x_1_do_compress() when compressed page is > point to the end of memory and which virtual address is 0xf000. > Leading to a NULL pointer access during the get_unaligned_le32(ip).

[PATCH v4 2/2] PCI: uniphier: Add UniPhier PCIe host controller support

2018-11-27 Thread Kunihiko Hayashi
This introduces specific glue layer for UniPhier platform to support PCIe host controller that is based on the DesignWare PCIe core, and this driver supports Root Complex (host) mode. Signed-off-by: Kunihiko Hayashi --- MAINTAINERS| 7 +

[PATCH v4 0/2] Add new UniPhier PCIe host driver

2018-11-27 Thread Kunihiko Hayashi
This series adds PCIe host controller driver for Socionext UniPhier SoCs. This controller is based on the DesignWare PCIe core. This driver supports LD20 and PXs3 SoCs. v3: https://www.spinics.net/lists/linux-pci/msg77224.html About legacy IRQ, it might be necessary to share common view from

[PATCH v4 1/2] dt-bindings: PCI: Add UniPhier PCIe host controller description

2018-11-27 Thread Kunihiko Hayashi
Add DT bindings for PCIe controller implemented in UniPhier SoCs when configured in Root Complex (host) mode. This controller is based on the DesignWare PCIe core. Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring --- .../devicetree/bindings/pci/uniphier-pcie.txt | 81

[PATCH] regulator: mcp16502: fix platform_no_drv_owner.cocci warnings

2018-11-27 Thread kbuild test robot
From: kbuild test robot drivers/regulator/mcp16502.c:530:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: 9199c277faeb ("regulator: mcp16502: add

Re: [PATCH v2 3/3] regulator: mcp16502: add regulator driver for MCP16502

2018-11-27 Thread kbuild test robot
Hi Andrei.Stefanescu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on regulator/for-next] [also build test WARNING on v4.20-rc4 next-20181127] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH] Input: xpad - add support for Hyperkin Duke Xbox One gamepad

2018-11-27 Thread Cameron Gutman
On 11/27/2018 07:28 PM, Cameron Gutman wrote: > Originally submitted by Shelby Jueden (GitHub: AkBKukU) to paroj/xpad: > https://github.com/paroj/xpad/pull/97 > > Minor change to the location of the new entries done by me. > > Cc: Shelby Jueden > Cc: sta...@vger.kernel.org > Signed-off-by:

Re: [PATCH] Input: synaptics - Add PNP ID for ThinkPad P50 to SMBus

2018-11-27 Thread Peter Hutterer
On Wed, Nov 21, 2018 at 03:16:20PM -0500, Lyude Paul wrote: > Noticed the other day the trackpoint felt different on my P50, then > realized it was because rmi4 wasn't loading for this machine > automatically. Suspend/resume, hibernate, and everything else seem to > work perfectly fine on here. >

Re: linux-next: Tree for Nov 27 (net/ipv4/af_inet.c)

2018-11-27 Thread Randy Dunlap
On 11/26/18 8:25 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20181126: > as reported for linux-next-20181109: (see https://lore.kernel.org/lkml/499e91d0-7349-641f-9826-753571317...@infradead.org/) when CONFIG_PROC_FS is not enabled: ld: net/ipv4/af_inet.o: in function

[PATCH v2 4/8] HID: input: use the Resolution Multiplier for high-resolution scrolling

2018-11-27 Thread Peter Hutterer
Windows uses a magic number of 120 for a wheel click. High-resolution scroll wheels are supposed to use a fraction of 120 to signal smaller scroll steps. This is implemented by the Resolution Multiplier in the device itself. If the multiplier is present in the report descriptor, set it to the

[GIT PULL] tracing: Fix fgraph design bug and sched_switch state output

2018-11-27 Thread Steven Rostedt
Linus, While rewriting the function graph tracer, I discovered a design flaw that was introduced by a patch that tried to fix one bug, but by doing so created another bug. As both bugs corrupt the output (but they do not crash the kernel), I decided to fix the design such that it could have

[PATCH v2 8/8] HID: logitech: Enable high-resolution scrolling on Logitech mice

2018-11-27 Thread Peter Hutterer
From: Harry Cutts There are three features used by various Logitech mice for high-resolution scrolling: the scrolling acceleration bit in HID++ 1.0, and the x2120 and x2121 features in HID++ 2.0 and above. This patch supports all three, and uses the multiplier reported by the mouse for the HID++

Re: [PATCH v2] panic: Add options to print system info when panic happens

2018-11-27 Thread Feng Tang
Hi Steven, On Tue, Nov 27, 2018 at 01:23:18PM -0500, Steven Rostedt wrote: > On Tue, 27 Nov 2018 15:15:20 +0800 > Feng Tang wrote: > > > Kernel panic issues are always painful to debug, partially > > because it's not easy to get enough information of the > > context when panic happens. > > > >

Re: [PATCH v2 3/3] regulator: mcp16502: add regulator driver for MCP16502

2018-11-27 Thread kbuild test robot
Hi Andrei.Stefanescu, Thank you for the patch! Yet something to improve: [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.20-rc4 next-20181127] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[PATCH] Input: xpad - add support for Hyperkin Duke Xbox One gamepad

2018-11-27 Thread Cameron Gutman
Originally submitted by Shelby Jueden (GitHub: AkBKukU) to paroj/xpad: https://github.com/paroj/xpad/pull/97 Minor change to the location of the new entries done by me. Cc: Shelby Jueden Cc: sta...@vger.kernel.org Signed-off-by: Cameron Gutman --- drivers/input/joystick/xpad.c | 2 ++ 1 file

[PATCH] ubi: do not drop UBI device reference before using

2018-11-27 Thread Pan Bian
The UBI device reference is dropped but then the device is used as a parameter of ubi_err. The bug is introduced in changing ubi_err's behavior. The old ubi_err does not require a UBI device as its first parameter, but the new one does. Fixes: 32608703310 ("UBI: Extend UBI layer debug/messaging

[PATCH V2] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v1 : Removed unusual repeat for amp software reset and verification. Amp software reset will be performed once and it repeats verification maximum 3 times if it is failed. Wait 10ms before every verification trial.

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-11-27 Thread Huang, Ying
Andrea Arcangeli writes: > Hi Linus, > > On Tue, Nov 27, 2018 at 09:08:50AM -0800, Linus Torvalds wrote: >> On Mon, Nov 26, 2018 at 10:24 PM kernel test robot >> wrote: >> > >> > FYI, we noticed a -61.3% regression of vm-scalability.throughput due >> > to commit ac5b2c18911f ("mm: thp: relax

[PATCH] ARM: multi_v7_defconfig: enable CONFIG_UNIPHIER_MDMAC

2018-11-27 Thread Masahiro Yamada
Enable the UniPhier MIO DMAC driver. This is used as the DMA engine for accelerating the SD/eMMC controller drivers. Signed-off-by: Masahiro Yamada --- The insertion context was decided by savedefconfig on next-20181127. arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion

Re: [PATCH] arm64/lib: improve CRC32 performance for deep pipelines

2018-11-27 Thread sunrui
The code execute on my system performance improves from # time ./old real0m6.645s user0m6.644s sys 0m0.001s to # time ./new real0m5.565s user0m5.565s sys 0m0.000s > Improve the performance of the crc32() asm routines by getting rid of most of > the branches and small

Re: [PATCH v2 4/4] ARM: dts: Add stmpe-adc driver to relevant devicetrees

2018-11-27 Thread Shawn Guo
On Mon, Nov 19, 2018 at 11:25:28AM +0100, Philippe Schenker wrote: > From: Philippe Schenker > > Activate the stmpe-adc driver as found on Apalis/Colibri iMX6/T30 modules iMX6 and T30 changes need to be separate patches. Shawn > > Signed-off-by: Philippe Schenker > --- > > Changes in v2: >

[PATCH] ubi: put MTD device after it is not used

2018-11-27 Thread Pan Bian
The MTD device reference is dropped via put_mtd_device, however its field ->index is read and passed to ubi_msg. To fix this, the patch moves the reference dropping after calling ubi_msg. Signed-off-by: Pan Bian --- drivers/mtd/ubi/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 0/6] RFC: gup+dma: tracking dma-pinned pages

2018-11-27 Thread John Hubbard
On 11/27/18 5:21 PM, Tom Talpey wrote: > On 11/21/2018 5:06 PM, John Hubbard wrote: >> On 11/21/18 8:49 AM, Tom Talpey wrote: >>> On 11/21/2018 1:09 AM, John Hubbard wrote: On 11/19/18 10:57 AM, Tom Talpey wrote: [...] >>> >>> What I'd really like to see is to go back to the original fio

[PATCH] Input: xpad - quirk all PDP Xbox One gamepads

2018-11-27 Thread Cameron Gutman
Since we continue to find tons of new variants [0,1,2,3,4,5,6] that need the PDP quirk, let's just quirk all devices from PDP. [0]: https://github.com/paroj/xpad/pull/104 [1]: https://github.com/paroj/xpad/pull/105 [2]: https://github.com/paroj/xpad/pull/108 [3]:

Re: [PATCH 03/10] ARM64: dts: fsl: Add all CPUs in cooling maps

2018-11-27 Thread Shawn Guo
On Fri, Nov 16, 2018 at 03:34:26PM +0530, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of

Re: [PATCH 2/6] ARM: dts: ls1021a: Add all CPUs in cooling maps

2018-11-27 Thread Shawn Guo
On Fri, Nov 16, 2018 at 03:31:11PM +0530, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of

Re: [PATCH v4] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-27 Thread Robin Murphy
Hi Tomeu, On 2018-11-27 9:07 am, Tomeu Vizoso wrote: This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. I'm happy to see this, as mine's been sat waiting until I could find time to wrangle a mainline DT for it :) Known

[PATCH] ARM: dts: uniphier: add MIO DMAC nodes

2018-11-27 Thread Masahiro Yamada
Add MIO-DMAC (Media IO DMA Controller) nodes, and use them as the DMA engine of SD/eMMC controllers. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ld4.dtsi | 14 ++ arch/arm/boot/dts/uniphier-pro4.dtsi | 16 arch/arm/boot/dts/uniphier-sld8.dtsi |

Re: [PATCH] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2018-11-27 Thread Shawn Guo
On Thu, Nov 01, 2018 at 03:43:26PM +, Vokáč Michal wrote: ... > + { > + pinctrl-names = "default"; > + pinctrl-0 = <_usdhc3>; > + bus-width = <4>; > + cd-gpios = < 8 GPIO_ACTIVE_LOW>; > + wp-gpios = < 22 GPIO_ACTIVE_HIGH>; > + no-1-8-v; > + keep-power-in-suspend; >

Re: [PATCH] tty: serial: qcom_geni_serial: Fix softlock

2018-11-27 Thread Ryan Case
On Tue, Nov 27, 2018 at 6:04 PM Stephen Boyd wrote: > > Quoting Ryan Case (2018-11-27 17:24:44) > > On Tue, Nov 27, 2018 at 4:20 PM Stephen Boyd wrote: > > > > > > Quoting Ryan Case (2018-11-26 18:25:36) > > > > Transfers were being divided into device FIFO sized (64 byte max) > > > > operations

Re: [PATCH v5 4/5] arm64: dts: qcom: sdm845: Add UFS nodes for sdm845-mtp

2018-11-27 Thread Stephen Boyd
Quoting Bjorn Andersson (2018-11-21 23:04:12) > On Mon 19 Nov 11:42 PST 2018, Stephen Boyd wrote: > > > > A workaround for this somewhat rare case would be to specify > > /delete-property/ on those nodes that aren't used. Unless that can't > > even work because the phandle is parsed before

linux-kernel@vger.kernel.org has been hacked! Change your password immediately!

2018-11-27 Thread permas01
Hello! I have very bad news for you. 03/08/2018 - on this day I hacked your OS and got full access to your account linux-kernel@vger.kernel.org On this day your account linux-kernel@vger.kernel.org has password: qwerty So, you can change the password, yes.. But my malware intercepts it every

Re: File not found: /sys/kernel/debug/tracing/events/syscalls

2018-11-27 Thread Naresh Kamboju
Hi Masami San, Thanks for the patch it solved the problem. On Tue, 27 Nov 2018 at 21:41, Masami Hiramatsu wrote: > > Hi, > > I found that the commit 4378a7d4be30 ("arm64: implement syscall > wrappers") changed > the syscall wrapper function names by adding __arm64_ prefix. So arm64 > kernel

Re: [PATCH v7 09/16] tracing: Add hist trigger snapshot() action test case

2018-11-27 Thread Masami Hiramatsu
Hi Tom, On Tue, 27 Nov 2018 16:53:45 -0600 Tom Zanussi wrote: > > > +ping $LOCALHOST -c 3 > > > +nice -n 1 ping $LOCALHOST -c 3 > > > + > > > +echo 0 > /sys/kernel/debug/tracing/events/sched/enable > > > > Shouldn't we stop tracing instead of disabling the event? > > > > This is just

Re: [RFC PATCH 0/1] support ftrace and -ffunction-sections

2018-11-27 Thread Steven Rostedt
On Tue, 27 Nov 2018 15:27:14 -0500 Joe Lawrence wrote: > Gentle ping... I took a dive through the rhkl-archives and found a few > older discussions: Thanks for the reminder, my INBOX is totally out of control with Plumbers followed by Turkey Day. > > [PATCH] scripts/recordmcount.pl:

Re: [PATCH v8 1/4] ARM: dts: imx: Add an cpu0 label for imx6dl devices.

2018-11-27 Thread Shawn Guo
On Tue, Nov 27, 2018 at 04:04:01PM +0100, Jan Tuerk wrote: > Adding the label cpu0 allows the adjustment of cpu-parameters > by reference in overlaying dtsi files in the same way as it > is possible for imx6q devices. > > Signed-off-by: Jan Tuerk > Reviewed-by: Andreas Färber Applied all,

Re: [PATCH] tty: serial: qcom_geni_serial: Fix softlock

2018-11-27 Thread Stephen Boyd
Quoting Ryan Case (2018-11-27 17:24:44) > On Tue, Nov 27, 2018 at 4:20 PM Stephen Boyd wrote: > > > > Quoting Ryan Case (2018-11-26 18:25:36) > > > Transfers were being divided into device FIFO sized (64 byte max) > > > operations which would poll for completion within a spin_lock_irqsave / > > >

Re: [PATCH 02/14] dt-bindings: soc: milbeaut: Add Milbeaut trampoline description

2018-11-27 Thread Stephen Boyd
Quoting Sugaya Taichi (2018-11-18 17:01:07) > Add DT bindings document for Milbeaut trampoline. > > Signed-off-by: Sugaya Taichi > --- > .../devicetree/bindings/soc/socionext/socionext,m10v.txt | 12 > > 1 file changed, 12 insertions(+) > create mode 100644 >

Re: ext4 file system corruption with v4.19.3 / v4.19.4

2018-11-27 Thread Vito Caputo
On Tue, Nov 27, 2018 at 01:22:55PM -0800, Guenter Roeck wrote: > On Tue, Nov 27, 2018 at 07:55:01PM +0100, Rainer Fiebig wrote: > > Am Dienstag, 27. November 2018, 15:48:19 schrieb Marek Habersack: > > > On 27/11/2018 15:32, Guenter Roeck wrote: > > > Hi, > > > > > > You might try to see if you

Re: [RFC PATCH] of: make MAX_RESERVED_REGIONS configurable

2018-11-27 Thread Miles Chen
On Mon, 2018-11-26 at 09:33 +0800, Miles Chen wrote: > On Sat, 2018-11-24 at 14:56 -0600, Rob Herring wrote: > > On Wed, Nov 21, 2018 at 8:51 PM Miles Chen wrote: > > > > > > On Wed, 2018-11-21 at 10:39 -0600, Rob Herring wrote: > > > > On Wed, Nov 21, 2018 at 2:11 AM wrote: > > > > > > > > > >

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-27 Thread Tim Chen
On 11/27/2018 02:36 PM, Thomas Gleixner wrote: >> >> We need this special handling only if the next task has TIF_SPEC_UPDATE >> set, which is one-off event globally (when seccomp marks all its threads >> so due to seccomp filter change), and once all the TIF_SPEC_UPDATE tasks >> schedule at

Re: [PATCH v2 1/4] x86/hyper-v: move synic/stimer control structures definitions to hyperv-tlfs.h

2018-11-27 Thread Nadav Amit
> On Nov 27, 2018, at 10:48 AM, Roman Kagan wrote: > > On Tue, Nov 27, 2018 at 02:10:49PM +0100, Vitaly Kuznetsov wrote: >> Roman Kagan writes: >>> On Mon, Nov 26, 2018 at 04:47:29PM +0100, Vitaly Kuznetsov wrote: >>> I personally tend to prefer masks over bitfields, so I'd rather do the >>>

Re: [PATCH v2 3/3] perf report: Display average IPC and IPC coverage per symbol

2018-11-27 Thread Jin, Yao
On 11/28/2018 2:33 AM, Andi Kleen wrote: On Tue, Nov 27, 2018 at 08:09:48PM +0800, Jin Yao wrote: Support displaying the average IPC and IPC coverage for symbol in perf report TUI browser. We create a new sort-key 'ipc' for that. Another thing that would be nice would be to automatically

[PATCH] ata: read ->revision before dropping pci_device reference

2018-11-27 Thread Pan Bian
pci_device->revision is read after dropping pci_device reference via pci_dev_put, which may result in use-after-free bugs. To fix this, the patch reads ->revision before dropping reference. Signed-off-by: Pan Bian --- drivers/ata/pata_sis.c | 4 +++- drivers/ata/pata_sl82c105.c | 4 +++- 2

Re: [PATCH 02/25] iov_iter: Use accessor function [ver #2]

2018-11-27 Thread NeilBrown
On Wed, Oct 24 2018, David Howells wrote: > Use accessor functions to access an iterator's type and direction. This > allows for the possibility of using some other method of determining the > type of iterator than if-chains with bitwise-AND conditions. > > Signed-off-by: David Howells > ---

Re: [RFC][PATCH 11/14] function_graph: Convert ret_stack to a series of longs

2018-11-27 Thread Joel Fernandes
On Mon, Nov 26, 2018 at 11:26:03AM -0500, Steven Rostedt wrote: > On Tue, 27 Nov 2018 01:07:55 +0900 > Masami Hiramatsu wrote: > > > > > --- a/include/linux/sched.h > > > > +++ b/include/linux/sched.h > > > > @@ -1119,7 +1119,7 @@ struct task_struct { > > > > int

Re: [PATCH v2 0/6] RFC: gup+dma: tracking dma-pinned pages

2018-11-27 Thread Tom Talpey
On 11/21/2018 5:06 PM, John Hubbard wrote: On 11/21/18 8:49 AM, Tom Talpey wrote: On 11/21/2018 1:09 AM, John Hubbard wrote: On 11/19/18 10:57 AM, Tom Talpey wrote: ~14000 4KB read IOPS is really, really low for an NVMe disk. Yes, but Jan Kara's original config file for fio is *intended* to

  1   2   3   4   5   6   7   8   >