Re: [PATCH 0/2] x86: Remove ideal_nops[]

2021-03-15 Thread Sedat Dilek
On Mon, Mar 15, 2021 at 11:14 PM Peter Zijlstra wrote: > > On Mon, Mar 15, 2021 at 07:23:29PM +0100, Sedat Dilek wrote: > > > You mean something like that ^^? > > > > - Sedat - > > > > [1] > > https://git.zx2c4.com/laptop-kernel/commit/?id=116badbe0a18bc36ba90acb8b80cff41f9ab0686 > > *shudder*,

Re: [PATCH v2 3/3] iio: adc: add ADC driver for the TI TSC2046 controller

2021-03-15 Thread Oleksij Rempel
Hi, On Sat, Mar 13, 2021 at 04:11:19PM +, Jonathan Cameron wrote: > On Fri, 12 Mar 2021 11:55:15 +0100 > Oleksij Rempel wrote: > > > Basically the TI TSC2046 touchscreen controller is 8 channel ADC optimized > > for > > the touchscreen use case. By implementing it as IIO ADC device, we can

RE: [EXT] Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-15 Thread Kuldeep Singh
> -Original Message- > From: Pratyush Yadav > Sent: Tuesday, March 16, 2021 12:01 AM > To: Kuldeep Singh > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; Mark Brown ; Rob Herring > ; Vladimir Oltean ; linux- > m...@lists.infradead.org >

Re: [PATCH 6/6] clk: actions: Add NIC and ETHERNET clock support for Actions S500 SoC

2021-03-15 Thread Manivannan Sadhasivam
On Mon, Mar 08, 2021 at 07:18:31PM +0200, Cristian Ciocaltea wrote: > Add support for the missing NIC and ETHERNET clocks in the Actions Semi > Owl S500 SoC clock driver. > > Additionally, change APB clock parent from AHB to the newly added NIC. > > Signed-off-by: Cristian Ciocaltea > --- >

Re: [PATCH 5.10 113/290] net: dsa: implement a central TX reallocation procedure

2021-03-15 Thread gre...@linuxfoundation.org
On Mon, Mar 15, 2021 at 05:06:16PM -0400, Sasha Levin wrote: > On Mon, Mar 15, 2021 at 07:56:02PM +, Vladimir Oltean wrote: > > > Signed-off-by: Vladimir Oltean > > > Tested-by: Christian Eggers # For tail taggers only > > > Tested-by: Kurt Kanzenbach > > > Reviewed-by: Florian Fainelli >

Re: [PATCH V2] x86: events: intel: A letter change in a word to make it sound right,in the file bts.c

2021-03-15 Thread Randy Dunlap
On 3/15/21 10:42 PM, Bhaskar Chowdhury wrote: > > s/kernal/kernel/ > > A punctuation added too. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Punctuation missed, added as per Randy's finding > > arch/x86/events/intel/bts.c | 2 +- > 1 file

Re: [PATCH] platform/x86: pmc_atom: use callback for all dmi quirk entries

2021-03-15 Thread Henning Schild
Hoi Hans, on a slighly different but also related topic. Did you ever come across SMSC SCH5347? Seems to be pretty similar to 56xx, only with spec non public ... and probably less often in use Maybe you happen to have code, or know the differences. We already have it working with a modified copy

[PATCH v2 12/12] docs: path-lookup: update symlink description

2021-03-15 Thread Fox Chen
instead of lookup_real()/vfs_create(), i_op->lookup() and i_op->create() will be called directly. update vfs_open() logic should_follow_link is merged into lookup_last() or open_last_lookup() which returns symlink name instead of an integer. Signed-off-by: Fox Chen ---

[PATCH v2 10/12] docs: path-lookup: update WALK_GET, WALK_PUT desc

2021-03-15 Thread Fox Chen
WALK_GET is changed to WALK_TRAILING with a different meaning. Here it should be WALK_NOFOLLOW. WALK_PUT dosn't exist, we have WALK_MORE. WALK_PUT == !WALK_MORE And there is not should_follow_link(). Related commits: commit 8c4efe22e7c4 ("namei: invert the meaning of WALK_FOLLOW") commit

[PATCH v2 09/12] docs: path-lookup: no get_link()

2021-03-15 Thread Fox Chen
no get_link() anymore. we have step_into() and pick_link(). walk_component() will call step_into(), in turn call pick_link, and return symlink name. Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff

[PATCH v2 11/12] docs: path-lookup: update get_link() ->follow_link description

2021-03-15 Thread Fox Chen
get_link() is merged into pick_link(). i_op->follow_link is replaced with i_op->get_link(). get_link() can return ERR_PTR(0) which equals NULL. Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

[PATCH v2 06/12] docs: path-lookup: Add macro name to symlink limit description

