[PATCH v2] f2fs: fix a spelling error

2021-02-22 Thread Yehan Xu
From: xuyehan Delete the letter 'e' before 'number' Signed-off-by: xuyehan --- changes since previous version - modify the title of patch thank you very much for your help Mr. Chao Yu Documentation/ABI/testing/sysfs-fs-f2fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCHv1 5/6] dt-bindings: mtd: jedec,spi-nor: add sst25vf032b

2021-02-22 Thread Sebastian Reichel
Hi, On Mon, Feb 22, 2021 at 06:15:11PM -0600, Rob Herring wrote: > On Mon, Feb 22, 2021 at 11:13 AM Sebastian Reichel > wrote: > > > > The binding is already used by the driver. Update documentation > > accordingly. > > > > Signed-off-by: Sebastian Reichel > > --- > >

Re: [PATCH net v3] net: introduce CAN specific pointer in the struct net_device

2021-02-22 Thread Jakub Kicinski
On Mon, 22 Feb 2021 16:02:51 +0100 Oleksij Rempel wrote: > Since 20dd3850bcf8 ("can: Speed up CAN frame receiption by using > ml_priv") the CAN framework uses per device specific data in the AF_CAN > protocol. For this purpose the struct net_device->ml_priv is used. Later > the ml_priv usage in

Re: [PATCHv1 1/6] rtc: m41t80: add support for protected clock

2021-02-22 Thread Sebastian Reichel
Hi, On Mon, Feb 22, 2021 at 10:26:26PM +0100, Alexandre Belloni wrote: > On 22/02/2021 22:20:47+0100, Alexandre Belloni wrote: > > On 22/02/2021 18:12:42+0100, Sebastian Reichel wrote: > > > Congatec's QMX6 system on module (SoM) uses a m41t62 as RTC. The > > > modules SQW clock output defaults

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

2021-02-22 Thread Fernando Pacheco
On Wed, Feb 17, 2021 at 10:40:03PM -0800, 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 > device tree blob. > > Signed-off-by: Sonal Santan > Signed-off-by: Max Zhen >

Re: 'perf probe' and symbols from .text.

2021-02-22 Thread Masami Hiramatsu
On Mon, 22 Feb 2021 11:51:50 -0600 Josh Poimboeuf wrote: > On Tue, Feb 23, 2021 at 12:05:08AM +0900, Masami Hiramatsu wrote: > > > Of course, one could place probes using absolute addresses of the > > > functions but that would be less convenient. > > > > > > This also affects many livepatch

Re: [PATCH RFC v1 5/6] xen-swiotlb: convert variables to arrays

2021-02-22 Thread Stefano Stabellini
On Fri, 19 Feb 2021, Konrad Rzeszutek Wilk wrote: > On Sun, Feb 07, 2021 at 04:56:01PM +0100, Christoph Hellwig wrote: > > On Thu, Feb 04, 2021 at 09:40:23AM +0100, Christoph Hellwig wrote: > > > So one thing that has been on my mind for a while: I'd really like > > > to kill the separate dma ops

[PATCH v4 bpf-next 3/6] selftests/bpf: add non-BPF_LSM test for task local storage

2021-02-22 Thread Song Liu
Task local storage is enabled for tracing programs. Add two tests for task local storage without CONFIG_BPF_LSM. The first test stores a value in sys_enter and read it back in sys_exit. The second test checks whether the kernel allows allocating task local storage in exit_creds() (which it

[PATCH v4 bpf-next 5/6] bpf: runqslower: prefer using local vmlimux to generate vmlinux.h

2021-02-22 Thread Song Liu
Update the Makefile to prefer using $(O)/mvlinux, $(KBUILD_OUTPUT)/vmlinux (for selftests) or ../../../vmlinux. These two files should have latest definitions for vmlinux.h. Signed-off-by: Song Liu --- tools/bpf/runqslower/Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH v4 bpf-next 4/6] selftests/bpf: test deadlock from recursive bpf_task_storage_[get|delete]

2021-02-22 Thread Song Liu
Add a test with recursive bpf_task_storage_[get|delete] from fentry programs on bpf_local_storage_lookup and bpf_local_storage_update. Without proper deadlock prevent mechanism, this test would cause deadlock. Signed-off-by: Song Liu --- .../bpf/prog_tests/task_local_storage.c | 23 ++

[PATCH v4 bpf-next 1/6] bpf: enable task local storage for tracing programs

2021-02-22 Thread Song Liu
To access per-task data, BPF programs usually creates a hash table with pid as the key. This is not ideal because: 1. The user need to estimate the proper size of the hash table, which may be inaccurate; 2. Big hash tables are slow; 3. To clean up the data properly during task terminations,

[PATCH v4 bpf-next 6/6] bpf: runqslower: use task local storage

2021-02-22 Thread Song Liu
Replace hashtab with task local storage in runqslower. This improves the performance of these BPF programs. The following table summarizes average runtime of these programs, in nanoseconds: task-local hash-prealloc hash-no-prealloc handle__sched_wakeup

[PATCH v4 bpf-next 2/6] bpf: prevent deadlock from recursive bpf_task_storage_[get|delete]

2021-02-22 Thread Song Liu
BPF helpers bpf_task_storage_[get|delete] could hold two locks: bpf_local_storage_map_bucket->lock and bpf_local_storage->lock. Calling these helpers from fentry/fexit programs on functions in bpf_*_storage.c may cause deadlock on either locks. Prevent such deadlock with a per cpu counter,

