Re: [PATCH v3] staging: media: zoran: remove and move statement in next line with '*'

2021-04-13 Thread Hans Verkuil
On 09/04/2021 13:40, Mitali Borkar wrote: > Removed and moved statement in line in long(multi-line) comments and > added '*' before it to meet linux kernel coding style for long (multi-line) > comments > > Signed-off-by: Mitali Borkar > --- > > Changes from v2:- made style changes in code accor

Re: [PATCH v2 4/4] KVM: hyper-v: Advertise support for fast XMM hypercalls

2021-04-13 Thread Vitaly Kuznetsov
Siddharth Chandrasekaran writes: > Now that all extant hypercalls that can use XMM registers (based on > spec) for input/outputs are patched to support them, we can start > advertising this feature to guests. > > Cc: Alexander Graf > Cc: Evgeny Iakovlev > Signed-off-by: Siddharth Chandrasekaran

[PATCH v28 04/13] mm/idle_page_tracking: Make PG_idle reusable

2021-04-13 Thread SeongJae Park
From: SeongJae Park PG_idle and PG_young allow the two PTE Accessed bit users, Idle Page Tracking and the reclaim logic concurrently work while don't interfere each other. That is, when they need to clear the Accessed bit, they set PG_young to represent the previous state of the bit, respectivel

[PATCH v28 01/13] mm: Introduce Data Access MONitor (DAMON)

2021-04-13 Thread SeongJae Park
From: SeongJae Park DAMON is a data access monitoring framework for the Linux kernel. The core mechanisms of DAMON make it - accurate (the monitoring output is useful enough for DRAM level performance-centric memory management; It might be inappropriate for CPU cache levels, though), -

[PATCH v28 07/13] mm/damon: Implement a debugfs-based user space interface

2021-04-13 Thread SeongJae Park
From: SeongJae Park DAMON is designed to be used by kernel space code such as the memory management subsystems, and therefore it provides only kernel space API. That said, letting the user space control DAMON could provide some benefits to them. For example, it will allow user space to analyze t

[PATCH v28 03/13] mm/damon: Adaptively adjust regions

2021-04-13 Thread SeongJae Park
From: SeongJae Park Even somehow the initial monitoring target regions are well constructed to fulfill the assumption (pages in same region have similar access frequencies), the data access pattern can be dynamically changed. This will result in low monitoring quality. To keep the assumption as

[PATCH v28 06/13] mm/damon: Add a tracepoint

2021-04-13 Thread SeongJae Park
From: SeongJae Park This commit adds a tracepoint for DAMON. It traces the monitoring results of each region for each aggregation interval. Using this, DAMON can easily integrated with tracepoints supporting tools such as perf. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster Revie

[PATCH v28 05/13] mm/damon: Implement primitives for the virtual memory address spaces

2021-04-13 Thread SeongJae Park
From: SeongJae Park This commit introduces a reference implementation of the address space specific low level primitives for the virtual address space, so that users of DAMON can easily monitor the data accesses on virtual address spaces of specific processes by simply configuring the implementat

Re: [PATCH 1/3] rseq: optimize rseq_update_cpu_id()

2021-04-13 Thread Mathieu Desnoyers
- On Apr 13, 2021, at 3:36 AM, Eric Dumazet eric.duma...@gmail.com wrote: > From: Eric Dumazet > > Two put_user() in rseq_update_cpu_id() are replaced > by a pair of unsafe_put_user() with appropriate surroundings. > > This removes one stac/clac pair on x86 in fast path. > > Signed-off-by:

[PATCH v28 09/13] mm/damon/dbgfs: Support multiple contexts

2021-04-13 Thread SeongJae Park
From: SeongJae Park In some use cases, users would want to run multiple monitoring context. For example, if a user wants a high precision monitoring and dedicating multiple CPUs for the job is ok, because DAMON creates one monitoring thread per one context, the user can split the monitoring targe

Re: [PATCH 1/4] X.509: Add CodeSigning extended key usage parsing

2021-04-13 Thread Varad Gautam
Hi, On 3/9/21 10:10 AM, Lee, Chun-Yi wrote: > This patch adds the logic for parsing the CodeSign extended key usage > extension in X.509. The parsing result will be set to the eku flag > which is carried by public key. It can be used in the PKCS#7 > verification. > > Signed-off-by: "Lee, Chun-Yi"

[PATCH v28 08/13] mm/damon/dbgfs: Export kdamond pid to the user space

2021-04-13 Thread SeongJae Park
From: SeongJae Park For CPU usage accounting, knowing pid of the monitoring thread could be helpful. For example, users could use cpuaccount cgroups with the pid. This commit therefore exports the pid of currently running monitoring thread to the user space via 'kdamond_pid' file in the debugfs

[PATCH v28 13/13] MAINTAINERS: Update for DAMON

2021-04-13 Thread SeongJae Park
From: SeongJae Park This commit updates MAINTAINERS file for DAMON related files. Signed-off-by: SeongJae Park --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4d68184d3f76..42bbcaec5050 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v28 10/13] Documentation: Add documents for DAMON

2021-04-13 Thread SeongJae Park
From: SeongJae Park This commit adds documents for DAMON under `Documentation/admin-guide/mm/damon/` and `Documentation/vm/damon/`. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/guide.rst | 158 + Documentation/admin-guide/mm/damon/index.rst | 15 ++ Document

[PATCH] cxl/mem: Clarify UAPI documentation