2021-03-15 Thread Fox Chen
Add macro name MAXSYMLINKS to the symlink limit description, so that it is consistent with path name length description above. Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 07/12] docs: path-lookup: i_op->follow_link replaced with i_op->get_link

2021-03-15 Thread Fox Chen
follow_link has been replaced by get_link() which can be called in RCU mode. see commit: commit 6b2553918d8b ("replace ->follow_link() with new method that could stay in RCU mode") Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst | 12 +--- 1 file changed, 5

[PATCH v2 08/12] docs: path-lookup: update i_op->put_link and cookie description

2021-03-15 Thread Fox Chen
No inode->put_link operation anymore. We use delayed_call to deal with link destruction. Cookie has been replaced with struct delayed_call. Related commit: commit fceef393a538 ("switch ->get_link() to delayed_call, kill ->put_link()") Signed-off-by: Fox Chen ---

[PATCH v2 05/12] docs: path-lookup: remove filename_mountpoint

2021-03-15 Thread Fox Chen
No filename_mountpoint any more see commit: commit 161aff1d93ab ("LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()") Without filename_mountpoint and path_mountpoint(), the numbers should be four & three: "These four correspond roughly to the three path_*() functions"

[PATCH v2 04/12] docs: path-lookup: update do_last() part

2021-03-15 Thread Fox Chen
traling_symlink() was merged into lookup_last, do_last(). do_last() has later been split into open_last_lookups() and do_open(). see related commit: commit c5971b8c6354 ("take post-lookup part of do_last() out of loop") Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst |

[PATCH v2 02/12] docs: path-lookup: update path_to_nameidata() part

2021-03-15 Thread Fox Chen
No path_to_namei() anymore, step_into() will be called. Related commit: commit c99687a03a78 ("fold path_to_nameidata() into its only remaining caller") Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v2 01/12] docs: path-lookup: update follow_managed() part

2021-03-15 Thread Fox Chen
No follow_managed() anymore, handle_mounts(), traverse_mounts(), will do the job. see commit 9deed3ebca24 ("new helper: traverse_mounts()") Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 03/12] docs: path-lookup: update path_mountpoint() part

2021-03-15 Thread Fox Chen
path_mountpoint() doesn't exist anymore. Have been folded into path_lookup_at when flag is set with LOOKUP_MOUNTPOINT. Check commit: commit 161aff1d93abf0e ("LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()") Signed-off-by: Fox Chen --- Documentation/filesystems/path-lookup.rst

[PATCH v2 00/12] docs: path-lookup: Update pathlookup docs

2021-03-15 Thread Fox Chen
The Path lookup is a very complex subject in VFS. The path-lookup document provides a very detailed guidance to help people understand how path lookup works in the kernel. This document was originally written based on three lwn articles five years ago. As times goes by, some of the content is

Re: [PATCH 5.10 113/290] net: dsa: implement a central TX reallocation procedure

2021-03-15 Thread gre...@linuxfoundation.org
On Mon, Mar 15, 2021 at 07:56:02PM +, Vladimir Oltean wrote: > +Andrew, Vivien, > > On Mon, Mar 15, 2021 at 02:53:26PM +0100, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > From: Vladimir Oltean > > > > [ Upstream commit a3b0b6479700a5b0af2c631cb2ec0fb7a0d978f2 ] > >

Re: [PATCH 4/6] clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC

2021-03-15 Thread Manivannan Sadhasivam
On Mon, Mar 08, 2021 at 07:18:29PM +0200, Cristian Ciocaltea wrote: > There are a few issues with the setup of the Actions Semi Owl S500 SoC's > clock chain involving AHPPREDIV, H and AHB clocks: > > * AHBPREDIV clock is defined as a muxer only, although it also acts as > a divider. > * H clock

[PATCH V2] x86: events: intel: A letter change in a word to make it sound right,in the file bts.c

2021-03-15 Thread Bhaskar Chowdhury
s/kernal/kernel/ A punctuation added too. Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Punctuation missed, added as per Randy's finding arch/x86/events/intel/bts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/intel/bts.c

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-15 Thread Viresh Kumar
On 16-03-21, 00:36, Frank Rowand wrote: > I should have looked at patch 3/5 more carefully instead of counting on > Masahiro to check it out and simply build testing. > > Patch 3/5 does not seem correct. I'll look over all the makefile related > changes that have been accepted (if any) and patch

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-15 Thread Frank Rowand
On 3/15/21 5:12 PM, Laurent Pinchart wrote: > Hi Yamada-san, > > On Tue, Mar 16, 2021 at 02:43:45AM +0900, Masahiro Yamada wrote: >> On Mon, Mar 15, 2021 at 3:40 PM Viresh Kumar wrote: >>> On 14-03-21, 20:16, Frank Rowand wrote: On 3/12/21 11:11 PM, Frank Rowand wrote: > On 3/12/21 1:13