[PATCH v4 bpf-next 0/6] bpf: enable task local storage for tracing programs

2021-02-22 Thread Song Liu
This set enables task local storage for non-BPF_LSM programs. It is common for tracing BPF program to access per-task data. Currently, these data are stored in hash tables with pid as the key. In bcc/libbpftools [1], 9 out of 23 tools use such hash tables. However, hash table is not ideal for

Re: [PATCH 5/5] MIPS: SGI-IP27: fix spelling in Copyright

2021-02-22 Thread Huacai Chen
Reviewed-by: Huacai Chen On Tue, Feb 23, 2021 at 12:22 AM Lukas Bulwahn wrote: > > This is a Copyright line, and just a typo slipped through. > > Signed-off-by: Lukas Bulwahn > --- > arch/mips/sgi-ip27/ip27-timer.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: WARNING in init_timer_key

2021-02-22 Thread syzbot
syzbot has bisected this issue to: commit b9df4fd7e99cb8bfd80c4143f3045d63b1754ad0 Author: Heiner Kallweit Date: Sun Oct 6 16:19:54 2019 + net: core: change return type of pskb_may_pull to bool bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11b4545cd0 start commit:

Re: [PATCH 4/5] arch: mips: remove dead references

2021-02-22 Thread Huacai Chen
Reviewed-by: Huacai Chen On Tue, Feb 23, 2021 at 12:22 AM Lukas Bulwahn wrote: > > The domain lookup for linux-mips.org fails for quite some time now. > Further, the two links: > > http://decstation.unix-ag.org/ > http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/ > >

Re: [PATCH 3/5] arch: mips: update references to current linux-mips list

2021-02-22 Thread Huacai Chen
Reviewed-by: Huacai Chen On Tue, Feb 23, 2021 at 12:22 AM Lukas Bulwahn wrote: > > The linux-mips mailing list now lives at kernel.org. Update all references > in the kernel tree. > > Signed-off-by: Lukas Bulwahn > --- > arch/mips/kernel/r4k-bugs64.c | 2 +- > arch/mips/lib/iomap-pci.c |

Re: [PATCH v6 1/1] mm/page_alloc.c: refactor initialization of struct page for holes in memory layout

2021-02-22 Thread Baoquan He
On 02/22/21 at 12:57pm, Mike Rapoport wrote: > From: Mike Rapoport > > There could be struct pages that are not backed by actual physical memory. > This can happen when the actual memory bank is not a multiple of > SECTION_SIZE or when an architecture does not register memory holes > reserved by

Re: [PATCH 2/5] MAINTAINERS: remove linux-mips.org references

2021-02-22 Thread Huacai Chen
Reviewed-by: Huacai Chen On Tue, Feb 23, 2021 at 12:22 AM Lukas Bulwahn wrote: > > The domain lookup for linux-mips.org fails for quite some time now. Hence, > webpages, the patchwork instance and Ralf Baechle's email there is not > reachable anymore. > > Remove all references of webpages from

Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-22 Thread Si-Wei Liu
On 2/21/2021 11:34 PM, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 12:14:17PM +0800, Jason Wang wrote: On 2021/2/19 7:54 下午, Si-Wei Liu wrote: Commit 452639a64ad8 ("vdpa: make sure set_features is invoked for legacy") made an exception for legacy guests to reset features to 0, when

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.12-1 tag

2021-02-22 Thread Michael Ellerman
Rob Herring writes: > On Mon, Feb 22, 2021 at 6:05 AM Michael Ellerman wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Hi Linus, >> >> Please pull powerpc updates for 5.12. >> >> There will be a conflict with the devicetree tree. It's OK to just take their >> side of the

linux-next: build failure after merge of the amdgpu tree

