[GIT PULL] GPIO fixes for the v5.0 series

2019-02-20 Thread Linus Walleij
Hi Linus, some final polish for GPIO for v5.0. Both patches are also tagged for stable. Please pull them in! Yours, Linus Walleij The following changes since commit 8834f5600cf3c8db365e18a3d5cac2c2780c81e5: Linux 5.0-rc5 (2019-02-03 13:48:04 -0800) are available in the Git repository at:

Re: [PATCH v1 0/2] rsnd: dts: change to use extended audio dmac register

2019-02-20 Thread Geert Uytterhoeven
Hi Jiada, On Wed, Feb 20, 2019 at 6:25 AM Jiada Wang wrote: > According to user reference manual for R-CAR H3 and M3-W SoCs, > in order to access busif4 ~ busif7, extended audio dmac registers > (PDMASAREn, PDMADAREn, PDMACHCREn) > need to be used, rather than basic audio dmac registers >

Re: [PATCH v1 2/2] arm64: dts: renesas: r8a7796: use extended audio dmac register

2019-02-20 Thread Geert Uytterhoeven
On Wed, Feb 20, 2019 at 6:25 AM Jiada Wang wrote: > Basic audio dmac register only supports busif from 0 to 3, > in order to use busif4 ~ busif7, extended audio dmac register > need to be used > > Signed-off-by: Jiada Wang Reviewed-by: Geert Uytterhoeven but please consider my comments to the

Re: [PATCH v1 1/2] arm64: dts: renesas: r8a7795: use extended audio dmac register

2019-02-20 Thread Geert Uytterhoeven
On Wed, Feb 20, 2019 at 6:25 AM Jiada Wang wrote: > Basic audio dmac register only supports busif from 0 to 3, > in order to use busif4 ~ busif7, extended audio dmac register > need to be used. > > Signed-off-by: Jiada Wang Reviewed-by: Geert Uytterhoeven but please consider my comments to the

Re: [PATCH v2] jffs2: safely remove obsolete dirent from the f->dents list

2019-02-20 Thread Richard Weinberger
Am Samstag, 16. Februar 2019, 09:53:35 CET schrieb yuyufen: > ping? Sorry for the delay. I didn't forget (completely) about this one. The thing is, I don't really maintain jffs2 but I will collect and test patches for the upcoming merge window and carry them via my ubifs tree. David, I hope I

[GIT PULL] pin control fixes for v5.0