2021-04-13 Thread Ben Widawsky
Signed-off-by: Ben Widawsky --- include/uapi/linux/cxl_mem.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/linux/cxl_mem.h b/include/uapi/linux/cxl_mem.h index f6e8a005b113..8dd516ddb098 100644 --- a/include/uapi/linux/cxl_mem.h +++ b/include/uapi/linux/cxl_mem.h @@ -81,

Re: How to handle concurrent access to /dev/ttyprintk ?

2021-04-13 Thread Petr Mladek
On Tue 2021-04-13 13:10:50, Samo Pogačnik wrote: > Dne 13.04.2021 (tor) ob 11:41 +0200 je Petr Mladek napisal(a): > > On Mon 2021-04-12 14:41:27, Samo Pogačnik wrote: > > > Dne 12.04.2021 (pon) ob 19:39 +0900 je Tetsuo Handa napisal(a): > > > > What is the intended usage of /dev/ttyprintk ? > > > >

Re: [PATCH RFC v2 2/4] virtio_net: disable cb aggressively

2021-04-13 Thread Michael S. Tsirkin
On Tue, Apr 13, 2021 at 04:53:32PM +0800, Jason Wang wrote: > > 在 2021/4/13 下午1:47, Michael S. Tsirkin 写道: > > There are currently two cases where we poll TX vq not in response to a > > callback: start xmit and rx napi. We currently do this with callbacks > > enabled which can cause extra interru

Re: [PATCH v4 01/13] buildid: Only consider GNU notes for build ID parsing

2021-04-13 Thread Petr Mladek
On Fri 2021-04-09 18:52:48, Stephen Boyd wrote: > Some kernel elf files have various notes that also happen to have an elf > note type of '3', which matches NT_GNU_BUILD_ID but the note name isn't > "GNU". For example, this note trips up the existing logic: > > Owner Data size Description > X

Re: [PATCH 2/3] rseq: remove redundant access_ok()

2021-04-13 Thread Mathieu Desnoyers
- On Apr 13, 2021, at 3:36 AM, Eric Dumazet eric.duma...@gmail.com wrote: > From: Eric Dumazet > > After commit 8f2817701492 ("rseq: Use get_user/put_user rather > than __get_user/__put_user") we no longer need > an access_ok() call from __rseq_handle_notify_resume() While we are doing that

[PATCH v28 11/13] mm/damon: Add kunit tests

2021-04-13 Thread SeongJae Park
From: SeongJae Park This commit adds kunit based unit tests for the core and the virtual address spaces monitoring primitives of DAMON. Signed-off-by: SeongJae Park Reviewed-by: Brendan Higgins --- mm/damon/Kconfig | 36 + mm/damon/core-test.h | 253

[PATCH v28 12/13] mm/damon: Add user space selftests

2021-04-13 Thread SeongJae Park
From: SeongJae Park This commit adds a simple user space tests for DAMON. The tests are using kselftest framework. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/Makefile| 7 ++ .../selftests/damon/_chk_dependency.sh| 28 ++ .../testing/selftests/damon/deb

[PATCH v2 1/2] dt-bindings: phy: add vbus-supply optional property to phy-stm32-usbphyc

2021-04-13 Thread Amelie Delaunay
This patch adds vbus-supply optional property to phy sub-nodes using connector node. A regulator for USB VBUS may be needed for host mode. Signed-off-by: Amelie Delaunay --- Changes in v2: - add connector vbus-supply property as suggested by Rob --- .../devicetree/bindings/phy/phy-stm32-usbphyc.

[PATCH v2 0/2] STM32 USBPHYC vbus-supply property support

2021-04-13 Thread Amelie Delaunay
STM32 USBPHYC provides two USB High-Speed ports which are used by controllers with Host capabilities. That's why vbus-supply has to be supported on each phy node. --- Changes in v2: - use connector node vbus-supply property as suggested by Rob --- Amelie Delaunay (2): dt-bindings: phy: add vbus-

[PATCH v2 2/2] phy: stm32: manage optional vbus regulator on phy_power_on/off

2021-04-13 Thread Amelie Delaunay
This patch adds support for optional vbus regulator. It is managed on phy_power_on/off calls and may be needed for host mode. Signed-off-by: Amelie Delaunay --- No changes in v2. --- drivers/phy/st/phy-stm32-usbphyc.c | 31 ++ 1 file changed, 31 insertions(+) diff --

Re: [Outreachy kernel][PATCH 1/2] staging: media: omap4iss: Align line break to the open parenthesis in file iss.c

2021-04-13 Thread Hans Verkuil
On 09/04/2021 21:01, Aline Santana Cordeiro wrote: > Aligns line break with the remaining function arguments > to the open parenthesis. Issue found by checkpatch. > > Signed-off-by: Aline Santana Cordeiro Obsolete, a similar patch from Beatriz Martins de Carvalho has already been applied in th

[PATCH v1 2/4] i2c: mpc: Remove CONFIG_PM_SLEEP ifdeffery

2021-04-13 Thread Andy Shevchenko
Use __maybe_unused for the suspend()/resume() hooks and get rid of the CONFIG_PM_SLEEP ifdeffery to improve the code. Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mpc.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/d

[PATCH v1 4/4] i2c: mpc: Drop duplicate message from devm_platform_ioremap_resource()

2021-04-13 Thread Andy Shevchenko
devm_platform_ioremap_resource() prints a message in case of error. Drop custom one. Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mpc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index ec9d7d93e8