2021-02-22 Thread Stephen Rothwell
has no member named 'vblank_workqueue'; did you mean 'hdcp_workqueue'? 5470 | schedule_work(>vblank_workqueue->mall_work); | ^~~~ | hdcp_workqueue Caused by commit 9d99a805a9a0 ("drm/amd/display: Fix system hang after mul

Re: [PATCH v5 3/3] vsprintf: dump full information of page flags in pGp

2021-02-22 Thread Yafang Shao
On Mon, Feb 22, 2021 at 8:38 PM Petr Mladek wrote: > > Hello, > > first, I am sorry for the late reply. I have marked the thread as > proceed by mistake last week... > > > On Mon 2021-02-15 23:51:41, Yafang Shao wrote: > > Currently the pGp only shows the names of page flags, rather than > > the

Re: [PATCH v5 0/8] support for bitmap (and hence CPU) list "N" abbreviation

2021-02-22 Thread Yury Norov
On Sun, Feb 21, 2021 at 03:08:19AM -0500, Paul Gortmaker wrote: > This is the 5th and final version of this series. We got some good > improvements, like adding self-tests, using "N" as "just another number" > that could be used anywhere, and making things not CPU specific. > > But now it is

Re: [PATCH] kthread: add kthread_mod_pending_delayed_work api

2021-02-22 Thread Yiwei Zhang‎
Since you awesome guys are here, I do have another kthread related question, and hopefully to get some suggestions: Below are the conditions: 1. The caller threads queuing the work are normal threads(non-RT). 2. The worker thread is a realtime kernel thread with relatively high prio. 3. We are

Re: [PATCH 03/20] devlink: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Jakub Kicinski
On Mon, 22 Feb 2021 16:12:14 +0100 Romain Perier wrote: > diff --git a/net/core/devlink.c b/net/core/devlink.c > index 737b61c2976e..7eb445460c92 100644 > --- a/net/core/devlink.c > +++ b/net/core/devlink.c > @@ -9461,10 +9461,10 @@ EXPORT_SYMBOL_GPL(devlink_port_param_value_changed); > void

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.12-1 tag

2021-02-22 Thread Michael Ellerman
"Oliver O'Halloran" writes: > On Tue, Feb 23, 2021 at 9:44 AM Linus Torvalds > wrote: >> >> On Mon, Feb 22, 2021 at 4:06 AM Michael Ellerman wrote: >> > >> > Please pull powerpc updates for 5.12. >> >> Pulled. However: >> >> > mode change 100755 => 100644 >> >

Re: [PATCH] net: tap: remove redundant assignments

2021-02-22 Thread Jakub Kicinski
On Mon, 22 Feb 2021 22:57:48 +0800 Tang Bin wrote: > In the function tap_get_user, the assignment of 'err' at both places > is redundant, so remove one. > > Signed-off-by: Tang Bin > --- > drivers/net/tap.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git

Re: [PATCH] ethernet/microchip:remove unneeded variable: "ret"

2021-02-22 Thread Jakub Kicinski
On Mon, 22 Feb 2021 10:58:18 +0800 dingsen...@163.com wrote: > From: dingsenjie > > remove unneeded variable: "ret". > > Signed-off-by: dingsenjie # Form letter - net-next is closed We have already sent the networking pull request for 5.12 and therefore net-next is closed for new drivers,

Re: 5.11 regression: "ia64: add support for TIF_NOTIFY_SIGNAL" breaks ia64 boot

2021-02-22 Thread Jens Axboe
On 2/22/21 5:41 PM, Jens Axboe wrote: > On 2/22/21 5:34 PM, Jens Axboe wrote: >> On 2/22/21 4:53 PM, Sergei Trofimovich wrote: >>> On Mon, 22 Feb 2021 16:34:50 -0700 >>> Jens Axboe wrote: >>> On 2/22/21 4:05 PM, Sergei Trofimovich wrote: > Hia Jens! > > Tried 5.11 on rx3600 box

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

2021-02-22 Thread Stephen Boyd
Quoting Konrad Dybcio (2021-02-20 07:56:17) > Some branch clocks should explicitly set this flag to make sure > they inherit their frequencies from the parent clock. This flag doesn't have anything to do with inheriting the rate from the parent. > > Fixes: f2a76a2955c0 ("clk: qcom: Add Global

Re: 5.11 regression: "ia64: add support for TIF_NOTIFY_SIGNAL" breaks ia64 boot

2021-02-22 Thread Jens Axboe
On 2/22/21 5:34 PM, Jens Axboe wrote: > On 2/22/21 4:53 PM, Sergei Trofimovich wrote: >> On Mon, 22 Feb 2021 16:34:50 -0700 >> Jens Axboe wrote: >> >>> On 2/22/21 4:05 PM, Sergei Trofimovich wrote: Hia Jens! Tried 5.11 on rx3600 box and noticed it has a problem handling init

Re: [PATCH] kthread: add kthread_mod_pending_delayed_work api

2021-02-22 Thread Yiwei Zhang‎
On Fri, Feb 19, 2021 at 2:56 AM Petr Mladek wrote: > > On Sun 2021-02-14 00:06:11, Yiwei Zhang wrote: > > The existing kthread_mod_delayed_work api will queue a new work if > > failing to cancel the current work due to no longer being pending. > > However, there's a case that the same work can be

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

2021-02-22 Thread Stephen Boyd
Quoting Konrad Dybcio (2021-02-20 07:56:16) > 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)

[PATCH] Documentation/features: mark BATCHED_UNMAP_TLB_FLUSH doesn't apply to ARM64

2021-02-22 Thread Barry Song
BATCHED_UNMAP_TLB_FLUSH is used on x86 to do batched tlb shootdown by sending one IPI to TLB flush all entries after unmapping pages rather than sending an IPI to flush each individual entry. On arm64, tlb shootdown is done by hardware. Flush instructions are innershareable. The local flushes are

Re: 5.11 regression: "ia64: add support for TIF_NOTIFY_SIGNAL" breaks ia64 boot

2021-02-22 Thread Jens Axboe
On 2/22/21 4:53 PM, Sergei Trofimovich wrote: > On Mon, 22 Feb 2021 16:34:50 -0700 > Jens Axboe wrote: > >> On 2/22/21 4:05 PM, Sergei Trofimovich wrote: >>> Hia Jens! >>> >>> Tried 5.11 on rx3600 box and noticed it has >>> a problem handling init (5.10 booted fine): >>> >>> INIT: version 2.98

Re: [PATCH v3 8/9] dt-bindings: media: nxp,imx8mq-vpu: Update bindings

2021-02-22 Thread Rob Herring
On Mon, Feb 22, 2021 at 01:24:05PM +0100, Benjamin Gaignard wrote: > The current bindings seem to make the assumption that the > two VPUs hardware blocks (G1 and G2) are only one set of > registers. > After implementing the VPU reset driver and G2 decoder driver > it shows that all the VPUs are

Re: [PATCH v2 1/2] clk: add support for the lmk04832

