Re: [PATCH v3 3/3] clk: qcom: lpasscc-sc7180: Re-configure the PLL in case lost

2020-10-14 Thread Doug Anderson
Hi, On Wed, Oct 14, 2020 at 4:39 PM Stephen Boyd wrote: > > Quoting Douglas Anderson (2020-10-14 14:05:23) > > diff --git a/drivers/clk/qcom/lpasscorecc-sc7180.c > > b/drivers/clk/qcom/lpasscorecc-sc7180.c > > index 48d370e2108e..e12d4c2b1b70 100644 > > --- a/drivers/clk/qcom/lpasscorecc-sc7180.

Re: [PATCH v2 14/17] resource: Move devmem revoke code to resource framework

2020-10-14 Thread Jason Gunthorpe
On Fri, Oct 09, 2020 at 11:28:54AM -0700, Dan Williams wrote: > On Fri, Oct 9, 2020 at 7:32 AM Jason Gunthorpe wrote: > > > > On Fri, Oct 09, 2020 at 04:24:45PM +0200, Daniel Vetter wrote: > > > On Fri, Oct 9, 2020 at 2:31 PM Jason Gunthorpe wrote: > > > > > > > > On Fri, Oct 09, 2020 at 09:59:31

Re: [PATCH v6 16/25] init: lto: fix PREL32 relocations

2020-10-14 Thread Jann Horn
On Tue, Oct 13, 2020 at 2:34 AM Sami Tolvanen wrote: > With LTO, the compiler can rename static functions to avoid global > naming collisions. As initcall functions are typically static, > renaming can break references to them in inline assembly. This > change adds a global stub with a stable name

Re: [PATCH -next] Revert "powerpc/pci: unmap legacy INTx interrupts when a PHB is removed"

2020-10-14 Thread Oliver O'Halloran
On Thu, Oct 15, 2020 at 5:28 AM Qian Cai wrote: > > This reverts commit 3a3181e16fbde752007759f8759d25e0ff1fc425 which > causes memory corruptions on POWER9 NV. I was going to post this along with a fix for Cedric's original bug, but I can do that separately so: Acked-by: Oliver O'Halloran

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-14 Thread Peter Zijlstra
On Wed, Oct 14, 2020 at 11:34:05AM -0700, Paul E. McKenney wrote: > commit 7deaa04b02298001426730ed0e6214ac20d1a1c1 > Author: Paul E. McKenney > Date: Tue Oct 13 12:39:23 2020 -0700 > > rcu: Prevent lockdep-RCU splats on lock acquisition/release > > The rcu_cpu_starting() and rcu_r

RE: [PATCH 01/13] remoteproc: Re-check state in rproc_shutdown()

2020-10-14 Thread Peng Fan
> Subject: [PATCH 01/13] remoteproc: Re-check state in rproc_shutdown() > > The state of the remote processor may have changed between the time a call > to rproc_shutdown() was made and the time it is executed. To avoid moving > forward with an operation that may have been cancelled, recheck whil

Re: [PATCH] sched/cputime: correct account of irqtime

2020-10-14 Thread Pingfan Liu
On Wed, Oct 14, 2020 at 9:02 PM Peter Zijlstra wrote: > > On Mon, Oct 12, 2020 at 09:50:44PM +0800, Pingfan Liu wrote: > > __do_softirq() may be interrupted by hardware interrupts. In this case, > > irqtime_account_irq() will account the time slice as CPUTIME_SOFTIRQ by > > mistake. > > > > By pas

Re: [PATCH v2 24/24] counters: docs: add a missing include

2020-10-14 Thread Shuah Khan
On 10/13/20 6:14 AM, Mauro Carvalho Chehab wrote: Changeset 37a0dbf631f6 ("counters: Introduce counter_atomic* counters") Is causing two new warnings: .../Documentation/core-api/counters.rst:8: WARNING: Undefined substitution referenced: "copy". .../Documentation/core-api/count

Re: [GIT PULL v2] objtool changes for v5.10

2020-10-14 Thread Stephen Rothwell
Hi Ingo, On Tue, 13 Oct 2020 12:38:31 +0200 Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > This seems to be missing > > > > > > https://lore.kernel.org/lkml/patch-1.thread-251403.git-2514037e9477.your-ad-here.call-01602244460-ext-7088@work.hours/ > > > > > > or did that get sent in a pre

Re: [PATCH v5 1/5] arm64: Add framework to turn IPI as NMI

2020-10-14 Thread Masayoshi Mizuma
On Wed, Oct 14, 2020 at 04:42:07PM +0530, Sumit Garg wrote: > Introduce framework to turn an IPI as NMI using pseudo NMIs. In case a > particular platform doesn't support pseudo NMIs, then request IPI as a > regular IRQ. > > The main motivation for this feature is to have an IPI that can be > leve

Re: [PATCH v6 17/25] PCI: Fix PREL32 relocations for LTO

2020-10-14 Thread Kees Cook
On Mon, Oct 12, 2020 at 05:31:55PM -0700, Sami Tolvanen wrote: > With Clang's Link Time Optimization (LTO), the compiler can rename > static functions to avoid global naming collisions. As PCI fixup > functions are typically static, renaming can break references > to them in inline assembly. This c