[PATCH v1 3/4] i2c: mpc: Use device_get_match_data() helper

2021-04-13 Thread Andy Shevchenko
Use the device_get_match_data() helper instead of open coding. Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mpc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 2376accd4e8e..ec9d7d93

Re: [PATCH v4 04/13] dump_stack: Add vmlinux build ID to stack traces

2021-04-13 Thread Petr Mladek
On Fri 2021-04-09 18:52:51, Stephen Boyd wrote: > Add the running kernel's build ID[1] to the stacktrace information > header. This makes it simpler for developers to locate the vmlinux with > full debuginfo for a particular kernel stacktrace. Combined with > scripts/decode_stracktrace.sh, a devel

[PATCH v1 1/4] i2c: mpc: Use devm_clk_get_optional()

2021-04-13 Thread Andy Shevchenko
The peripheral clock is optional and we may get an -EPROBE_DEFER error code which would not be propagated correctly, fix this by using devm_clk_get_optional(). Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mpc.c | 25 - 1 file changed, 12 insertions(+), 13 del

Re: [PATCH] i2c: I2C_HISI should depend on ARCH_HISI && ACPI

2021-04-13 Thread Andy Shevchenko
On Tue, Apr 13, 2021 at 02:48:15PM +0200, Geert Uytterhoeven wrote: > On Tue, Apr 13, 2021 at 2:37 PM Andy Shevchenko > wrote: > > On Tue, Apr 13, 2021 at 02:26:15PM +0200, Geert Uytterhoeven wrote: > > > The HiSilicon Kunpeng I2C controller is only present on HiSilicon > > > Kunpeng SoCs, and its

Re: [PATCH] fpga: xilinx-pr-decoupler: remove useless function

2021-04-13 Thread Tom Rix
On 4/12/21 8:51 PM, Jiapeng Chong wrote: Fix the following gcc warning: drivers/fpga/xilinx-pr-decoupler.c:32:19: warning: unused function 'xlnx_pr_decouple_read' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/fpga/xilinx-pr-decoupler.c | 6 --

Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support

2021-04-13 Thread Tobias Waldekranz
On Tue, Apr 13, 2021 at 01:54, Marek Behun wrote: > On Tue, 13 Apr 2021 01:13:53 +0200 > Tobias Waldekranz wrote: > >> > ...you could get the isolation in place. But you will still lookup the >> > DA in the ATU, and there you will find a destination of either cpu0 or >> > cpu1. So for one of the

Re: [PATCH] USB: Don't set USB_PORT_FEAT_SUSPEND on WD19's Realtek Hub

2021-04-13 Thread Alan Stern
On Tue, Apr 13, 2021 at 03:52:14PM +0800, Chris Chiu wrote: > On Mon, Apr 12, 2021 at 11:12 PM Alan Stern wrote: > > > > On Mon, Apr 12, 2021 at 11:00:06PM +0800, chris.c...@canonical.com wrote: > > > The USB_PORT_FEAT_SUSPEND is not really necessary due to the > > > "global suspend" in USB 2.0 sp

Re: [PATCH] i2c: I2C_HISI should depend on ARCH_HISI && ACPI

2021-04-13 Thread Geert Uytterhoeven
Hi Andy, On Tue, Apr 13, 2021 at 4:41 PM Andy Shevchenko wrote: > On Tue, Apr 13, 2021 at 02:48:15PM +0200, Geert Uytterhoeven wrote: > > On Tue, Apr 13, 2021 at 2:37 PM Andy Shevchenko > > wrote: > > > On Tue, Apr 13, 2021 at 02:26:15PM +0200, Geert Uytterhoeven wrote: > > > > The HiSilicon Kun

[PATCH v7 1/3] dt-bindings: Add Hycon Technology vendor prefix

2021-04-13 Thread Giulio Benetti
Update Documentation/devicetree/bindings/vendor-prefixes.yaml to include "hycon" as a vendor prefix for "Hycon Technology". Company website: https://www.hycontek.com/ Signed-off-by: Giulio Benetti Reviewed-by: Jonathan Neuschäfer Acked-by: Rob Herring --- Documentation/devicetree/bindings/vend

[PATCH v7 3/3] Input: add driver for the Hycon HY46XX touchpanel series

2021-04-13 Thread Giulio Benetti
This patch adds support for Hycon HY46XX. Signed-off-by: Giulio Benetti --- V1->V2: * removed proximity-sensor-switch property according to previous patch As suggested by Dmitry Torokhov * moved i2c communaction to regmap use * added macro to avoid magic number * removed cmd variable that could u

[PATCH v7 2/3] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-13 Thread Giulio Benetti
This adds device tree bindings for the Hycon HY46XX touchscreen series. Signed-off-by: Giulio Benetti --- V1->V2: As suggested by Rob Herring: * fixed $id: address * added "hycon," in front of every custom property * changed all possible property to boolean type * removed proximity-sensor-switch

Re: [PATCH v3 01/18] vfs: add fileattr ops

2021-04-13 Thread Matthew Wilcox
On Thu, Mar 25, 2021 at 08:37:38PM +0100, Miklos Szeredi wrote: > @@ -107,6 +110,8 @@ fiemap: no > update_time: no > atomic_open: shared (exclusive if O_CREAT is set in open flags) > tmpfile: no > +fileattr_get:no or exclusive > +fileattr_set:exclusive > ==

Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support