2021-02-22 Thread Rob Herring
On Sun, Feb 21, 2021 at 02:44:26PM -0500, Liam Beguin wrote: > From: Liam Beguin > > The LMK04832 is an ultra-high performance clock conditioner with JEDEC > JESD204B support and is also pin compatible with the LMK0482x family of > devices. > > Signed-off-by: Liam Beguin > --- >

Re: [PATCH v24 04/25] IMA: avoid label collisions with stacked LSMs

2021-02-22 Thread Mimi Zohar
On Mon, 2021-02-22 at 15:45 -0800, Casey Schaufler wrote: > On 2/14/2021 10:21 AM, Mimi Zohar wrote: > > Would these changes match your suggestion? > > security/integrity/ima/ima_policy.c | 24 > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git

Re: [PATCH] ext4: add .kunitconfig fragment to enable ext4-specific tests

2021-02-22 Thread Daniel Latypov
On Tue, Feb 9, 2021 at 6:33 PM Theodore Ts'o wrote: > > On Tue, Feb 09, 2021 at 05:32:06PM -0800, Daniel Latypov wrote: > > > > After [2]: > > $ ./tools/testing/kunit.py run --kunitconfig=fs/ext4/.kunitconfig > > Any chance that in the future this might become: > > $ ./tools/testing/kunit.py

GOOD DAY

2021-02-22 Thread Fredrick Idahosa
-- Good Day, My name is Fredrick Idahosa, a registered Forex Broker with ETX Capital. I am soliciting on behalf of a private Client who held a Government Position in his Country and wishes to invest the sum of $10.5 Million [Ten Million, Five Hundred Thousand U.S Dollars] in viable business

linux-next: manual merge of the pci tree with Linus' tree

2021-02-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pci tree got a conflict in: drivers/pci/pci.c between commit: 40fb68c7725a ("Revert "PCI/ASPM: Save/restore L1SS Capability for suspend/resume"") from Linus' tree and commit: d2bb2f9e1af6 ("PCI/ASPM: Move LTR, ASPM L1SS save/restore into PCIe

Re: [PATCHv1 5/6] dt-bindings: mtd: jedec,spi-nor: add sst25vf032b

2021-02-22 Thread Rob Herring
On Mon, Feb 22, 2021 at 11:13 AM Sebastian Reichel wrote: > > The binding is already used by the driver. Update documentation > accordingly. > > Signed-off-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | 1 + > 1 file changed, 1 insertion(+) This is now

[PATCH 12/13] rcu/nocb: Prepare for finegrained deferred wakeup

2021-02-22 Thread Frederic Weisbecker
Provide a way to tune the deferred wakeup level we want to perform from a safe wakeup point. Currently those sites are: * nocb_timer * user/idle/guest entry * CPU down * softirq/rcuc All of these sites perform the wake up for both RCU_NOCB_WAKE and RCU_NOCB_WAKE_FORCE. In order to merge

[PATCH 13/13] rcu/nocb: Unify timers

2021-02-22 Thread Frederic Weisbecker
Now that nocb_timer and nocb_bypass_timer have become very similar, merge them together. A new RCU_NOCB_WAKE_BYPASS wake level is introduced. As a result, timers perform all kinds of deferred wake ups but other deferred wakeup callsites only handle non-bypass wakeups in order not to wake up rcuo

[PATCH 09/13] rcu/nocb: Cancel nocb_timer upon nocb_gp wakeup

2021-02-22 Thread Frederic Weisbecker
As we wake up in nocb_gp_wait(), there is no need to keep the nocb_timer around as we are going to go through the whole rdp list again. Any update performed before the timer was armed will now be visible after the nocb_gp_lock acquire. Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc:

[PATCH 10/13] rcu/nocb: Delete bypass_timer upon nocb_gp wakeup

2021-02-22 Thread Frederic Weisbecker
A NOCB-gp wake up can safely delete the nocb_bypass_timer. nocb_gp_wait() is going to check again the bypass state and rearm the bypass timer if necessary. Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Lai Jiangshan Cc: Joel Fernandes Cc: Neeraj Upadhyay Cc: Boqun Feng ---

[PATCH 11/13] rcu/nocb: Only cancel nocb timer if not polling

2021-02-22 Thread Frederic Weisbecker
No need to disarm the nocb_timer if rcu_nocb is polling because it shouldn't be armed either. Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Lai Jiangshan Cc: Joel Fernandes Cc: Neeraj Upadhyay Cc: Boqun Feng --- kernel/rcu/tree_plugin.h | 14 +++--- 1 file changed, 7

[PATCH 07/13] rcu/nocb: Directly call __wake_nocb_gp() from bypass timer

2021-02-22 Thread Frederic Weisbecker
The bypass timer calls __call_rcu_nocb_wake() instead of directly calling __wake_nocb_gp(). The only difference here is that rdp->qlen_last_fqs_check gets overriden. But resetting the deferred force quiescent state base shouldn't be relevant for that timer. In fact the bypass queue in concern can

[PATCH 05/13] rcu/nocb: Merge nocb_timer to the rdp leader

2021-02-22 Thread Frederic Weisbecker
Currently each offline rdp has its own nocb_timer armed when the nocb_gp wakeup must be deferred. This layout has many drawbacks, compared to a solution based on a single timer per rdp group: * It's a lot of timers to maintain. * The per rdp nocb lock must be held to arm and cancel the timer and

[PATCH 08/13] rcu/nocb: Allow de-offloading rdp leader

