Re: [RFC PATCH v5 0/4] add simple copy support

2021-02-20 Thread Keith Busch
On Sat, Feb 20, 2021 at 06:01:56PM +, David Laight wrote: > From: SelvaKumar S > > Sent: 19 February 2021 12:45 > > > > This patchset tries to add support for TP4065a ("Simple Copy Command"), > > v2020.05.04 ("Ratified") > > > > The Specification can be found in following link. > >

Re: [PATCH v2 1/8] arm64: dts: imx8mm-nitrogen-r2: add wifi/bt chip

2021-02-20 Thread Krzysztof Kozlowski
On Fri, Feb 19, 2021 at 03:03:55PM +0100, Adrien Grassein wrote: > Le ven. 19 févr. 2021 à 14:18, Krzysztof Kozlowski a écrit : > > > > On Wed, Feb 17, 2021 at 05:10:45PM +0100, Adrien Grassein wrote: > > > Add usdhc3 description which corresponds to the wifi/bt chip > > > > > > Signed-off-by:

Re: [PATCH v2 20/25] tty: serial: samsung_tty: Use devm_ioremap_resource

2021-02-20 Thread Marc Zyngier
On 2021-02-20 19:13, Krzysztof Kozlowski wrote: On Thu, Feb 18, 2021 at 11:01:21PM +0900, Hector Martin wrote: On 16/02/2021 03.51, Krzysztof Kozlowski wrote: > > Also fix a bug checking the return value, which should use IS_ERR(). > > No, no, no. We never, never combine fixing bugs with some

Re: [PATCH v3 4/5] arm64: dts: librem5: protect some partitions of the nor-flash

2021-02-20 Thread Krzysztof Kozlowski
On Fri, Feb 19, 2021 at 11:04:38AM +0100, Martin Kepplinger wrote: > From: Angus Ainslie > > These sections should be read only as they contain important data. > > Signed-off-by: Angus Ainslie > Signed-off-by: Martin Kepplinger > --- > .../boot/dts/freescale/imx8mq-librem5.dtsi | 17

Re: [PATCH v2 20/25] tty: serial: samsung_tty: Use devm_ioremap_resource

2021-02-20 Thread Krzysztof Kozlowski
On Thu, Feb 18, 2021 at 11:01:21PM +0900, Hector Martin wrote: > On 16/02/2021 03.51, Krzysztof Kozlowski wrote: > > > Also fix a bug checking the return value, which should use IS_ERR(). > > > > No, no, no. We never, never combine fixing bugs with some rework. > > However devm_ioremap() returns

Re: [PATCH] hwrng: bcm2835: set quality to 1000

2021-02-20 Thread Álvaro Fernández Rojas
Hi Andrew, I ran rngtest and this is what I got: root@OpenWrt:/# cat /dev/hwrng | rngtest -c 1000 rngtest 6.10 Copyright (c) 2004 by Henrique de Moraes Holschuh This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

Re: [PATCH 1/8] af_unix: take address assignment/hash insertion into a new helper

2021-02-20 Thread Cong Wang
On Thu, Feb 18, 2021 at 8:22 PM Al Viro wrote: > > Duplicated logics in all bind variants (autobind, bind-to-path, > bind-to-abstract) gets taken into a common helper. > > Signed-off-by: Al Viro > --- > net/unix/af_unix.c | 30 +++--- > 1 file changed, 15 insertions(+),

Re: [PATCH v2 19/25] tty: serial: samsung_tty: IRQ rework

2021-02-20 Thread Krzysztof Kozlowski
On Thu, Feb 18, 2021 at 10:53:10PM +0900, Hector Martin wrote: > > Separate patch for trivial renaming. > > I think it makes sense to do this rename together with the first change > above, as it keeps both functions symmetric. Otherwise we end up with an > inconsistent function naming between

Re: [RFC PATCH v5 0/4] add simple copy support

2021-02-20 Thread Matthew Wilcox
On Sat, Feb 20, 2021 at 06:01:56PM +, David Laight wrote: > From: SelvaKumar S > > Sent: 19 February 2021 12:45 > > > > This patchset tries to add support for TP4065a ("Simple Copy Command"), > > v2020.05.04 ("Ratified") > > > > The Specification can be found in following link. > >

arch/arm/kernel/patch.c:94:11: error: implicit declaration of function '__opcode_to_mem_thumb32'