Re: [PATCH v1 3/5] dt-bindings: arm: Add cpu-idle-states to Tegra194 CPU nodes

2021-03-15 Thread Sudeep Holla
+Lorenzo Hi Sowjanya, Sorry for the delayed response. I am still in vacation  On Thu, Mar 11, 2021 at 01:11:37PM -0800, Sowjanya Komatineni wrote: > > On 3/10/21 6:52 PM, Sudeep Holla wrote: > > On Mon, Mar 08, 2021 at 10:32:17AM -0800, Sowjanya Komatineni wrote: > > > On 3/7/21 8:37 PM,

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-15 Thread Frank Rowand
On 3/15/21 1:40 AM, Viresh Kumar wrote: > On 14-03-21, 20:16, Frank Rowand wrote: >> On 3/12/21 11:11 PM, Frank Rowand wrote: >>> On 3/12/21 1:13 AM, Viresh Kumar wrote: On 12-03-21, 01:09, Frank Rowand wrote: > I suggested having the .dtso files include the .dts file because that is

Re: [PATCH] dlm: Mundane typo fixes throughout the file lock.c

2021-03-15 Thread Randy Dunlap
On 3/15/21 10:27 PM, Bhaskar Chowdhury wrote: > > Trivial typo fixes throughout the file. > > cc: triv...@vger.kernel.org > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > fs/dlm/lock.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH] x86: events: intel: A letter change in a word to make it sound right,in the file bts.c

2021-03-15 Thread Bhaskar Chowdhury
On 22:19 Mon 15 Mar 2021, Randy Dunlap wrote: On 3/15/21 9:19 PM, Bhaskar Chowdhury wrote: s/kernal/kernel/ Signed-off-by: Bhaskar Chowdhury --- arch/x86/events/intel/bts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/intel/bts.c

Re: [PATCH] bpf: selftests: remove unused 'nospace_err' in tests for batched ops in array maps

2021-03-15 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 15 Mar 2021 14:29:51 +0100 you wrote: > This seems to be a reminiscent from the hashmap tests. > > Signed-off-by: Pedro Tammela > --- > tools/testing/selftests/bpf/map_tests/array_map_batch_ops.c | 5 - > 1

Re: [PATCH 5.4 000/168] 5.4.106-rc1 review

2021-03-15 Thread Naresh Kamboju
On Mon, 15 Mar 2021 at 19:35, wrote: > > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.4.106 release. > There are 168 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[PATCH] dlm: Mundane typo fixes throughout the file lock.c

2021-03-15 Thread Bhaskar Chowdhury
Trivial typo fixes throughout the file. cc: triv...@vger.kernel.org Signed-off-by: Bhaskar Chowdhury --- fs/dlm/lock.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index 002123efc6b0..caadc426c8b4 100644 --- a/fs/dlm/lock.c +++

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-15 Thread Viresh Kumar
On 16-03-21, 02:43, Masahiro Yamada wrote: > On Mon, Mar 15, 2021 at 3:40 PM Viresh Kumar wrote: > > On 14-03-21, 20:16, Frank Rowand wrote: > > What about doing this then in unittest's Makefile instead (which I > > already suggested earlier), that will make everything work just fine > > without

Re: [PATCH v2 16/27] perf evlist: Warn as events from different hybrid PMUs in a group

2021-03-15 Thread Jin, Yao
Hi Jiri, On 3/16/2021 7:03 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:31PM +0800, Jin Yao wrote: SNIP goto try_again; } + + if (errno == EINVAL && perf_pmu__hybrid_exist()) +

Re: [PATCHv2 0/3] Add UVC 1.5 Region Of Interest control to uvcvideo

2021-03-15 Thread Sergey Senozhatsky
On (21/02/08 14:17), Sergey Senozhatsky wrote: > Hello, > > RFC Hi Laurent, Gentle ping. -ss

Re: [PATCH] fs: Trivial typo fix in the file coredump.c

2021-03-15 Thread Randy Dunlap
On 3/15/21 10:03 PM, Bhaskar Chowdhury wrote: > > s/postion/position/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Al, I hope this time I read the comments well enough,if still > I am at fault , curse me! > > fs/coredump.c | 2 +- > 1 file changed, 1 insertion(+),

[PATCH v10] sched/fair: select idle cpu from idle cpumask for task wakeup

2021-03-15 Thread Aubrey Li
From: Aubrey Li Add idle cpumask to track idle cpus in sched domain. Every time a CPU enters idle, the CPU is set in idle cpumask to be a wakeup target. And if the CPU is not in idle, the CPU is cleared in idle cpumask during scheduler tick to ratelimit idle cpumask update. When a task wakes up

Re: [PATCH] usb: host: Mundane spello fix in the file sl811_cs.c