2021-02-22 Thread Frederic Weisbecker
The only thing that prevented an rdp leader from being de-offloaded was the nocb_bypass_timer that used to lock the nocb_lock of the rdp leader. If an rdp gets de-offloaded, it will subtely ignore rcu_nocb_lock() calls and do its job in the timer unsafely. Worse yet: if it gets re-offloaded in

[PATCH 04/13] rcu/nocb: Move trace_rcu_nocb_wake() calls outside nocb_lock when possible

2021-02-22 Thread Frederic Weisbecker
Those tracing calls don't need to be under the nocb lock. Move them outside. Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Lai Jiangshan Cc: Joel Fernandes Cc: Neeraj Upadhyay Cc: Boqun Feng --- kernel/rcu/tree_plugin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH net v2 2/2] net: dsa: b53: Support setting learning on port

2021-02-22 Thread Vladimir Oltean
On Mon, Feb 22, 2021 at 03:44:21PM -0800, Florian Fainelli wrote: > > In sf2, CORE_DIS_LEARN is at address 0xf0, while in b53, B53_DIS_LEARN > > is at 0x3c. Are they even configuring the same thing? > > They are the SF2 switch was integrated with a bridge that would flatten > its address space

[PATCH 03/13] rcu/nocb: Remove stale comment above rcu_segcblist_offload()

2021-02-22 Thread Frederic Weisbecker
Remove stale comment claiming that the cblist must be empty before changing the offloading state. This applied when the offloaded state was defined exclusively on boot. Reported-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Lai Jiangshan Cc: Joel Fernandes Cc:

[PATCH 06/13] timer: Revert "timer: Add timer_curr_running()"

2021-02-22 Thread Frederic Weisbecker
This reverts commit dcd42591ebb8a25895b551a5297ea9c24414ba54. The only user was RCU/nocb. Signed-off-by: Frederic Weisbecker Cc: Josh Triplett Cc: Lai Jiangshan Cc: Joel Fernandes Cc: Neeraj Upadhyay Cc: Boqun Feng Cc: Thomas Gleixner --- include/linux/timer.h | 2 -- kernel/time/timer.c

[PATCH 01/13] rcu/nocb: Fix potential missed nocb_timer rearm

2021-02-22 Thread Frederic Weisbecker
Two situations can cause a missed nocb timer rearm: 1) rdp(CPU A) queues its nocb timer. The grace period elapses before the timer get a chance to fire. The nocb_gp kthread is awaken by rdp(CPU B). The nocb_cb kthread for rdp(CPU A) is awaken and process the callbacks, again before the

[PATCH 02/13] rcu/nocb: Disable bypass when CPU isn't completely offloaded

2021-02-22 Thread Frederic Weisbecker
Instead of flushing bypass at the very last moment in the deoffloading process, just disable bypass enqueue at soon as we start the deoffloading process and flush the pending bypass early. It's less fragile and we leave some time to the kthreads and softirqs to process quietly. Symmetrically,

[PATCH 00/13] rcu/nocb updates v2

2021-02-22 Thread Frederic Weisbecker
It's a v2 of the previous set (https://lore.kernel.org/lkml/20210128171222.131380-1-frede...@kernel.org/) minus the patches already applied in rcu/dev. And this is based on latest rcu/dev. Changelog since v1: "rcu/nocb: Fix potential missed nocb_timer rearm" * Remove nocb_defer_wakeup

Re: [PATCH] drm/amdgpu/display: initialize the variable 'i'

2021-02-22 Thread Nathan Chancellor
On Mon, Feb 22, 2021 at 11:50:06PM +, Simon Ser wrote: > On Tuesday, February 23rd, 2021 at 12:44 AM, Nathan Chancellor > wrote: > > > On Mon, Feb 22, 2021 at 11:05:17PM +, Simon Ser wrote: > > > On Monday, February 22nd, 2021 at 8:25 PM, Souptick Joarder > > > wrote: > > > > > > > >>