2021-04-13 Thread Tobias Waldekranz
On Tue, Apr 13, 2021 at 02:27, Marek Behun wrote: > On Tue, 13 Apr 2021 01:54:50 +0200 > Marek Behun wrote: > >> I will look into this, maybe ask some follow-up questions. > > Tobias, > > it seems that currently the LAGs in mv88e6xxx driver do not use the > HashTrunk feature (which can be enabled

[PATCH v7 0/3] Input: add Hycon HY46XX Touchscreen controller

2021-04-13 Thread Giulio Benetti
This patchset adds Hycon vendor, HY46XX touchscreen controller driver and its .yaml binding. --- V1->V2: * changed authorship and SoBs to @benettiengineering.com domain * fixed vendor commit log according to Jonathan Neuschäfer's suggestion * fixed hy46xx bindings according to Rob Herring's sugges

Re: [PATCH v3 2/2] staging: media: zoran: align code appropriately

2021-04-13 Thread Hans Verkuil
On 10/04/2021 17:34, Mitali Borkar wrote: > Aligned the code properly by using tabs to make code neater and improve > readability. > > Signed-off-by: Mitali Borkar > --- > drivers/staging/media/zoran/zr36057.h | 108 +- > 1 file changed, 54 insertions(+), 54 deletions(-)

Re: [RFC v4 0/2] CPU-Idle latency selftest framework

2021-04-13 Thread Doug Smythies
Hi Pratik, V4 seems fine. Thank you. On Mon, Apr 12, 2021 at 12:43 AM Pratik Rajesh Sampat wrote: > > Changelog v3-->v4 > Based on review comments by Doug Smythies, > 1. Parsing the thread_siblings_list for CPU topology information to >correctly identify the cores the test should run on in >

Re: [PATCH 1/1] staging: ipu3-imgu: Move the UAPI header from include under include/uapi

2021-04-13 Thread Sakari Ailus
Hi Laurent, On Tue, Apr 13, 2021 at 04:45:17PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Mon, Apr 12, 2021 at 02:11:20PM +0300, Sakari Ailus wrote: > > The header defines the user space interface but may be mistaken as > > kernel-only header due to its locat

Re: [PATCH v3 01/18] vfs: add fileattr ops

2021-04-13 Thread Miklos Szeredi
On Tue, Apr 13, 2021 at 4:46 PM Matthew Wilcox wrote: > > On Thu, Mar 25, 2021 at 08:37:38PM +0100, Miklos Szeredi wrote: > > @@ -107,6 +110,8 @@ fiemap: no > > update_time: no > > atomic_open: shared (exclusive if O_CREAT is set in open flags) > > tmpfile: no > > +fileattr_get:

Re: [PATCH 12/19] staging: rtl8723bs: remove unnecessary bracks on DBG_871X removal sites

2021-04-13 Thread Dan Carpenter
On Wed, Apr 07, 2021 at 03:49:36PM +0200, Fabio Aiuto wrote: > @@ -2586,11 +2583,9 @@ static int rtw_dbg_port(struct net_device *dev, > > plist = > get_next(plist); > > - i

Re: [PATCH v2 7/9] sched,debug: Convert sysctl sched_domains to debugfs

2021-04-13 Thread Valentin Schneider
On 12/04/21 12:14, Peter Zijlstra wrote: > Stop polluting sysctl, move to debugfs for SCHED_DEBUG stuff. > > Signed-off-by: Peter Zijlstra (Intel) > Reviewed-by: Dietmar Eggemann On my Juno (2+4 big.LITTLE), sys/kernel/debug/sched/domains/ is now empty. I think that's because of unregister_sche

Re: Re: [PATCH] x86: Accelerate copy_page with non-temporal in X86

2021-04-13 Thread Borislav Petkov
On Tue, Apr 13, 2021 at 08:54:55PM +0800, Kemeng Shi wrote: > Yes. And NT stores should be better for copy_page especially copying a lot > of pages as only partial memory of copied page will be access recently. I thought "should be better" too last time when I measured rep; movs vs NT stores but a

[PATCH] ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch

2021-04-13 Thread Michal Vokáč
The FEC does not have a PHY so it should not have a phy-handle. It is connected to the switch at RGMII level so we need a fixed-link sub-node on both ends. This was not a problem until the qca8k.c driver was converted to PHYLINK by commit b3591c2a3661 ("net: dsa: qca8k: Switch to PHYLINK instead o

[PATCH 0/7] staging: rtl8723bs: replace DBG_871X_SEL_NL macro with netdev_dbg()

2021-04-13 Thread Fabio Aiuto
This patchset replaces DGB_871X_SEL_NL macro with the driver recommended log function netdev_dbg(). Macro DBG_871X_SEL_NL indeed executes a raw printk call as default behaviour. The other behaviour is doing a seq_printf() call which never occurs. First patch replace dump_drv_version with a netdev

[PATCH 2/7] staging: rtl8723bs: remove unnecessary dump_drv_version() usage

2021-04-13 Thread Fabio Aiuto
remove unnecessary dump_drv_version() usage. This prepares dump_drv_version() for removal, before coccinelle script application. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_i

[PATCH 4/7] staging: rtl8723bs: replace DBG_871X_SEL_NL with netdev_dbg()

2021-04-13 Thread Fabio Aiuto
replace DGB_871X_SEL_NL macro with netdev_dbg(). DBG_871X_SEL_NL macro expands to a raw prink call or a seq_printf if selected stream _is not_ a local debug symbol set to null. This second scenario never occurs so replace all macro usages with netdev_dbg(). This is done with the following coccine

[PATCH 7/7] staging: rtl8723bs: remove unused argument in function

2021-04-13 Thread Fabio Aiuto
removed unused 'void *sel' argument in rtw_odm_dbg_comp_msg() function, after DBG_871X_SEL_NL replacement. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_odm.c | 2 +- drivers/staging/rtl8723bs/include/rtw_odm.h| 2 +- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c |

[PATCH 3/7] staging: rtl8723bs: remove two unused functions

2021-04-13 Thread Fabio Aiuto
remove dump_drv_version() and dump_log_level() function definitions and prototypes. Those functions are unused, and add unnecessary wrap level to log calls. They wrap DBG_871X_SEL_NL which will be replaced by netdev_dbg() with coccinelle script application. Signed-off-by: Fabio Aiuto --- driver

[PATCH 5/7] staging: rtl8723bs: put a new line after ';'

2021-04-13 Thread Fabio Aiuto
fix the following post commit hook checkpatch issue: ERROR: space required after that ';' (ctx:VxV) 232: FILE: drivers/staging/rtl8723bs/core/rtw_odm.c:160: + "AdapEn_RSSI", "IGI_LowerBound");netdev_dbg (adapter->pnetdev, This was coccinelle script output

[PATCH 6/7] staging: rtl8723bs: remove DBG_871X_SEL_NL macro declaration

2021-04-13 Thread Fabio Aiuto
remove DBG_871X_SEL_NL obsolete macro declaration. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/include/rtw_debug.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index f1b37d5

[PATCH 1/7] staging: rtl8723bs: replace dump_drv_version() usage with netdev_dbg()

2021-04-13 Thread Fabio Aiuto
replace dump_drv_version() usage with netdev_dbg(). There's no need to further wrap a netdev_dbg() call for such a low number of occurrences. The string printed is the same contained in DBG_871X_SEL_NL macro called inside dump_drv_version(). This is just preparation before bulk DBG_871X_SEL_NL m

Re: [PATCH 18/19] staging: rtl8723bs: split long lines

2021-04-13 Thread Dan Carpenter
On Wed, Apr 07, 2021 at 03:49:42PM +0200, Fabio Aiuto wrote: > diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > index 7f998a2f8001..a1e27ba4707e 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c > +++ b/drivers/staging/rtl872

Re: [PATCH v4 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 07:30:19PM +0800, Ikjoon Jang wrote: > This is for ChromeOS tablets which have a 'cros_cbas' switch device > in the "Whiskers" base board. This device can be instantiated only by > device tree on ARM platforms. ChromeOS EC doesn't provide a way to > probe the device. > > Si

Re: [PATCH] memory: samsung: exynos5422-dmc: handle clk_set_parent() failure

2021-04-13 Thread Krzysztof Kozlowski
On Wed, 7 Apr 2021 17:45:35 +0200, Krzysztof Kozlowski wrote: > clk_set_parent() can fail and ignoring such case could lead to invalid > clock setup for given frequency. Applied, thanks! [1/1] memory: samsung: exynos5422-dmc: handle clk_set_parent() failure commit: 132c17c3ff878c7beaba51bdd

Re: (subset) [PATCH v5 00/16] Clean up "mediatek,larb"

2021-04-13 Thread Krzysztof Kozlowski
On Sat, 10 Apr 2021 17:11:12 +0800, Yong Wu wrote: > MediaTek IOMMU block diagram always like below: > > M4U > | > smi-common > | > - > | | ... > | | > larb1 larb2 > | | > vdec venc > > [...] Applied, thanks! [

Re: [PATCH] memory: renesas-rpc-if: fix possible NULL pointer dereference of resource

2021-04-13 Thread Krzysztof Kozlowski
On Wed, 7 Apr 2021 17:43:57 +0200, Krzysztof Kozlowski wrote: > The platform_get_resource_byname() can return NULL which would be > immediately dereferenced by resource_size(). Instead dereference it > after validating the resource. Applied, thanks! [1/1] memory: renesas-rpc-if: fix possible NUL

Re: [PATCH v5 04/16] memory: mtk-smi: Add device-link between smi-larb and smi-common

2021-04-13 Thread Krzysztof Kozlowski
On 13/04/2021 08:04, Yong Wu wrote: > On Sat, 2021-04-10 at 14:40 +0200, Krzysztof Kozlowski wrote: >> On 10/04/2021 11:11, Yong Wu wrote: >>> Normally, If the smi-larb HW need work, we should enable the smi-common >>> HW power and clock firstly. >>> This patch adds device-link between the smi-larb

Re: [PATCH v6 00/30] Network fs helper library & fscache kiocb API

2021-04-13 Thread David Wysochanski
On Fri, Apr 9, 2021 at 8:04 AM David Wysochanski wrote: > > On Thu, Apr 8, 2021 at 10:04 AM David Howells wrote: > > > > > > Here's a set of patches to do two things: > > > > (1) Add a helper library to handle the new VM readahead interface. This > > is intended to be used unconditionally

Re: [PATCH v4] hwmon: Add driver for fsp-3y PSUs and PDUs

2021-04-13 Thread Guenter Roeck
On 4/13/21 3:42 AM, Václav Kubernát wrote: > This patch adds support for these devices: > - YH-5151E - the PDU > - YM-2151E - the PSU > > The device datasheet says that the devices support PMBus 1.2, but in my > testing, a lot of the commands aren't supported and if they are, they > sometimes beha

Re: [PATCH] watchdog: it87_wdt: remove useless function

2021-04-13 Thread Guenter Roeck
On 4/13/21 2:34 AM, Jiapeng Chong wrote: > Fix the following clang warning: > > drivers/watchdog/it87_wdt.c:155:20: warning: unused function > 'superio_outw' [-Wunused-function]. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Reviewed-by: Guenter Roeck > --- > drivers/watchdog/

Re: [PATCH v4 05/13] module: Add printk formats to add module build ID to stacktraces

2021-04-13 Thread Petr Mladek
On Fri 2021-04-09 18:52:52, Stephen Boyd wrote: > Let's make kernel stacktraces easier to identify by including the build > ID[1] of a module if the stacktrace is printing a symbol from a module. > This makes it simpler for developers to locate a kernel module's full > debuginfo for a particular st

[PATCH] ARM: dts: imx6dl-yapp4: Configure the OLED display segment offset

2021-04-13 Thread Michal Vokáč
The imx6dl-yapp4 platform uses a GE-LX012864FWPP3N OLED display. The display consist of a 128x64 OLED panel and a SSD1305 controller. The OLED panel resolution is 128x64 but the built-in controller default resolution is 132x64. To display properly a segment offset needs to be configured. Sign

Re: [PATCH] ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch

2021-04-13 Thread Andrew Lunn
On Tue, Apr 13, 2021 at 04:45:57PM +0200, Michal Vokáč wrote: > The FEC does not have a PHY so it should not have a phy-handle. It is > connected to the switch at RGMII level so we need a fixed-link sub-node > on both ends. > > This was not a problem until the qca8k.c driver was converted to PHYLI

Re: [PATCH v3 1/2] media: zoran: add spaces around '<<'

2021-04-13 Thread Hans Verkuil
Missing commit message. You used to have one in v1 of this patch! Regards, Hans On 10/04/2021 17:33, Mitali Borkar wrote: > Signed-off-by: Mitali Borkar > --- > Changes from v2:- No changes. > Changes from v1:- NO changes. > > drivers/staging/media/zoran/zr36057.h | 14 +++--

Re: [RFC] ITS fails to allocate on rk3568/rk3566

2021-04-13 Thread Peter Geis
On Tue, Apr 13, 2021 at 10:01 AM Marc Zyngier wrote: > > On Tue, 13 Apr 2021 14:29:32 +0100, > Peter Geis wrote: > > > > On Tue, Apr 13, 2021 at 5:23 AM Marc Zyngier wrote: > > > > > > Hi Peter, > > > > > > On Mon, 12 Apr 2021 21:49:59 +0100, > > > Peter Geis wrote: > > > > > > > > Good Afterno

RE: [PATCH 3/3] rseq: optimise for 64bit arches

2021-04-13 Thread David Laight
From: Mathieu Desnoyers > Sent: 13 April 2021 15:22 ... > > David > > > >> So I suppose that if we're going to #ifdef this, we might as well do the > >> whole thing. > >> > >> Mathieu; did I forget a reason why this cannot work? > > The only difference it brings on 32-bit is that the truncati

Re: [PATCH] staging: media: omap4iss: Remove unused macro functions

2021-04-13 Thread Hans Verkuil
On 12/04/2021 15:42, Aline Santana Cordeiro wrote: > Remove unused macro functions "to_iss_device()", "to_device()", > and "v4l2_dev_to_iss_device(dev)". 'git grep to_iss_device drivers/staging/omap4iss' gives me lots of hits! Same for to_device. Only v4l2_dev_to_iss_device appears to be unused.

[Outreachy kernel] [PATCH] staging: rtl8723bs: core: Remove unused but set variable

2021-04-13 Thread Fabio M. De Francesco
Removed "ledBlink_param" because it was set to the value of "pbuf" but was never reused. This set was made by direct assignment (no helper had been called), therefore it had no side effect to the location pointed by "pbuf". Signed-off-by: Fabio M. De Francesco --- drivers/staging/rtl8723bs/core/

Re: [Outreachy kernel] [PATCH] staging: rtl8192u: ieee80211: Replaced strncpy() with strscpy()

2021-04-13 Thread Greg Kroah-Hartman
On Tue, Apr 13, 2021 at 03:24:31PM +0200, Fabio M. De Francesco wrote: > On Tuesday, April 13, 2021 3:16:17 PM CEST Greg Kroah-Hartman wrote: > > On Tue, Apr 13, 2021 at 03:12:02PM +0200, Fabio M. De Francesco wrote: > > > On Tuesday, April 13, 2021 2:59:29 PM CEST Greg Kroah-Hartman wrote: > > > >

Re: [PATCH v6 1/2] dt-bindings: touchscreen: Add HY46XX bindings

2021-04-13 Thread Rob Herring
On Mon, 12 Apr 2021 17:23:59 +0200, Giulio Benetti wrote: > This adds device tree bindings for the Hycon HY46XX touchscreen series. > > Signed-off-by: Giulio Benetti > --- > V1->V2: > As suggested by Rob Herring: > * fixed $id: address > * added "hycon," in front of every custom property > * chan

Re: [PATCH] arm: mach-s3c: Remove unnecessary break

2021-04-13 Thread Krzysztof Kozlowski
On 09/04/2021 08:49, Wan Jiabing wrote: > There is a return above the break. > The break here is unnecessary. Remove it. > > Signed-off-by: Wan Jiabing > --- > arch/arm/mach-s3c/mach-rx1950.c | 1 - > 1 file changed, 1 deletion(-) Thanks, looks good but I do not plan another pull request in cur

Re: [PATCH 3/3] rseq: optimise for 64bit arches

2021-04-13 Thread Mathieu Desnoyers
- On Apr 13, 2021, at 11:06 AM, David Laight david.lai...@aculab.com wrote: [...] > > Hmmm... too much replication. > You could do: > #ifdef CONFIG_64BIT > #define PTR_TYPE u64 > #define PTR_FLD ptr64 > #else > #define PTR_TYPE u32 > #define PTR_FLD ptr32 > #endif > > Then have one copy of th

Re: [PATCH -next] ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE

2021-04-13 Thread Mark Brown
On Fri, 9 Apr 2021 09:59:53 +0800, Chen Lifu wrote: > This patch adds missing MODULE_DEVICE_TABLE definition which generates > correct modalias for automatic loading of this driver when it is built > as an external module. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/soun

Re: [PATCH] ASoC: meson: axg-frddr: fix fifo depth on g12 and sm1

2021-04-13 Thread Mark Brown
On Mon, 12 Apr 2021 15:22:56 +0200, Jerome Brunet wrote: > Previous fifo depth patch was only tested on axg, not g12 or sm1. > Of course, while adding hw_params dai callback for the axg, I forgot to do > the same for g12 and sm1, leaving the depth unset and breaking playback on > these SoCs. > > A

Re: [PATCH] ASoC: cs35l35: Fix an error handling path in 'cs35l35_i2c_probe()'

2021-04-13 Thread Mark Brown
On Sun, 11 Apr 2021 14:51:06 +0200, Christophe JAILLET wrote: > If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should > return directly as already done by the surrounding error handling paths. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for

Re: [PATCH v3 1/3] dt-bindings: display: bridge: add it66121 bindings

2021-04-13 Thread Rob Herring
On Mon, 12 Apr 2021 17:46:46 +0200, Neil Armstrong wrote: > From: Phong LE > > Add the ITE bridge HDMI it66121 bindings. > > Signed-off-by: Phong LE > Signed-off-by: Neil Armstrong > --- > .../bindings/display/bridge/ite,it66121.yaml | 123 ++ > 1 file changed, 123 insertions

[PATCH] kconfig: split menu.c out of parser.y

2021-04-13 Thread Masahiro Yamada
Compile menu.c as an independent compilation unit. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 4 ++-- scripts/kconfig/internal.h | 9 + scripts/kconfig/menu.c | 1 + scripts/kconfig/parser.y | 5 ++--- 4 files changed, 14 insertions(+), 5 deletions(-) create

Re: [PATCH] ASoC: cs35l36: Fix an error handling path in 'cs35l36_i2c_probe()'

2021-04-13 Thread Mark Brown
On Sun, 11 Apr 2021 14:57:13 +0200, Christophe JAILLET wrote: > If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should > return directly as already done by the surrounding error handling paths. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for

Re: [”PATCH” 3/5] dt-bindings: pci: add system controller and MAC reset bit to Armada 7K/8K controller bindings

2021-04-13 Thread Rob Herring
On Mon, Apr 12, 2021 at 06:30:54PM +0300, bpe...@marvell.com wrote: > From: Ben Peled > > Adding optional system-controller and mac-reset-bit-mask > needed for linkdown procedure. > > Signed-off-by: Ben Peled > --- > Documentation/devicetree/bindings/pci/pci-armada8k.txt | 6 ++ > 1 file c

Re: [PATCH v3] staging: media: meson: vdec: declare u32 as static const

2021-04-13 Thread Hans Verkuil
On 13/04/2021 16:11, Mitali Borkar wrote: > Declared 32 bit unsigned int as static constant inside a function and > replaced u32[] {x,y} as canvas3, canvas4 in codec_h264.c > This indicates the value of canvas indexes will remain constant throughout > execution. checkpatch.pl output: WARNING: Po

[PATCH v7] mm: Add set/end/wait functions for PG_private_2

2021-04-13 Thread David Howells
Add three functions to manipulate PG_private_2: (*) set_page_private_2() - Set the flag and take an appropriate reference on the flagged page. (*) end_page_private_2() - Clear the flag, drop the reference and wake up any waiters, somewhat analogously with end_page_writeback(). (*) w

Re: [PATCH RFC net-next 0/3] Multi-CPU DSA support

2021-04-13 Thread Marek Behun
On Tue, 13 Apr 2021 16:46:32 +0200 Tobias Waldekranz wrote: > On Tue, Apr 13, 2021 at 02:27, Marek Behun wrote: > > On Tue, 13 Apr 2021 01:54:50 +0200 > > Marek Behun wrote: > > > >> I will look into this, maybe ask some follow-up questions. > > > > Tobias, > > > > it seems that currently t

[PATCH] HID: ft260: check data size in ft260_smbus_write()

2021-04-13 Thread Michael Zaidman
Fixes: 98189a0adfa0 ("HID: ft260: add usb hid to i2c host bridge driver") The SMbus block transaction limits the number of bytes transferred to 32, but nothing prevents a user from specifying via ioctl a larger data size than the ft260 can handle in a single transfer. i2cdev_ioctl_smbus() -->

Re: [PATCH v4 05/13] module: Add printk formats to add module build ID to stacktraces

2021-04-13 Thread Petr Mladek
On Tue 2021-04-13 13:56:31, Andy Shevchenko wrote: > On Mon, Apr 12, 2021 at 12:29:05PM -0700, Stephen Boyd wrote: > > Quoting Andy Shevchenko (2021-04-12 04:58:02) > > > On Fri, Apr 09, 2021 at 06:52:52PM -0700, Stephen Boyd wrote: > > > > Let's make kernel stacktraces easier to identify by includ

Re: [PATCH] selftests/bpf: use !E instead of comparing with NULL

2021-04-13 Thread Alexei Starovoitov
On Tue, Apr 13, 2021 at 2:52 AM Yang Li wrote: > > Fix the following coccicheck warnings: > ./tools/testing/selftests/bpf/progs/profiler.inc.h:189:7-11: WARNING > comparing pointer to 0, suggest !E > ./tools/testing/selftests/bpf/progs/profiler.inc.h:361:7-11: WARNING > comparing pointer to 0, sug

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: core: Remove unused but set variable

2021-04-13 Thread Julia Lawall
On Tue, 13 Apr 2021, Fabio M. De Francesco wrote: > Removed "ledBlink_param" because it was set to the value of "pbuf" but was > never reused. This set was made by direct assignment (no helper had been > called), therefore it had no side effect to the location pointed by "pbuf". > > Signed-off-

Re: [PATCH v3 2/4] dt-bindings: pwm: add more compatible strings to pwm-rockchip.yaml

2021-04-13 Thread Thierry Reding
On Mon, Apr 12, 2021 at 10:01:53PM +0200, Johan Jonker wrote: > The compatible strings below are already in use in the Rockchip > dtsi files, but were somehow never added to a document, so add > > "rockchip,rk3328-pwm" > > "rockchip,rk3036-pwm", "rockchip,rk2928-pwm" > > "rockchip,rk3368-pwm", "

Re: [PATCH] i2c: I2C_HISI should depend on ARCH_HISI && ACPI

2021-04-13 Thread Andy Shevchenko
On Tue, Apr 13, 2021 at 04:44:33PM +0200, Geert Uytterhoeven wrote: > On Tue, Apr 13, 2021 at 4:41 PM Andy Shevchenko > wrote: > > On Tue, Apr 13, 2021 at 02:48:15PM +0200, Geert Uytterhoeven wrote: > > > On Tue, Apr 13, 2021 at 2:37 PM Andy Shevchenko > > > wrote: > > > > On Tue, Apr 13, 2021 at

Re: [PATCH 2/3] rseq: remove redundant access_ok()

2021-04-13 Thread Eric Dumazet
On Tue, Apr 13, 2021 at 4:34 PM Mathieu Desnoyers wrote: > > - On Apr 13, 2021, at 3:36 AM, Eric Dumazet eric.duma...@gmail.com wrote: > > > From: Eric Dumazet > > > > After commit 8f2817701492 ("rseq: Use get_user/put_user rather > > than __get_user/__put_user") we no longer need > > an acce

Re: linux-next: manual merge of the vfs tree with the xfs tree

2021-04-13 Thread Darrick J. Wong
On Mon, Apr 12, 2021 at 12:22:11PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the vfs tree got a conflict in: > > fs/xfs/xfs_ioctl.c > > between commits: > > ceaf603c7024 ("xfs: move the di_projid field to struct xfs_inode") > 031474c28a3a ("xfs: move the di_

[RFC V2 PATCH 3/12] x86/Hyper-V: Add new hvcall guest address host visibility support

2021-04-13 Thread Tianyu Lan
From: Tianyu Lan Add new hvcall guest address host visibility support. Mark vmbus ring buffer visible to host when create gpadl buffer and mark back to not visible when tear down gpadl buffer. Co-Developed-by: Sunil Muthuswamy Signed-off-by: Tianyu Lan --- arch/x86/hyperv/Makefile |

[RFC V2 PATCH 8/12] UIO/Hyper-V: Not load UIO HV driver in the isolation VM.

2021-04-13 Thread Tianyu Lan
From: Tianyu Lan UIO HV driver should not load in the isolation VM for security reason. Return ENOTSUPP in the hv_uio_probe() in the isolation VM. Signed-off-by: Tianyu Lan --- drivers/uio/uio_hv_generic.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/uio/uio_hv_generic.c b/

[RFC V2 PATCH 10/12] HV/IOMMU: Add Hyper-V dma ops support

2021-04-13 Thread Tianyu Lan
From: Tianyu Lan Hyper-V Isolation VM requires bounce buffer support. To use swiotlb bounce buffer, add Hyper-V dma ops and use swiotlb functions in the map and unmap callback. Allocate bounce buffer in the Hyper-V code because bounce buffer needs to be accessed via extra address space(e.g, addr

[RFC V2 PATCH 5/12] HV: Add ghcb hvcall support for SNP VM

2021-04-13 Thread Tianyu Lan
From: Tianyu Lan Hyper-V provides ghcb hvcall to handle VMBus HVCALL_SIGNAL_EVENT and HVCALL_POST_MESSAGE msg in SNP Isolation VM. Add such support. Signed-off-by: Tianyu Lan --- arch/x86/hyperv/ivm.c | 69 + arch/x86/include/asm/mshyperv.h | 1 + dri

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