2021-02-20 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: 5a735583b764750726621b0396d03e4782911b77 arm/ftrace: Use __patch_text() date: 1 year, 3 months ago config: arm-randconfig-r014-20210220 (attached as .config

Re: [PATCH] hwrng: bcm2835: set quality to 1000

2021-02-20 Thread Andrew Lunn
On Sat, Feb 20, 2021 at 06:47:40PM +0100, Álvaro Fernández Rojas wrote: > This allows devices without a high precission timer to reduce boot from >100s > to <30s. > diff --git a/drivers/char/hw_random/bcm2835-rng.c > b/drivers/char/hw_random/bcm2835-rng.c > index 1a7c43b43c6b..4b48cb7176b0 100644

[PATCH v4] arm: OABI compat: fix build when EPOLL is not enabled

2021-02-20 Thread Randy Dunlap
When CONFIG_EPOLL is not set/enabled, sys_oabi-compat.c has build errors. Fix these by surrounding them with ifdef CONFIG_EPOLL/endif and providing stubs for the "EPOLL is not set" case. ../arch/arm/kernel/sys_oabi-compat.c: In function 'sys_oabi_epoll_ctl':

Re: [PATCH] nvme-core: Switch to using the new API kobj_to_dev()

2021-02-20 Thread Chaitanya Kulkarni
On 2/20/21 01:15, Yang Li wrote: > fixed the following coccicheck: > ./drivers/nvme/host/core.c:3440:60-61: WARNING opportunity for > kobj_to_dev() > ./drivers/nvme/host/core.c:3679:60-61: WARNING opportunity for > kobj_to_dev() > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Looks good.

Re: [PATCH v5 04/22] media: camss: Add CAMSS_845 camss version

2021-02-20 Thread Andrey Konovalov
Hi Robert, Reviewed-by: Andrey Konovalov Thanks, Andrey On 17.02.2021 14:21, Robert Foss wrote: Add enum representing the SDM845 SOC, which incorporates version 170 of the Titan architecture ISP. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.h | 1 + 1 file

Re: [PATCH v5 01/22] media: camss: Fix vfe_isr_comp_done() documentation

2021-02-20 Thread Andrey Konovalov
Hi Robert, Reviewed-by: Andrey Konovalov Thanks, Andrey On 17.02.2021 14:21, Robert Foss wrote: Function name is comment is wrong, and was changed to be the same as the actual function name. The comment was changed to kerneldoc format. Signed-off-by: Robert Foss --- Changes since v1 -

Re: [PATCH v3] arm: OABI compat: fix build when EPOLL is not enabled

2021-02-20 Thread Nicolas Pitre
On Sat, 20 Feb 2021, Randy Dunlap wrote: > When CONFIG_EPOLL is not set/enabled, sys_oabi-compat.c has build > errors. Fix these by surrounding them with ifdef CONFIG_EPOLL/endif > and providing stubs for the "EPOLL is not set" case. > > ../arch/arm/kernel/sys_oabi-compat.c: In function

Re: [PATCH v5 06/22] media: camss: Refactor VFE HW version support

2021-02-20 Thread Andrey Konovalov
Hi Robert, Thank you for your patch! Just two minor comments below. On 17.02.2021 14:21, Robert Foss wrote: In order to support Qualcomm ISP hardware architectures that diverge from older architectures, the VFE subdevice driver needs to be refactored to better abstract the different ISP

[PATCH v3] arm: OABI compat: fix build when EPOLL is not enabled

2021-02-20 Thread Randy Dunlap
When CONFIG_EPOLL is not set/enabled, sys_oabi-compat.c has build errors. Fix these by surrounding them with ifdef CONFIG_EPOLL/endif and providing stubs for the "EPOLL is not set" case. ../arch/arm/kernel/sys_oabi-compat.c: In function 'sys_oabi_epoll_ctl':

[PATCH] hwrng: iproc: set quality to 1000

2021-02-20 Thread Álvaro Fernández Rojas
This allows khwrngd to make use of iproc-rng200. Signed-off-by: Álvaro Fernández Rojas --- drivers/char/hw_random/iproc-rng200.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c index 01583faf9893..e49868dd9b96

Re: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-20 Thread Jens Axboe
On 2/20/21 10:44 AM, David Laight wrote: > From: Lennert Buytenhek >> Sent: 18 February 2021 12:27 >> >> These patches add support for IORING_OP_GETDENTS, which is a new io_uring >> opcode that more or less does an lseek(sqe->fd, sqe->off, SEEK_SET) >> followed by a getdents64(sqe->fd, (void

Re: [PATCH v7 2/3] pinctrl: pinmux: Add pinmux-select debugfs file

2021-02-20 Thread Drew Fustini
On Fri, Feb 19, 2021 at 10:06:51AM +0100, Geert Uytterhoeven wrote: > Hi Drew, > > On Wed, Feb 17, 2021 at 11:15 PM Drew Fustini wrote: > > Add "pinmux-select" to debugfs which will activate a function and group: > > > > echo "" > pinmux-select > > > > The write operation pinmux_select()

[PATCH 2/2] staging: rtl8192e: Change state information from u16 to u8

2021-02-20 Thread Atul Gopinathan
The "CcxRmState" field in struct "rtllib_network" is defined as a u16 array of size 2 (so, 4 bytes in total). But the operations performed on this array throughout the code base (in rtl8192e/) are all in byte size 2 indicating that this array's type was defined wrongly. There are two situation

[PATCH 1/2] staging: rtl8192e: Pass array value to memcpy instead of struct pointer

2021-02-20 Thread Atul Gopinathan
The variable "info_element" is of the following type: struct rtllib_info_element *info_element rtllib_info_element is a struct containing the following fields as defined in drivers/staging/rtl8192e/rtllib.h: struct rtllib_info_element { u8 id; u8 len; u8 data[]; }

RE: [RFC PATCH v5 0/4] add simple copy support

2021-02-20 Thread David Laight
From: SelvaKumar S > Sent: 19 February 2021 12:45 > > This patchset tries to add support for TP4065a ("Simple Copy Command"), > v2020.05.04 ("Ratified") > > The Specification can be found in following link. > https://nvmexpress.org/wp-content/uploads/NVM-Express-1.4-Ratified-TPs-1.zip > >

Re: [PATCH v8 13/22] counter: Internalize sysfs interface code

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: This is a reimplementation of the Generic Counter driver interface. There are no modifications to the Counter subsystem userspace interface, so existing userspace applications should continue to run seamlessly. The purpose of this patch is to

Re: [PATCH v5 4/9] cxl/mem: Add basic IOCTL interface

2021-02-20 Thread Dan Williams
On Sat, Feb 20, 2021 at 8:33 AM Ben Widawsky wrote: > > On 21-02-19 20:22:00, Konrad Rzeszutek Wilk wrote: > > ..snip.. > > > +static int handle_mailbox_cmd_from_user(struct cxl_mem *cxlm, > > > + const struct cxl_mem_command *cmd, > > > +

[PATCH] hwrng: bcm2835: set quality to 1000

2021-02-20 Thread Álvaro Fernández Rojas
This allows devices without a high precission timer to reduce boot from >100s to <30s. Signed-off-by: Álvaro Fernández Rojas --- drivers/char/hw_random/bcm2835-rng.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/hw_random/bcm2835-rng.c b/drivers/char/hw_random/bcm2835-rng.c

RE: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-20 Thread David Laight
From: Lennert Buytenhek > Sent: 18 February 2021 12:27 > > These patches add support for IORING_OP_GETDENTS, which is a new io_uring > opcode that more or less does an lseek(sqe->fd, sqe->off, SEEK_SET) > followed by a getdents64(sqe->fd, (void *)sqe->addr, sqe->len). > > A dumb test program for

Re: [RFC][PATCH 6/6] objtool,x86: Rewrite retpoline thunk calls

2021-02-20 Thread Borislav Petkov
On Sat, Feb 20, 2021 at 05:48:46PM +0100, Peter Zijlstra wrote: > - straight line execution is always better than a round-trip to >somewhere else, no matter how trivial. Sure, but not at that price. Especially not if it is waaay down in perf profiles. > - supposely EIBRS (yeah, I know,

s390-linux-ld: denali_dt.c:undefined reference to `devm_ioremap_resource'

2021-02-20 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to be selectable date: 10 months ago config: s390-randconfig-p001-20210221

[git pull] work.namei stuff (v2)

2021-02-20 Thread Al Viro
Most of that pile is LOOKUP_CACHED series; the rest is a couple of misc cleanups in the general area... There's a minor bisect hazard in the end of series, and normally I would've just folded the fix into the previous commit, but this branch is shared with Jens' tree, with stuff on top of it in

Re: WARNING in iov_iter_revert (2)

2021-02-20 Thread Al Viro
On Sat, Feb 20, 2021 at 08:56:40AM -0800, Linus Torvalds wrote: > Al, > This is the "FIXME! Have Al check this!" case in do_tty_write(). You were > in on that whole discussion, but we never did get to that issue... > > There are some subtle rules about doing the iov_iter_revert(), but what's >

Re: [BUG] page allocation failure reading procfs ipv6 configuration files with cgroups

2021-02-20 Thread Matthew Wilcox
On Sat, Feb 20, 2021 at 12:29:18PM -0500, Peter Geis wrote: > Good Afternoon, > > I have been tracking down a regular bug that triggers when running OpenWRT in > a lxd container. > Every ten minutes I was greeted with the following splat in the kernel log: > > [2122311.383389] warn_alloc: 3

[BUG] page allocation failure reading procfs ipv6 configuration files with cgroups

2021-02-20 Thread Peter Geis
Good Afternoon, I have been tracking down a regular bug that triggers when running OpenWRT in a lxd container. Every ten minutes I was greeted with the following splat in the kernel log: [2122311.383389] warn_alloc: 3 callbacks suppressed [2122311.383403] cat: page allocation failure: order:5,

[PATCH v1] Staging: rtl8192e: fix kconfig dependency on CRYPTO

2021-02-20 Thread Julian Braha
>From fd949b204eeb6b685bbf5dc9a329c931fcf8b0da Mon Sep 17 00:00:00 2001 From: Julian Braha Date: Sat, 20 Feb 2021 12:07:30 -0500 Subject: [PATCH] staging: rtl8192e: fix kconfig dependency on CRYPTO When RTLLIB_CRYPTO_TKIP is enabled and CRYPTO is disabled, Kbuild gives the following warning:

Re: [PATCH v2] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-02-20 Thread Hari Bathini
On 20/02/21 6:22 am, Thiago Jung Bauermann wrote: Commit 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump kernel") fixed how elf64_load() estimates the FDT size needed by the crashdump kernel. At the same time, commit 130b2d59cec0 ("powerpc: Use common

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-20 Thread Willy Tarreau
On Sat, Feb 20, 2021 at 05:05:14PM +0100, Greg Kroah-Hartman wrote: > On Sat, Feb 20, 2021 at 01:29:21PM +, Jari Ruusu wrote: > > On Friday, February 19, 2021 5:23 PM, Jari Ruusu > > wrote: > > > My contribution here is trying to point you guys to right direction. > > > > I have been able

Re: [PATCH V3 XRT Alveo 02/18] fpga: xrt: driver metadata helper functions

2021-02-20 Thread Tom Rix
On 2/17/21 10:40 PM, Lizhi Hou wrote: > XRT drivers use device tree as metadata format to discover HW subsystems > behind PCIe BAR. Thus libfdt functions are called for driver to parse for the driver to parse the > device tree blob. > > Signed-off-by: Sonal Santan > Signed-off-by: Max Zhen >

[for-next][PATCH] kprobes: Fix to delay the kprobes jump optimization

2021-02-20 Thread Steven Rostedt
Masami Hiramatsu (1): kprobes: Fix to delay the kprobes jump optimization kernel/kprobes.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) --- commit c85c9a2c6e368dc94907e63babb18a9788e5c9b6 Author: Masami Hiramatsu

Re: [PATCH v8 12/22] counter: Rename counter_count_function to counter_function

2021-02-20 Thread David Lechner
On 2/14/21 11:13 AM, Jonathan Cameron wrote: On Fri, 12 Feb 2021 21:13:36 +0900 William Breathitt Gray wrote: The phrase "Counter Count function" is verbose and unintentionally implies that function is a Count extension. This patch adjusts the Counter subsystem code to use the more direct

Re: [PATCH v8 11/22] counter: Rename counter_signal_value to counter_signal_level

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: Signal values will always be levels so let's be explicit it about it to make the intent of the code clear. Cc: Syed Nayyar Waris Cc: Kamel Bouhara Signed-off-by: William Breathitt Gray --- Reviewed-by: David Lechner

Re: [RFC][PATCH 6/6] objtool,x86: Rewrite retpoline thunk calls

2021-02-20 Thread Peter Zijlstra
On Sat, Feb 20, 2021 at 01:39:20AM +0100, Borislav Petkov wrote: > On Fri, Feb 19, 2021 at 11:01:58PM +0100, Peter Zijlstra wrote: > > We could, but it so happens Joerg is also wanting negative features. > > Juergen. Argh! I should stick to jgross. Sorry. > > So I was thikning that perhaps we

Re: [PATCH v8 10/22] counter: Standardize to ERANGE for limit exceeded errors

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: ERANGE is a semantically better error code to return when an argument value falls outside the supported limit range of a device. Cc: Syed Nayyar Waris Cc: Fabrice Gasnier Cc: Maxime Coquelin Cc: Alexandre Torgue Signed-off-by: William

Re: [PATCH v8 09/22] counter: Return error code on invalid modes

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: Only a select set of modes (function, action, etc.) are valid for a given device configuration. This patch ensures that invalid modes result in a return -EINVAL. Such a situation should never occur in reality, but it's good to define a default

Re: [PATCH v5 4/9] cxl/mem: Add basic IOCTL interface

2021-02-20 Thread Ben Widawsky
On 21-02-19 20:22:00, Konrad Rzeszutek Wilk wrote: > ..snip.. > > +static int handle_mailbox_cmd_from_user(struct cxl_mem *cxlm, > > + const struct cxl_mem_command *cmd, > > + u64 in_payload, u64 out_payload, > > +

Re: [PATCH v2] net: phy: add Marvell 88X2222 transceiver support

2021-02-20 Thread Andrew Lunn
> > +/* switch line-side interface between 10GBase-R and 1GBase-X > > + * according to speed */ > > +static void mv_update_interface(struct phy_device *phydev) > > +{ > > + struct mv_data *priv = phydev->priv; > > + > > + if (phydev->speed == SPEED_1 && > > +

Re: [PATCH v8 03/22] counter: 104-quad-8: Return error when invalid mode during ceiling_write

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: The 104-QUAD-8 only has two count modes where a ceiling value makes sense: Range Limit and Modulo-N. Outside of these two modes, setting a ceiling value is an invalid operation -- so let's report it as such by returning -EINVAL. Fixes:

Re: [PATCH v2] net: phy: add Marvell 88X2222 transceiver support

2021-02-20 Thread Andrew Lunn
Hi Ivan > +static int sfp_module_insert(void *_priv, const struct sfp_eeprom_id *id) > +{ > + struct phy_device *phydev = _priv; > + struct device *dev = >mdio.dev; > + struct mv_data *priv = phydev->priv; > + phy_interface_t sfp_interface; Reverse Christmas tree please.

Re: [PATCH v8 02/22] docs: counter: Fix spelling

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: "Miscellaneous" is the correct spelling. Signed-off-by: William Breathitt Gray --- Reviewed-by: David Lechner

Re: [PATCH v8 01/22] docs: counter: Consolidate Counter sysfs attributes documentation

2021-02-20 Thread David Lechner
On 2/12/21 6:13 AM, William Breathitt Gray wrote: Duplicate ABIs are not valid, so let's consolidate these sysfs attributes into the main sysfs-bus-counter documentation file. Cc: Patrick Havelange Signed-off-by: William Breathitt Gray --- Reviewed-by: David Lechner

Re: [PATCH v2 2/3] mm: Force update of mem cgroup soft limit tree on usage excess

2021-02-20 Thread Tim Chen
On 2/19/21 10:59 AM, Tim Chen wrote: > > > On 2/19/21 1:11 AM, Michal Hocko wrote: >> >> Soft limit is evaluated every THRESHOLDS_EVENTS_TARGET * >> SOFTLIMIT_EVENTS_TARGET. >> If all events correspond with a newly charged memory and the last event >> was just about the soft limit boundary

5.10.17: unbound crash and network hangs

2021-02-20 Thread Toralf Förster
The following coommand ip route add default dev enp4s0 src 5.9.158.75 table 1 at a stable hardened Gentoo server Linux mr-fox 5.10.17 #18 SMP Wed Feb 17 12:59:16 CET 2021 x86_64 Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz GenuineIntel GNU/Linux with 2 ip addresses

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-20 Thread Greg Kroah-Hartman
On Sat, Feb 20, 2021 at 01:29:21PM +, Jari Ruusu wrote: > On Friday, February 19, 2021 5:23 PM, Jari Ruusu > wrote: > > My contribution here is trying to point you guys to right direction. > > I have been able to narrow the beginning of the problem to these kernels: > 4.14.188 ... 4.14.202

[PATCH 6/6] clk: qcom: gcc-sdm660: Add CLK_SET_RATE_PARENT where applicable

2021-02-20 Thread Konrad Dybcio
Some branch clocks should explicitly set this flag to make sure they inherit their frequencies from the parent clock. Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sdm660.c | 4 1 file changed,

[PATCH 4/6] clk: qcom: gcc-sdm660: Remove gds_hw_ctrl from GDSCs

2021-02-20 Thread Konrad Dybcio
These GDSCs do not support HW control, so remove the property. Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sdm660.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 5/6] clk: qcom: gcc-sdm660: Account for needed adjustments in probe function

2021-02-20 Thread Konrad Dybcio
Downstream kernel executes a bunch of commands, such as keeping GPU/MMSS interface clocks alive to make sure all subsystems can work properly. Add these to make sure they do. Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660") Signed-off-by: Konrad Dybcio ---

[PATCH 2/6] clk: qcom: gcc-sdm660: Set HWCG bit to 1 on some clocks

2021-02-20 Thread Konrad Dybcio
According to the downstream kernel, some clocks need to have HWCG disabled. Fix it. Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sdm660.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 1/6] clk: qcom: gcc-sdm660: Fix hmss_gpll0_clk_src parent_map

2021-02-20 Thread Konrad Dybcio
The correct one is gcc_parent_map_xo_gpll0. Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sdm660.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 3/6] clk: qcom: gcc-sdm660: Add missing clocks and GDSCs

2021-02-20 Thread Konrad Dybcio
Add missing clocks and GDSCs to make sure LPASS, UFS and MSS can access their respective clock domains. Fixes: f2a76a2955c0 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM660") Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-sdm660.c | 158

Re: [PATCH v2] net: phy: add Marvell 88X2222 transceiver support

2021-02-20 Thread Ivan Bornyakov
On Sat, Feb 20, 2021 at 11:53:04AM +, Russell King - ARM Linux admin wrote: > On Sat, Feb 20, 2021 at 12:46:23PM +0300, Ivan Bornyakov wrote: > > + > > + switch (sfp_interface) { > > + case PHY_INTERFACE_MODE_10GBASER: > > + phydev->speed = SPEED_1; > > +

Re: [PATCH 01/20] net: phy: realtek: Fix events detection failure in LPI mode

2021-02-20 Thread Andrew Lunn
> If in doubt, leaving the patch as is would be fine with me. The patch is O.K. as is, no need to export something so simple for a single users. When the next user come along, we can reconsider. Andrew

Re: [PATCH net-next] net: dsa: Fix dependencies with HSR

2021-02-20 Thread Vladimir Oltean
On Fri, Feb 19, 2021 at 09:12:21PM -0800, Florian Fainelli wrote: > The core DSA framework uses hsr_is_master() which would not resolve to a > valid symbol if HSR is built-into the kernel and DSA is a module. > > Fixes: 18596f504a3e ("net: dsa: add support for offloading HSR") > Reported-by:

Re: [PATCH v5 0/2] checkpatch: add verbose mode

2021-02-20 Thread Joe Perches
On Sat, 2021-02-20 at 17:32 +0530, Dwaipayan Ray wrote: > Add a new verbose mode to checkpatch. The verbose test > descriptions are read from the checkpatch documentation > file at `Documentation/dev-tools/checkpatch.rst`. > > The verbose mode is optional and can be enabled by the > flag -v or

[PATCH] virt: acrn: Use vfs_poll() instead of f_op->poll()

2021-02-20 Thread Yejune Deng
Use vfs_poll() is a more advanced function in acrn_irqfd_assign(). as the same time, modify the definition of events. Signed-off-by: Yejune Deng --- drivers/virt/acrn/irqfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virt/acrn/irqfd.c

Re: [PATCH 1/1] efi/efivars: ConInDev, ConOutDev, ConErrDev are volatile

2021-02-20 Thread Ard Biesheuvel
(cc Peter) On Thu, 18 Feb 2021 at 21:18, Heinrich Schuchardt wrote: > > UEFI variables ConInDev, ConOutDev, ConErrDev are volatile variables that > are set by the firmware on every reset. It does not make sense to set these > variables via the efivarfs filesystem. > > Signed-off-by: Heinrich

RE: [PATCH v21 4/4] scsi: ufs: Add HPB 2.0 support

2021-02-20 Thread Avri Altman
> kmem_cache_destroy(hpb->map_req_cache); > @@ -1670,7 +2109,7 @@ void ufshpb_init_hpb_lu(struct ufs_hba *hba, struct > scsi_device *sdev) > if (ret) > goto out; > > - hpb = ufshpb_alloc_hpb_lu(hba, lun, >ufshpb_dev, > + hpb = ufshpb_alloc_hpb_lu(hba,

[PATCH 2/2] mmc: uniphier-sd: Fix a resource leak in the remove function

2021-02-20 Thread Christophe JAILLET
A 'tmio_mmc_host_free()' call is missing in the remove function, in order to balance a 'tmio_mmc_host_alloc()' call in the probe. This is done in the error handling path of the probe, but not in the remove function. Add the missing call. Fixes: 3fd784f745dd ("mmc: uniphier-sd: add UniPhier

[PATCH 1/2] mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()

2021-02-20 Thread Christophe JAILLET
A 'uniphier_sd_clk_enable()' call should be balanced by a corresponding 'uniphier_sd_clk_disable()' call. This is done in the remove function, but not in the error handling path of the probe. Add the missing call. Fixes: 3fd784f745dd ("mmc: uniphier-sd: add UniPhier SD/eMMC controller driver")

Re: [PATCH net-next] net: dsa: Fix dependencies with HSR

2021-02-20 Thread George McCollister
On Fri, Feb 19, 2021 at 11:14 PM Florian Fainelli wrote: > > > > On 2/19/2021 9:12 PM, Florian Fainelli wrote: > > The core DSA framework uses hsr_is_master() which would not resolve to a > > valid symbol if HSR is built-into the kernel and DSA is a module. > > > > Fixes: 18596f504a3e ("net: dsa:

Re: WARNING in iov_iter_revert (2)

2021-02-20 Thread syzbot
syzbot has bisected this issue to: commit 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 Author: Linus Torvalds Date: Tue Jan 19 19:41:16 2021 + tty: implement write_iter bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1009a9f2d0 start commit: dcc0b490 Merge tag

[PATCH] staging: media/atomisp: don't compile unused code

2021-02-20 Thread karthik alapati
currently the functions defined in ibuf_ctrl_rmgr.c file are only used by isys_init.c when CONFIG_VIDEO_ATOMISP_ISP2401 is selected so dont't compile it when not needed, also fixes some sparse warnings Signed-off-by: karthik alapati --- is this the right patch or just compiling out those

Re: [PATCH] KVM: s390: use ARRAY_SIZE instead of division operation

2021-02-20 Thread kernel test robot
://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Yang-Li/KVM-s390-use-ARRAY_SIZE-instead-of-division-operation/20210220-162731 base: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features config: s390-randconfig-c003-20210220 (attached

[PATCH v2] staging: wimax: i2400m: add space before open parenthesis

2021-02-20 Thread Rajesh Kumbhakar
netdev.c fixing style ERROR: space required before the open parenthesis '(' Signed-off-by: Rajesh Kumbhakar --- Changes in v2: - Removed filename from commit message. drivers/staging/wimax/i2400m/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-20 Thread Jari Ruusu
On Friday, February 19, 2021 5:23 PM, Jari Ruusu wrote: > My contribution here is trying to point you guys to right direction. I have been able to narrow the beginning of the problem to these kernels: 4.14.188 ... 4.14.202 Same "fix" that went info 4.14.y is also bugging 4.19.y kernels. --

[PATCH] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry

2021-02-20 Thread Jan Kiszka
From: Jan Kiszka Add the DT entry for a watchdog based on RTI1. On SR1.0 silicon, it requires additional firmware on the MCU R5F cores to handle the expiry, e.g. https://github.com/siemens/k3-rti-wdt. As this firmware will also lock the power domain to protect it against premature shutdown,

Re: [PATCH 01/20] net: phy: realtek: Fix events detection failure in LPI mode

2021-02-20 Thread Heiner Kallweit
On 20.02.2021 10:02, Serge Semin wrote: > On Thu, Feb 11, 2021 at 10:39:41AM +, Russell King - ARM Linux admin > wrote: >> On Wed, Feb 10, 2021 at 07:47:20PM +0300, Serge Semin wrote: >>> On Tue, Feb 09, 2021 at 10:56:46AM +, Russell King - ARM Linux admin >>> wrote: On Tue, Feb 09,

[PATCH] staging: wimax/i2400m: fix byte-order type issue

2021-02-20 Thread karthik alapati
fix sparse type warning by converting le32 types to host byte-order types before comparison Signed-off-by: karthik alapati --- drivers/staging/wimax/i2400m/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/fw.c

[PATCH] staging: wimax/i2400m: fix byte-order type issue

2021-02-20 Thread karthek
fix sparse type warning by converting le32 types to host byte-order types before comparison Signed-off-by: karthek --- drivers/staging/wimax/i2400m/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/fw.c b/drivers/staging/wimax/i2400m/fw.c

Re: [PATCH] staging: wimax: i2400m: add space before open parenthesis

2021-02-20 Thread Greg KH
On Sat, Feb 20, 2021 at 05:58:35PM +0530, RajMAIN wrote: > > On 20-02-2021 16:42, Greg KH wrote: > > On Sat, Feb 20, 2021 at 02:48:16AM -0800, Rajesh Kumbhakar wrote: > > > netdev.c > > Why is this here? > > You mean that filename? I thought I should mention it. Should I remove it > and

Please respond back

2021-02-20 Thread Adrien Saif
-- Hello, This is attorney Adrien Saif, the legal practitioner to Qatif Oil And Gas Group of Companies, Did you receive the proposal we sent to you via email days ago? Best Regards, Adrien Saif

Re: [PATCH] staging: wimax: i2400m: add space before open parenthesis

2021-02-20 Thread RajMAIN
On 20-02-2021 16:42, Greg KH wrote: On Sat, Feb 20, 2021 at 02:48:16AM -0800, Rajesh Kumbhakar wrote: netdev.c Why is this here? You mean that filename? I thought I should mention it. Should I remove it and resubmit?

[PATCH] staging: wimax/i2400m: fix byte-order issue

2021-02-20 Thread karthik alapati
fix sparse byte-order warnings by converting host byte-order types to le32 types Signed-off-by: karthik alapati --- drivers/staging/wimax/i2400m/op-rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/op-rfkill.c

[PATCH] staging: wimax/i2400m: fix byte-order issue

2021-02-20 Thread karthek
fix sparse byte-order warnings by converting host byte-order types to le32 types Signed-off-by: karthek --- drivers/staging/wimax/i2400m/op-rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/op-rfkill.c

Re: [PATCH v3 3/8] xen/events: avoid handling the same event on two cpus at the same time

2021-02-20 Thread Julien Grall
Hi Juergen, On 19/02/2021 15:40, Juergen Gross wrote: When changing the cpu affinity of an event it can happen today that (with some unlucky timing) the same event will be handled on the old and the new cpu at the same time. Avoid that by adding an "event active" flag to the per-event data and

Re: [PATCH v3 2/8] xen/events: don't unmask an event channel when an eoi is pending

2021-02-20 Thread Julien Grall
Hi Juergen, On 19/02/2021 15:40, Juergen Gross wrote: An event channel should be kept masked when an eoi is pending for it. When being migrated to another cpu it might be unmasked, though. In order to avoid this keep three different flags for each event channel to be able to distinguish

[PATCH v5 2/2] docs: add documentation for checkpatch

2021-02-20 Thread Dwaipayan Ray
Add documentation for kernel script checkpatch.pl. This documentation is also parsed by checkpatch to enable a verbose mode. The checkpatch message types are grouped by usage. Under each group the types are described briefly. 34 of such types are documented. Signed-off-by: Dwaipayan Ray ---

[PATCH v5 1/2] checkpatch: add verbose mode

2021-02-20 Thread Dwaipayan Ray
Add a new verbose mode to checkpatch.pl to emit additional verbose test descriptions. The verbose mode is optional and can be enabled by the flag -v or --verbose. The test descriptions are parsed from the checkpatch documentation file at `Documentation/dev-tools/checkpatch.rst`. The test

[PATCH v5 0/2] checkpatch: add verbose mode

2021-02-20 Thread Dwaipayan Ray
Add a new verbose mode to checkpatch. The verbose test descriptions are read from the checkpatch documentation file at `Documentation/dev-tools/checkpatch.rst`. The verbose mode is optional and can be enabled by the flag -v or --verbose. The documentation file is only parsed by checkpatch.pl if

Re: [PATCH v2] net: phy: add Marvell 88X2222 transceiver support

2021-02-20 Thread Russell King - ARM Linux admin
On Sat, Feb 20, 2021 at 12:46:23PM +0300, Ivan Bornyakov wrote: > Add basic support for the Marvell 88X multi-speed ethernet > transceiver. > > This PHY provides data transmission over fiber-optic as well as Twinax > copper links. The 88X supports 2 ports of 10GBase-R and 1000Base-X > on

Re: [PATCH 2/7] perf cs-etm: Only search timestamp in current sample's queue.

2021-02-20 Thread Leo Yan
On Fri, Feb 12, 2021 at 04:45:08PM +0200, James Clark wrote: > Change initial timestamp search to only operate on the queue > related to the current event. In a later change the bounds > of the aux record will also be used to reset the decoder and > the record is only relevant to a single queue.

[PATCH] staging: wimax: fix sparse incorrect type issue

2021-02-20 Thread karthik alapati
fix sparse warning by casting to explicit user address-space pointer type Signed-off-by: karthik alapati --- drivers/staging/wlan-ng/p80211netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c

Re: [PATCH] staging: wimax: i2400m: add space before open parenthesis

2021-02-20 Thread Greg KH
On Sat, Feb 20, 2021 at 02:48:16AM -0800, Rajesh Kumbhakar wrote: > netdev.c Why is this here?

Re: [PATCH v4] mfd: da9063: Support SMBus and I2C mode

2021-02-20 Thread Wolfram Sang
> Is the patch already on the way upstream? Can't really speak for Lee here, but during the merge window patches are usually not applied. So, in something like 2 weeks, usually collecting for the next cycle begins. Looking at the CC list, I think you added all the relevant people, so it seems

Re: [PATCH] virt: acrn: Use vfs_poll() instead of f_op->poll()

2021-02-20 Thread Yejune Deng
OK,I will adopt it and resubmit. On Sat, Feb 20, 2021 at 5:48 PM Shuo A Liu wrote: > > Thanks for the patch. > > On Fri 19.Feb'21 at 17:26:12 +0800, Yejune Deng wrote: > >In acrn_irqfd_assign(), use vfs_poll() is a more advanced function, > >as the same time, modify the definition of events. >

[PATCH] staging: wimax: i2400m: add space before open parenthesis

2021-02-20 Thread Rajesh Kumbhakar
netdev.c fixing style ERROR: space required before the open parenthesis '(' Signed-off-by: Rajesh Kumbhakar --- drivers/staging/wimax/i2400m/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/netdev.c

KASAN: use-after-free Write in j1939_can_recv

2021-02-20 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:f40ddce8 Linux 5.11 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17073738d0 kernel config: https://syzkaller.appspot.com/x/.config?x=e53d04227c52a0df dashboard link:

Re: [PATCH net] net: l2tp: reduce log level when passing up invalid packets

2021-02-20 Thread Matthias Schiffer
Hi Tom, On 2/19/21 9:12 PM, Tom Parkin wrote: Hi Matthias, Thanks for your patch! On Fri, Feb 19, 2021 at 20:06:15 +0100, Matthias Schiffer wrote: Before commit 5ee759cda51b ("l2tp: use standard API for warning log messages"), it was possible for userspace applications to use their own

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-20 Thread Greg Kroah-Hartman
On Sat, Feb 20, 2021 at 03:02:54PM +0800, Hanjun Guo wrote: > On 2021/2/19 17:08, Greg Kroah-Hartman wrote: > > On Fri, Feb 19, 2021 at 04:54:24PM +0800, Hanjun Guo wrote: > > > Hi Greg, > > > > > > On 2021/1/26 15:29, Greg Kroah-Hartman wrote: > > > [...] > > > > > > > > I want to see companies

Re: [PATCH v5] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2021-02-20 Thread Huacai Chen
Hi, Chenyang, On Fri, Feb 19, 2021 at 5:11 PM Chenyang Li wrote: > > This patch adds an initial DRM driver for the Loongson LS7A1000 > bridge chip(LS7A). The LS7A bridge chip contains two display > controllers, support dual display output. The maximum support for > each channel display is to

Re: [PATCH 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-20 Thread liulongfang
On 2021/2/5 19:44, Herbert Xu Wrote: > On Fri, Feb 05, 2021 at 06:10:57PM +0800, Longfang Liu wrote: >> If this configuration item is not turned on, >> the allocation of crypto_tfm will fail when >> the shash algorithm calculates the hash >> through the software. >> >> Signed-off-by: Longfang Liu

<    1   2   3   >