Re: [PATCH v16 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-22 Thread Mike Kravetz
On 2/19/21 2:49 AM, Muchun Song wrote: > When we free a HugeTLB page to the buddy allocator, we should allocate > the vmemmap pages associated with it. But we may cannot allocate vmemmap > pages when the system is under memory pressure, in this case, we just > refuse to free the HugeTLB page

Re: linux-next: manual merge of the pidfd tree with the integrity tree

2021-02-22 Thread Stephen Rothwell
Hi all, On Mon, 15 Feb 2021 08:07:17 +1100 Stephen Rothwell wrote: > > On Mon, 25 Jan 2021 17:18:18 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the pidfd tree got a conflict in: > > > > security/integrity/ima/ima_api.c > > > > between commit: > > > >

Re: [PATCH] kernel: debug: Handle breakpoints in kernel .init.text section

2021-02-22 Thread Doug Anderson
Hi, On Fri, Feb 19, 2021 at 12:03 AM Sumit Garg wrote: > > Currently breakpoints in kernel .init.text section are not handled > correctly while allowing to remove them even after corresponding pages > have been freed. > > In order to keep track of .init.text section breakpoints, add another >

Re: linux-next: manual merge of the spi tree with the powerpc tree

2021-02-22 Thread Stephen Rothwell
Hi Stephen, On Fri, 12 Feb 2021 15:31:42 +1100 Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the spi tree got a conflict in: > > drivers/spi/spi-mpc52xx.c > > between commit: > > e10656114d32 ("spi: mpc52xx: Avoid using get_tbl()") > > from the powerpc tree and

Re: [PATCH v6 1/2] procfs: Allow reading fdinfo with PTRACE_MODE_READ

2021-02-22 Thread Kalesh Singh
On Mon, Feb 8, 2021 at 10:53 AM Kalesh Singh wrote: > > Android captures per-process system memory state when certain low memory > events (e.g a foreground app kill) occur, to identify potential memory > hoggers. In order to measure how much memory a process actually consumes, > it is necessary

Re: 5.11 regression: "ia64: add support for TIF_NOTIFY_SIGNAL" breaks ia64 boot

2021-02-22 Thread John Paul Adrian Glaubitz
Hi Sergei! On 2/23/21 12:34 AM, Jens Axboe wrote: > On 2/22/21 4:05 PM, Sergei Trofimovich wrote: >> Hia Jens! >> >> Tried 5.11 on rx3600 box and noticed it has >> a problem handling init (5.10 booted fine): >> >> INIT: version 2.98 booting >> >>OpenRC 0.42.1 is starting up Gentoo Linux

Re: [PATCH] drm/amdgpu/display: initialize the variable 'i'

2021-02-22 Thread Simon Ser
On Tuesday, February 23rd, 2021 at 12:44 AM, Nathan Chancellor wrote: > On Mon, Feb 22, 2021 at 11:05:17PM +, Simon Ser wrote: > > On Monday, February 22nd, 2021 at 8:25 PM, Souptick Joarder > > wrote: > > > > > >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9804:38: > > >

[GIT PULL] pinctrl changes for v5.12

2021-02-22 Thread Linus Walleij
Hi Linus, here are the pin control changes for v5.12. Really boring this time, not even any core changes, just drivers and janitorial. Well the drivers are a bit interesting. Arnd deleted a bunch of unused ARM32 drivers. I hear we will soon get to review the M1 Mac driver, that will be

Re: linux-next: manual merge of the kspp tree with the mips tree

2021-02-22 Thread Stephen Rothwell
Hi all, On Mon, 15 Feb 2021 07:47:26 +1100 Stephen Rothwell wrote: > > On Mon, 18 Jan 2021 15:08:04 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the kspp tree got a conflict in: > > > > include/asm-generic/vmlinux.lds.h > > > > between commits: > > > >

Re: [PATCH v3] usb: gadget: configfs: Fix KASAN use-after-free

2021-02-22 Thread Thadeu Lima de Souza Cascardo
On Tue, Jan 17, 2017 at 12:29:09PM +0200, Felipe Balbi wrote: > > Hi, > > Jim Lin writes: > > When gadget is disconnected, running sequence is like this. > > . composite_disconnect > > . Call trace: > > usb_string_copy+0xd0/0x128 > > gadget_config_name_configuration_store+0x4 > >

Re: [PATCH v24 04/25] IMA: avoid label collisions with stacked LSMs

2021-02-22 Thread Casey Schaufler
On 2/14/2021 10:21 AM, Mimi Zohar wrote: > Hi Casey, > > On Tue, 2021-01-26 at 08:40 -0800, Casey Schaufler wrote: >> Integrity measurement may filter on security module information >> and needs to be clear in the case of multiple active security >> modules which applies. Provide a boot option

Re: [PATCH v5 0/8] support for bitmap (and hence CPU) list "N" abbreviation

2021-02-22 Thread Paul E. McKenney
On Sun, Feb 21, 2021 at 03:08:19AM -0500, Paul Gortmaker wrote: > This is the 5th and final version of this series. We got some good > improvements, like adding self-tests, using "N" as "just another number" > that could be used anywhere, and making things not CPU specific. > > But now it is

Re: [PATCH] drm/amdgpu/display: initialize the variable 'i'

2021-02-22 Thread Nathan Chancellor
On Mon, Feb 22, 2021 at 11:05:17PM +, Simon Ser wrote: > On Monday, February 22nd, 2021 at 8:25 PM, Souptick Joarder > wrote: > > > >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9804:38: > > >> warning: variable 'i' is uninitialized when used here > > >> [-Wuninitialized] >

Re: [PATCH net v2 2/2] net: dsa: b53: Support setting learning on port

2021-02-22 Thread Florian Fainelli
On 2/22/2021 3:18 PM, Vladimir Oltean wrote: > On Mon, Feb 22, 2021 at 02:30:10PM -0800, Florian Fainelli wrote: >> diff --git a/drivers/net/dsa/b53/b53_regs.h b/drivers/net/dsa/b53/b53_regs.h >> index c90985c294a2..b2c539a42154 100644 >> --- a/drivers/net/dsa/b53/b53_regs.h >> +++

Re: [PATCH 1/3] arm64: dts: qcom: sc7180: Add lazor rev4

2021-02-22 Thread Matthias Kaehlcke
On Mon, Feb 22, 2021 at 03:20:53PM -0800, Doug Anderson wrote: > Hi, > > On Fri, Feb 19, 2021 at 6:11 PM Matthias Kaehlcke wrote: > > > > Lazor rev3 and older are stuffed with a 47k NTC thermistor for the > > charger temperature which currently isn't supported by the PM6150 ADC > > driver. A

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

2021-02-22 Thread Peter Geis
On Sat, Feb 20, 2021 at 12:36 PM Matthew Wilcox wrote: > > 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

Re: 5.11 regression: "ia64: add support for TIF_NOTIFY_SIGNAL" breaks ia64 boot

2021-02-22 Thread Jens Axboe
On 2/22/21 4:05 PM, Sergei Trofimovich wrote: > Hia Jens! > > Tried 5.11 on rx3600 box and noticed it has > a problem handling init (5.10 booted fine): > > INIT: version 2.98 booting > >OpenRC 0.42.1 is starting up Gentoo Linux (ia64) > > mkdir `/run/openrc': Read-only file system > mkdir

Re: [PATCH 3/3] arm64: dts: qcom: sc7180: Delete charger thermal zone and ADC channel for lazor <= rev3

2021-02-22 Thread Doug Anderson
Hi, On Mon, Feb 22, 2021 at 12:45 PM Stephen Boyd wrote: > > Quoting Matthias Kaehlcke (2021-02-22 12:38:46) > > On Mon, Feb 22, 2021 at 12:20:04PM -0800, Stephen Boyd wrote: > > > Quoting Matthias Kaehlcke (2021-02-19 18:10:59) > > > > Lazor rev3 and older are stuffed with a 47k NTC as

Re: [PATCH 2/3] arm64: dts: qcom: sc7180: trogdor: Add labels to charger thermal zone and ADC channel

2021-02-22 Thread Doug Anderson
Hi, On Fri, Feb 19, 2021 at 6:11 PM Matthias Kaehlcke wrote: > > Some revisions of trogdor boards use a thermistor for the charger > temperature which currently isn't supported by the PM6150 ADC > driver. Add labels for the charger thermal zone and ADC channel > to allow the removal of these

[tip:timers/urgent] BUILD SUCCESS 8acb54abc1db4e1e3913359e4108e04e88ce4d92

2021-02-22 Thread kernel test robot
-20210222 x86_64 randconfig-a002-20210222 x86_64 randconfig-a003-20210222 x86_64 randconfig-a005-20210222 x86_64 randconfig-a006-20210222 x86_64 randconfig-a004-20210222 i386 randconfig-a005-20210222 i386

Re: [PATCH 1/3] arm64: dts: qcom: sc7180: Add lazor rev4

2021-02-22 Thread Doug Anderson
Hi, On Fri, Feb 19, 2021 at 6:11 PM Matthias Kaehlcke wrote: > > Lazor rev3 and older are stuffed with a 47k NTC thermistor for the > charger temperature which currently isn't supported by the PM6150 ADC > driver. A supported thermistor is used in rev4 and later revisions. > Add rev4 .dts files

Re: [PATCH net v2 2/2] net: dsa: b53: Support setting learning on port

2021-02-22 Thread Vladimir Oltean
On Mon, Feb 22, 2021 at 02:30:10PM -0800, Florian Fainelli wrote: > diff --git a/drivers/net/dsa/b53/b53_regs.h b/drivers/net/dsa/b53/b53_regs.h > index c90985c294a2..b2c539a42154 100644 > --- a/drivers/net/dsa/b53/b53_regs.h > +++ b/drivers/net/dsa/b53/b53_regs.h > @@ -115,6 +115,7 @@ > #define

[GIT PULL v2] clang-lto for v5.12-rc1

2021-02-22 Thread Kees Cook
Hi Linus, Please pull this Clang Link Time Optimization series for v5.12-rc1. This has been in linux-next for the entire last development cycle, and is built on the work done preparing[0] for LTO by arm64 folks, tracing folks, etc. This series includes the core changes as well as the remaining

Re: [PATCH net v2 1/2] net: dsa: bcm_sf2: Wire-up br_flags_pre, br_flags and set_mrouter

2021-02-22 Thread Vladimir Oltean
On Mon, Feb 22, 2021 at 02:30:09PM -0800, Florian Fainelli wrote: > Because bcm_sf2 implements its own dsa_switch_ops we need to export the > b53_br_flags_pre(), b53_br_flags() and b53_set_mrouter so we can wire-up > them up like they used to be with the former b53_br_egress_floods(). > > Fixes:

[REGRESSION] "add a disk_uevent helper" breaks booting Andorid w/ dynamic partitions

2021-02-22 Thread John Stultz
Hey all, After updating to Linus' HEAD today I found my db845c board wouldn't boot to android with the error below. I was able to bisect the boot regression down to "block: add a disk_uevent helper":

[PATCH v4 2/2] ufs: sysfs: Resume the proper scsi device

2021-02-22 Thread Asutosh Das
Resumes the actual scsi device the unit descriptor of which is being accessed instead of the hba alone. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-sysfs.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/ufs/ufs-sysfs.c

Re: [PATCH] drm/amdgpu/display: initialize the variable 'i'

2021-02-22 Thread Simon Ser
On Monday, February 22nd, 2021 at 8:25 PM, Souptick Joarder wrote: > >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9804:38: > >> warning: variable 'i' is uninitialized when used here > >> [-Wuninitialized] >timing = >detailed_timings[i]; >

[PATCH v4 1/2] scsi: ufs: Enable power management for wlun

2021-02-22 Thread Asutosh Das
During runtime-suspend of ufs host, the scsi devices are already suspended and so are the queues associated with them. But the ufs host sends SSU to wlun during its runtime-suspend. During the process blk_queue_enter checks if the queue is not in suspended state. If so, it waits for the queue to

Re: [PATCH] blktrace: remove debugfs file dentries from struct blk_trace

2021-02-22 Thread Steven Rostedt
Jens, I guess this goes through your tree. I'm pinging you in case you did what I did, and confused this patch as one of Greg's stable patches (which I almost archived as such)! No, this is an actual update from Greg, not a patch that was backported. -- Steve On Tue, 16 Feb 2021 16:52:47

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.12-1 tag

2021-02-22 Thread Oliver O'Halloran
On Tue, Feb 23, 2021 at 9:44 AM Linus Torvalds wrote: > > On Mon, Feb 22, 2021 at 4:06 AM Michael Ellerman wrote: > > > > Please pull powerpc updates for 5.12. > > Pulled. However: > > > mode change 100755 => 100644 > > tools/testing/selftests/powerpc/eeh/eeh-functions.sh > > create mode

Re: [GIT PULL] SELinux patches for v5.12

2021-02-22 Thread Paul Moore
On Sun, Feb 21, 2021 at 8:07 PM Linus Torvalds wrote: > > On Mon, Feb 15, 2021 at 1:57 PM Paul Moore wrote: > > > > - Add support for labeling anonymous inodes, and extend this new > > support to userfaultfd. > > I've pulled this, but I just have to note how much I hate the function > names.

Re: [PATCH v4 03/10] coresight: config: Add configuration and feature generic functions

2021-02-22 Thread Mathieu Poirier
On Thu, Jan 28, 2021 at 05:09:29PM +, Mike Leach wrote: > Adds a set of generic support functions that allow devices to set and save > features values on the device, and enable and disable configurations. > > Additional functions for other common operations including feature > reset. > >

Re: linux-next: manual merge of the devicetree tree with the kbuild tree

2021-02-22 Thread Stephen Rothwell
Hi all, On Mon, 15 Feb 2021 09:32:02 +1100 Stephen Rothwell wrote: > > On Fri, 5 Feb 2021 14:45:40 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the devicetree tree got a conflict in: > > > > scripts/Makefile.lib > > > > between commit: > > > > d73a6a04c76a

[PATCH] kunit: tool: make --kunitconfig accept dirs, add lib/kunit fragment

2021-02-22 Thread Daniel Latypov
TL;DR $ ./tools/testing/kunit/kunit.py run --kunitconfig=lib/kunit Per suggestion from Ted [1], we can reduce the amount of typing by assuming a convention that these files are named '.kunitconfig'. In the case of [1], we now have $ ./tools/testing/kunit/kunit.py run --kunitconfig=fs/ext4 Also

Re: [PATCH v3 5/6] platform/x86: Add intel_skl_int3472 driver

2021-02-22 Thread Daniel Scally
Hi Hans, thanks for the input On 22/02/2021 13:27, Hans de Goede wrote: > Hi, > > On 2/22/21 2:19 PM, Daniel Scally wrote: >> Hi all >> >> On 22/02/2021 13:07, Daniel Scally wrote: >>> diff --git a/drivers/platform/x86/intel-int3472/Kconfig >>> b/drivers/platform/x86/intel-int3472/Kconfig >>>

RE: [PATCH 09/10] clocksource/drivers/hyper-v: Set clocksource rating based on Hyper-V feature

2021-02-22 Thread Michael Kelley
From: Boqun Feng Sent: Monday, February 22, 2021 8:01 AM > > On Wed, Jan 27, 2021 at 12:23:44PM -0800, Michael Kelley wrote: > > On x86/x64, the TSC clocksource is available in a Hyper-V VM only if > > Hyper-V provides the TSC_INVARIANT flag. The rating on the Hyper-V > > Reference TSC page

Re: [PATCH v3 1/1] security: Add CONFIG_LSM_AUTO to handle default LSM stack ordering

2021-02-22 Thread Casey Schaufler
On 2/22/2021 1:12 PM, Nicolas Iooss wrote: > On Mon, Feb 22, 2021 at 9:32 PM Casey Schaufler > wrote: >> On 2/22/2021 10:31 AM, Mickaël Salaün wrote: >>> On 22/02/2021 17:51, Casey Schaufler wrote: On 2/22/2021 7:06 AM, Mickaël Salaün wrote: > From: Mickaël Salaün > > Add a

Re: [PATCH] remoteproc: core: Remove casting to rproc_handle_resource_t

2021-02-22 Thread Sami Tolvanen
Hi, On Sun, Feb 21, 2021 at 11:18 PM Jindong Yue wrote: > > There are four different callback functions that are used for the > rproc_handle_resource_t callback that all have different second > parameter types. > > rproc_handle_vdev -> struct fw_rsc_vdev > rproc_handle_trace -> struct

[PATCH] uapi: nfnetlink_cthelper.h: fix userspace compilation error

2021-02-22 Thread Dmitry V. Levin
Apparently, and could not be included into the same compilation unit because of a cut-and-paste typo in the former header. Fixes: 12f7a505331e6 ("netfilter: add user-space connection tracking helper infrastructure") Cc: # v3.6 Signed-off-by: Dmitry V. Levin ---

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.12-1 tag

2021-02-22 Thread Linus Torvalds
On Mon, Feb 22, 2021 at 4:06 AM Michael Ellerman wrote: > > Please pull powerpc updates for 5.12. Pulled. However: > mode change 100755 => 100644 > tools/testing/selftests/powerpc/eeh/eeh-functions.sh > create mode 100755 tools/testing/selftests/powerpc/eeh/eeh-vf-aware.sh > create mode

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