Re: [PATCH 3/9] i2c: bcm2835: Simplify with dev_err_probe()

2020-09-02 Thread Florian Fainelli
On 9/2/2020 8:06 AM, Krzysztof Kozlowski wrote: Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski Acked-by: Florian Fainelli -- Florian

Re: [RFC v4 1/1] selftests/cpuidle: Add support for cpuidle latency measurement

2020-09-02 Thread Artem Bityutskiy
On Wed, 2020-09-02 at 17:15 +0530, Pratik Rajesh Sampat wrote: > Measure cpuidle latencies on wakeup to determine and compare with the > advertsied wakeup latencies for each idle state. It looks like the measurements include more than just C-state wake, they also include the overhead of waking up

Re: [PATCH] KVM: VMX: fix crash cleanup when KVM wasn't used

2020-09-02 Thread Sean Christopherson
On Tue, Sep 01, 2020 at 12:36:40PM +0200, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > > > On Mon, Aug 24, 2020 at 03:45:26PM -0700, Jim Mattson wrote: > >> On Mon, Aug 24, 2020 at 11:57 AM Jim Mattson wrote: > >> > > >> > On Fri, Aug 21, 2020 at 8:40 PM Sean Christopherson > >> > wr

Re: [PATCH 1/2] iommu: amd: Restore IRTE.RemapEn bit after programming IRTE

2020-09-02 Thread Joao Martins
On 9/2/20 5:51 AM, Suravee Suthikulpanit wrote: > Currently, the RemapEn (valid) bit is accidentally cleared when > programming IRTE w/ guestMode=0. It should be restored to > the prior state. > Probably requires: Fixes: b9fc6b56f478 ("iommu/amd: Implements irq_set_vcpu_affinity() hook to setup

Re: [Cocci] [PATCH] coccinelle: misc: add excluded_middle.cocci script

2020-09-02 Thread Jim Davis
On Wed, Sep 2, 2020 at 8:19 AM Denis Efremov wrote: > > Check for "!A || A && B" condition. It's equivalent to > "!A || B" condition. > > Signed-off-by: Denis Efremov > --- > scripts/coccinelle/misc/excluded_middle.cocci | 40 +++ > 1 file changed, 40 insertions(+) > create mode

Re: [PATCH 05/19] swim: use bdev_check_media_change

2020-09-02 Thread Christoph Hellwig
On Wed, Sep 02, 2020 at 03:30:14PM +, Johannes Thumshirn wrote: > Looks good, > Reviewed-by: Johannes Thumshirn > > > +static int floppy_revalidate(struct gendisk *disk); > > Completely unrelated to this series but, this is the 3rd floppy > driver in the series defining it's own floppy_reva

Re: [PATCH v3 -next] memory: omap-gpmc: Fix -Wunused-function warnings

2020-09-02 Thread Krzysztof Kozlowski
On Tue, Sep 01, 2020 at 07:28:32PM +0800, YueHaibing wrote: > If CONFIG_OF is not set, make W=1 warns: > > drivers/memory/omap-gpmc.c:987:12: warning: ‘gpmc_cs_remap’ defined but not > used [-Wunused-function] > static int gpmc_cs_remap(int cs, u32 base) > ^ > drivers/mem

Re: general protection fault in snd_ctl_release

2020-09-02 Thread Takashi Iwai
On Wed, 02 Sep 2020 08:57:22 +0200, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:b51594df Merge tag 'docs-5.9-3' of git://git.lwn.net/linux > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=172fea1590 > kernel conf

Re: [PATCH] memory: tegra: Remove GPU from DRM IOMMU group

2020-09-02 Thread Krzysztof Kozlowski
On Tue, Sep 01, 2020 at 05:32:48PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Commit 63a613fdb16c ("memory: tegra: Add gr2d and gr3d to DRM IOMMU > group") added the GPU to the DRM IOMMU group, which doesn't make any > sense. This causes problems when Nouveau tries to attach to the S

Re: [PATCH] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-02 Thread Kamil Lorenc
W dniu 2020-09-02 00:40, David Miller napisał(a): From: Kamil Lorenc Date: I received an error from Peter Korsgaard's mailserver informing that his email address does not exist. Should I do something with that fact? Probably need a MAINTAINERS update. Is there any other email address by

Re: [RFC PATCH v7 17/23] kernel/entry: Add support for core-wide protection of kernel-mode

2020-09-02 Thread Joel Fernandes
Hi Thomas, On Wed, Sep 02, 2020 at 09:53:29AM +0200, Thomas Gleixner wrote: [...] > >> --- /dev/null > >> +++ b/include/linux/pretend_ht_secure.h > >> @@ -0,0 +1,21 @@ > >> +#ifndef _LINUX_PRETEND_HT_SECURE_H > >> +#define _LINUX_PRETEND_HT_SECURE_H > >> + > >> +#ifdef CONFIG_PRETEND_HT_SECURE > >

[PATCH v2] coresight: etm4x: Handle unreachable sink in perf mode

2020-09-02 Thread Suzuki K Poulose
If the specified/hinted sink is not reachable from a subset of the CPUs, we could end up unable to trace the event on those CPUs. This is the best effort we could do until we support 1:1 configurations. Fail gracefully in such cases avoiding a WARN_ON, which can be easily triggered by the user on c

[PATCH 6/9] i2c: imx: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-imx.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-im

[PATCH 1/2] dt-bindings: arm64: add compatible for LX2162A QDS Board

2020-09-02 Thread meenakshi . aggarwal
From: Meenakshi Aggarwal Add support for LX2162A, LX2162A is LX2160A based SoC. Signed-off-by: Meenakshi Aggarwal --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bi

[PATCH 3/9] i2c: bcm2835: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-bcm2835.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2

Re: [PATCH] net: usb: dm9601: Add USB ID of Keenetic Plus DSL

2020-09-02 Thread Kamil Lorenc
W dniu 2020-09-02 00:36, David Miller napisał(a): Applied, thanks. You're welcome.

Re: [PATCH 1/2] memory: brcmstb_dpfe: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
On Fri, Aug 28, 2020 at 05:37:46PM +0200, Krzysztof Kozlowski wrote: > Common pattern of handling deferred probe can be simplified with > dev_err_probe(). Less code and the error value gets printed. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/memory/brcmstb_dpfe.c | 7 ++- Applie

Re: [PATCH 03/19] ataflop: use bdev_check_media_change

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH 04/10] USB: core: hub.c: use usb_control_msg_send() in a few places