2021-03-15 Thread Randy Dunlap
On 3/15/21 9:52 PM, Bhaskar Chowdhury wrote: > > s/seting/setting/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/usb/host/sl811_cs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/host/sl811_cs.c

Re: [PATCH] samples: bpf: Fix a spelling typo in do_hbm_test.sh

2021-03-15 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 15 Mar 2021 21:44:54 +0900 you wrote: > This patch fixes a spelling typo in do_hbm_test.sh > > Signed-off-by: Masanari Iida > --- > samples/bpf/do_hbm_test.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 5.10 000/290] 5.10.24-rc1 review

2021-03-15 Thread Naresh Kamboju
On Mon, 15 Mar 2021 at 19:27, wrote: > > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.10.24 release. > There are 290 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] x86: events: intel: A letter change in a word to make it sound right,in the file bts.c

2021-03-15 Thread Randy Dunlap
On 3/15/21 9:19 PM, Bhaskar Chowdhury wrote: > > s/kernal/kernel/ > > Signed-off-by: Bhaskar Chowdhury > --- > arch/x86/events/intel/bts.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/events/intel/bts.c b/arch/x86/events/intel/bts.c > index

Re: [PATCH] samples: bpf: Fix a spelling typo in do_hbm_test.sh

2021-03-15 Thread Andrii Nakryiko
On Mon, Mar 15, 2021 at 5:45 AM Masanari Iida wrote: > > This patch fixes a spelling typo in do_hbm_test.sh > > Signed-off-by: Masanari Iida > --- Thanks, applied to bpf-next. For the future patches, please use [PATCH bpf-next] subject prefix if you are sending patches against bpf-next tree (of

Re: [PATCH V2] mips: asm: octeon: A typo fix in the file cvmx-address.h

2021-03-15 Thread Randy Dunlap
On 3/15/21 9:33 PM, Bhaskar Chowdhury wrote: > > s/techically/technically/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Meh, missed the changelog text, so added :) > > arch/mips/include/asm/octeon/cvmx-address.h | 2 +- > 1 file changed, 1

Re: [PATCH 5.11 000/306] 5.11.7-rc1 review

2021-03-15 Thread Naresh Kamboju
On Mon, 15 Mar 2021 at 19:27, wrote: > > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.11.7 release. > There are 306 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] smp: kernel/panic.c - silence warnings

2021-03-15 Thread Randy Dunlap
On 3/15/21 9:08 PM, He Ying wrote: > We found these warnings in kernel/panic.c by using sparse tool: > warning: symbol 'panic_smp_self_stop' was not declared. > warning: symbol 'nmi_panic_self_stop' was not declared. > warning: symbol 'crash_smp_send_stop' was not declared. > > To avoid them, add

Re: [PATCH v12 0/2] UIO support for dfl devices

2021-03-15 Thread Xu Yilun
Hi Greg: I listed below some answers from Moritz and Yilun from previous mails for your question. Do you have more comments? Thanks in advance, Yilun On Mon, Mar 08, 2021 at 09:59:34AM +0800, Xu Yilun wrote: > This patchset supports some dfl device drivers written in userspace. > > There are

[RFC PATCH v3 18/18] dyndbg: shuffle ddebug_table fields

2021-03-15 Thread Jim Cromie
In preparation to unionize structs _ddebug & ddebug_table, shuffle fields in latter so they match the layout of the former. This MAY simplify initialization of the header field, in particular by preserving *sites. It also sets up a later conversion to a flex-array ddebugs[]. This step is mostly

[RFC PATCH v3 17/18] dyndbg: RFC - DECLARE/DEFINE_DYNAMIC_DEBUG_TABLE

2021-03-15 Thread Jim Cromie
V4-proto - now currently diet-3i Simplify: .gnu.linkonce._mod_.dyndbg -> .gnu.linkonce.dyndbg ie drop _mod_ This puts a single header record at front of the vectors, solving 2 problems (discussed below) simultaneously: - header in front, allowing flex-array rep of layout. - single header, not

[RFC PATCH v3 16/18] dyndbg: prevent build bugs via -DNO_DYNAMIC_DEBUG_TABLE

2021-03-15 Thread Jim Cromie
The next patch adds DEFINE_DYNAMIC_DEBUG_TABLE(), which breaks some subtrees with special compile constraints (efi etc). Avoid this by adding a define to suppress the *remote declaration* done by DEFINE_DYNAMIC_DEBUG_TABLE(), automatically, on behalf of all possible users of pr_debug.

[RFC PATCH v3 13/18] dyndbg+module: expose ddebug_sites to modules

2021-03-15 Thread Jim Cromie
In order to drop the pointer connecting _ddebug's to _ddebug_sites, we need to elevate the latter; we need to track it in (internal) ddebug_tables, and set it in ddebug_add_module. That last part exposes it by interface to module.c, so we add a field to load_info, and adjust load_module to