2019-02-20 Thread Linus Walleij
Hi Linus, some final pin control fixes (I hope) to round off the v5.0 pin control development cycle. Only driver fixes, one for stable. Please pull them in! Yours, Linus Walleij The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9: Linux 5.0-rc6 (2019-02-10 14:42:20

Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault

2019-02-20 Thread Masami Hiramatsu
On Tue, 19 Feb 2019 14:03:30 -0500 Steven Rostedt wrote: > > > Basically, a kprobe is mostly used for debugging what's happening in a > > > live kernel, to read any address. > > > > My point is that "any address" is not sufficient to begin with. You > > need "kernel or user". > > > > Having

RE: [PATCH] arm64: dts: ls1028a: Add Audio DT nodes

2019-02-20 Thread Alison Wang
Hi, Shawn, > On Wed, Jan 23, 2019 at 01:21:35PM +0800, Alison Wang wrote: > > This patch adds Audio DT nodes for LS1028ARDB and LS1028AQDS boards. > > > > Signed-off-by: Alison Wang > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 62 > > >

[PATCH 0/3] regulator: tps65218: Fix LS3 and add LS2

2019-02-20 Thread Christian Hohnstaedt
The patch-series fixes issues in the LS3 configuration and adds support for the LS2 regulator in the tps65218 Christian Hohnstaedt (3): regulator: tps65218.c: fix LS3 issues dt-bindings: regulator: Add LS2 load switch regulator: tps65218: Add support for LS2

Re: [PATCH] HID: roccat: Mark expected switch fall-through

2019-02-20 Thread Stefan Achatz
Am Dienstag, den 19.02.2019, 14:16 +0100 schrieb Jiri Kosina: > On Mon, 11 Feb 2019, Gustavo A. R. Silva wrote: > > > In preparation to enabling -Wimplicit-fallthrough, mark switch > > cases where we are expecting to fall through. > > > > This patch fixes the following warning: > > > >

[PATCH 3/3] regulator: tps65218: Add support for LS2

2019-02-20 Thread Christian Hohnstaedt
Re-use the "tps65218_pmic_*_current_limit()" functions of LS3 and calculate the different required bit-shift by counting the trailing 0s in "struct regulator_desc.csel_mask" Signed-off-by: Christian Hohnstaedt --- drivers/regulator/tps65218-regulator.c | 18 +- 1 file changed,

[PATCH 1/3] regulator: tps65218.c: fix LS3 issues

2019-02-20 Thread Christian Hohnstaedt
- Fix list of valid LS3 currents from mA to µA - Fix selection of min/max microAmps of LS3. Selecting one of the configured values as max value now really selects it instead of the next lower one Signed-off-by: Christian Hohnstaedt --- drivers/regulator/tps65218-regulator.c | 5 +++-- 1

[PATCH 2/3] dt-bindings: regulator: Add LS2 load switch

2019-02-20 Thread Christian Hohnstaedt
and change units of LS3 example from microvolt to microamp Signed-off-by: Christian Hohnstaedt --- Documentation/devicetree/bindings/regulator/tps65218.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt

Re: [RFC PATCH net-next v3 05/21] ethtool: netlink bitset handling

2019-02-20 Thread Michal Kubecek
On Tue, Feb 19, 2019 at 06:27:59PM -0800, Jakub Kicinski wrote: > On Mon, 18 Feb 2019 19:21:49 +0100 (CET), Michal Kubecek wrote: > > + else if (is_u32) > > + bitmap_from_arr32(val, bitmap, nbits); > > + else > > + bitmap_copy(val, bitmap,

Re: [PATCH] dt-bindings: imx: update scu resource id headfile

2019-02-20 Thread Marco Felsch
On 19-02-20 03:38, Aisheng Dong wrote: > [...] > > > > I don't like droping some ID's (e.g. IMX_SC_R_DC_0_CAPTURE0) by mark > > > them as unused or even worse give them a other meaning. IMHO the > > > scu-api should be stable since day 1 and the ID's should only be extended. > > > Marking ID's as

Re: [PATCH v3 5/5] arm64: dts: imx8mq-evk: Enable PCIE0 interface

2019-02-20 Thread Lucas Stach
Am Dienstag, den 19.02.2019, 17:58 -0800 schrieb Andrey Smirnov: > Enable PCIE0 interface connected to BCM4356 WiFi/Bluetooth module. > > Signed-off-by: Andrey Smirnov > Cc: Shawn Guo > Cc: Fabio Estevam > Cc: Chris Healy > Cc: Lucas Stach > Cc: Leonard Crestez > Cc: "A.s. Dong" > Cc:

Re: [PATCH] x86/asm: Pin sensitive CR4 bits

2019-02-20 Thread Dominik Brodowski
On Tue, Feb 19, 2019 at 04:54:49PM -0800, Kees Cook wrote: > diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c > index cb28e98a0659..7e0ea4470f8e 100644 > --- a/arch/x86/kernel/cpu/common.c > +++ b/arch/x86/kernel/cpu/common.c > @@ -312,10 +312,16 @@ static __init int

Re: [PATCH] soc: imx: gpcv2: Make use of regmap_read_poll_timeout()

2019-02-20 Thread Lucas Stach
Am Dienstag, den 19.02.2019, 18:14 -0800 schrieb Andrey Smirnov: > Replace explicit polling loop with a call to > regmap_read_poll_timeout() to avoid code repetition. Also fix > misspelled "failed" while at it. > > Signed-off-by: Andrey Smirnov > Cc: Lucas Stach > Cc: Chris Healy > Cc:

[PATCH v3 -next] tpm: Fix the type of the return value in calc_tpm2_event_size()

2019-02-20 Thread Yue Haibing
calc_tpm2_event_size() has an invalid signature because it returns a 'size_t' where as its signature says that it returns 'int'. Cc: Fixes: 4d23cc323cdb ("tpm: add securityfs support for TPM 2.0 firmware event log") Suggested-by: Jarkko Sakkinen Signed-off-by: Yue Haibing --- v3: fix My real

Re: [PATCH] acpi/nfit: Fix bus command validation

2019-02-20 Thread Johannes Thumshirn
On 20/02/2019 03:58, Dan Williams wrote: [...] >> >> Tricky code path, eh? > > ioctl path, number one source of bugs / thrash in this subsystem. 2nd > place, ARS. Possibly unpopular idea, but should we maybe teach trinity/syzcaller about these ioctl()s? Better we find the bugs in a QA like

Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-02-20 Thread Borislav Petkov
On Mon, Feb 18, 2019 at 09:48:20AM +0800, Dave Young wrote: > It is ideal if kernel can do it automatically, but I'm not sure if > kernel can predict the swiotlb reserved size automatically. Do you see how even more absurd this gets? If the kernel cannot know the swiotlb reserved size

Re: [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable

2019-02-20 Thread Oscar Salvador
On Mon, Feb 18, 2019 at 07:15:44PM +0100, Michal Hocko wrote: > From: Michal Hocko > Fixes: efad4e475c31 ("mm, memory_hotplug: is_mem_section_removable do not > pass the end of a zone") > Reported-by: > Signed-off-by: Michal Hocko Looks good to me. I glanced quickly over the memhotplug code

Re: [PATCH v1 2/2] drm/mediatek: add mipi_tx driver for mt8183

2019-02-20 Thread CK Hu
Hi, Jitao: On Tue, 2019-02-19 at 17:14 +0800, Jitao Shi wrote: > This patch add mt8183 mipi_tx driver. > And also support other chips that use the same binding and driver. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/mediatek/mtk_mipi_tx.c| 2 + >

[PATCH v2 0/5] lib: rework bitmap_parselist and tests

2019-02-20 Thread Yury Norov
bitmap_parselist has been evolved from a pretty simple idea for long and now lacks for refactoring. It is not structured, has nested loops and a set of opaque-named variables. All this leads to extremely hard understanding of the code. Once during the optimization of it I missed a scenario which

[PATCH 6/6] lib/test_bitmap: add tests for bitmap_parselist_user

2019-02-20 Thread Yury Norov
Propagate existing bitmap_parselist() tests to bitmap_parselist_user(). Signed-off-by: Yury Norov --- lib/test_bitmap.c | 46 -- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index

[PATCH 2/6] bitmap_parselist: move non-parser logic to helpers

2019-02-20 Thread Yury Norov
Move region checking and setting functionality of __bitmap_parselist() to helpers. Signed-off-by: Yury Norov --- lib/bitmap.c | 64 +++- 1 file changed, 53 insertions(+), 11 deletions(-) diff --git a/lib/bitmap.c b/lib/bitmap.c index

[PATCH 3/6] bitmap_parselist: rework input string parser

2019-02-20 Thread Yury Norov
The requirement for this rework is to keep the __bitmap_parselist() copy-less and single-pass but make it more readable and maintainable by splitting into logical parts and removing explicit nested cycles and opaque local variables. __bitmap_parselist() can parse userspace inputs and therefore we

[PATCH 4/6] lib/test_bitmap: switch test_bitmap_parselist to ktime_get()

2019-02-20 Thread Yury Norov
test_bitmap_parselist currently uses get_cycles which is not implemented on some platforms, so use ktime_get() instead. Signed-off-by: Yury Norov --- lib/test_bitmap.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index

[PATCH 5/6] lib/test_bitmap: add testcases for bitmap_parselist

2019-02-20 Thread Yury Norov
Add tests for non-number character, empty regions, integer overflow. Signed-off-by: Yury Norov --- lib/test_bitmap.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index b06e0fd3811b..709424a788ee 100644 ---

[PATCH 1/6] bitmap_parselist: don't calculate length of the input string

2019-02-20 Thread Yury Norov
bitmap_parselist() calculates length of the input string before passing it to the __bitmap_parselist(). But the end-of-line condition is checked for every character in __bitmap_parselist() anyway. So doing it in wrapper is a simple waste of time. Signed-off-by: Yury Norov --- lib/bitmap.c | 5

Re: [PATCH v1 01/12] of: Add bindings of thermtrip for Tegra soctherm

2019-02-20 Thread Wei Ni
On 20/2/2019 9:22 AM, Eduardo Valentin wrote: > On Fri, Dec 28, 2018 at 11:28:42AM +0800, Wei Ni wrote: >> >> >> On 28/12/2018 7:06 AM, Rob Herring wrote: >>> On Tue, Dec 18, 2018 at 03:34:33PM +0800, Wei Ni wrote: Add optional property "nvidia,thermtrips". If present, these trips

Re: [PATCH] HID: roccat: Mark expected switch fall-through

2019-02-20 Thread Jiri Kosina
On Wed, 20 Feb 2019, Stefan Achatz wrote: > I already confirmed this 7 months ago but as I see only in a reply to > you. I guess that fell in between cracks somewhere. > Yes, this patch is correct. Applied, thanks. -- Jiri Kosina SUSE Labs

Re: [PATCH v7 0/3] Fixes for Tegra soctherm

2019-02-20 Thread Wei Ni
On 20/2/2019 10:14 AM, Zhang Rui wrote: > On 一, 2019-02-18 at 15:59 +0800, Wei Ni wrote: >> Rui, >> Will you take this serial? >> > it is already in my tree. > I missed -rc6, thus I will queue them for 5.1-rc1. Thanks. I updated v8 patch per Daniel Lezcano's comment. Please check it. Wei. >

Re: linux-next: Fixes tag needs some work in the net-next tree

2019-02-20 Thread Jiri Pirko
Wed, Feb 20, 2019 at 07:48:13AM CET, da...@davemloft.net wrote: >From: Vinod Koul >Date: Wed, 20 Feb 2019 10:10:55 +0530 > >> On 20-02-19, 09:31, Stephen Rothwell wrote: >>> Hi all, >>> >>> In commit >>> >>> a968b5e9d587 ("net: dsa: qca8k: Enable delay for RGMII_ID mode") >>> >>> Fixes tag

Re: [PATCH v2 5/5] base: soc: Export soc_device_register/unregister APIs

2019-02-20 Thread Vaishali Thakkar
On Wed, 20 Feb 2019 at 12:25, Greg KH wrote: > > On Wed, Feb 20, 2019 at 10:29:46AM +0530, Vaishali Thakkar wrote: > > From: Vinod Koul > > > > Qcom Socinfo driver can be built as a module, so > > export these two APIs. > > > > Signed-off-by: Vinod Koul > > Signed-off-by: Vaishali Thakkar > >

Re: [PATCH] reset: Don't WARN if trying to get a used reset control

2019-02-20 Thread Thierry Reding
On Thu, Feb 07, 2019 at 09:27:51AM +0100, Thierry Reding wrote: > On Wed, Feb 06, 2019 at 07:12:04PM +0100, Philipp Zabel wrote: > > On Wed, 2019-02-06 at 17:00 +0100, Thierry Reding wrote: > [...] > > > That way we operate on the same reset control, but we wouldn't need to > > > iterate over all

[PATCH v2] arm64: dts: ls1028a: Add Audio DT nodes

2019-02-20 Thread Alison Wang
This patch adds Audio DT nodes for LS1028ARDB and LS1028AQDS boards. Signed-off-by: Alison Wang --- Changes in v2: - Modify some nodes' names. - Use GIC_SPI and IRQ_TYPE_LEVEL_HIGH. arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 62

RE: [PATCH V7 1/4] dt-bindings: fsl: scu: add thermal binding

2019-02-20 Thread Anson Huang
Best Regards! Anson Huang > -Original Message- > From: Aisheng Dong > Sent: 2019年2月20日 15:45 > To: Anson Huang ; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de; > feste...@gmail.com; catalin.mari...@arm.com; will.dea...@arm.com; >

Re: [PATCH v3 -next] tpm: Fix the type of the return value in calc_tpm2_event_size()

2019-02-20 Thread Jarkko Sakkinen
On Wed, Feb 20, 2019 at 04:25:38PM +0800, Yue Haibing wrote: > calc_tpm2_event_size() has an invalid signature because > it returns a 'size_t' where as its signature says that > it returns 'int'. > > Cc: > Fixes: 4d23cc323cdb ("tpm: add securityfs support for TPM 2.0 firmware event > log") >

Re: [tip:x86/cpu] x86/CPU/AMD: Set the CPB bit unconditionally on F17h

2019-02-20 Thread Borislav Petkov
On Fri, Jan 18, 2019 at 07:48:59AM -0800, tip-bot for Jiaxun Yang wrote: > Commit-ID: 0237199186e7a4aa5310741f0a6498a20c820fd7 > Gitweb: > https://git.kernel.org/tip/0237199186e7a4aa5310741f0a6498a20c820fd7 > Author: Jiaxun Yang > AuthorDate: Tue, 20 Nov 2018 11:00:18 +0800 > Committer:

Re: [PATCH] s390/jump_label: Correct asm contraint

2019-02-20 Thread Heiko Carstens
On Sat, Feb 09, 2019 at 12:34:20PM -0800, Laura Abbott wrote: > On 2/5/19 12:43 PM, Heiko Carstens wrote: > >On Tue, Jan 29, 2019 at 08:25:58AM +0100, Laura Abbott wrote: > >>On 1/23/19 5:24 AM, Heiko Carstens wrote: > >>>On Wed, Jan 23, 2019 at 01:55:13PM +0100, Laura Abbott wrote: > There's

Re: [PATCH] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Chen-Yu Tsai
On Sun, Feb 17, 2019 at 2:21 AM Mans Rullgard wrote: > > This adds pinctrl settings for various missing uart options. > > Signed-off-by: Mans Rullgard > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 45 > 1 file changed, 45 insertions(+) > > diff --git

Re: [PATCH] x86/nmi: ratelimit unknown nmi logs

2019-02-20 Thread Peter Zijlstra
On Tue, Feb 19, 2019 at 05:48:36PM -0800, Olof Johansson wrote: > Getting notified of unknown NMIs is obviously important, but getting > notified on every single one, especially on larger systems with slow > (serial) console causes more harm than good when it's a known noisy > non-relevant event.

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

2019-02-20 Thread Bartosz Golaszewski
wt., 19 lut 2019 o 21:55 Shravan Kumar Ramani napisał(a): > > This patch adds support for the GPIO controller used by Mellanox > BlueField SOCs. > Thanks for addressing the issues. A couple more things I missed the last time are below. > Reviewed-by: David Woods > Signed-off-by: Shravan Kumar

Re: [RFC PATCH v1 10/25] printk: redirect emit/store to new ringbuffer

2019-02-20 Thread Petr Mladek
On Tue 2019-02-12 15:29:48, John Ogness wrote: > vprintk_emit and vprintk_store are the main functions that all printk > variants eventually go through. Change these to store the message in > the new printk ring buffer that the printk kthread is reading. We need to switch the two buffers in a

[v6 3/3] ahci: qoriq: add lx2160 platforms support

2019-02-20 Thread Peng Ma
Lx2160a is a new introduced soc which supports ATA3.0 Signed-off-by: Peng Ma --- changed for V6: - Add ecc_initialized to ensure set sata bit once of ECC error register - Recovery AHCI_LS2088A platform drivers/ata/ahci_qoriq.c | 52

[v6 1/3] dt-bindings: ahci-fsl-qoriq: add lx2160a chip name to the list

2019-02-20 Thread Peng Ma
Add lx2160a compatible to bindings documentation. Signed-off-by: Peng Ma --- changed for V6: - no changed .../devicetree/bindings/ata/ahci-fsl-qoriq.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[v6 2/3] arm64: dts: lx2160a: add sata node support

2019-02-20 Thread Peng Ma
Add SATA device nodes for fsl-lx2160a and enable support for QDS and RDB boards. Signed-off-by: Peng Ma --- changed for V6: - no change arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 16 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 16 +++

Re: [PATCH 4.20 00/92] 4.20.11-stable review

2019-02-20 Thread Greg Kroah-Hartman
On Tue, Feb 19, 2019 at 09:39:11AM -0800, Guenter Roeck wrote: > On 2/18/19 5:42 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.11 release. > > There are 92 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v3 1/9] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-20 Thread Cornelia Huck
On Tue, 19 Feb 2019 17:27:05 -0500 Tony Krowiak wrote: > On 2/18/19 11:57 AM, Cornelia Huck wrote: > > On Mon, 18 Feb 2019 11:35:45 -0500 > > Tony Krowiak wrote: > > > >> On 2/18/19 7:01 AM, Cornelia Huck wrote: > >>> On Fri, 15 Feb 2019 16:59:33 -0500 > >>> Tony Krowiak wrote: > >>>

Re: [PATCH] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Maxime Ripard
On Wed, Feb 20, 2019 at 04:58:49PM +0800, Chen-Yu Tsai wrote: > On Sun, Feb 17, 2019 at 2:21 AM Mans Rullgard wrote: > > > > This adds pinctrl settings for various missing uart options. > > > > Signed-off-by: Mans Rullgard > > --- > > arch/arm/boot/dts/sun7i-a20.dtsi | 45

RE: [PATCH v4 2/2] irqchip: Add support for Renesas RZ/N1 GPIO interrupt multiplexer

2019-02-20 Thread Phil Edworthy
Hi Marc On 19 February 2019 20:29 Marc Zyngier wrote: > On Tue, 19 Feb 2019 15:55:11 + Phil Edworthy wrote: > > + LinusW, who seem to have taken an interest in irqchip hierarchies... > > > On RZ/N1 devices, there are 3 Synopsys DesignWare GPIO blocks each > > configured to have 32 interrupt

Re: [PATCH 1/3] dt-bindings: dmaengine: Add one new cell to present hardware slave id

2019-02-20 Thread Arnd Bergmann
On Wed, Feb 20, 2019 at 4:13 AM Baolin Wang wrote: > On Tue, 19 Feb 2019 at 20:20, Vinod Koul wrote: > > On 19-02-19, 17:49, Baolin Wang wrote: > > > On Tue, 19 Feb 2019 at 17:30, Geert Uytterhoeven > > > wrote: > > > > On Tue, Feb 19, 2019 at 4:15 AM Baolin Wang > > > > wrote: > > > > > On

RE: [v5 2/2] arm64: dts: lx2160a: add sata node support

2019-02-20 Thread Peng Ma
Hi Yousaf, To set sata bit of ecc-addr will affect all sata controllers, The v6 patch has been sent will fixed the remap error when two or more sata controllers be probed, please review. Thanks. Best Regards, Peng >-Original Message- >From: Peng Ma >Sent: 2019年2月14日 17:19 >To: 'Mian

Re: [PATCH -next] btrfs: Fix type conversion in btrfs_read_root_item

2019-02-20 Thread YueHaibing
On 2019/2/20 14:10, Dan Carpenter wrote: > On Wed, Feb 20, 2019 at 08:58:43AM +0300, Dan Carpenter wrote: >> On Wed, Feb 20, 2019 at 03:08:40AM +, YueHaibing wrote: >>> btrfs_item_size_nr return value is u32, convert it to int may result >>> in truncation.Also read_extent_buffer expect a

Re: linux-next: Tree for Feb 20

2019-02-20 Thread Zhangshaokun
There is a compiler failure on arm64 platform, as follow: AS arch/arm64/kvm/hyp.o CC kernel/trace/ring_buffer.o In file included from security/integrity/ima/ima_fs.c:30:0: security/integrity/ima/ima.h:176:7: error: redeclaration of enumerator ‘NONE’ hook(NONE) \ ^

Re: [Outreachy kernel] [PATCH] net: dsa: add missing of_node_put

2019-02-20 Thread Himadri Pandya
On 20/02/19 9:23 AM, Vaishali Thakkar wrote: On Wed, Feb 20, 2019 at 8:54 AM Himadri Pandya wrote: Hi Himadri, Thanks for the patch! For the scope of Outreachy, we prefer that you send patches in staging directory as Greg makes sure to pick them during the application period. Of course,

Re: [PATCH v2 09/10] genirq/irqdomain: fall back to default domain when creating hierarchy domain

2019-02-20 Thread Marc Zyngier
On Tue, 19 Feb 2019 17:48:29 +0100 Thomas Bogendoerfer wrote: > On Tue, 19 Feb 2019 16:27:16 + > Marc Zyngier wrote: > > > On Tue, 19 Feb 2019 16:57:23 +0100 > > Thomas Bogendoerfer wrote: > > > > Hi Thomas, > > > > > When creating hierarchy domains use irq_default_domain as parent,

Re: [PATCH v6 21/22] iommu/mediatek: Fix iova_to_phys PA start for 4GB mode

2019-02-20 Thread Yong Wu
On Tue, 2019-02-19 at 15:33 -0800, Evan Green wrote: > On Sun, Feb 17, 2019 at 1:09 AM Yong Wu wrote: > > > > In the 4GB mode, the physical address is remapped, > > > > Here is the detailed remap relationship. > > CPU PA ->HW PA > > 0x4000_ 0x1_4000_ (Add bit32) > >

Re: [PATCH v1 04/12] arm64: dts: msm8996: thermal: Add temperature sensors near major peripherals

2019-02-20 Thread Amit Kucheria
On Wed, Feb 20, 2019 at 6:55 AM Eduardo Valentin wrote: > > On Mon, Feb 18, 2019 at 06:05:18PM +0530, Amit Kucheria wrote: > > msm8996 has a total of 21 temperature sensors. Populate DT with > > information about them. > > > > There are 2 sensors on each of the cpus - one on the top, the other >

Re: [PATCH] kasan: turn off asan-stack for clang-8 and earlier

2019-02-20 Thread Arnd Bergmann
On Wed, Feb 20, 2019 at 7:44 AM Dmitry Vyukov wrote: > > On Wed, Feb 20, 2019 at 1:34 AM Kostya Serebryany wrote: > > > > On Tue, Feb 19, 2019 at 2:43 PM Nick Desaulniers > > wrote: > > > > > > + Evgenii, Kostya for KASAN > > > > > > On Tue, Feb 19, 2019 at 2:17 PM Qian Cai wrote: > > > > > >

Re: [PATCH v1 13/24] drivers: thermal: tsens: Print IP version

2019-02-20 Thread Amit Kucheria
On Wed, Feb 20, 2019 at 6:47 AM Eduardo Valentin wrote: > > On Thu, Feb 07, 2019 at 04:19:31PM +0530, Amit Kucheria wrote: > > On some TSENS IP, version is stored. Print that version at init. > > > > Signed-off-by: Amit Kucheria > > --- > > drivers/thermal/qcom/tsens-common.c | 23

Re: [PATCH v2] USB: serial: cp210x: Fix GPIO in autosuspend

2019-02-20 Thread Johan Hovold
On Sun, Feb 17, 2019 at 06:59:01PM +0100, Karoly Pados wrote: > Current GPIO code in cp210x fails to take USB autosuspend into account, > making it practically impossible to use GPIOs with autosuspend enabled > without user configuration. Fix this like for ftdi_sio in a previous patch. > Tested on

Re: [PATCH] s390/setup: fix early warning messages

2019-02-20 Thread Cornelia Huck
On Tue, 19 Feb 2019 10:47:38 -0800 Guenter Roeck wrote: > Hi Cornelia, > > On 2/18/19 2:30 PM, Cornelia Huck wrote: > > >> What is your qemu command line ? > > > > Ignoring any additional devices: > > > > s390x-softmmu/qemu-system-s390x -M s390-ccw-virtio,accel=tcg -cpu max -m > > 1024

Re: [PATCH v6 9/9] vsprintf: Avoid confusion between invalid address and value

2019-02-20 Thread Petr Mladek
On Tue 2019-02-19 13:06:17, Andy Shevchenko wrote: > On Tue, Feb 19, 2019 at 5:07 AM Sergey Senozhatsky > wrote: > > > Suppose, in my driver I want to sprintf() IPv4 address. The longest > > possible address is 3 * 4 (%d%d%d) + 3 bytes (dots) + terminating NULL. > > E.g. 111.111.111.111 > > > >

Re: [RFC PATCH] tools/memory-model: Remove (dep ; rfi) from ppo

2019-02-20 Thread Peter Zijlstra
On Tue, Feb 19, 2019 at 06:01:17PM -0800, Paul E. McKenney wrote: > On Tue, Feb 19, 2019 at 11:57:37PM +0100, Andrea Parri wrote: > > Remove this subtle (and, AFAICT, unused) ordering: we can add it back, > > if necessary, but let us not encourage people to rely on this thing. > > > > For

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-20 Thread Cornelia Huck
On Tue, 19 Feb 2019 22:31:17 +0100 Pierre Morel wrote: > On 19/02/2019 19:52, Tony Krowiak wrote: > > On 2/18/19 1:08 PM, Pierre Morel wrote: > >> Libudev relies on having a subsystem link for non-root devices. To > >> avoid libudev (and potentially other userspace tools) choking on the > >>

[PATCH][next] rtlwifi: rtl8192ce: fix typo, "PairwiseENcAlgorithm" -> "PairwiseEncAlgorithm"

2019-02-20 Thread Colin King
From: Colin Ian King There is an uppercase 'N' that should be a lowercase 'n', fix this. Signed-off-by: Colin Ian King --- drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 9/9] ARM: configs: Add Milbeaut M10V defconfig

2019-02-20 Thread Arnd Bergmann
On Wed, Feb 20, 2019 at 8:44 AM Sugaya Taichi wrote: > diff --git a/arch/arm/configs/milbeaut_m10v_defconfig > b/arch/arm/configs/milbeaut_m10v_defconfig > new file mode 100644 > index 000..a263211 > --- /dev/null > +++ b/arch/arm/configs/milbeaut_m10v_defconfig > @@ -0,0 +1,175 @@ I no

Re: 4.20.7: pl2303 not working (post-4.19 regression) (limited info so far, not yet bisected)

2019-02-20 Thread Johan Hovold
On Mon, Feb 18, 2019 at 10:32:57AM +, Nix wrote: > On 18 Feb 2019, Johan Hovold stated: > > > On Sun, Feb 17, 2019 at 07:13:52PM +, Nix wrote: > >> I'm still fairly sure this is a regression -- my machines are often up > >> for a lot longer than that and I've never seen this before I

RE: [alsa-devel] [PATCH] ASoC: AMD: Configure master codec on all playback/capture cases

2019-02-20 Thread Adam Thomson
On 8 February 2019 18:18, Mark Brown wrote: > On Fri, Feb 15, 2019 at 07:06:15AM +, Agrawal, Akshu wrote: > > > +static static int cz_da7219_hw_params(struct snd_pcm_substream > *substream, > > + struct snd_pcm_hw_params *params) { > > + /* da7219 Codec is

Re: [PATCH] usb: xhci: add Immediate Data Transfer support

2019-02-20 Thread Felipe Balbi
Nicolas Saenz Julienne writes: > Immediate data transfers (IDT) allow the HCD to copy small chunks of > data (up to 8bytes) directly into its output transfer TRBs. This avoids > the somewhat expensive DMA mappings that are performed by default on > most URBs submissions. > > In the case an URB

Re: [PATCH v3] drivers: base: add support to skip power management in device/driver model

2019-02-20 Thread Rafael J. Wysocki
On Thursday, February 14, 2019 7:29:10 PM CET Sudeep Holla wrote: > All device objects in the driver model contain fields that control the > handling of various power management activities. However, it's not > always useful. There are few instances where pseudo devices are added > to the model

BUG: assuming atomic context at kernel/seccomp.c:LINE

2019-02-20 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf446c90405 Add linux-next specific files for 20190220 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17f250d8c0 kernel config: https://syzkaller.appspot.com/x/.config?x=463cb576ac40e350

Re: [PATCH v2 0/2] Fix crash in cper_estatus_check()

2019-02-20 Thread Rafael J. Wysocki
On Tuesday, February 19, 2019 2:50:04 PM CET Borislav Petkov wrote: > On Tue, Feb 19, 2019 at 11:00:49AM +0100, Rafael J. Wysocki wrote: > > Boris, any comments here? > > For both: > > Acked-by: Borislav Petkov Both applied, thanks!

Re: [PATCH 1/2] x86: gpio: AMD G-Series pch gpio platform driver

2019-02-20 Thread Linus Walleij
On Thu, Feb 14, 2019 at 10:56 AM Enrico Weigelt, metux IT consult wrote: > On 08.02.19 15:25, Linus Walleij wrote: > > >> +config GPIO_AMD_FCH > >> + tristate "GPIO support for AMD Fusion Controller Hub (G-series > >> SOCs)" > >> + select GPIO_GENERIC > > > > You are selecting

Re: [PATCH v4] irqchip: gicv3-its: Use NUMA aware memory allocation for ITS tables

2019-02-20 Thread Marc Zyngier
On Tue, 19 Feb 2019 11:05:38 +, Shameerali Kolothum Thodi wrote: > > Hi Marc, > > A gentle reminder on this one... Thanks for that. Now applied to irqchip-next. M. -- Jazz is not dead, it just smell funny.

Re: [PATCH] iwlwifi: mvm: Use div64_s64 instead of do_div in iwl_mvm_debug_range_resp

2019-02-20 Thread Luca Coelho
On Tue, 2019-02-19 at 11:05 -0800, Nick Desaulniers wrote: > On Tue, Feb 19, 2019 at 10:21 AM Nathan Chancellor > wrote: > > Clang warns: > > > > drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c:465:2: > > warning: > > comparison of distinct pointer types ('typeof ((rtt_avg)) *' (aka > >

Re: [PATCH v1 00/12] qcom: dts: thermal cleanups

2019-02-20 Thread Amit Kucheria
On Wed, Feb 20, 2019 at 6:56 AM Eduardo Valentin wrote: > > Hey > On Mon, Feb 18, 2019 at 06:05:14PM +0530, Amit Kucheria wrote: > > - Expose all temperature sensors on msm8916, msm996, msm8998, sdm845 > > - split up the register address map for msm8998 > > - standardize names of the various

Re: [PATCH v1 23/24] arm64: dts: qcom: qcs404: Add thermal zones for each sensor

2019-02-20 Thread Amit Kucheria
On Wed, Feb 20, 2019 at 6:39 AM Eduardo Valentin wrote: > > On Thu, Feb 07, 2019 at 04:19:41PM +0530, Amit Kucheria wrote: > > qcs404 has 10 sensors connected to the single TSENS IP. Define a thermal > > zone for each of those sensors to expose the temperature of each zone. > > > > Signed-off-by:

Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-02-20 Thread Dave Young
On 02/20/19 at 09:32am, Borislav Petkov wrote: > On Mon, Feb 18, 2019 at 09:48:20AM +0800, Dave Young wrote: > > It is ideal if kernel can do it automatically, but I'm not sure if > > kernel can predict the swiotlb reserved size automatically. > > Do you see how even more absurd this gets? > >

Re: [PATCH 0/5] iio:potentiostat:lmp91000: Adjust codestyle, and minor cleanup changes

2019-02-20 Thread Jonathan Cameron
On Mon, 18 Feb 2019 14:22:31 -0300 Lucas Oshiro wrote: > Hi, > > We solved some checkpath.el CHECKs and WARNINGs. We also inverted the arms of > an if statement, in order to make the code smaller as the else statement was > supressed. We added a missing '\n' on a dev_err message. Please try to

Re: [PATCH 0/2] pinctrl STM32 updates

2019-02-20 Thread Linus Walleij
On Thu, Feb 14, 2019 at 5:54 PM Alexandre Torgue wrote: > Please find 2 updates for STM32 pinctrl driver: > > -Fix a memory leak issue present since the beginning of the driver. > -Handle error case when a hwspinlock can't get locked. Patches applied for v5.1. Yours, Linus Walleij

Re: [RFC][PATCH 00/16] sched: Core scheduling

2019-02-20 Thread Peter Zijlstra
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Tue, Feb 19, 2019 at 02:07:01PM -0800, Greg Kerr wrote: > Thanks for posting this patchset Peter. Based on the patch

Re: [PATCH v3 1/2] gpio: AMD G-Series PCH gpio driver

2019-02-20 Thread Linus Walleij
On Thu, Feb 14, 2019 at 11:05 PM Enrico Weigelt, metux IT consult wrote: > GPIO platform driver for the AMD G-series PCH (eg. on GX-412TC) > > This driver doesn't registers itself automatically, as it needs to > be provided with platform specific configuration, provided by some > board driver

Re: [PATCH] nvme: Enable acceleration feature of A64FX processor

2019-02-20 Thread Takao Indoh
On Thu, Feb 14, 2019 at 08:44:48PM +, Elliott, Robert (Persistent Memory) wrote: > > > > -Original Message- > > From: Linux-nvme [mailto:linux-nvme-boun...@lists.infradead.org] On Behalf > > Of Keith Busch > > Sent: Tuesday, February 5, 2019 8:39 AM > > To: Takao Indoh > > Cc:

Re: ext4 corruption on alpha with 4.20.0-09062-gd8372ba8ce28

2019-02-20 Thread Jan Kara
On Wed 20-02-19 08:31:05, Meelis Roos wrote: > > Could > > https://lore.kernel.org/linux-mm/20190219123212.29838-1-lar...@axis.com/T/#u > > be relevant? > > Tried it, still broken. OK, I didn't put too much hope into this patch as you see filesystem metadata corruption so icache/dcache coherency

Re: [PATCH v3 1/7] dump_stack: Support adding to the dump stack arch description

2019-02-20 Thread Michael Ellerman
Andrea Parri writes: > On Mon, Feb 11, 2019 at 03:38:59PM +0100, Petr Mladek wrote: >> On Mon 2019-02-11 13:50:35, Andrea Parri wrote: >> > On Thu, Feb 07, 2019 at 11:46:29PM +1100, Michael Ellerman wrote: >> > > Arch code can set a "dump stack arch description string" which is >> > > displayed

Re: [PATCH 5/5] iio:potentiostat:lmp91000: add '\n' on dev_err

2019-02-20 Thread Jonathan Cameron
On Mon, 18 Feb 2019 13:01:23 -0800 Joe Perches wrote: > On Mon, 2019-02-18 at 14:22 -0300, Lucas Oshiro wrote: > > Add missing '\n' at the end of dev_err message on line 215. > [] > > diff --git a/drivers/iio/potentiostat/lmp91000.c > > b/drivers/iio/potentiostat/lmp91000.c > [] > > @@

Re: [PATCH 7/8] drm/i915/gvt: vGPU device config data save/restore interface

2019-02-20 Thread Zhenyu Wang
On 2019.02.19 02:46:32 -0500, Yan Zhao wrote: > The patch implments the gvt interface intel_gvt_save_restore to > save/restore vGPU's device config data for live migration. > > vGPU device config data includes vreg, vggtt, vcfg space, workloads, ppgtt, > execlist. > It does not include dirty

RE: [PATCH] dt-bindings: imx: update scu resource id headfile

2019-02-20 Thread Aisheng Dong
> From: Marco Felsch [mailto:m.fel...@pengutronix.de] > Sent: Wednesday, February 20, 2019 4:17 PM > On 19-02-20 03:38, Aisheng Dong wrote: > > [...] > > > > > > I don't like droping some ID's (e.g. IMX_SC_R_DC_0_CAPTURE0) by > > > > mark them as unused or even worse give them a other meaning.

Re: [PATCH][udf-next] udf: don't call mark_buffer_dirty on a null bh pointer

2019-02-20 Thread Jan Kara
On Tue 19-02-19 08:17:09, Steve Magnani wrote: > On 2/19/19 8:02 AM, Jan Kara wrote: > > On Tue 19-02-19 11:44:03, Colin King wrote: > > > From: Colin Ian King > > > > > > There is a null check on the pointer bh to avoid a null pointer > > > dereference > > > on bh->b_data however later bh is

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Rafael J. Wysocki
On Mon, Feb 18, 2019 at 12:10 PM Måns Rullgård wrote: > > "Rafael J. Wysocki" writes: > > > On Sat, Feb 16, 2019 at 5:50 PM Mans Rullgard wrote: > >> > >> If the provided fwnode is an OF node, set dev.of_node as well. > >> > >> Signed-off-by: Mans Rullgard > >> --- > >>

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-20 Thread Linus Walleij
On Fri, Feb 15, 2019 at 2:00 AM Suman Anna wrote: > Mark, Linus, > > So, I hope it is clear from Roger's responses that above assertions do > not hold true to this INTC, and so want to confirm that we are good with > the current non-hierarchical design. IIUC the 64 lines are latched onto 8

Re: [PATCH 4/5] iio:potentiostat:lmp91000: invert if statement

2019-02-20 Thread Jonathan Cameron
On Mon, 18 Feb 2019 14:22:35 -0300 Lucas Oshiro wrote: > Invert if statement arms in line 214, in order to make the code cleaner > > Signed-off-by: Lucas Oshiro > Signed-off-by: Anderson Reis Given this undoes one of the earlier changes, please merge them. Jonathan > --- >

Re: [PATCH] pinctrl: nomadik: fix possible object reference leak

2019-02-20 Thread Linus Walleij
On Fri, Feb 15, 2019 at 9:01 AM WangBo wrote: > The of_find_device_by_node takes a reference to the struct device > when find the match device ,we should release it when fail. > > Signed-off-by: WangBo Patch applied! Yours, Linus Walleij

Re: linux-next: Tree for Feb 20

2019-02-20 Thread Jarkko Sakkinen
On Wed, Feb 20, 2019 at 05:11:15PM +0800, Zhangshaokun wrote: > There is a compiler failure on arm64 platform, as follow: > > AS arch/arm64/kvm/hyp.o > CC kernel/trace/ring_buffer.o > In file included from security/integrity/ima/ima_fs.c:30:0: > security/integrity/ima/ima.h:176:7:

Re: Linux 3.18.135

2019-02-20 Thread Greg KH
diff --git a/Makefile b/Makefile index b82f7c3383ec..8cec2faf5d40 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 134 +SUBLEVEL = 135 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/alpha/include/asm/irq.h b/arch/alpha/include/asm/irq.h

Linux 3.18.135

2019-02-20 Thread Greg KH
I'm announcing the release of the 3.18.135 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: Linux 4.4.175

2019-02-20 Thread Greg KH
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 7c229f59016f..2fb35658d151 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -116,7 +116,7 @@ ipfrag_high_thresh - LONG INTEGER Maximum

  1   2   3   4   5   6   7   8   9   10   >