2020-09-02 Thread Greg Kroah-Hartman
On Wed, Sep 02, 2020 at 10:57:01AM -0400, Alan Stern wrote: > On Wed, Sep 02, 2020 at 01:01:06PM +0200, Greg Kroah-Hartman wrote: > > There are a few calls to usb_control_msg() that can be converted to use > > usb_control_msg_send() instead, so do that in order to make the error > > checking a bit

Re: [PATCH 01/19] block: add a bdev_check_media_change helper

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

[PATCH 2/9] i2c: xiic: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-xiic.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-

[PATCH 3/4] crypto: stm32-hash - Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/crypto/stm32/stm32-hash.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/crypto/s

Re: [PATCH 10/10] powerpc: remove address space overrides using set_fs()

2020-09-02 Thread Christophe Leroy
Le 02/09/2020 à 14:36, Christoph Hellwig a écrit : On Wed, Sep 02, 2020 at 08:15:12AM +0200, Christophe Leroy wrote: - return 0; - return (size == 0 || size - 1 <= seg.seg - addr); + if (addr >= TASK_SIZE_MAX) + return false; + if (size == 0) +

Re: [PATCH 06/14] block: lift setting the readahead size into the block layer

2020-09-02 Thread Christoph Hellwig
On Wed, Aug 26, 2020 at 06:07:38PM -0400, Mike Snitzer wrote: > On Sun, Jul 26 2020 at 11:03am -0400, > Christoph Hellwig wrote: > > > Drivers shouldn't really mess with the readahead size, as that is a VM > > concept. Instead set it based on the optimal I/O size by lifting the > > algorithm fro

[PATCH 1/9] i2c: stm32: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-stm32.c | 11 --- drivers/i2c/busses/i2c-stm32f4.c | 6 ++ drivers/i2c/busses/i2c-stm32f7.c

Re: [PATCH] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-02 Thread Michal Hocko
On Wed 02-09-20 16:55:05, Vlastimil Babka wrote: > On 9/2/20 4:26 PM, Pavel Tatashin wrote: > > On Wed, Sep 2, 2020 at 10:08 AM Michal Hocko wrote: > >> > >> > > >> > Thread#1 - continue > >> > free_unref_page_commit > >> >migratetype = get_pcppage_migratetype(page); > >> >

[PATCH 2/2] arm64: dts: lx2160a: add device tree for lx2162aqds board

2020-09-02 Thread meenakshi . aggarwal
From: Meenakshi Aggarwal Add device tree support for LX2162AQDS board. LX2162A has same die as of LX2160A with different packaging. Signed-off-by: Ioana Ciornei Signed-off-by: Kuldeep Singh Signed-off-by: Meenakshi Aggarwal --- arch/arm64/boot/dts/freescale/Makefile| 1 + arch/

[PATCH net v6 6/6] dt-bindings: marvell,prestera: Add description for device-tree bindings