[RFC PATCH v3 09/18] dyndbg: optimize ddebug_emit_prefix

2021-03-15 Thread Jim Cromie
Add early return if no callsite info is specified in site-flags. This avoids fetching site info that isn't going to be printed. Signed-off-by: Jim Cromie --- include/linux/dynamic_debug.h | 9 + lib/dynamic_debug.c | 3 +++ 2 files changed, 12 insertions(+) diff --git

[RFC PATCH v3 14/18] dyndbg: add ddebug_site(_get|_put) abstraction

2021-03-15 Thread Jim Cromie
Replace direct ->site refs with _get(),_put() internal API. Right now, _get() just returns ->site and _put() does nothing. Later we can replace that implementation with one using ->module_index to fetch then forget site data dynamically. Several approaches are possible: A: !site -> fill from

[RFC PATCH v3 15/18] dyndbg: add _index to struct _ddebug

2021-03-15 Thread Jim Cromie
We currently use dp->site to map: &__dyndbg[N] -> &__dyndbg_sites[N]. We want to drop site, new _ddebug._index provides the N. The mapping is done in ddebug_site_get(): For builtin modules, a _ddebug *ptr is between __start___dyndbg and __stop___dyndbg, and we can use &__start___dyndbg_sites[N]

[RFC PATCH v3 08/18] dyndbg: accept null site in ddebug_proc_show

2021-03-15 Thread Jim Cromie
Accept a ddebug record with a null site pointer, and write abbreviated output for that record that doesn't include site info (but does include line-number, since that can be used in >control queries). Also add a 2nd header line with a template for the new output. Signed-off-by: Jim Cromie ---

[RFC PATCH v3 12/18] dyndbg: allow deleting site info via control interface

2021-03-15 Thread Jim Cromie
Allow users & subsystems to selectively delete callsite info for pr-debug callsites. Hopefully, this can lead to actual recovery of memory. DRM is a potential user which would drop the sites: - has distinct categories for logging, and can map them over to a format prefix, like: "drm:core:",

[RFC PATCH v3 11/18] dyndbg: refactor ddebug_alter_site out of ddebug_change

2021-03-15 Thread Jim Cromie
Move the JUMP_LABEL/static-key code to a separate function. no functional changes. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index

[RFC PATCH v3 10/18] dyndbg: avoid calling dyndbg_emit_prefix when it has no work

2021-03-15 Thread Jim Cromie
Wrap function in a static-inline one, which checks flags to avoid calling the function unnecessarily. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index

[RFC PATCH v3 03/18] dyndbg: refactor part of ddebug_change to ddebug_match_site

2021-03-15 Thread Jim Cromie
Move all the site-match logic into a separate function, reindent the code, and replace the continues with return falses. No functional changes. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 75 ++--- 1 file changed, 43 insertions(+), 32

[RFC PATCH v3 07/18] dyndbg: accept null site in dynamic_emit_prefix

2021-03-15 Thread Jim Cromie
2 prints use site->member, protect them with if site. no functional changes. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 151e55ab6bb5..0c535f3c2ba9 100644

[RFC PATCH v3 05/18] dyndbg: hoist ->site out of ddebug_match_site

2021-03-15 Thread Jim Cromie
A coming change adds _get/_put abstraction on the site pointer, to allow managing site info more flexibly. The get/put pattern is best done at a single lexical scope, where its more obviously correct, so hoist the ->site ref out of ddebug_match_site, and pass it in instead. no functional changes

[RFC PATCH v3 04/18] dyndbg: accept null site in ddebug_match_site

2021-03-15 Thread Jim Cromie
basically, reorder the elements to minimize data fetches. 1- move format and line-number check code to the top of the function, since they don't use/check site info. 2- test site pointer: If its null, we return early, skipping 3: If the query tests against missing site info, fail the

[RFC PATCH v3 06/18] dyndbg: accept null site in ddebug_change

2021-03-15 Thread Jim Cromie
fix a debug-print that includes site info, by adding an alternate debug message that does not. no functional changes. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c

[RFC PATCH v3 02/18] dyndbg: __init iterate over __dyndbg & __dyndbg_site in parallel

2021-03-15 Thread Jim Cromie
In dynamic_debug_init(), rework for-loop; add 2nd 'site' var, and iterate over both __dyndbg* sections in parallel. Replace uses of iter->site with the new 'site' iter, add a BUG_ON to enforce the invariant given by HEAD~1's DECLARE_DYNAMIC_DEBUG_METADATA base->site initialization. 0- declare

[RFC PATCH v3 01/18] dyndbg: split struct _ddebug, move display fields to new _ddebug_site

2021-03-15 Thread Jim Cromie
struct _ddebug has 2 flavors of fields: essential and optional. Split the 3 optional fields: module, function, file into a new struct _ddebug_site, and add pointer to it from _ddebug. These fields are optional in that they are primarily used to generate the optional "module:func:line" log

