Re: [PATCH 1/4] arm64: expose orig_x0 in the user_pt_regs structure

2021-03-26 Thread Andrei Vagin
On Fri, Mar 26, 2021 at 11:28 AM Catalin Marinas wrote: > > On Mon, Mar 22, 2021 at 03:50:50PM -0700, Andrei Vagin wrote: > > diff --git a/arch/arm64/include/uapi/asm/ptrace.h > > b/arch/arm64/include/uapi/asm/ptrace.h > > index 758ae984ff97..3c118c5b0893 100644 > > --- a/arch/arm64/include/uapi/

Re: [RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-26 Thread Rob Clark
On Fri, Mar 26, 2021 at 4:48 PM Rob Herring wrote: > > On Fri, Mar 26, 2021 at 4:13 PM Rob Clark wrote: > > > > On Fri, Mar 26, 2021 at 12:48 PM Rob Herring wrote: > > > > > > On Fri, Mar 26, 2021 at 9:20 AM Rob Clark wrote: > > > > > > > > On Fri, Mar 26, 2021 at 8:18 AM Rob Clark wrote: > >

[PATCH v1 1/1] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-03-26 Thread Kuppuswamy Sathyanarayanan
In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions are not supported. So handle #VE due to these instructions as no ops. Signed-off-by: Kuppuswamy Sathyanarayanan Reviewed-by: Andi Kleen --- Changes since previous series: * Suppressed MWAIT feature as per Andi's comment. * Ad

Re: [PATCH] PCI: Disallow retraining link for Atheros QCA98xx chips on non-Gen1 PCIe bridges

2021-03-26 Thread Krzysztof Wilczyński
Hi Pali, Thank you for sending the patch over! [...] > +static int pcie_change_tls_to_gen1(struct pci_dev *parent) Just a nitpick, so feel free to ignore it. I would just call the variable "dev" as we pass a pointer to a particular device, but it does not matter as much, so I am leaving this to

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-26 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:40:14PM -0400, Joel Fernandes (Google) wrote: > From: Josh Don > > A single unsigned long is insufficient as a cookie value for core > scheduling. We will minimally have cookie values for a per-task and a > per-group interface, which must be combined into an overall coo

[PATCH v2 3/3] drm/nouveau: begin documenting core nouveau structures

2021-03-26 Thread Lyude Paul
From: Jeremy Cline Start on documentation for the Nouveau device structure and the NVIF client structure it uses. This documentation is not complete as the structures are non-trivial and I am not familiar with large portions of them. Signed-off-by: Jeremy Cline Signed-off-by: Lyude Paul --- d

[PATCH v2 2/3] drm/nouveau: manage nouveau_drm lifetime with devres

2021-03-26 Thread Lyude Paul
From: Jeremy Cline Make use of the devm_drm_dev_alloc() API to bind the lifetime of nouveau_drm structure to the drm_device. This is important because a reference to nouveau_drm is accessible from drm_device, which is provided to a number of DRM layer callbacks that can run after the deallocation

[PATCH v2 1/3] drm/nouveau: Use helper to convert nouveau_drm to drm_device

2021-03-26 Thread Lyude Paul
From: Jeremy Cline In order to use the resource-managed allocation of a struct drm_device instance, it is recommended to embed the drm_device instance within the driver-specific structure. As there is already a helper to convert a drm_device to a nouveau_drm struct, this adds an inverse function

Re: [PATCH] riscv: Use $(LD) instead of $(CC) to link vDSO

2021-03-26 Thread Nathan Chancellor
On Sat, Mar 27, 2021 at 12:05:34AM +0800, kernel test robot wrote: > Hi Nathan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.12-rc4 next-20210326] > [If your patch is applied to the wrong git t

RE: [PATCH] net: intel: Remove unused function pointer typedef ixgbe_mc_addr_itr

2021-03-26 Thread Switzer, David
>-Original Message- >From: Chen Lin >Sent: Monday, February 15, 2021 4:05 AM >To: da...@davemloft.net; k...@kernel.org >Cc: Brandeburg, Jesse ; Nguyen, Anthony L >; intel-wired-...@lists.osuosl.org; >net...@vger.kernel.org; linux-kernel@vger.kernel.org; Chen Lin > >Subject: [PATCH] net:

Re: [PATCH bpf-next 2/5] libbpf: add helpers for preparing netlink attributes

2021-03-26 Thread Andrii Nakryiko
On Thu, Mar 25, 2021 at 5:01 AM Kumar Kartikeya Dwivedi wrote: > > This change introduces a few helpers to wrap open coded attribute > preparation in netlink.c. > > Every nested attribute's closure must happen using the helper > end_nlattr_nested, which sets its length properly. NLA_F_NESTED is >

xilinx_emaclite.c:undefined reference to `devm_ioremap_resource'

2021-03-26 Thread kernel test robot
Hi Gary, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0f4498cef9f5cd18d7c6639a2a902ec1edc5be4e commit: 18af77c50fede5b3fc22aa9f0a9b255a5c5285c9 drivers: net: xilinx_emaclite: remove arch limitation date: 5 week

Re: [PATCH -tip v5 00/12] kprobes: Fix stacktrace with kretprobes on x86

2021-03-26 Thread Masami Hiramatsu
On Fri, 26 Mar 2021 21:28:26 +0900 Masami Hiramatsu wrote: > Hello, > > Here is the 5th version of the series to fix the stacktrace with kretprobe > on x86. After merging this, I'll fix other architectures. > > The previous version is; > > https://lore.kernel.org/bpf/161639518354.895304.156275

Re: [RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-26 Thread Rob Herring
On Fri, Mar 26, 2021 at 4:13 PM Rob Clark wrote: > > On Fri, Mar 26, 2021 at 12:48 PM Rob Herring wrote: > > > > On Fri, Mar 26, 2021 at 9:20 AM Rob Clark wrote: > > > > > > On Fri, Mar 26, 2021 at 8:18 AM Rob Clark wrote: > > > > > > > > On Fri, Mar 26, 2021 at 5:38 AM Thierry Reding > > > >

Re: [PATCH v8 3/3] lib: zstd: Upgrade to latest upstream zstd version 1.4.10

2021-03-26 Thread Nick Terrell
On Fri, Mar 26, 2021 at 3:02 PM kernel test robot wrote: > > Hi Nick, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on cryptodev/master] > [also build test WARNING on kdave/for-next f2fs/dev-test linus/master > v5.12-rc4 next-2021

[PATCH v2 1/1] x86/tdx: Add __tdcall() and __tdvmcall() helper functions

2021-03-26 Thread Kuppuswamy Sathyanarayanan
Implement common helper functions to communicate with the TDX Module and VMM (using TDCALL instruction). __tdvmcall() function can be used to request services from VMM. __tdcall() function can be used to communicate with the TDX Module. Using common helper functions makes the code more readable

Re: [PATCH v5 1/1] fs: Allow no_new_privs tasks to call chroot(2)

2021-03-26 Thread Askar Safin
Hi. Unprivileged users already can do chroot. He should simply create userns and then call "chroot" inside. As an LWN commenter noted, you can simply run "unshare -r /usr/sbin/chroot some-dir". (I recommend reading all comments: https://lwn.net/Articles/849125/ .) Also: if you need chroot for p

Re: [PATCH bpf-next 1/5] tools pkt_cls.h: sync with kernel sources

2021-03-26 Thread Andrii Nakryiko
On Thu, Mar 25, 2021 at 5:01 AM Kumar Kartikeya Dwivedi wrote: > > Update the header file so we can use the new defines in subsequent > patches. > > Reviewed-by: Toke Høiland-Jørgensen > Signed-off-by: Kumar Kartikeya Dwivedi > --- > tools/include/uapi/linux/pkt_cls.h | 174

Re: [PATCH v9 0/3] J7200: Add support for GPIO and higher speed modes in MMCSD subsystems

2021-03-26 Thread Nishanth Menon
On Fri, 26 Mar 2021 12:11:17 +0530, Aswath Govindraju wrote: > The following series of patches > - Add support for GPIO subsystem in main and wakeup domains. > - Add voltage regulator device tree nodes and their corresponding pinmux > to support power cycle and voltage switch required for UHS-I m

[PATCH 19/19] ipv4: tcp_lp.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/resrved/reserved/ s/whithin/within/ Signed-off-by: Bhaskar Chowdhury --- net/ipv4/tcp_lp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index e6459537d4d2..82b36ec3f2f8 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c @@ -6

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-03-26 Thread Andy Lutomirski
Sigh, cc linux-api, not linux-abi. On Fri, Mar 26, 2021 at 4:12 PM Andy Lutomirski wrote: > > Hi all- > > After some discussion on IRC, I have a proposal for a Linux ABI for > using Intel AMX and other similar features. It works like this: > > First, we make XCR0 dynamic. This looks a lot like

[PATCH 18/19] ipv4: ip_output.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/readibility/readability/ s/insufficent/insufficient/ Signed-off-by: Bhaskar Chowdhury --- net/ipv4/ip_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 3aab53beb4ea..c3efc7d658f6 100644 --- a/net/ipv4/ip_output.c

[PATCH 17/19] ipv6: addrconf.c: Fix a typo

2021-03-26 Thread Bhaskar Chowdhury
s/Identifers/Identifiers/ Signed-off-by: Bhaskar Chowdhury --- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index f2337fb756ac..8421f58ea6ea 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -2358,7

[PATCH 15/19] kcm: kcmsock.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/synchonization/synchronization/ s/aready/already/ Signed-off-by: Bhaskar Chowdhury --- net/kcm/kcmsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index d0b56ffbb057..6201965bd822 100644 --- a/net/kcm/kcmsock.c +++ b/net/kcm/k

[PATCH 16/19] ipv6: route.c: A spello fix

2021-03-26 Thread Bhaskar Chowdhury
s/notfication/notification/ Signed-off-by: Bhaskar Chowdhury --- net/ipv6/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1536f4948e86..dfe5fb260e4c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -6093,7 +6093,7 @@ vo

[PATCH 14/19] iucv: af_iucv.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/unitialized/uninitialized/ s/notifcations/notifications/ Signed-off-by: Bhaskar Chowdhury --- net/iucv/af_iucv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index 6092d5cb7168..0fdb389c3390 100644 --- a/net/iucv/af_iucv.c +++

[PATCH 12/19] mac80211: cfg.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/assocaited/associated/ Signed-off-by: Bhaskar Chowdhury --- net/mac80211/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index c4c70e30ad7f..62f2f356d401 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1486,7 +1486,

[PATCH 11/19] ncsi: internal.h: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/Firware/Firmware/ Signed-off-by: Bhaskar Chowdhury --- net/ncsi/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ncsi/internal.h b/net/ncsi/internal.h index e37102546be6..49031f804276 100644 --- a/net/ncsi/internal.h +++ b/net/ncsi/internal.h @@ -100,7 +100,7

[PATCH 13/19] llc: llc_core.c: COuple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/searchs/searches/ ...two different places. Signed-off-by: Bhaskar Chowdhury --- net/llc/llc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c index 64d4bef04e73..6e387aadffce 100644 --- a/net/llc/llc_core.c +++ b/net/llc/llc

[PATCH 10/19] mptcp: subflow.c: Fix a typo

2021-03-26 Thread Bhaskar Chowdhury
s/concerened/concerned/ Signed-off-by: Bhaskar Chowdhury --- net/mptcp/subflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index 3d47d670e665..f1b6e4d0b95f 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -1076,7 +1

[PATCH 09/19] netfilter: nf_conntrack_acct.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/Accouting/Accounting/ Signed-off-by: Bhaskar Chowdhury --- net/netfilter/nf_conntrack_acct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_conntrack_acct.c b/net/netfilter/nf_conntrack_acct.c index 2ccda8ace796..91bc8df3e4b0 100644 --- a/net/netfilter/nf

[PATCH 08/19] netfilter: ipvs: A spello fix

2021-03-26 Thread Bhaskar Chowdhury
s/registerd/registered/ Signed-off-by: Bhaskar Chowdhury --- net/netfilter/ipvs/ip_vs_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index 0c132ff9b446..128690c512df 100644 --- a/net/netfilter/ipvs/ip_v

[PATCH 07/19] sm_statefuns.c: Mundane spello fixes

2021-03-26 Thread Bhaskar Chowdhury
s/simulataneous/simultaneous/ .three different places. s/association/association/ s/interpeter/interpreter/ Signed-off-by: Bhaskar Chowdhury --- net/sctp/sm_statefuns.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_stat

[PATCH 06/19] bearer.h: Spellos fixed

2021-03-26 Thread Bhaskar Chowdhury
s/initalized/initialized/ three different places. Signed-off-by: Bhaskar Chowdhury --- net/tipc/bearer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 6bf4550aa1ac..57c6a1a719e2 100644 --- a/net/tipc/bearer.h +++ b/net/t

[PATCH] reg.c: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/ingoring/ignoring/ Signed-off-by: Bhaskar Chowdhury --- net/wireless/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 21536c48deec..68db914df642 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -3404,7 +3404,7 @@

[PATCH 05/19] node.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/synching/syncing/ Signed-off-by: Bhaskar Chowdhury --- net/tipc/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tipc/node.c b/net/tipc/node.c index 008670d1f43e..713550c16eba 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -2009,7 +2009,7 @@ static bool tip

[PATCH 02/19] xfrm_user.c: Added a punctuation

2021-03-26 Thread Bhaskar Chowdhury
s/wouldnt/wouldn\'t/ Signed-off-by: Bhaskar Chowdhury --- net/xfrm/xfrm_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 5a0ef4361e43..df8bc8fc724c 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -1761,7

[PATCH 04/19] reg.c: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/ingoring/ignoring/ Signed-off-by: Bhaskar Chowdhury --- net/wireless/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 21536c48deec..68db914df642 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -3404,7 +3404,7 @@

[PATCH 03/19] af_x25.c: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/facilties/facilities/ Signed-off-by: Bhaskar Chowdhury --- net/x25/af_x25.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index ff687b97b2d9..44d6566dd23e 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -1018,7 +1018,7 @@ int x2

[PATCH] xfrm_user.c: Added a punctuation

2021-03-26 Thread Bhaskar Chowdhury
s/wouldnt/wouldn\'t/ Signed-off-by: Bhaskar Chowdhury --- net/xfrm/xfrm_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 5a0ef4361e43..df8bc8fc724c 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -1761,

[PATCH] sm_statefuns.c: Mundane spello fixes

2021-03-26 Thread Bhaskar Chowdhury
s/simulataneous/simultaneous/in three dirrent places. s/tempory/temporary/ s/interpeter/interpreter/ Signed-off-by: Bhaskar Chowdhury --- net/sctp/sm_statefuns.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefu

[PATCH 01/19] xfrm_policy.c : Mundane typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/sucessful/successful/ Signed-off-by: Bhaskar Chowdhury --- net/xfrm/xfrm_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index b74f28cabe24..156347fd7e2e 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.

[PATCH] node.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/synching/syncing/ Signed-off-by: Bhaskar Chowdhury --- net/tipc/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tipc/node.c b/net/tipc/node.c index 008670d1f43e..713550c16eba 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c @@ -2009,7 +2009,7 @@ static bool tip

[PATCH] netfilter: nf_conntrack_acct.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/Accouting/Accounting/ Signed-off-by: Bhaskar Chowdhury --- net/netfilter/nf_conntrack_acct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_conntrack_acct.c b/net/netfilter/nf_conntrack_acct.c index 2ccda8ace796..91bc8df3e4b0 100644 --- a/net/netfilter/nf

[PATCH] netfilter: ipvs: A spello fix

2021-03-26 Thread Bhaskar Chowdhury
s/registerd/registered/ Signed-off-by: Bhaskar Chowdhury --- net/netfilter/ipvs/ip_vs_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c index 0c132ff9b446..128690c512df 100644 --- a/net/netfilter/ipvs/ip_v

[PATCH] mptcp: subflow.c: Fix a typo

2021-03-26 Thread Bhaskar Chowdhury
s/concerened/concerned/ Signed-off-by: Bhaskar Chowdhury --- net/mptcp/subflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index 3d47d670e665..f1b6e4d0b95f 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -1076,7 +1

[PATCH] llc: llc_core.c: COuple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/searchs/searches/ two different places. Signed-off-by: Bhaskar Chowdhury --- net/llc/llc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c index 64d4bef04e73..6e387aadffce 100644 --- a/net/llc/llc_core.c +++ b/net/llc/l

[PATCH] ncsi: internal.h: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/Firware/Firmware/ Signed-off-by: Bhaskar Chowdhury --- net/ncsi/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ncsi/internal.h b/net/ncsi/internal.h index e37102546be6..49031f804276 100644 --- a/net/ncsi/internal.h +++ b/net/ncsi/internal.h @@ -100,7 +100,7

[PATCH] mac80211: cfg.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/assocaited/associated/ Signed-off-by: Bhaskar Chowdhury --- net/mac80211/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index c4c70e30ad7f..62f2f356d401 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1486,7 +1486,

[PATCH] kcm: kcmsock.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/synchonization/synchronization/ s/aready/already/ Signed-off-by: Bhaskar Chowdhury --- net/kcm/kcmsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index d0b56ffbb057..6201965bd822 100644 --- a/net/kcm/kcmsock.c +++ b/net/kcm

[PATCH] iucv: af_iucv.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/unitialized/uninitialized/ s/notifcations/notifications/ Signed-off-by: Bhaskar Chowdhury --- net/iucv/af_iucv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index 6092d5cb7168..0fdb389c3390 100644 --- a/net/iucv/af_iucv.c ++

[PATCH] ipv6: route.c: A spello fix

2021-03-26 Thread Bhaskar Chowdhury
s/notfication/notification/ Signed-off-by: Bhaskar Chowdhury --- net/ipv6/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1536f4948e86..dfe5fb260e4c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -6093,7 +6093,7 @@ vo

[PATCH] ipv4: tcp_lp.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/resrved/reserved/ s/within/within/ Signed-off-by: Bhaskar Chowdhury --- net/ipv4/tcp_lp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index e6459537d4d2..82b36ec3f2f8 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c @@ -63

[PATCH] ipv6: addrconf.c: Fix a typo

2021-03-26 Thread Bhaskar Chowdhury
s/Identifers/Identifiers/ Signed-off-by: Bhaskar Chowdhury --- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index f2337fb756ac..8421f58ea6ea 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -2358,

[PATCH] ipv4: ip_output.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/readibility/readability/ s/insufficent/insufficient/ Signed-off-by: Bhaskar Chowdhury --- net/ipv4/ip_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 3aab53beb4ea..c3efc7d658f6 100644 --- a/net/ipv4/ip_output.c

[PATCH] bearer.h: Spellos fixed

2021-03-26 Thread Bhaskar Chowdhury
s/initalized/initialized/ ...three different places Signed-off-by: Bhaskar Chowdhury --- net/tipc/bearer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 6bf4550aa1ac..57c6a1a719e2 100644 --- a/net/tipc/bearer.h +++ b/net/tip

[PATCH] af_x25.c: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/facilties/facilities/ Signed-off-by: Bhaskar Chowdhury --- net/x25/af_x25.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index ff687b97b2d9..44d6566dd23e 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -1018,7 +1018,7 @@ int x2

[PATCH 00/19] net: Trivial spello/typo fixes throughout the tree

2021-03-26 Thread Bhaskar Chowdhury
This is a patch series with all mundane/trivial/rudimentary typo/spello/ fixes in various files in the net subsystem. Bhaskar Chowdhury (19): xfrm_policy.c : Mundane typo fix xfrm_user.c: Added a punctuation af_x25.c: Fix a spello reg.c: Fix a spello node.c: A typo fix bearer.h: Spello

[PATCH 2/2] arm64: dts: msm8996: Mark the GPU's SMMU as an adreno one.

2021-03-26 Thread Eric Anholt
This enables the adreno-specific SMMU path that sets HUPCF so (user-managed) page faults don't wedge the GPU. Signed-off-by: Eric Anholt --- We've been seeing a flaky test per day or so in Mesa CI where the kernel gets wedged after an iommu fault turns into CP errors. With this patch, the CI is

Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-03-26 Thread Andy Lutomirski
Hi all- After some discussion on IRC, I have a proposal for a Linux ABI for using Intel AMX and other similar features. It works like this: First, we make XCR0 dynamic. This looks a lot like Keno's patch but with a different API, outlined below. Different tasks can have different XCR0 values.

[PATCH 1/2] iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.

2021-03-26 Thread Eric Anholt
db820c wants to use the qcom smmu path to get HUPCF set (which keeps the GPU from wedging and then sometimes wedging the kernel after a page fault), but it doesn't have separate pagetables support yet in drm/msm so we can't go all the way to the TTBR1 path. Signed-off-by: Eric Anholt --- We've b

Re: [PATCH] livepatch: Replace the fake signal sending with TIF_NOTIFY_SIGNAL infrastructure

2021-03-26 Thread Jens Axboe
On 3/26/21 8:30 AM, Miroslav Benes wrote: > Livepatch sends a fake signal to all remaining blocking tasks of a > running transition after a set period of time. It uses TIF_SIGPENDING > flag for the purpose. Commit 12db8b690010 ("entry: Add support for > TIF_NOTIFY_SIGNAL") added a generic infrastru

Re: [PATCH] io_uring: remove unsued assignment to pointer io

2021-03-26 Thread Jens Axboe
On 3/26/21 1:52 PM, Colin King wrote: > From: Colin Ian King > > There is an assignment to io that is never read after the assignment, > the assignment is redundant and can be removed. Thanks, applied. -- Jens Axboe

Re: [PATCH bpf-next v2 6/6] selftests/bpf: Add a series of tests for bpf_snprintf

2021-03-26 Thread Andrii Nakryiko
On Tue, Mar 23, 2021 at 7:23 PM Florent Revest wrote: > > This exercises most of the format specifiers when things go well. > > Signed-off-by: Florent Revest > --- Looks good. Please add a no-argument test case as well. Acked-by: Andrii Nakryiko > .../selftests/bpf/prog_tests/snprintf.c

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

2021-03-26 Thread Stephen Rothwell
Hi all, In commit 63c173ff7aa3 ("net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg") Fixes tag Fixes: 5a5586112b92 ("net: stmmac: support FPE link partner hand-shaking has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading

Re: [PATCH bpf-next v2 5/6] libbpf: Introduce a BPF_SNPRINTF helper macro

2021-03-26 Thread Andrii Nakryiko
On Tue, Mar 23, 2021 at 7:23 PM Florent Revest wrote: > > Similarly to BPF_SEQ_PRINTF, this macro turns variadic arguments into an > array of u64, making it more natural to call the bpf_snprintf helper. > > Signed-off-by: Florent Revest > --- > tools/lib/bpf/bpf_tracing.h | 18 ++

Re: [PATCH bpf-next v2 4/6] libbpf: Initialize the bpf_seq_printf parameters array field by field

2021-03-26 Thread Andrii Nakryiko
On Tue, Mar 23, 2021 at 7:23 PM Florent Revest wrote: > > When initializing the __param array with a one liner, if all args are > const, the initial array value will be placed in the rodata section but > because libbpf does not support relocation in the rodata section, any > pointer in this array

Re: [PATCH net-next] net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg

2021-03-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 26 Mar 2021 17:10:46 +0800 you wrote: > From: Mohammad Athari Bin Ismail > > In this patch, "net: stmmac: support FPE link partner hand-shaking > procedure", priv->plat->fpe_cfg wouldn`t be "devm_kzalloc"ed if > d

Re: [PATCH][next] ethtool: fec: Fix bitwise-and with ETHTOOL_FEC_NONE

2021-03-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 26 Mar 2021 14:27:33 + you wrote: > From: Colin Ian King > > Currently ETHTOOL_FEC_NONE_BIT is being used as a mask, however > this is zero and the mask should be using ETHTOOL_FEC_NONE instead. > Fix this. >

Re: [PATCH bpf-next v2 3/6] bpf: Add a bpf_snprintf helper

2021-03-26 Thread Andrii Nakryiko
On Tue, Mar 23, 2021 at 7:23 PM Florent Revest wrote: > > The implementation takes inspiration from the existing bpf_trace_printk > helper but there are a few differences: > > To allow for a large number of format-specifiers, parameters are > provided in an array, like in bpf_seq_printf. > > Becau

Re: 回复: [PATCH 01/10] tick/nohz: Prevent tick_nohz_get_sleep_length() from returning negative value

2021-03-26 Thread Zhou Ti (x2019cwm)
On Fri, 26 Mar 2021 19:54:26 +0100, Rafael J. Wysocki wrote: > On Fri, Mar 26, 2021 at 6:53 PM Zhou Ti (x2019cwm) wrote: > > > > On Fri, 26 Mar 2021 18:01:47 +0100, Rafael J. Wysocki wrote: > > > On Thu, Mar 25, 2021 at 9:37 PM Zhou Ti (x2019cwm) > > > wrote: > > > > > > > > On March 25, 2021 15

[ANNOUNCE] Git v2.31.1

2021-03-26 Thread Junio C Hamano
The latest maintenance release Git v2.31.1 is now available at the usual places. Nothing extraordinary. Just to fix known issues in v2.31 and backport some clean-ups already made for the next feature release. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The follo

Re: [PATCH bpf-next v2 1/6] bpf: Factorize bpf_trace_printk and bpf_seq_printf

2021-03-26 Thread Andrii Nakryiko
On Fri, Mar 26, 2021 at 2:53 PM Andrii Nakryiko wrote: > > On Tue, Mar 23, 2021 at 7:23 PM Florent Revest wrote: > > > > Two helpers (trace_printk and seq_printf) have very similar > > implementations of format string parsing and a third one is coming > > (snprintf). To avoid code duplication and

Re: [PATCH 2/7] io_uring: handle signals for IO threads like a normal thread

2021-03-26 Thread Jens Axboe
On 3/26/21 4:38 PM, Jens Axboe wrote: > On 3/26/21 4:35 PM, Eric W. Biederman wrote: >> Jens Axboe writes: >> >>> On 3/26/21 4:23 PM, Eric W. Biederman wrote: Jens Axboe writes: > On 3/26/21 2:29 PM, Eric W. Biederman wrote: >> Jens Axboe writes: >> >>> We go through va

Re: [PATCH v3 00/25] KVM SGX virtualization support

2021-03-26 Thread Jarkko Sakkinen
On Fri, Mar 19, 2021 at 08:29:27PM +1300, Kai Huang wrote: > This series adds KVM SGX virtualization support. The first 14 patches starting > with x86/sgx or x86/cpu.. are necessary changes to x86 and SGX core/driver to > support KVM SGX virtualization, while the rest are patches to KVM subsystem.

Re: [PATCH v1] RAS/CEC: Memory Corrected Errors consistent event filtering

2021-03-26 Thread Borislav Petkov
On Fri, Mar 26, 2021 at 11:24:43PM +0100, William Roche wrote: > What we want is to make cec_add_elem() to return !0 value only > when the given pfn triggered an action, so that its callers should > log the error. No, this is not what the CEC does - it collects those errors and when it reaches the

Re: [PATCH 2/7] io_uring: handle signals for IO threads like a normal thread

2021-03-26 Thread Jens Axboe
On 3/26/21 4:35 PM, Eric W. Biederman wrote: > Jens Axboe writes: > >> On 3/26/21 4:23 PM, Eric W. Biederman wrote: >>> Jens Axboe writes: >>> On 3/26/21 2:29 PM, Eric W. Biederman wrote: > Jens Axboe writes: > >> We go through various hoops to disallow signals for the IO threa

Re: [PATCH 2/7] io_uring: handle signals for IO threads like a normal thread

2021-03-26 Thread Eric W. Biederman
Jens Axboe writes: > On 3/26/21 4:23 PM, Eric W. Biederman wrote: >> Jens Axboe writes: >> >>> On 3/26/21 2:29 PM, Eric W. Biederman wrote: Jens Axboe writes: > We go through various hoops to disallow signals for the IO threads, but > there's really no reason why we cannot ju

Re: [PATCH 1/1] scripts/spelling.txt: add entries for recent discoveries

2021-03-26 Thread Jens Axboe
On 3/26/21 1:22 PM, Tom Saeger wrote: > @@ -1153,6 +1170,7 @@ quering||querying > queus||queues > randomally||randomly > raoming||roaming > +readded||read > reasearcher||researcher > reasearchers||researchers > reasearch||research davej brought up a good point that this one was actually re-a

[PATCH v4 2/3] usb: misc: ezusb: update to use usb_control_msg_send()

2021-03-26 Thread Anant Thazhemadam
The newer usb_control_msg_{send|recv}() API ensures that a short read is treated as an error, data can be used off the stack, and raw usb pipes need not be created in the calling functions. For this reason, the instance of usb_control_msg() has been replaced with usb_control_msg_send() appropriatel

[PATCH v4 3/3] usb: misc: usbsevseg: update to use usb_control_msg_send()

2021-03-26 Thread Anant Thazhemadam
The newer usb_control_msg_{send|recv}() API ensures that a short read is treated as an error, data can be used off the stack, and raw usb pipes need not be created in the calling functions. For this reason, instances of usb_control_msg() have been replaced with usb_control_msg_send() appropriatel

[PATCH v4 0/3] drivers: usb: misc: update to use usb_control_msg_{send|recv}() API

2021-03-26 Thread Anant Thazhemadam
The new usb_control_msg_{send|recv}() API provides a more convenient way of using usb_control_msg() in some usecases. Using this, short reads are considered as errors, data can be used off the stack, and the need for the calling function to create a raw usb pipe is eliminated. This patch series aim

[PATCH v4 1/3] usb: misc: ehset: update to use the usb_control_msg_{send|recv}() API

2021-03-26 Thread Anant Thazhemadam
The newer usb_control_msg_{send|recv}() API ensures that a short read is treated as an error, data can be used off the stack, and raw usb pipes need not be created in the calling functions. For this reason, instances of usb_control_msg() have been replaced with usb_control_msg_{recv|send}() appropr

RE: [PATCH v2] eeprom/optoe: driver to read/write SFP/QSFP/CMIS EEPROMS

2021-03-26 Thread Don Bollinger
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Friday, March 26, 2021 2:54 PM > To: Don Bollinger > Cc: 'Jakub Kicinski' ; ar...@arndb.de; > gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > brandon_chu...@edge-core.com; wally_w...@accton.com; > aken_

Re: [PATCH 2/7] io_uring: handle signals for IO threads like a normal thread

2021-03-26 Thread Jens Axboe
On 3/26/21 4:23 PM, Eric W. Biederman wrote: > Jens Axboe writes: > >> On 3/26/21 2:29 PM, Eric W. Biederman wrote: >>> Jens Axboe writes: >>> We go through various hoops to disallow signals for the IO threads, but there's really no reason why we cannot just allow them. The IO threads

drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:110:8-15: WARNING opportunity for kmemdup

2021-03-26 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0f4498cef9f5cd18d7c6639a2a902ec1edc5be4e commit: 21254908cbe995a3982a23da32c30d1b43467043 iwlwifi: mvm: add RFI-M support date: 6 weeks ago config: x86_64-allyesconfig (attached as .config) compiler: gcc-9

[PATCH] iwlwifi: mvm: fix memdup.cocci warnings

2021-03-26 Thread kernel test robot
From: kernel test robot drivers/net/wireless/intel/iwlwifi/mvm/rfi.c:110:8-15: WARNING opportunity for kmemdup Use kmemdup rather than duplicating its implementation Generated by: scripts/coccinelle/api/memdup.cocci Fixes: 21254908cbe9 ("iwlwifi: mvm: add RFI-M support") CC: Gregory Greenman

Re: [PATCH v1] RAS/CEC: Memory Corrected Errors consistent event filtering

2021-03-26 Thread William Roche
On 26/03/2021 20:02, Borislav Petkov wrote: On Fri, Mar 26, 2021 at 02:30:29PM -0400, “William Roche wrote: From: William Roche The Corrected Error events collected by the cec_add_elem() have to be consistently filtered out. We fix the case where the value of find_elem() to find the slot of a

Re: [PATCH 2/7] io_uring: handle signals for IO threads like a normal thread

2021-03-26 Thread Eric W. Biederman
Jens Axboe writes: > On 3/26/21 2:29 PM, Eric W. Biederman wrote: >> Jens Axboe writes: >> >>> We go through various hoops to disallow signals for the IO threads, but >>> there's really no reason why we cannot just allow them. The IO threads >>> never return to userspace like a normal thread, a

Re: [PATCH bpf-next v2 2/6] bpf: Add a ARG_PTR_TO_CONST_STR argument type

2021-03-26 Thread Andrii Nakryiko
On Tue, Mar 23, 2021 at 7:23 PM Florent Revest wrote: > > This type provides the guarantee that an argument is going to be a const > pointer to somewhere in a read-only map value. It also checks that this > pointer is followed by a zero character before the end of the map value. > > Signed-off-by:

Re: [PATCH v2] of: Fix kerneldoc output formatting

2021-03-26 Thread Mauro Carvalho Chehab
Em Fri, 26 Mar 2021 13:26:06 -0600 Rob Herring escreveu: > The indentation of the kerneldoc comments affects the output formatting. > Leading tabs in particular don't work, sections need to be indented > under the section header, and several code blocks are reformatted. > > Cc: Frank Rowand > C

[RFC PATCH 0/2] ASoC: remove cppchecks warnings on lm49453 and da732x

2021-03-26 Thread Pierre-Louis Bossart
There are the last two patches in the cleanups, this time I am not sure what the code does and what the proper fix might be. Feedback welcome. Pierre-Louis Bossart (2): ASoC: lm49453: fix useless assignment before return ASoC: da732x: simplify code sound/soc/codecs/da732x.c | 17 ++-

[RFC PATCH 2/2] ASoC: da732x: simplify code

2021-03-26 Thread Pierre-Louis Bossart
cppcheck reports a false positive: sound/soc/codecs/da732x.c:1161:25: warning: Either the condition 'indiv<0' is redundant or there is division by zero at line 1161. [zerodivcond] fref = (da732x->sysclk / indiv); ^ sound/soc/codecs/da732x.c:1158:12: note: Assuming that con

[RFC PATCH 1/2] ASoC: lm49453: fix useless assignment before return

2021-03-26 Thread Pierre-Louis Bossart
Cppcheck warning: sound/soc/codecs/lm49453.c:1210:11: style: Variable 'pll_clk' is assigned a value that is never used. [unreadVariable] pll_clk = BIT(4); ^ FIXME: What is the correct fix? /* fll clk slection */ pll_clk = BIT(4); return 0; is the assignment r

Re: [PATCH] PCI: endpoint: remove redundant initialization of pointer dev

2021-03-26 Thread Krzysztof Wilczyński
Hi Colin, > The pointer dev is being initialized with a value that is > never read and it is being updated later with a new value. The > initialization is redundant and can be removed. [...] > - struct device *dev = epf->epc->dev.parent; > + struct device *dev; > struct pci_epf_bar

[PATCH v3] MIPS: Add support for CONFIG_DEBUG_VIRTUAL

2021-03-26 Thread Florian Fainelli
Provide hooks to intercept bad usages of virt_to_phys() and __pa_symbol() throughout the kernel. To make this possible, we need to rename the current implement of virt_to_phys() into __virt_to_phys_nodebug() and wrap it around depending on CONFIG_DEBUG_VIRTUAL. A similar thing is needed for __pa_s

Re: [PATCH 2/7] io_uring: handle signals for IO threads like a normal thread

2021-03-26 Thread Jens Axboe
On 3/26/21 2:29 PM, Eric W. Biederman wrote: > Jens Axboe writes: > >> We go through various hoops to disallow signals for the IO threads, but >> there's really no reason why we cannot just allow them. The IO threads >> never return to userspace like a normal thread, and hence don't go through >>

Re: [RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-26 Thread Rob Clark
On Fri, Mar 26, 2021 at 12:48 PM Rob Herring wrote: > > On Fri, Mar 26, 2021 at 9:20 AM Rob Clark wrote: > > > > On Fri, Mar 26, 2021 at 8:18 AM Rob Clark wrote: > > > > > > On Fri, Mar 26, 2021 at 5:38 AM Thierry Reding > > > wrote: > > > > > > > > On Wed, Mar 17, 2021 at 06:53:04PM -0700, Ro

Re: [PATCH v3 3/3] gpio: xilinx: Utilize generic bitmap_get_value and _set_value

2021-03-26 Thread Syed Nayyar Waris
On Fri, Mar 26, 2021 at 11:32 PM Andy Shevchenko wrote: > > On Sat, Mar 6, 2021 at 4:08 PM Syed Nayyar Waris wrote: > > > + bitmap_set_value(old, 64, state[0], 32, 0); > > + bitmap_set_value(old, 64, state[1], 32, 32); > > Isn't it effectively bitnap_from_arr32() ? > > > + bitma

Re: [PATCH 1/7] kernel: don't call do_exit() for PF_IO_WORKER threads

2021-03-26 Thread Jens Axboe
On 3/26/21 2:43 PM, Eric W. Biederman wrote: > Jens Axboe writes: > >> Right now we're never calling get_signal() from PF_IO_WORKER threads, but >> in preparation for doing so, don't handle a fatal signal for them. The >> workers have state they need to cleanup when exiting, and they don't do >>

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