2020-09-02 Thread Vadym Kochan
Add brief description how to configure base mac address binding in device-tree. Describe requirement for the PCI port which is connected to the ASIC, to allow access to the firmware related registers. Signed-off-by: Vadym Kochan --- .../bindings/net/marvell,prestera.txt | 34 +++

Re: [PATCH][next] xsk: Fix null check on error return path

2020-09-02 Thread Björn Töpel
On 2020-09-02 17:07, Gustavo A. R. Silva wrote: Currently, dma_map is being checked, when the right object identifier to be null-checked is dma_map->dma_pages, instead. Fix this by null-checking dma_map->dma_pages. Addresses-Coverity-ID: 1496811 ("Logically dead code") Fixes: 921b68692abb ("xsk

Re: [PATCH 4.19 108/125] USB: yurex: Fix bad gfp argument

2020-09-02 Thread Alan Stern
On Wed, Sep 02, 2020 at 02:58:27PM +0200, Pavel Machek wrote: > Hi! > > > The syzbot fuzzer identified a bug in the yurex driver: It passes > > GFP_KERNEL as a memory-allocation flag to usb_submit_urb() at a time > > when its state is TASK_INTERRUPTIBLE, not TASK_RUNNING: > > Yeah, and instead of

[PATCH net v6 4/6] net: marvell: prestera: Add ethtool interface support

2020-09-02 Thread Vadym Kochan
The ethtool API provides support for the configuration of the following features: speed and duplex, auto-negotiation, MDI-x, forward error correction, port media type. The API also provides information about the port status, hardware and software statistic. The following limitation exists: - p

Re: [RFC PATCH 0/2] mm/gup: fix gup_fast with dynamic page table folding

2020-09-02 Thread Gerald Schaefer
On Wed, 2 Sep 2020 14:24:37 +0200 Gerald Schaefer wrote: > On Tue, 1 Sep 2020 16:22:22 -0700 > John Hubbard wrote: > > > On 9/1/20 10:40 AM, Gerald Schaefer wrote: > > > On Mon, 31 Aug 2020 12:15:53 -0700 > > > Andrew Morton wrote: > > ... > > > diff --git a/include/linux/pgtable.h b/include/l

Re: [PATCH] trivial: docs: Section number should be "8.2"

2020-09-02 Thread Randy Dunlap
On 9/2/20 7:45 AM, Michael Witten wrote: > Signed-off-by: Michael Witten > --- > Documentation/kbuild/makefiles.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/kbuild/makefiles.rst > b/Documentation/kbuild/makefiles.rst > index b81b8913a5a3..da6a708164

Re: [PATCH v4 29/78] drm/vc4: crtc: Add a delay after disabling the PixelValve output

2020-09-02 Thread Maxime Ripard
On Tue, Sep 01, 2020 at 06:31:07PM +0200, Stefan Wahren wrote: > Hi Maxime, > > Am 01.09.20 um 11:58 schrieb Maxime Ripard: > > Hi Stefan > > > > On Tue, Aug 25, 2020 at 11:30:58PM +0200, Stefan Wahren wrote: > >> Am 25.08.20 um 17:06 schrieb Maxime Ripard: > >>> Hi Stefan, > >>> > >>> On Wed, Jul

[PATCH 9/9] i2c: mux: reg: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/muxes/i2c-mux-reg.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/muxes/i

[PATCH 5/9] i2c: davinci: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-davinci.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-da

[PATCH 8/9] i2c: mux: gpmux: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/muxes/i2c-mux-gpmux.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/i2

[PATCH 7/9] i2c: rk3x: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-rk3x.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/i2c

Re: [PATCH v2 1/2] MAINTAINERS: Consolidate Analog Devices IIO entries and remove Beniamin Bia

2020-09-02 Thread Jonathan Cameron
On Wed, 2 Sep 2020 16:59:56 +0200 Krzysztof Kozlowski wrote: > Emails to Beniamin Bia bounce with no such address so remove him from > maintainers. After this removal, many entries for Analog Devices Inc > IIO drivers look exactly the same so consolidate them. > > Suggested-by: Andy Shevchenko

[PATCH 4/9] i2c: cadence: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-cadence.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i

[PATCH 2/4] crypto: caam - Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/crypto/caam/caamalg_qi2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/crypto/caam/caamal

[PATCH net v6 5/6] net: marvell: prestera: Add Switchdev driver implementation

2020-09-02 Thread Vadym Kochan
The following features are supported: - VLAN-aware bridge offloading - VLAN-unaware bridge offloading - FDB offloading (learning, ageing) - Switchport configuration Currently there are some limitations like: - Only 1 VLAN-aware bridge instance supported - FDB ageing timeo

[PATCH 4/4] crypto: allwinner/sun8i - Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 9 +++-- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 9 +++--

[PATCH net v6 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX3255 (AC3x)

2020-09-02 Thread Vadym Kochan
Marvell Prestera 98DX3255 integrates up to 24 ports of 1GbE with 8 ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely wireless SMB deployment. Prestera Switchdev is a firmware based driver that operates via PCI bus. The current implementation supports only boards designed for the

[PATCH 09/10] clk: davinci: Add missing kerneldoc

2020-09-02 Thread Krzysztof Kozlowski
Add missing kerneldoc to fix compile warning: drivers/clk/davinci/da8xx-cfgchip.c:578: warning: Function parameter or member 'dev' not described in 'da8xx_cfgchip_register_usb1_clk48' Signed-off-by: Krzysztof Kozlowski --- drivers/clk/davinci/da8xx-cfgchip.c | 1 + 1 file changed, 1 insertio

[PATCH 06/10] clk: keystone: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/keystone/syscon-clk.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/clk/keyston

[PATCH 07/10] clk: meson: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/meson/axg-audio.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/clk/meson/axg-au

[PATCH 05/10] clk: sunxi-ng: Simplify with dev_err_probe()

2020-09-02 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 28 drivers/clk/sunxi-ng/ccu-sun9i-a80-de.c | 19 +---

[PATCH 07/13] x86/debug: Move historical SYSENTER junk into exc_debug_kernel()

2020-09-02 Thread Peter Zijlstra
The historical SYSENTER junk is explicitly for from-kernel, so move it to the #DB-from-kernel handler. It is ordered after the notifier, this is important for KGDB which uses TF single-step and needs to consume the event before we get here. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/ker

[PATCH v2 2/2] MAINTAINERS: Move Hartmut Knaack to Credits

2020-09-02 Thread Krzysztof Kozlowski
Hartmut Knaack was an active reviewer and contributor to the IIO subsystem and drivers. However his last message on LKML is from October 2015. In thanks for Hartmut's effort, move him name to the Credits. Suggested-by: Andy Shevchenko Cc: Jonathan Cameron Cc: linux-iio Signed-off-by: Krzyszto

[PATCH 08/13] x86/debug: Move cond_local_irq_enable() block into exc_debug_user()

2020-09-02 Thread Peter Zijlstra
The cond_local_irq_enable() block, dealing with vm86 and sending signals is only relevant for #DB-from-user, move it there. This then reduces handle_debug() to only the notifier call, so rename it to notify_debug(). Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/kernel/traps.c | 58 ++

Re: watchdog start on restart

2020-09-02 Thread Guenter Roeck
On 9/2/20 6:02 AM, Ivan Mikhaylov wrote: > Hello everyone. Currently, the watchdog interface only has "stop watchdog on > restart" but lacks a "start watchdog on restart" one. Is there a way to > achieve > such functionality? > > I'd like to know why "stop watchdog on restart" wasn't implemented

[PATCH v2 1/2] MAINTAINERS: Consolidate Analog Devices IIO entries and remove Beniamin Bia

2020-09-02 Thread Krzysztof Kozlowski
Emails to Beniamin Bia bounce with no such address so remove him from maintainers. After this removal, many entries for Analog Devices Inc IIO drivers look exactly the same so consolidate them. Suggested-by: Andy Shevchenko Suggested-by: Jonathan Cameron Cc: Michael Hennerich Cc: Jonathan Came

Re: [PATCH v2 00/28] The new cgroup slab memory controller

2020-09-02 Thread Michal Hocko
On Wed 02-09-20 08:53:49, Pavel Tatashin wrote: > On Wed, Sep 2, 2020 at 7:32 AM Michal Hocko wrote: > > > > On Wed 02-09-20 11:53:00, Vlastimil Babka wrote: > > > >> > > Thread #2: ccs killer kthread > > > >> > >css_killed_work_fn > > > >> > > cgroup_mutex <- Grab this Mutex > > > >> >

Re: [PATCH v4 00/78] drm/vc4: Support BCM2711 Display Pipeline

2020-09-02 Thread Maxime Ripard
On Wed, Sep 02, 2020 at 03:32:20PM +0200, Maxime Ripard wrote: > Hi Hoegeun > > On Fri, Aug 21, 2020 at 04:18:34PM +0900, Hoegeun Kwon wrote: > > Hi Maxime, > > > > Thank you for your version 4 patch. > > I tested all 78 patches based on the next-20200708. > > > > > > Dual HDMI opearation does

Re: WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper

2020-09-02 Thread Paul E. McKenney
On Wed, Sep 02, 2020 at 08:49:11AM +0200, Ulf Hansson wrote: > On Tue, 1 Sep 2020 at 17:00, Paul E. McKenney wrote: [ . . . ] > > Here is the list, though it is early in the morning here: > > > > 1. RCU_NONIDLE(). > > > > 2. Peter's patch, if it turns out to hoist your code out of what

[PATCH v2 2/3] dt-bindings: usb: cdns,usb3: Add cdns,phyrst-a-enable property

2020-09-02 Thread Roger Quadros
Controller version 0x0002450D has USB2 PHY RX sensitivity issues that needs to be worked around by enabling phyrst-a-enable bit in PHYRST_CFG register. There is no way to know controller version before device controller is started and the workaround needs to be applied for both host and device mod

Re: [PATCH] MAINTAINERS: Remove bouncing email of Beniamin Bia

2020-09-02 Thread Krzysztof Kozlowski
On Wed, 2 Sep 2020 at 15:28, Jonathan Cameron wrote: > > On Wed, 2 Sep 2020 10:49:04 +0300 > Andy Shevchenko wrote: > > > On Wed, Sep 2, 2020 at 8:56 AM Ardelean, Alexandru > > wrote: > > > > > > [yes, I know, bad-email format, but I wanted this to come from my work > > > email] > > > > > > Apo

Re: [PATCH v5 0/4] Move Mediatek HDMI PHY driver from DRM folder to PHY folder

2020-09-02 Thread Chun-Kuang Hu
Chun-Kuang Hu 於 2020年8月23日 週日 上午9:48寫道: > > mtk_hdmi_phy is currently placed inside mediatek drm driver, but it's > more suitable to place a phy driver into phy driver folder, so move > mtk_hdmi_phy driver into phy driver folder. For this series, applied to mediatek-drm-next [1]. [1] https://gi

Re: [PATCH] dt-bindings: crypto: Specify that allwinner,sun8i-a33-crypto needs reset

2020-09-02 Thread Maxime Ripard
On Wed, Sep 02, 2020 at 11:17:16AM +0200, Corentin Labbe wrote: > When adding allwinner,sun8i-a33-crypto, I forgot to add that it needs reset. > Furthermore, there are no need to use items to list only one compatible > in compatible list. > > Fixes: f81547ba7a98 ("dt-bindings: crypto: add new comp

Re: [PATCH v2] staging: qlge: fix build breakage with dumping enabled

2020-09-02 Thread Coiby Xu
On Thu, Aug 27, 2020 at 09:50:10AM +0900, Benjamin Poirier wrote: On 2020-08-27 07:27 +0800, Coiby Xu wrote: This fixes commit 0107635e15ac ("staging: qlge: replace pr_err with netdev_err") which introduced an build breakage of missing `struct ql_adapter *qdev` for some functions and a warning o

Re: [PATCH V2 0/2] percpu_ref & block: reduce memory footprint of percpu_ref in fast path

2020-09-02 Thread Jens Axboe
On 9/2/20 6:26 AM, Ming Lei wrote: > Hi, > > The 1st patch removes memory footprint of percpu_ref in fast path > from 7 words to 2 words, since it is often used in fast path and > embedded in user struct. > > The 2nd patch moves .q_usage_counter to 1st cacheline of > 'request_queue'. > > Simple

Re: [PATCH 04/10] USB: core: hub.c: use usb_control_msg_send() in a few places

2020-09-02 Thread Alan Stern
On Wed, Sep 02, 2020 at 01:01:06PM +0200, Greg Kroah-Hartman wrote: > There are a few calls to usb_control_msg() that can be converted to use > usb_control_msg_send() instead, so do that in order to make the error > checking a bit simpler and the code smaller. > > Cc: Alan Stern > Signed-off-by:

Re: [PATCH] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-02 Thread Vlastimil Babka
On 9/2/20 4:26 PM, Pavel Tatashin wrote: > On Wed, Sep 2, 2020 at 10:08 AM Michal Hocko wrote: >> >> > >> > Thread#1 - continue >> > free_unref_page_commit >> >migratetype = get_pcppage_migratetype(page); >> > // get old migration type >> >list_add(&p

[PATCH] seccomp: don't leave dangling ->notif if file allocation fails

2020-09-02 Thread Tycho Andersen
Christian and Kees both pointed out that this is a bit sloppy to open-code both places, and Christian points out that we leave a dangling pointer to ->notif if file allocation fails. Since we check ->notif for null in order to determine if it's ok to install a filter, this means people won't be abl

Re: [PATCH v1] regmap: Add can_sleep configuration option

2020-09-02 Thread Marek Szyprowski
Hi Dmitry, On 02.09.2020 16:18, Dmitry Osipenko wrote: > Regmap can't sleep if spinlock is used for the locking protection. > This patch fixes regression caused by a previous commit that switched > regmap to use fsleep() and this broke Amlogic S922X platform. > > This patch adds new configuration

Re: [PATCH v3 2/6] workqueue: kasan: record workqueue stack

2020-09-02 Thread Tejun Heo
On Tue, Aug 25, 2020 at 09:58:33AM +0800, Walter Wu wrote: > Records the last two enqueuing work call stacks in order to print them > in KASAN report. It is useful for programmers to solve use-after-free > or double-free memory workqueue issue. > > For workqueue it has turned out to be useful to r

Re: [PATCH] media: mtk-vcodec: set dma max segment size

2020-09-02 Thread Hsin-Yi Wang
On Wed, Sep 2, 2020 at 10:25 PM Robin Murphy wrote: > > On 2020-08-21 05:14, Hsin-Yi Wang wrote: > > Set dma max segment size for encoder and decoder driver. > > > > Fix following warning with CONFIG_DMA_API_DEBUG_SG=y > > > > [ 75.147825] [ cut here ] > > [ 75.147844]

Re: refactoring livepatch documentation was Re: [PATCH 1/2] docs/livepatch: Add new compiler considerations doc

2020-09-02 Thread Miroslav Benes
[side note: So not only that my INBOX is a mess after the summer. I also lost some emails apparently. I'm really sorry about that. ] CCing Nicolai too. > Hi Petr, Josh, > > The compiler optimization pitfall document can wait for refactored livepatch > documentation if that puts it into better c

[PATCH v3] staging: qlge: fix build breakage with dumping enabled

2020-09-02 Thread Coiby Xu
This fixes commit 0107635e15ac ("staging: qlge: replace pr_err with netdev_err") which introduced an build breakage of missing `struct ql_adapter *qdev` for some functions and a warning of type mismatch with dumping enabled, i.e., $ make CFLAGS_MODULE="QL_ALL_DUMP=1 QL_OB_DUMP=1 QL_CB_DUMP=1 \ Q

Re: [PATCH] writeback: clear auto_free in initializaiton

2020-09-02 Thread Tejun Heo
Hello, On Wed, Aug 26, 2020 at 06:11:26PM +0200, Jan Kara wrote: > > Which seems like a strange place to set auto_free as > > it is not where the rest of base_work is initialized. > > Otherwise I agree it's a strange place. I've added Tejun to CC just in case > he remembers why he's added that.

Re: remove revalidate_disk()

2020-09-02 Thread Jens Axboe
On 9/1/20 9:57 AM, Christoph Hellwig wrote: > Hi Jens, > > this series removes the revalidate_disk() function, which has been a > really odd duck in the last years. The prime reason why most people > use it is because it propagates a size change from the gendisk to > the block_device structure.

Re: [PATCH] perf c2c report: count remote loads correctly

2020-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2020 at 01:09:42PM +0100, Al Grant escreveu: > On 01/09/2020 22:26, Joe Mario wrote: > > On 9/1/20 4:46 PM, Jiri Olsa wrote: > > > On Tue, Sep 01, 2020 at 10:17:19PM +0200, Jiri Olsa wrote: > > > > On Thu, Aug 20, 2020 at 02:48:58PM +0100, Al Grant wrote: > > > > I'm getting followi

Re: [PATCH] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-02 Thread Vlastimil Babka
On 9/2/20 4:31 PM, Pavel Tatashin wrote: >> > > The fix is to try to drain per-cpu lists again after >> > > check_pages_isolated_cb() fails. >> >> Still trying to wrap my head around this but I think this is not a >> proper fix. It should be the page isolation to make sure no races are >> possible

Re: [PATCH] media: tc358743: initialize variable

2020-09-02 Thread Tom Rix
On 8/31/20 10:31 AM, Nick Desaulniers wrote: > On Sun, Aug 30, 2020 at 9:30 AM wrote: >> From: Tom Rix >> >> clang static analysis flags this error >> >> tc358743.c:1468:9: warning: Branch condition evaluates >> to a garbage value >> return handled ? IRQ_HANDLED : IRQ_NONE; >>

Re: [PATCH v4 03/78] drm/vc4: hvs: Boost the core clock during modeset

2020-09-02 Thread Maxime Ripard
Hi, On Tue, Sep 01, 2020 at 08:21:36PM +0900, Chanwoo Choi wrote: > Hi Maxime, > > On 7/9/20 2:41 AM, Maxime Ripard wrote: > > In order to prevent timeouts and stalls in the pipeline, the core clock > > needs to be maxed at 500MHz during a modeset on the BCM2711. > > > > Reviewed-by: Eric Anholt

[PATCH 08/19] xsysace: use bdev_check_media_change

2020-09-02 Thread Christoph Hellwig
Switch to use bdev_check_media_change instead of check_disk_change and call ace_revalidate_disk manually. Given that ace_revalidate_disk only deals with media change events, the extra call into ->revalidate_disk from bdev_disk_changed is not required either, so stop wiring up the method. Signed-o

[PATCH 06/19] swim: simplify media change handling

2020-09-02 Thread Christoph Hellwig
floppy_revalidate mostly duplicates work already done in floppy_open despite only beeing called from floppy_open. Remove the function and just clear the ->ejected flag directly under the right condition. Signed-off-by: Christoph Hellwig --- drivers/block/swim.c | 24 ++-- 1

[PATCH v1 1/2] media: ov8856: Add support for 1632x1224 mode

2020-09-02 Thread Robert Foss
OV8856 supports 1632x1224 @ 60 FPS, which is added in this commit. Signed-off-by: Robert Foss --- drivers/media/i2c/ov8856.c | 215 + 1 file changed, 215 insertions(+) diff --git a/drivers/media/i2c/ov8856.c b/drivers/media/i2c/ov8856.c index 4ca27675cc5a..9b

[re-send][PATCH] drm/via: reduce no need mutex_lock area

2020-09-02 Thread Bernard
In function via_mem_alloc`s error branch, DRM_ERROR is protected in the mutex_lock(&dev->struct_mutex) area. From the code, we see that DRM_ERROR is just an error log print without any struct element, there is no need to protect this. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/via/via_mm.c

[PATCH 01/19] block: add a bdev_check_media_change helper

2020-09-02 Thread Christoph Hellwig
Like check_disk_changed, except that it does not call ->revalidate_disk but leaves that to the caller. Signed-off-by: Christoph Hellwig --- block/genhd.c | 29 - fs/block_dev.c| 17 +++-- include/linux/genhd.h | 2 +- 3 files changed, 32 i

[PATCH 12/19] ide-cd: use bdev_check_media_changed

2020-09-02 Thread Christoph Hellwig
Switch to use bdev_check_media_changed instead of check_disk_change and call idecd_revalidate_disk manually. Given that idecd_revalidate_disk only re-reads the TOC, and we already do the same at probe time, the extra call into ->revalidate_disk from bdev_disk_changed is not required either, so sto

[PATCH] mwifiex: sdio: Fix -Wunused-const-variable warnings

2020-09-02 Thread YueHaibing
These variables only used in sdio.c, move them to .c file can silence these warnings: In file included from drivers/net/wireless/marvell/mwifiex//main.h:59:0, from drivers/net/wireless/marvell/mwifiex//cfp.c:24: drivers/net/wireless/marvell/mwifiex//sdio.h:705:41: warning: ‘mwifi

Re: [PATCH 10/10] powerpc: remove address space overrides using set_fs()

2020-09-02 Thread Christophe Leroy
Le 02/09/2020 à 15:51, David Laight a écrit : From: Christophe Leroy Sent: 02 September 2020 14:25 Le 02/09/2020 à 15:13, David Laight a écrit : From: Christoph Hellwig Sent: 02 September 2020 13:37 On Wed, Sep 02, 2020 at 08:15:12AM +0200, Christophe Leroy wrote: - return 0

[PATCH 09/19] xsysace: simplify media change handling

2020-09-02 Thread Christoph Hellwig
Pass a struct ace_device to ace_revalidate_disk, move the media changed check into the one caller that needs it, and give the routine a better name. Signed-off-by: Christoph Hellwig --- drivers/block/xsysace.c | 26 ++ 1 file changed, 10 insertions(+), 16 deletions(-) di

[PATCH 03/19] ataflop: use bdev_check_media_change

2020-09-02 Thread Christoph Hellwig
Switch to use bdev_check_media_change instead of check_disk_change and call floppy_revalidate manually. Given that floppy_revalidate only deals with media change events, the extra call into ->revalidate_disk from bdev_disk_changed is not required either, so stop wiring up the method. Signed-off-b

[PATCH] trivial: docs: Section number should be "8.2"

2020-09-02 Thread Michael Witten
Signed-off-by: Michael Witten --- Documentation/kbuild/makefiles.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index b81b8913a5a3..da6a708164c4 100644 --- a/Documentation/kbuild/makefiles.rst +++ b/

Re: [PATCH V2] kvm x86/mmu: use KVM_REQ_MMU_SYNC to sync when needed

2020-09-02 Thread Vitaly Kuznetsov
Lai Jiangshan writes: > From: Lai Jiangshan > > When kvm_mmu_get_page() gets a page with unsynced children, the spt > pagetable is unsynchronized with the guest pagetable. But the > guest might not issue a "flush" operation on it when the pagetable > entry is changed from zero or other cases. Th

Re: [PATCH 0/3] drm/msm: More GPU tracepoints

2020-09-02 Thread Rob Clark
The cat is somewhat out of the bag already.. so I took the approach of making the more useful of the traces for visualization (freq_change trace) identical to the i915 one in units and format, so userspace just has to add another event name to a list, and not have to add more parsing code. But the

[PATCH 1/2] phy: marvell: comphy: Convert internal SMCC firmware return codes to errno

2020-09-02 Thread Pali Rohár
Driver ->power_on and ->power_off callbacks leaks internal SMCC firmware return codes to phy caller. This patch converts SMCC error codes to standard linux errno codes. Include file linux/arm-smccc.h already provides defines for SMCC error codes, so use them instead of custom driver defines. Note t

[PATCH 2/2] PCI: aardvark: Fix initialization with old Marvell's Arm Trusted Firmware

2020-09-02 Thread Pali Rohár
Old ATF automatically power on pcie phy and does not provide SMC call for phy power on functionality which leads to aardvark initialization failure: [0.330134] mvebu-a3700-comphy d0018300.phy: unsupported SMC call, try updating your firmware [0.338846] phy phy-d0018300.phy.1: phy poweron

[PATCH 0/2] PCI: aardvark: Fix comphy with old ATF

2020-09-02 Thread Pali Rohár
This patch series fixes regression introduced in commit 366697018c9a ("PCI: aardvark: Add PHY support") which caused aardvark driver initialization failure on EspressoBin board with factory version of Arm Trusted Firmware provided by Marvell. Second patch depends on the first patch, so please add

[PATCH 14/19] ide-gd: stop using the disk events mechanism

2020-09-02 Thread Christoph Hellwig
ide-gd is only using the disk events mechanism to be able to force an invalidation and partition scan on opening removable media. Just open code the logic without invoving the block layer. Signed-off-by: Christoph Hellwig --- drivers/ide/ide-disk.c | 5 + drivers/ide/ide-floppy.c | 2 --

Re: [PATCH v21 4/4] arm64: dts: mt8183: add scp node

2020-09-02 Thread Naresh Kamboju
igned-off-by: Eddie Huang > > Sorry I somehow oversaw this. Next time please don't doubt to ping me. > > Bjorn, do I understand correctly that you don't send emails to the list > informing of the inclusion of a patch/series in your tree? > > Anyway applied now to v5

Re: [PATCH 7/9] sound: line6: convert to use new usb control function...

2020-09-02 Thread Takashi Iwai
On Wed, 02 Sep 2020 13:01:10 +0200, Greg Kroah-Hartman wrote: > > Signed-off-by: Greg Kroah-Hartman I guess this and a few others with (x/9) are stale patches, right? thanks, Takashi > --- > sound/usb/line6/driver.c | 69 +++--- > sound/usb/line6/podhd.c

rework check_disk_change()

2020-09-02 Thread Christoph Hellwig
Hi Jens, this series replaced the not very nice check_disk_change() function with a new bdev_media_changed that avoids having the ->revalidate_disk call at its end. As a result ->revalidate_disk can be removed from a lot of drivers. Diffstat: block/genhd.c | 29 ++

[PATCH 05/19] swim: use bdev_check_media_change

2020-09-02 Thread Christoph Hellwig
Switch to use bdev_check_media_change instead of check_disk_change and call floppy_revalidate manually. Given that floppy_revalidate only deals with media change events, the extra call into ->revalidate_disk from bdev_disk_changed is not required either, so stop wiring up the method. Signed-off-b

Re: [PATCH 09/10] sound: hiface: move to use usb_control_msg_send()

2020-09-02 Thread Takashi Iwai
On Wed, 02 Sep 2020 13:01:14 +0200, Greg Kroah-Hartman wrote: > > The usb_control_msg_send() call can return an error if a "short" write > happens, so move the driver over to using that call instead. > > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-de...@alsa-project.org > Signed-off-by: G

Re: [PATCH 08/10] sound: line6: move to use usb_control_msg_send() and usb_control_msg_recv()

2020-09-02 Thread Takashi Iwai
On Wed, 02 Sep 2020 13:01:12 +0200, Greg Kroah-Hartman wrote: > > The usb_control_msg_send() and usb_control_msg_recv() calls can return > an error if a "short" write/read happens, and they can handle data off > of the stack, so move the driver over to using those calls instead, > saving some logi

Re: [PATCH] rt2x00: Use fallthrough pseudo-keyword macro

2020-09-02 Thread Leesoo Ahn
20. 9. 2. 오후 11:20에 Gustavo A. R. Silva 이(가) 쓴 글: On 9/2/20 08:05, Leesoo Ahn wrote: Replace all '/* fall through */' comments with the macro[1]. [1]: https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through This looks familiar..

<    4   5   6   7   8   9   10   11   12   13   >