[RFC PATCH v3 00/18] dynamic debug diet plan

2021-03-15 Thread Jim Cromie
CONFIG_DYNAMIC_DEBUG creates a struct _ddebug (56 bytes) for each callsite, which includes 3 pointers to: module, filename, function. These are repetetive, and compressible, this patch series goes about doing that, it: - splits struct _ddebug and __dyndbg[] section/array into 2 creating struct

Re: [PATCH] pinctrl: add lock in mtk_rmw function.

2021-03-15 Thread Sean Wang
Hi Zhiyong, On Fri, Mar 12, 2021 at 2:35 PM Zhiyong Tao wrote: > > When multiple threads operate on the same register resource > which include multiple pin, It will make the register resource > wrong to control. So we add lock to avoid the case. > > Signed-off-by: Zhiyong Tao > --- >

Re: [PATCH] Insert SFENCE.VMA in function set_pte_at for RISCV

2021-03-15 Thread Anup Patel
+Alex On Tue, Mar 16, 2021 at 9:20 AM Jiuyang Liu wrote: > > This patch inserts SFENCE.VMA after modifying PTE based on RISC-V > specification. > > arch/riscv/include/asm/pgtable.h: > 1. implement pte_user, pte_global and pte_leaf to check correspond > attribute of a pte_t. Adding pte_user(),

[PATCH 2/2] dt-bindings: spi: add compatible entry for imx8mp in FlexSPI controller

2021-03-15 Thread Heiko Schocher
add compatible entry "nxp,imx8mp-fspi" in NXP FlexSPI controller Signed-off-by: Heiko Schocher --- Changes in v3: - no changes, rebased against git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next 144c79ef33536 Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of

[PATCH 1/2] spi: fspi: enable fspi driver for on imx8mp