Re: [RFC PATCH 1/4] Add a RPMSG driver for the APU in the mt8183

2020-10-14 Thread Mathieu Poirier
Hi Alexandre, On Wed, Sep 30, 2020 at 01:53:47PM +0200, Alexandre Bailon wrote: > This adds a driver to communicate with the APU available > in the mt8183. The driver is generic and could be used for other APU. > It mostly provides a userspace interface to send messages and > and share big buffers

Re: [PATCH v5 2/5] irqchip/gic-v3: Enable support for SGIs to act as NMIs

2020-10-14 Thread Masayoshi Mizuma
On Wed, Oct 14, 2020 at 04:42:08PM +0530, Sumit Garg wrote: > Add support to handle SGIs as regular NMIs. As SGIs or IPIs defaults to a > special flow handler: handle_percpu_devid_fasteoi_ipi(), so skip NMI > handler update in case of SGIs. > > Also, enable NMI support prior to gic_smp_init() as a

Re: [PATCH v6 3/4] rcu/trace: Add tracing for how segcb list changes

2020-10-14 Thread joel
On Wed, Oct 14, 2020 at 08:52:17PM +0530, Neeraj Upadhyay wrote: > > > On 9/23/2020 8:52 PM, Joel Fernandes (Google) wrote: > > Track how the segcb list changes before/after acceleration, during > > queuing and during dequeuing. > > > > This has proved useful to discover an optimization to avoid

Re: [PATCH] fs: fix NULL dereference due to data race in prepend_path()

2020-10-14 Thread Andrii Nakryiko
On Wed, Oct 14, 2020 at 4:08 PM Al Viro wrote: > > On Wed, Oct 14, 2020 at 01:45:28PM -0700, Andrii Nakryiko wrote: > > Fix data race in prepend_path() with re-reading mnt->mnt_ns twice without > > holding the lock. is_mounted() does check for NULL, but > > is_anon_ns(mnt->mnt_ns) > > might re-re

Re: [PATCH v2 1/7] staging: qlge: replace ql_* with qlge_* to avoid namespace clashes with other qlogic drivers

2020-10-14 Thread Benjamin Poirier
On 2020-10-14 18:43 +0800, Coiby Xu wrote: > To avoid namespace clashes with other qlogic drivers and also for the > sake of naming consistency, use the "qlge_" prefix as suggested in > drivers/staging/qlge/TODO. > > Suggested-by: Benjamin Poirier > Signed-off-by: Coiby Xu > --- > drivers/stagi

Re: [PATCH v6 14/25] kbuild: lto: remove duplicate dependencies from .mod files

2020-10-14 Thread Kees Cook
On Mon, Oct 12, 2020 at 05:31:52PM -0700, Sami Tolvanen wrote: > With LTO, llvm-nm prints out symbols for each archive member > separately, which results in a lot of duplicate dependencies in the > .mod file when CONFIG_TRIM_UNUSED_SYMS is enabled. When a module > consists of several compilation un

Re: [PATCH] drm/amdgpu: add missing newline at eof

2020-10-14 Thread Alex Deucher
On Wed, Oct 14, 2020 at 5:18 PM wrote: > > From: Tom Rix > > Representative checkpatch.pl warning > > WARNING: adding a line without newline at end of file > 30: FILE: drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h:30: > +#endif > > Signed-off-by: Tom Rix Applied. Thanks! Alex > --- > dr

Re: [PATCH v3 01/11] counters: Introduce counter_atomic* counters

2020-10-14 Thread Shuah Khan
On 10/13/20 5:27 AM, Mauro Carvalho Chehab wrote: Em Fri, 9 Oct 2020 09:55:56 -0600 Shuah Khan escreveu: Introduce Simple atomic counters. There are a number of atomic_t usages in the kernel where atomic_t api is used strictly for counting and not for managing object lifetime. In some cases,