2021-03-15 Thread Heiko Schocher
add compatible entry in nxp_fspi driver for imx8mp. Signed-off-by: Heiko Schocher into own series as Kuldeep suggested and rebased against git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next 144c79ef33536 ("Merge tag 'perf-tools-fixes-for-v5.12-2020-03-07' of

[PATCH 0/2] enable flexspi support on imx8mp

2021-03-15 Thread Heiko Schocher
add compatible entry in nxp_fspi driver for imx8mp new in v3: seperate spi changes from series: http://lists.infradead.org/pipermail/linux-arm-kernel/2021-March/643289.html into own series as Kuldeep suggested and rebased against git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git

[PATCH] fs: Trivial typo fix in the file coredump.c

2021-03-15 Thread Bhaskar Chowdhury
s/postion/position/ Signed-off-by: Bhaskar Chowdhury --- Al, I hope this time I read the comments well enough,if still I am at fault , curse me! fs/coredump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/coredump.c b/fs/coredump.c index 1c0fdc1aa70b..3ecae122ffd9

Re: [PATCH 3/3] powerpc/qspinlock: Use generic smp_cond_load_relaxed

2021-03-15 Thread Nicholas Piggin
Excerpts from Davidlohr Bueso's message of March 9, 2021 11:59 am: > 49a7d46a06c3 (powerpc: Implement smp_cond_load_relaxed()) added > busy-waiting pausing with a preferred SMT priority pattern, lowering > the priority (reducing decode cycles) during the whole loop slowpath. > > However, data

Re: [PATCH v15 0/4] Adding the Sparx5 Serdes driver

2021-03-15 Thread Vinod Koul
Hello Steen, On 15-03-21, 16:04, Steen Hegelund wrote: > Hi Kishon, Vinod, Andrew, Jacub, and David, > > I just wanted to know if you think that the Generic PHY subsystem might > not be the right place for this Ethernet SerDes PHY driver after all. > > Originally I chose this subsystem for

[PATCH] usb: host: Mundane spello fix in the file sl811_cs.c

2021-03-15 Thread Bhaskar Chowdhury
s/seting/setting/ Signed-off-by: Bhaskar Chowdhury --- drivers/usb/host/sl811_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/sl811_cs.c b/drivers/usb/host/sl811_cs.c index 72136373ffab..16d157013018 100644 --- a/drivers/usb/host/sl811_cs.c +++

Re: [PATCH 2/2] hwmon: (pmbus): Add driver for BluTek BPA-RS600

2021-03-15 Thread Guenter Roeck
On 3/15/21 9:21 PM, Chris Packham wrote: > > On 16/03/21 4:43 pm, Guenter Roeck wrote: >> On 3/15/21 7:35 PM, Chris Packham wrote: >>> The BPA-RS600 is a compact 600W AC to DC removable power supply module. >>> >>> Signed-off-by: Chris Packham >>> --- > >>> + >>> +static int

[PATCH v4 2/4] sched/fair: Make CFS bandwidth controller burstable

2021-03-15 Thread Huaixin Chang
Accumulate unused quota from previous periods, thus accumulated bandwidth runtime can be used in the following periods. During accumulation, take care of runtime overflow. Previous non-burstable CFS bandwidth controller only assign quota to runtime, that saves a lot. A sysctl parameter

[PATCH v4 3/4] sched/fair: Add cfs bandwidth burst statistics

2021-03-15 Thread Huaixin Chang
When using cfs_b and meeting with some throttled periods, users shall use burst buffer to allow bursty workloads. Apart from configuring some burst buffer and watch whether throttled periods disappears, some statistics on burst buffer using are also helpful. Thus expose the following statistics

[PATCH v4 4/4] sched/fair: Add document for burstable CFS bandwidth control

2021-03-15 Thread Huaixin Chang
Basic description of usage and effect for CFS Bandwidth Control Burst. Co-developed-by: Shanpei Chen Signed-off-by: Shanpei Chen Signed-off-by: Huaixin Chang --- Documentation/admin-guide/cgroup-v2.rst | 16 + Documentation/scheduler/sched-bwc.rst | 64

[PATCH v4 1/4] sched/fair: Introduce primitives for CFS bandwidth burst

2021-03-15 Thread Huaixin Chang
In this patch, we introduce the notion of CFS bandwidth burst. Unused "quota" from pervious "periods" might be accumulated and used in the following "periods". The maximum amount of accumulated bandwidth is bounded by "burst". And the maximun amount of CPU a group can consume in a given period is

[PATCH v4 0/4] sched/fair: Burstable CFS bandwidth controller

2021-03-15 Thread Huaixin Chang
Changelog: v4: - Adjust assignments in tg_set_cfs_bandwidth(), saving unnecessary assignemnts when quota == RUNTIME_INF. - Getting rid of sysctl_sched_cfs_bw_burst_onset_percent, as there seems no justification for both controlling start bandwidth and a percent way. - Comment improvement in

linux-next: Tree for Mar 16

2021-03-15 Thread Stephen Rothwell
} (or somewhere between v5.11 and that tag), please consider rebasing it onto v5.12-rc2. Also, please check any branches merged into your branch. Changes since 20210315: New tree: rust Non-merge commits (relative to Linus' tree): 3766 3532 files changed, 245539 insertions(+), 64760 deletions

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

2021-03-15 Thread Andrii Nakryiko
On Wed, Mar 10, 2021 at 2:02 PM Florent Revest wrote: > > This exercices most of the format specifiers when things go well. typo: exercises > > Signed-off-by: Florent Revest > --- > .../selftests/bpf/prog_tests/snprintf.c | 71 +++ >

Re: linux-next: build warning after merge of the opp tree

2021-03-15 Thread Viresh Kumar
On 16-03-21, 11:15, Stephen Rothwell wrote: > Hi all, > > After merging the opp tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > In file included from include/linux/devfreq.h:15, > from drivers/base/power/main.c:36: >

Re: [PATCH v1 10/14] mm: multigenerational lru: core

2021-03-15 Thread Yu Zhao
On Tue, Mar 16, 2021 at 10:08:51AM +0800, Huang, Ying wrote: > Yu Zhao writes: > [snip] > > > +/* Main function used by foreground, background and user-triggered aging. > > */ > > +static bool walk_mm_list(struct lruvec *lruvec, unsigned long next_seq, > > +struct

[PATCH] docs: virt: kvm: Trivial typo fix in the file timekeeping.rst

2021-03-15 Thread Bhaskar Chowdhury
s/extremal/external/ Signed-off-by: Bhaskar Chowdhury --- But...Paolo,is it also "extreme"? I am in a catch-22? Documentation/virt/kvm/timekeeping.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/timekeeping.rst

RE: [PATCH net-next 1/1] net: stmmac: add per-queue TX & RX coalesce ethtool support

2021-03-15 Thread Ong, Boon Leong
>> +if (queue < tx_cnt) { >> +ec->tx_coalesce_usecs = priv->tx_coal_timer[queue]; >> +ec->tx_max_coalesced_frames = priv->tx_coal_frames[queue]; >> +} else { >> +ec->tx_coalesce_usecs = -1; >> +ec->tx_max_coalesced_frames = -1; >> +} >> +

Re: [PATCH bpf-next 3/5] libbpf: Initialize the bpf_seq_printf parameters array field by field

2021-03-15 Thread Andrii Nakryiko
On Mon, Mar 15, 2021 at 9:36 PM Andrii Nakryiko wrote: > > On Wed, Mar 10, 2021 at 2:02 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

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

2021-03-15 Thread Andrii Nakryiko
On Wed, Mar 10, 2021 at 2:02 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 | 15 +++ >

Re: [PATCH v2 17/27] perf evsel: Adjust hybrid event and global event mixed group

2021-03-15 Thread Jin, Yao
Hi Jiri, On 3/16/2021 7:04 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:32PM +0800, Jin Yao wrote: A group mixed with hybrid event and global event is allowed. For example, group leader is 'cpu-clock' and the group member is 'cpu_atom/cycles/'. e.g. perf stat -e

Re: [PATCH bpf-next 3/5] libbpf: Initialize the bpf_seq_printf parameters array field by field

2021-03-15 Thread Andrii Nakryiko
On Wed, Mar 10, 2021 at 2:02 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: dsa: mt7530: support MDB and bridge flag operations

2021-03-15 Thread DENG Qingfang
On Tue, Mar 16, 2021 at 5:15 AM Vladimir Oltean wrote: > > Actually this is just how Qingfang explained it: > https://patchwork.kernel.org/project/netdevbpf/patch/20210224081018.24719-1-dqf...@gmail.com/ > > I just assume that MT7530/7531 switches don't need to enable flooding on > user ports

Re: [PATCH 4/5] arm64: dts: allwinner: Add sun4i MMIO timer nodes

2021-03-15 Thread Samuel Holland
On 3/15/21 1:32 PM, Jernej Škrabec wrote: > Hi! > > Dne ponedeljek, 15. marec 2021 ob 05:32:49 CET je Samuel Holland napisal(a): >> For a CPU to enter an idle state, there must be some timer which can >> trigger an IRQ to wake it back up. The local ARM architectural timer is >> not sufficient,

[PATCH V2] mips: asm: octeon: A typo fix in the file cvmx-address.h

2021-03-15 Thread Bhaskar Chowdhury
s/techically/technically/ Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Meh, missed the changelog text, so added :) arch/mips/include/asm/octeon/cvmx-address.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/octeon/cvmx-address.h

Re: [PATCH v7 0/2] hwspinlock: add sun6i hardware spinlock support

2021-03-15 Thread Samuel Holland
On 3/14/21 4:30 AM, Wilken Gottwalt wrote: > Wilken Gottwalt (2): > dt-bindings: hwlock: add sun6i_hwspinlock > hwspinlock: add sun6i hardware spinlock support > > .../allwinner,sun6i-a31-hwspinlock.yaml | 45 > MAINTAINERS | 6 + >

Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy

2021-03-15 Thread Shakeel Butt
On Mon, Mar 15, 2021 at 9:20 PM Arjun Roy wrote: > [...] > > > > Apologies for the spam - looks like I forgot to rebase the first time > I sent this out. > > Actually, on a related note, it's not 100% clear to me whether this > patch (which in its current form, applies to net-next) should instead

[PATCH] mips: include: asm: octeon: A typo fix in the file cvmx-address.h

2021-03-15 Thread Bhaskar Chowdhury
Signed-off-by: Bhaskar Chowdhury --- arch/mips/include/asm/octeon/cvmx-address.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/octeon/cvmx-address.h b/arch/mips/include/asm/octeon/cvmx-address.h index ef8c4a61..5df5c90f6a5d 100644 ---

Re: [PATCH v2] sched/fair: reduce long-tail newly idle balance cost

2021-03-15 Thread Li, Aubrey
On 2021/2/24 16:15, Aubrey Li wrote: > A long-tail load balance cost is observed on the newly idle path, > this is caused by a race window between the first nr_running check > of the busiest runqueue and its nr_running recheck in detach_tasks. > > Before the busiest runqueue is locked, the tasks

Re: [PATCH 2/2] hwmon: (pmbus): Add driver for BluTek BPA-RS600

2021-03-15 Thread Chris Packham
On 16/03/21 4:43 pm, Guenter Roeck wrote: > On 3/15/21 7:35 PM, Chris Packham wrote: >> The BPA-RS600 is a compact 600W AC to DC removable power supply module. >> >> Signed-off-by: Chris Packham >> --- >> + >> +static int bpa_rs600_read_word_data(struct i2c_client *client, int page, >> +

Re: [PATCH 2/4] KVM: arm64: Use find_vma_intersection()

2021-03-15 Thread Keqian Zhu
Hi Gavin, On 2021/3/16 11:52, Gavin Shan wrote: > Hi Keqian, > > On 3/15/21 8:42 PM, Gavin Shan wrote: >> On 3/15/21 7:04 PM, Keqian Zhu wrote: >>> On 2021/3/15 12:18, Gavin Shan wrote: find_vma_intersection() has been existing to search the intersected vma. This uses the function

Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy

2021-03-15 Thread Arjun Roy
On Mon, Mar 15, 2021 at 9:16 PM Arjun Roy wrote: > > From: Arjun Roy > > TCP zerocopy receive is used by high performance network applications > to further scale. For RX zerocopy, the memory containing the network > data filled by the network driver is directly mapped into the address > space of

  1   2   3   4   5   6   7   8   9   10   >