[PATCH v3 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm

2020-10-14 Thread Jann Horn
Until now, the mmap lock of the nascent mm was ordered inside the mmap lock of the old mm (in dup_mmap() and in UML's activate_mm()). A following patch will change the exec path to very broadly lock the nascent mm, but fine-grained locking should still work at the same time for the old mm. In part

Re: [PATCH] compiler.h: Fix barrier_data() on clang

2020-10-14 Thread Nick Desaulniers
On Wed, Oct 14, 2020 at 2:26 PM Arvind Sankar wrote: > > Commit > 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually > exclusive") > > neglected to copy barrier_data() from compiler-gcc.h into > compiler-clang.h. The definition in compiler-gcc.h was really to work > around cla

Re: [GIT PULL] Btrfs updates for 5.10

2020-10-14 Thread Stephen Rothwell
Hi David, On Mon, 12 Oct 2020 22:25:02 +0200 David Sterba wrote: > > Mishaps: > > - commit 62cf5391209a ("btrfs: move btrfs_rm_dev_replace_free_srcdev > outside of all locks") is a rebase leftover after the patch got > merged to 5.9-rc8 as a466c85edc6f ("btrfs: move > btrfs_rm_dev_replace_

[PATCH v3 2/2] exec: Broadly lock nascent mm until setup_arg_pages()

2020-10-14 Thread Jann Horn
While AFAIK there currently is nothing that can modify the VMA tree of a new mm until userspace has started running under the mm, we should properly lock the mm here anyway, both to keep lockdep happy when adding locking assertions and to be safe in the future in case someone e.g. decides to permit

[PATCH v2] i2c: i2c-mux-gpio: Enable this driver in ACPI land

2020-10-14 Thread Evan Green
Enable i2c-mux-gpio devices to be defined via ACPI. The idle-state property translates directly to a fwnode_property_*() call. The child reg property translates naturally into _ADR in ACPI. The i2c-parent binding is a relic from the days when all direct children of an i2c controller in Linux had t

Re: [PATCH v2] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Maciej W. Rozycki
On Thu, 15 Oct 2020, Serge Semin wrote: > > Table 2-2 REX Memory Regions > > - > > StartingEnding > > Region Address Address Use > > ---

[PATCH v3 0/2] Broad write-locking of nascent mm in execve

2020-10-14 Thread Jann Horn
v3: - add note about how this also fixes arch/um/ locking in patch 1 (Johannes Berg) - use IS_DEFINED() instead of #ifdef in patch 2 (Jason Gunthorpe) v2: - fix commit message of patch 1/2 and be more verbose about where the old mmap lock is taken (Michel, Jason) - resending without mangl

Re: [PATCH v2 20/20] ppc: propagate the calling conventions change down to csum_partial_copy_generic()

2020-10-14 Thread Linus Torvalds
On Wed, Oct 14, 2020 at 3:51 PM Linus Torvalds wrote: > > I think it's this instruction: > > addir1,r1,16 > > that should be removed from the function exit, because Al removed the > > - stwur1,-16(r1) > > on function entry. > > So I think you end up with a corrupt stack point

Re: [PATCH v2 20/20] ppc: propagate the calling conventions change down to csum_partial_copy_generic()

2020-10-14 Thread Linus Torvalds
On Wed, Oct 14, 2020 at 3:27 PM Jason A. Donenfeld wrote: > > This patch is causing crashes in WireGuard's CI over at > https://www.wireguard.com/build-status/ . Apparently sending a simple > network packet winds up triggering refcount_t's warn-on-saturate code. I Ouch. The C parts look fairly s

Re: [PATCH v6 16/25] init: lto: fix PREL32 relocations

2020-10-14 Thread Kees Cook
On Mon, Oct 12, 2020 at 05:31:54PM -0700, Sami Tolvanen wrote: > With LTO, the compiler can rename static functions to avoid global > naming collisions. As initcall functions are typically static, > renaming can break references to them in inline assembly. This > change adds a global stub with a st

Re: [RFC 13/13] m68k: mac: convert to generic clockevent

2020-10-14 Thread Finn Thain
On Sat, 10 Oct 2020, Arnd Bergmann wrote: > > Perhaps patch 13 does not belong in this series (?). > > > > All m68k platforms will need conversion before the TODO can be removed > > from Documentation/features/time/clockevents/arch-support.txt. > > Yes, correct. I marked this patch as RFC instea

Re: [PATCH v5 5/5] arm64: ipi_nmi: Add support for NMI backtrace

2020-10-14 Thread Masayoshi Mizuma
On Wed, Oct 14, 2020 at 04:42:11PM +0530, Sumit Garg wrote: > Enable NMI backtrace support on arm64 using IPI turned as an NMI > leveraging pseudo NMIs support. It is now possible for users to get a > backtrace of a CPU stuck in hard-lockup using magic SYSRQ. > > Signed-off-by: Sumit Garg > --- >

Re: [PATCH v5 3/5] arm64: smp: Allocate and setup IPI as NMI

2020-10-14 Thread Masayoshi Mizuma
On Wed, Oct 14, 2020 at 04:42:09PM +0530, Sumit Garg wrote: > Allocate an unused IPI that can be turned as NMI using ipi_nmi framework. > Also, invoke corresponding NMI setup/teardown APIs. > > Signed-off-by: Sumit Garg > --- > arch/arm64/kernel/smp.c | 8 > 1 file changed, 8 insertions

Re: [PATCH RFC V3 5/9] x86/pks: Add PKS kernel API

2020-10-14 Thread Ira Weiny
On Tue, Oct 13, 2020 at 11:43:57AM -0700, Dave Hansen wrote: > > +static inline void pks_update_protection(int pkey, unsigned long > > protection) > > +{ > > + current->thread.saved_pkrs = update_pkey_val(current->thread.saved_pkrs, > > +pkey, prot

[PATCH 1/2] device-dax/kmem: Fix resource release

2020-10-14 Thread Dan Williams
The conversion to request_mem_region() is broken because it assumes that the range is marked busy prior to release. However, due to the way that the kmem driver manipulates the IORESOURCE_BUSY flag (clears it to let {add,remove}_memory() handle busy) it requires a manual release_resource() to perfo

[PATCH 0/2] device-dax subdivision v5 to v6 fixups

2020-10-14 Thread Dan Williams
Hi, The v5 series of the device-dax-subdivision series landed upstream which missed some of the late breaking fixups in v6 [1]. The Xen one is cosmetic, the kmem one is a functional problem. I will handle the kmem in a device-dax follow-on pull request post-rc1. The Xen one can go through the Xen

[PATCH 2/2] xen/unpopulated-alloc: Consolidate pgmap manipulation

2020-10-14 Thread Dan Williams
Cleanup fill_list() to keep all the pgmap manipulations in a single location of the function. Update the exit unwind path accordingly. Link: http://lore.kernel.org/r/6186fa28-d123-12db-6171-a75cb6e61...@oracle.com Cc: Juergen Gross Cc: Stefano Stabellini Cc: Andrew Morton Cc: Reported-by: Bor

Re: linux-next: build failure after merge of the vfio tree

2020-10-14 Thread Stephen Rothwell
Hi Alex, On Tue, 13 Oct 2020 13:20:16 -0600 Alex Williamson wrote: > > Thanks, Stephen. Diana has posted a 32bit build fix which I've merged, > maybe that was the error. Also Diana's series in my branch is currently > dependent on fsl-bus support in GregKH's char-misc-next branch. Looking > a

Re: [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-10-14 Thread Sudarshan Rajagopalan
On 2020-10-13 04:38, Anshuman Khandual wrote: On 10/13/2020 04:35 AM, Sudarshan Rajagopalan wrote: When section mappings are enabled, we allocate vmemmap pages from physically continuous memory of size PMD_SIZE using vmemmap_alloc_block_buf(). Section mappings are good to reduce TLB pressure. B

[PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-10-14 Thread Sudarshan Rajagopalan
When section mappings are enabled, we allocate vmemmap pages from physically continuous memory of size PMD_SIZE using vmemmap_alloc_block_buf(). Section mappings are good to reduce TLB pressure. But when system is highly fragmented and memory blocks are being hot-added at runtime, its possible that

[PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-10-14 Thread Sudarshan Rajagopalan
V1: The initial patch used the approach to abort at the first instance of PMD_SIZE allocation failure, unmaps all previously mapped sections using vmemmap_free and maps the entire request with vmemmap_populate_basepages to allocate virtually contiguous memory. https://lkml.org/lkml/2020/9/10/66

Re: [PATCH] checkpatch: add a fixer for missing newline at eof

2020-10-14 Thread Joe Perches
On Wed, 2020-10-14 at 14:15 -0700, t...@redhat.com wrote: > From: Tom Rix > > Remove the trailing error message from the fixed lines Hi Tom. > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -3393,8 +3393,11 @@ sub process { > > # check for adding lines without a newline.

Re: [PATCH 0/2] net: dsa: mv88e6xxx: serdes link without phy

2020-10-14 Thread Jakub Kicinski
On Tue, 13 Oct 2020 15:18:56 +1300 Chris Packham wrote: > This small series gets my hardware into a working state. The key points are to > make sure we don't force the link and that we ask the MAC for the link status. > I also have updated my dts to say `phy-mode = "1000base-x";` and `managed = > "

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

2020-10-14 Thread Stephen Rothwell
Hi all, Please do *not* rebase/rewrite your linux-next included tree and then immediately send it to Linus. Or if you do, the please also update what you have in linux-next (so you can sneak it past me :-(). (mutter, mutter, unnecessary conflicts :-(). I have dropped the brtfs tree from linux-ne

[PATCH 1/2] vfs: move generic_remap_checks out of mm

2020-10-14 Thread Darrick J. Wong
From: Darrick J. Wong I would like to move all the generic helpers for the vfs remap range functionality (aka clonerange and dedupe) into a separate file so that they won't be scattered across the vfs and the mm subsystems. The eventual goal is to be able to deselect remap_range.c if none of the

[PATCH 2/2] vfs: move the remap range helpers to remap_range.c

2020-10-14 Thread Darrick J. Wong
From: Darrick J. Wong Complete the migration by moving the file remapping helper functions out of read_write.c and into remap_range.c. This reduces the clutter in the first file and (eventually) will make it so that we can compile out the second file if it isn't needed. Signed-off-by: Darrick J

[PATCH 0/2] vfs: move the clone/dedupe/remap helpers to a single file

2020-10-14 Thread Darrick J. Wong
Hi all, I would like to move the generic helper functions that support the file remap range operations (aka clone and dedupe) to a separate file under fs/. For the moment, I have a few goals here: one is to declutter fs/read_write.c and mm/filemap.c. The second goal is to be able to deselect all

Re: [PATCH 0/3] l3mdev icmp error route lookup fixes

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 10:50:13 -0400 Mathieu Desnoyers wrote: > Here is a series of fixes for ipv4 and ipv6 which ensure the route > lookup is performed on the right routing table in VRF configurations > when sending TTL expired icmp errors (useful for traceroute). > > It includes tests for both ipv

fs/ext4/inode.o: warning: objtool: mpage_release_unused_pages()+0x22c: unreachable instruction

2020-10-14 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 37187df45af7d28d27b5c130c23f407ca9dbefa2 commit: 0887a7ebc97770c7870abf3075a2e8cd502a7f52 ubsan: add trap instrumentation option date: 6 months ago config: x86_64-randconfig-m001-20201015 (attached as .con

Re: [PATCH 4/7] ASoC: arizona: Allow codecs to be selected from kernel config

2020-10-14 Thread kernel test robot
use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Richard-Fitzgerald/Add-dts-for-Rpi4-Cirrus-Lochnagar-and-codecs/20201014-225648 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next conf

Re: [PATCH -next] Revert "powerpc/pci: unmap legacy INTx interrupts when a PHB is removed"

2020-10-14 Thread Stephen Rothwell
Hi Oliver, On Thu, 15 Oct 2020 10:00:49 +1100 "Oliver O'Halloran" wrote: > > On Thu, Oct 15, 2020 at 5:28 AM Qian Cai wrote: > > > > This reverts commit 3a3181e16fbde752007759f8759d25e0ff1fc425 which > > causes memory corruptions on POWER9 NV. > > I was going to post this along with a fix for

Re: [PATCH v3 7/7] selftests/ftrace: Add test case for synthetic event syntax errors

2020-10-14 Thread Masami Hiramatsu
Hi Steve, On Wed, 14 Oct 2020 13:32:15 -0400 Steven Rostedt wrote: > On Wed, 14 Oct 2020 11:06:36 +0900 > Masami Hiramatsu wrote: > > > Hi Tom, > > > > On Tue, 13 Oct 2020 09:17:58 -0500 > > Tom Zanussi wrote: > > > > > Add a selftest that verifies that the syntax error messages and caret >

Re: [PATCH 2/2] nvmem: core: add OF_RECONFIG handler for nvmem cells

2020-10-14 Thread kernel test robot
nfig: i386-randconfig-s001-20201014 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-rc1-dirty # https://github.com/0day-ci/linux/commit/a3191767e8e4e0480e36126ce93e6ab41ab6f498 git remote add li

[RFC PATCH] nvmem: core: nvmem_of_notifier can be static

2020-10-14 Thread kernel test robot
Signed-off-by: kernel test robot --- core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 859431c15d5bc3..6dd79075fdd9b0 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -1671,7 +1671,7 @@ static int of_nv

linux-next: manual merge of the risc-v and vfs trees with Linus' tree

2020-10-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the risc-v tree got a conflict in: arch/x86/lib/getuser.S between commit: ea6f043fc984 ("x86: Make __get_user() generate an out-of-line call") from Linus' tree and commit: 47058bb54b57 ("x86: remove address space overrides using set_fs()") from the r

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-14 Thread Paul E. McKenney
On Thu, Oct 15, 2020 at 12:39:54AM +0200, Peter Zijlstra wrote: > On Wed, Oct 14, 2020 at 03:11:52PM -0700, Paul E. McKenney wrote: > > On Wed, Oct 14, 2020 at 11:53:19PM +0200, Peter Zijlstra wrote: > > > On Wed, Oct 14, 2020 at 11:34:05AM -0700, Paul E. McKenney wrote: > > > > commit 7deaa04b0229

Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name

2020-10-14 Thread Serge Semin
On Wed, Oct 14, 2020 at 10:04:32PM +0200, Krzysztof Kozlowski wrote: > On Wed, 14 Oct 2020 at 19:16, Serge Semin > wrote: > > > > On Wed, Oct 14, 2020 at 12:33:25PM +0200, Krzysztof Kozlowski wrote: > > > On Wed, 14 Oct 2020 at 12:23, Serge Semin > > > wrote: > > > > > > > > In accordance with th

Re: [patch 1/2] nohz: only wakeup a single target cpu when kicking a task

2020-10-14 Thread Frederic Weisbecker
On Wed, Oct 14, 2020 at 10:33:21AM +0200, Peter Zijlstra wrote: > On Tue, Oct 13, 2020 at 02:13:28PM -0300, Marcelo Tosatti wrote: > > > > Yes but if the task isn't running, run_posix_cpu_timers() doesn't have > > > anything to elapse. So indeed we can spare the IPI if the task is not > > > runnin

Re: [PATCH v3 3/3] clk: qcom: lpasscc-sc7180: Re-configure the PLL in case lost

2020-10-14 Thread Stephen Boyd
Quoting Douglas Anderson (2020-10-14 14:05:23) > diff --git a/drivers/clk/qcom/lpasscorecc-sc7180.c > b/drivers/clk/qcom/lpasscorecc-sc7180.c > index 48d370e2108e..e12d4c2b1b70 100644 > --- a/drivers/clk/qcom/lpasscorecc-sc7180.c > +++ b/drivers/clk/qcom/lpasscorecc-sc7180.c > @@ -388,6 +388,25 @@

Re: [PATCH] net: phy: Prevent reporting advertised modes when autoneg is off

2020-10-14 Thread Lukasz Stelmach
It was <2020-10-14 śro 23:04>, when Russell King - ARM Linux admin wrote: > On Wed, Oct 14, 2020 at 04:39:47PM +0200, Lukasz Stelmach wrote: >> It was <2020-10-14 śro 14:32>, when Russell King - ARM Linux admin wrote: >> > In any case, the mii.c code does fill in the advertising mask even >> > when

Re: [PATCH net-next v5 08/10] bridge: cfm: Netlink GET configuration Interface.

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:26 + Henrik Bjoernlund wrote: > + if (nla_put_u32(skb, IFLA_BRIDGE_CFM_CC_CCM_TX_SEQ_NO_UPDATE, > + mep->cc_ccm_tx_info.seq_no_update)) > + goto nla_put_failure; > + > + if (nla_put_u32(skb, IFLA_B

Re: [PATCH v3 2/3] clk: qcom: lpass-sc7180: Disentangle the two clock devices

2020-10-14 Thread Stephen Boyd
Quoting Doug Anderson (2020-10-14 16:07:52) > Hi, > > On Wed, Oct 14, 2020 at 4:00 PM Stephen Boyd wrote: > > > > Quoting Doug Anderson (2020-10-14 15:28:58) > > > Hi, > > > > > > On Wed, Oct 14, 2020 at 3:10 PM Stephen Boyd wrote: > > > > > > > > Quoting Douglas Anderson (2020-10-14 14:05:22) >

Re: [PATCH net-next v5 04/10] bridge: cfm: Kernel space implementation of CFM. MEP create/delete.

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:22 + Henrik Bjoernlund wrote: > + if (config->mdlevel > 7) { > + NL_SET_ERR_MSG_MOD(extack, > +"MD level is invalid"); > + return -EINVAL; > + } > + /* The MEP-ID is a 13 bit field in the CCM PDU ident

Re: [PATCH net-next v5 06/10] bridge: cfm: Kernel space implementation of CFM. CCM frame RX added.

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:24 + Henrik Bjoernlund wrote: > + /* This CCM related status is based on the latest received CCM PDU. */ > + u8 port_tlv_value; /* Port Status TLV value */ > + u8 if_tlv_value; /* Interface Status TLV value */ > + > + /* CCM has not been received for 3.

Re: [GIT PULL] SPDX patches for 5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 19:52:16 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx.git > tags/spdx-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3e4fb4346c781068610d03c12b16c0cfb0fd24a3 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] TTY/Serial driver patches for 5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 19:48:26 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5d6c413c92a3e6fc9399141891147d0d826517c9 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Driver core patches for 5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 19:48:51 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > tags/driver-core-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fe151462bd0f7ad0e758f1cdcbeb6426e3d1ee8e Thank you! -- De

Re: [PATCH net-next v5 06/10] bridge: cfm: Kernel space implementation of CFM. CCM frame RX added.

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:24 + Henrik Bjoernlund wrote: > +struct br_cfm_status_tlv { > + __u8 type; > + __be16 length; > + __u8 value; > +}; This structure is unused (and likely not what you want, since it will have 2 1 byte while unless you mark length as __packed).

Re: [GIT PULL] MFD for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 17:09:07 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-next-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1a31c12371556bfbe511edd268dab721b504d511 Thank you! -- Deet-doot-dot, I am a b

Re: [GIT PULL] IPMI bug fixes for 5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 10:56:49 -0500: > https://github.com/cminyard/linux-ipmi.git tags/for-linus-5.10-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6e4dc3d59284ea3bc7c3e40694bce84d988b01af Thank you! -- Deet-doot-dot, I am a bot. https://

Re: [GIT PULL] cgroup changes for v5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 10:07:03 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2f6c6d0891b472bbda70dfcc51fbb3147b6f54a0 Thank you! -- Deet-doot-dot, I am a bot. http

Re: [GIT PULL] first round of SCSI updates for the 5.8+ merge window

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Tue, 13 Oct 2020 15:53:46 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/55e0500eb5c0440a3d43074edbd8db3e95851b66 Thank you! -- Deet-doot-dot, I am a bot. htt

Re: [GIT PULL] LEDs changes for v5.10-rc1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 13:05:56 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git/ > tags/leds-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7fafb54c7d390e9b273a1d7d377e38d9c408046e Thank you! -- Deet-doot-

[PATCH] powerpc32: don't adjust unmoved stack pointer in csum_partial_copy_generic() epilogue

2020-10-14 Thread Jason A. Donenfeld
A recent change to the checksum code removed usage of some extra arguments, alongside with storage on the stack for those, and the stack pointer no longer needed to be adjusted in the function prologue. But, a left over subtraction wasn't removed in the function epilogue, causing the function to re

Re: [GIT PULL] pin control changes for the v5.10 kernel series

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 14:58:20 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git > tags/pinctrl-v5.10-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b4e1bce85fd8f43dc814049e2641cc6beaa8146b Thank you! -- Deet-

Re: [GIT PULL] Backlight for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 17:10:40 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git > tags/backlight-next-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6448cbf662c7858c0d9eb0b135962bedd6d0b9a0 Thank you! -- Deet-doo

Re: [GIT PULL] Devicetree updates for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 10:53:04 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > tags/devicetree-for-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f888bdf9823c85fe945c4eb3ba353f749dec3856 Thank you! -- Deet-doot-d

Re: [PATCH net-next v5 04/10] bridge: cfm: Kernel space implementation of CFM. MEP create/delete.

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:22 + Henrik Bjoernlund wrote: > with restricted management access to each other<80><99>s equipment. Some Unicode funk in this line?

Re: [PATCH v3 2/3] clk: qcom: lpass-sc7180: Disentangle the two clock devices

2020-10-14 Thread Stephen Boyd
Quoting Doug Anderson (2020-10-14 15:28:58) > Hi, > > On Wed, Oct 14, 2020 at 3:10 PM Stephen Boyd wrote: > > > > Quoting Douglas Anderson (2020-10-14 14:05:22) > > > diff --git a/drivers/clk/qcom/lpasscorecc-sc7180.c > > > b/drivers/clk/qcom/lpasscorecc-sc7180.c > > > index abcf36006926..48d370

Re: [PATCH net-next v5 05/10] bridge: cfm: Kernel space implementation of CFM. CCM frame TX added.

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:23 + Henrik Bjoernlund wrote: > + skb = dev_alloc_skb(CFM_CCM_MAX_FRAME_LENGTH); > + if (!skb) > + return NULL; > + > + rcu_read_lock(); > + b_port = rcu_dereference(mep->b_port); > + if (!b_port) { > + rcu_read_unlock(); > +

Re: [PATCH net-next v5 00/10] net: bridge: cfm: Add support for Connectivity Fault Management(CFM)

2020-10-14 Thread Jakub Kicinski
On Mon, 12 Oct 2020 14:04:18 + Henrik Bjoernlund wrote: > Connectivity Fault Management (CFM) is defined in 802.1Q section 12.14. > > Connectivity Fault Management (CFM) comprises capabilities for detecting, > verifying, > and isolating connectivity failures in Virtual Bridged Networks. > The

Re: [PATCH v2 20/20] ppc: propagate the calling conventions change down to csum_partial_copy_generic()

2020-10-14 Thread Jason A. Donenfeld
On Thu, Oct 15, 2020 at 12:53 AM Linus Torvalds wrote: > > On Wed, Oct 14, 2020 at 3:51 PM Linus Torvalds > wrote: > > > > I think it's this instruction: > > > > addir1,r1,16 > > > > that should be removed from the function exit, because Al removed the > > > > - stwur1,-16(r

Re: [PATCH v2 20/20] ppc: propagate the calling conventions change down to csum_partial_copy_generic()

2020-10-14 Thread Jason A. Donenfeld
On Thu, Oct 15, 2020 at 12:51 AM Linus Torvalds wrote: > > On Wed, Oct 14, 2020 at 3:27 PM Jason A. Donenfeld wrote: > > > > This patch is causing crashes in WireGuard's CI over at > > https://www.wireguard.com/build-status/ . Apparently sending a simple > > network packet winds up triggering ref

Re: [PATCH v2] MIPS: DEC: Restore bootmem reservation for firmware working memory area

2020-10-14 Thread Thomas Bogendoerfer
On Wed, Oct 14, 2020 at 10:34:56PM +0100, Maciej W. Rozycki wrote: > Fix a crash on DEC platforms starting with: > > VFS: Mounted root (nfs filesystem) on device 0:11. > Freeing unused PROM memory: 124k freed > BUG: Bad page state in process swapper pfn:1 > page:(ptrval) refcount:0 mapcount:-

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-14 Thread David Lechner
On 9/26/20 9:18 PM, William Breathitt Gray wrote: +static ssize_t counter_chrdev_read(struct file *filp, char __user *buf, + size_t len, loff_t *f_ps) +{ + struct counter_device *const counter = filp->private_data; + int err; + unsigned long flag

Re: ACPI _CST introduced performance regresions on Haswll

2020-10-14 Thread Mel Gorman
On Tue, Oct 13, 2020 at 08:55:26PM +0200, Rafael J. Wysocki wrote: > > > With C6 enabled, that state is used at > > > least sometimes (so C1E is used less often), but PC6 doesn't seem to be > > > really used - it looks like core C6 only is entered and which may be why > > > C6 > > > adds less late

Re: [PATCH RFC V3 4/9] x86/pks: Preserve the PKRS MSR on context switch

2020-10-14 Thread Ira Weiny
On Tue, Oct 13, 2020 at 11:31:45AM -0700, Dave Hansen wrote: > On 10/9/20 12:42 PM, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > The PKRS MSR is defined as a per-logical-processor register. This > > isolates memory access by logical CPU. Unfortunately, the MSR is not > > managed by XS

Re: [PATCH v5 3/5] counter: Add character device interface

2020-10-14 Thread David Lechner
On 10/14/20 2:05 PM, William Breathitt Gray wrote: On Wed, Oct 14, 2020 at 12:43:08PM -0500, David Lechner wrote: On 9/26/20 9:18 PM, William Breathitt Gray wrote: diff --git a/drivers/counter/counter-chrdev.c b/drivers/counter/counter-chrdev.c new file mode 100644 index ..2be3846e4

Re: [PATCH v2 20/20] ppc: propagate the calling conventions change down to csum_partial_copy_generic()

2020-10-14 Thread Jason A. Donenfeld
Hi Al, On Fri, Jul 24, 2020 at 02:25:46AM +0100, Al Viro wrote: > From: Al Viro > > ... and get rid of the pointless fallback in the wrappers. On error it used > to zero the unwritten area and calculate the csum of the entire thing. Not > wanting to do it in assembler part had been very reason

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

2020-10-14 Thread Stephen Rothwell
Hi Kees, On Sun, 4 Oct 2020 19:44:52 -0700 Kees Cook wrote: > > On Sun, Oct 04, 2020 at 09:00:18PM +1100, Stephen Rothwell wrote: > > Hi Kees, > > > > On Sun, 4 Oct 2020 01:27:01 -0700 Kees Cook wrote: > > > > > > I assume CONFIG_CONSTRUCTORS is enabled for your build (it should be for > >

Re: [tip: locking/core] lockdep: Fix lockdep recursion

2020-10-14 Thread Paul E. McKenney
On Wed, Oct 14, 2020 at 11:53:19PM +0200, Peter Zijlstra wrote: > On Wed, Oct 14, 2020 at 11:34:05AM -0700, Paul E. McKenney wrote: > > commit 7deaa04b02298001426730ed0e6214ac20d1a1c1 > > Author: Paul E. McKenney > > Date: Tue Oct 13 12:39:23 2020 -0700 > > > > rcu: Prevent lockdep-RCU spla

Re: [PATCH v3 2/3] clk: qcom: lpass-sc7180: Disentangle the two clock devices

2020-10-14 Thread Stephen Boyd
Quoting Douglas Anderson (2020-10-14 14:05:22) > diff --git a/drivers/clk/qcom/lpasscorecc-sc7180.c > b/drivers/clk/qcom/lpasscorecc-sc7180.c > index abcf36006926..48d370e2108e 100644 > --- a/drivers/clk/qcom/lpasscorecc-sc7180.c > +++ b/drivers/clk/qcom/lpasscorecc-sc7180.c > @@ -356,12 +356,48 @

Re: [PATCH] MIPS: dec: fix section mismatch

2020-10-14 Thread Thomas Bogendoerfer
On Tue, Oct 06, 2020 at 04:00:03PM +0200, Thomas Bogendoerfer wrote: > Drop inline for memory setup functions and mark them __init to > fix section mismatch of pmax_setup_memory_region. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/dec/prom/memory.c | 4 ++-- > 1 file changed, 2 inser

Re: [PATCH v3] MIPS: replace add_memory_region with memblock

2020-10-14 Thread Thomas Bogendoerfer
On Wed, Oct 14, 2020 at 01:47:06PM +0100, Maciej W. Rozycki wrote: > On Fri, 9 Oct 2020, Thomas Bogendoerfer wrote: > > > add_memory_region was the old interface for registering memory and > > was already changed to used memblock internaly. Replace it by > > directly calling memblock functions. >

Re: [PATCH v3 4/8] of: unittest: Add test for of_dma_get_max_cpu_address()

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 2:12 PM Nicolas Saenz Julienne wrote: > > Introduce a test for of_dma_get_max_cup_address(), it uses the same DT > data as the rest of dma-ranges unit tests. > > Signed-off-by: Nicolas Saenz Julienne > --- > drivers/of/unittest.c | 20 > 1 file change

Re: [PATCH v3 3/8] of/address: Introduce of_dma_get_max_cpu_address()

2020-10-14 Thread Rob Herring
On Wed, Oct 14, 2020 at 2:12 PM Nicolas Saenz Julienne wrote: > > Introduce of_dma_get_max_cpu_address(), which provides the highest CPU > physical address addressable by all DMA masters in the system. It's > specially useful for setting memory zones sizes at early boot time. > > Signed-off-by: Ni

Re: [PATCH v6 35/80] docs: fs: fscrypt.rst: get rid of :c:type: tags

2020-10-14 Thread Eric Biggers
On Wed, Oct 14, 2020 at 08:59:07AM +0200, Mauro Carvalho Chehab wrote: > [PATCH v6.1 35/80] docs: fs: fscrypt.rst: get rid of :c:type: tags > > The :c:type: tag has problems with Sphinx 3.x, as structs > there should be declared with c:struct. > > So, remove them, relying at automarkup.py extensi

Linux 5.9: smartpqi: controller is offline: status code 0x6100c

2020-10-14 Thread Paul Menzel
Dear Linux folks, With Linux 5.9 and $ lspci -nn -s 89: 89:00.0 Serial Attached SCSI controller [0107]: Adaptec Smart Storage PQI 12G SAS/PCIe 3 [9005:028f] (rev 01) $ more /sys/devices/pci:88/:88:00.0/:89:00.0/host15/scsi_host/host15/driver_version 1.2.8-026

Re: [mm/writeback] 8d92890bd6: will-it-scale.per_process_ops -15.3% regression

2020-10-14 Thread NeilBrown
On Wed, Oct 14 2020, Jan Kara wrote: > On Wed 14-10-20 16:47:06, kernel test robot wrote: >> Greeting, >> >> FYI, we noticed a -15.3% regression of will-it-scale.per_process_ops due >> to commit: >> >> commit: 8d92890bd6b8502d6aee4b37430ae6444ade7a8c ("mm/writeback: discard >> NR_UNSTABLE_NFS, u

Re: [GIT PULL] kernel_clone() for v5.10

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 10:41:54 +0200: > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux > tags/kernel-clone-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/612e7a4c1645f09449355cf08b6fd3de80b4f8cc Thank you! -- Deet-doot-

Re: [GIT PULL] xfs: new code for 5.10, part 1

2020-10-14 Thread pr-tracker-bot
The pull request you sent on Wed, 14 Oct 2020 13:50:59 -0700: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.10-merge-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2fc61f25fb296827387a5f01129dbc00cbe3ca58 Thank you! -- Deet-doot-dot, I am a bot. h

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