[PATCH] cpuset: Move node_isset() outside of the rcu_read region

2020-09-16 Thread yanfei.xu
From: Yanfei Xu It's no need to keep node_isset still in rcu_read region, just move it outside of the rcu_read region. Signed-off-by: Yanfei Xu --- kernel/cgroup/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index

Re: [GIT PULL] security: device_cgroup RCU warning fix

2020-09-16 Thread pr-tracker-bot
The pull request you sent on Wed, 16 Sep 2020 06:21:29 +1000 (AEST): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > tags/fixes-v5.9a has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1e484d388773b0a984236a181fb21e133630df42 Thank you! --

Re: [RFC] autonuma: Migrate on fault among multiple bound nodes

2020-09-16 Thread Qian Cai
On Wed, 2020-09-16 at 17:29 +0200, David Hildenbrand wrote: > On 16.09.20 15:39, Qian Cai wrote: > > On Wed, 2020-09-16 at 08:59 +0800, Huang Ying wrote: > > > static int apply_policy_zone(struct mempolicy *policy, enum zone_type > > > zone) > > > @@ -2474,11 +2481,13 @@ int mpol_misplaced(struct

[GIT PULL] ARM: sparx5: SoC for 5.9

2020-09-16 Thread Lars Povlsen
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: https://github.com/microchip-ung/linux-upstream.git tags/sparx5-dt-5.10 for you to fetch changes up to

Re: [PATCH 3/3] ARM: s3c: Bring back notes from removed debug-macro.S

2020-09-16 Thread Krzysztof Kozlowski
On Fri, Sep 11, 2020 at 04:33:43PM +0200, Krzysztof Kozlowski wrote: > Documentation references notes from a removed debug-macro.S file so > bring the contents here. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/mach-s3c/s3c64xx.c | 7 ++- > 1 file changed, 6 insertions(+), 1

Re: [PATCH v3 RESEND 7/8] dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml

2020-09-16 Thread Vinod Koul
On 11-09-20, 14:16, Mauro Carvalho Chehab wrote: > Use the new YAML for this physical layer. > > Signed-off-by: Mauro Carvalho Chehab > --- > .../bindings/phy/hisilicon,hi3670-usb3.yaml | 72 +++ > .../bindings/phy/phy-hi3670-usb3.txt | 25 --- Aha we have yaml

[RFC PATCH 2/2] mm: vmscan: remove shrinker's nr_deferred

2020-09-16 Thread Yang Shi
Recently huge amount one-off slab drop was seen on some vfs metadata heavy workloads, it turned out there were huge amount accumulated nr_deferred objects seen by the shrinker. I managed to reproduce this problem with kernel build workload plus negative dentry generator. First step, run the

[RFC PATCH 1/2] mm: vmscan: remove shrinker's nr_deferred from tracepoint

2020-09-16 Thread Yang Shi
The shrinker's nr_deferred will be removed in the following patch, this is a preparation patch to make it bisectable. Signed-off-by: Yang Shi --- include/trace/events/vmscan.h | 26 +++--- mm/vmscan.c | 4 ++-- 2 files changed, 9 insertions(+), 21

[RFC PATCH 0/2] Remove shrinker's nr_deferred

2020-09-16 Thread Yang Shi
Recently huge amount one-off slab drop was seen on some vfs metadata heavy workloads, it turned out there were huge amount accumulated nr_deferred objects seen by the shrinker. I managed to reproduce this problem with kernel build workload plus negative dentry generator. First step, run the

Re: [PATCH v5 2/2] misc: rtsx: Add power saving functions and fix driving parameter

2020-09-16 Thread Bjorn Helgaas
On Wed, Sep 16, 2020 at 02:30:20PM +0200, gre...@linuxfoundation.org wrote: > On Tue, Sep 15, 2020 at 10:28:11AM -0500, Bjorn Helgaas wrote: > > On Tue, Sep 15, 2020 at 08:24:50AM +, 吳昊澄 Ricky wrote: > > > > -Original Message- > > > > From: Bjorn Helgaas [mailto:helg...@kernel.org] > >

Re: [PATCH] random: remove dead code left over from blocking pool

2020-09-16 Thread Andy Lutomirski
On Tue, Sep 15, 2020 at 9:38 PM Eric Biggers wrote:> > From: Eric Biggers > > Remove some dead code that was left over following commit 90ea1c6436d2 > ("random: remove the blocking pool"). > Looks good to me. Reviewed-by: Andy Lutomirski

Re: [PATCH] ARM: dts: stm32: declare device tree syscon node for TAMP peripheral

2020-09-16 Thread Ahmad Fatoum
On 9/16/20 4:22 PM, Ahmad Fatoum wrote: > The stm32mp1 TAMP (Tamper and backup registers) does tamper detection > and features 32 backup registers that, being in the RTC domain, may > survive even with Vdd switched off. > > We don't have a driver for the peripheral, but handling it as syscon >

Re: [PATCH 5.8 000/177] 5.8.10-rc1 review

2020-09-16 Thread Shuah Khan
On 9/16/20 12:29 AM, Greg Kroah-Hartman wrote: On Tue, Sep 15, 2020 at 08:54:24PM -0600, Shuah Khan wrote: On 9/15/20 3:06 PM, Shuah Khan wrote: On 9/15/20 8:11 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.8.10 release. There are 177 patches in this

[PATCH] pmem: fix __copy_user_flushcache

2020-09-16 Thread Mikulas Patocka
On Wed, 16 Sep 2020, Dan Williams wrote: > On Wed, Sep 16, 2020 at 10:24 AM Mikulas Patocka wrote: > > > > > > > > On Wed, 16 Sep 2020, Dan Williams wrote: > > > > > On Wed, Sep 16, 2020 at 3:57 AM Mikulas Patocka > > > wrote: > > > > > > > > > > > > > > > > I'm submitting this patch that

[PATCH] nvme: fix doulbe irq free

2020-09-16 Thread Tong Zhang
the irq might already been released before reset work can run [ 81.137630] [ cut here ] [ 81.137913] Trying to free already-free IRQ 11 [ 81.138145] WARNING: CPU: 1 PID: 7 at kernel/irq/manage.c:1751 free_irq+0x389/0x590 [ 81.138525] Modules linked in: [

[PATCH v2 2/3] drm/panfrost: add amlogic reset quirk callback

2020-09-16 Thread Neil Armstrong
The T820, G31 & G52 GPUs integratewd by Amlogic in the respective GXM, G12A/SM1 & G12B SoCs needs a quirk in the PWR registers at the GPU reset time. Since the Amlogic's integration of the GPU cores with the SoC is not publicly documented we do not know what does these values, but they permit

[PATCH 2/3] dt-bindings: Add vendor prefix for Ouya Inc.

2020-09-16 Thread Peter Geis
Ouya is a defunct company from 2012 to 2015. They produced a single device, the Ouya game console. In 2015 they were purchased by Razer Inc. and the Ouya was discontinued. All Ouya services were shuttered in 2019. Signed-off-by: Peter Geis ---

RE: [PATCH 2/3] media: dt-bindings: media: renesas,drif: Convert to json-schema

2020-09-16 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback. > From: Laurent Pinchart > Sent: 15 September 2020 18:45 > > On Tue, Sep 15, 2020 at 08:36:39PM +0300, Laurent Pinchart wrote: > > Hi Fabrizio, > > > > Thank you for the patch. > > > > On Tue, Sep 15, 2020 at 02:12:15PM +0100, Fabrizio Castro wrote: > >

[PATCH v3 3/3] soundwire: qcom: get max rows and cols info from compatible

2020-09-16 Thread Srinivas Kandagatla
currently the max rows and cols values are hardcoded. In reality these values depend on the IP version. So get these based on device tree compatible strings. Signed-off-by: Srinivas Kandagatla --- drivers/soundwire/qcom.c | 46 +++- 1 file changed, 31

Re: [PATCH 5/9] btrfs: zstd: Switch to the zstd-1.4.6 API

2020-09-16 Thread Christoph Hellwig
On Wed, Sep 16, 2020 at 10:20:52AM -0400, Chris Mason wrote: > It???s not completely clear what you???re asking for here. If the API > matches what???s in zstd-1.4.6, that seems like a reasonable way to label > it. That???s what the upstream is for this code. > > I???m also not sure why we???re

Re: [PATCH 2/2] sched/hotplug: Ensure only per-cpu kthreads run during hotplug

2020-09-16 Thread peterz
On Wed, Sep 16, 2020 at 12:18:45PM +0200, Sebastian Andrzej Siewior wrote: > With this on top of -rc5 I get: > > [ 42.678670] process 1816 (hackbench) no longer affine to cpu2 > [ 42.678684] process 1817 (hackbench) no longer affine to cpu2 > [ 42.710502] [ cut here

[rcu:dev.2020.09.10a 35/35] kernel/rcu/rcutorture.c:698:20: error: 'show_rcu_tasks_classic_gp_kthread' undeclared here (not in a function)

2020-09-16 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.09.10a head: ccb38b2f3e160fbfecedbd0c80bde97a7dfcbdec commit: ccb38b2f3e160fbfecedbd0c80bde97a7dfcbdec [35/35] rcutorture: Make grace-period kthread report match RCU flavor being tested config:

Re: canfdtest on flexcan loopback

2020-09-16 Thread Vladimir Oltean
On Wed, Sep 16, 2020 at 02:01:11PM +0200, Marc Kleine-Budde wrote: > On 9/16/20 1:45 PM, Vladimir Oltean wrote: > > On Wed, Sep 16, 2020 at 01:32:49PM +0200, Marc Kleine-Budde wrote: > >> Which driver are you using? The mainline driver only uses one TX buffer. > > > > Are there multiple flexcan

[PATCH net-next] net/packet: Fix a comment about mac_header

2020-09-16 Thread Xie He
1. Change all "dev->hard_header" to "dev->header_ops" 2. On receiving incoming frames when header_ops == NULL: The comment only says what is wrong, but doesn't say what is right. This patch changes the comment to make it clear what is right. 3. On transmitting and receiving outgoing frames when

[PATCH 0/3] Support NVIDIA Tegra-based Ouya game console

2020-09-16 Thread Peter Geis
Good Day, This series introduces upstream kernel support for the Ouya game console device. Please review and apply. Thank you in advance. Peter Geis (3): ARM: tegra: Add device-tree for Ouya dt-bindings: Add vendor prefix for Ouya Inc. dt-bindings: ARM: tegra: Add Ouya game console

Re: [PATCH v3 0/5] HWpoison: further fixes and cleanups

2020-09-16 Thread Aristeu Rozanski
Hi Oscar, On Wed, Sep 16, 2020 at 04:09:30PM +0200, Oscar Salvador wrote: > On Wed, Sep 16, 2020 at 09:53:58AM -0400, Aristeu Rozanski wrote: > Can you try the other patch I posted in response to Naoya? Same thing: [ 369.195056] Soft offlining pfn 0x3fb5bf at process virtual address

Re: [PATCH] clk: rockchip: Fix overflow rate during fractional approximation

2020-09-16 Thread Jagan Teki
Hi, On Tue, Sep 15, 2020 at 7:10 AM elaine.zhang wrote: > > hi, > > We have two submissions which I hope will be helpful to you. > > https://patchwork.kernel.org/patch/11272465/ > https://patchwork.kernel.org/patch/11272471/ I can see this, I have reconstructed the fractional divider handling

Re: [RFC PATCH] locking/percpu-rwsem: use this_cpu_{inc|dec}() for read_count

2020-09-16 Thread peterz
On Wed, Sep 16, 2020 at 08:32:20PM +0800, Hou Tao wrote: > I have simply test the performance impact on both x86 and aarch64. > > There is no degradation under x86 (2 sockets, 18 core per sockets, 2 threads > per core) Yeah, x86 is magical here, it's the same single instruction for both ;-)

Re: [PATCH 06/14] Fix CFLAGS for UBSAN_BOUNDS on Clang

2020-09-16 Thread Marco Elver
On Wed, Sep 16, 2020 at 12:14PM +, George Popescu wrote: > On Wed, Sep 16, 2020 at 10:32:40AM +0200, Marco Elver wrote: > > On Wed, 16 Sep 2020 at 09:40, George Popescu wrote: > > > On Tue, Sep 15, 2020 at 07:32:28PM +0200, Marco Elver wrote: > > > > On Tue, 15 Sep 2020 at 14:01, George

[PATCH 3/5] dt-bindings: pci: qcom: Document PCIe bindings for SM8250 SoC

2020-09-16 Thread Manivannan Sadhasivam
Document the PCIe DT bindings for SM8250 SoC. The PCIe IP is similar to the one used on SDM845, hence just add the compatible. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/pci/qcom,pcie.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH] drivers: optee: i2c: add bus retry configuration

2020-09-16 Thread Jorge Ramirez-Ortiz
Allow OP-TEE to specify the number of retries in the adaptor. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/tee/optee/rpc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/tee/optee/rpc.c b/drivers/tee/optee/rpc.c index 1e3614e4798f..2d46a9ecb1de 100644 ---

Re: [PATCH 0/2] perf probe: Support debuginfod client

2020-09-16 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 16, 2020 at 02:13:07PM -0400, Frank Ch. Eigler escreveu: > Hi - > > Nice, even uses the source code fetching part of the webapi! So, can I take that as an Acked-by or Reviewed-by? :-) - Arnaldo I need to support this in pahole... > - FChE > -- - Arnaldo

[Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader

2020-09-16 Thread Naresh Kamboju
arm64 boot failed on linux next 20200916. [0.00] Linux version 5.9.0-rc5-next-20200916 (TuxBuild@3aa8232c0e38) (aarch64-linux-gnu-gcc (Debian 9.3.0-8) 9.3.0, GNU ld (GNU Binutils for Debian) 2.34) #1 SMP PREEMPT Wed Sep 16 10:13:15 UTC 2020 [0.00] Machine model: Freescale

Re: [PATCH v5 2/3] arm: dts: modify NPCM7xx device tree timer register size

2020-09-16 Thread Joel Stanley
On Wed, 16 Sep 2020 at 12:56, Tomer Maimon wrote: > > Modify NPCM7xx device tree timer register size > from 0x50 to 0x1C. We can see that you've done that from the patch. You should instead use the commit message to describe why you're making that change. Is it incorrect, or is there some other

Re: [tip:x86/seves] BUILD SUCCESS WITH WARNING e6eb15c9ba3165698488ae5c34920eea20eaa38e

2020-09-16 Thread Marco Elver
On Wed, 16 Sep 2020 at 20:22, 'Nick Desaulniers' via kasan-dev wrote: > > On Wed, Sep 16, 2020 at 1:46 AM Marco Elver wrote: > > > > On Wed, 16 Sep 2020 at 10:30, wrote: > > > On Tue, Sep 15, 2020 at 08:09:16PM +0200, Marco Elver wrote: > > > > On Tue, 15 Sep 2020 at 19:40, Nick Desaulniers >

Re: [PATCH v2] software_node: Add support for fwnode_graph*() family of functions

2020-09-16 Thread Dan Scally
Hi Sakari - thanks for the comments On 16/09/2020 10:17, Sakari Ailus wrote: > Moi Daniel and Heikki, > > On Wed, Sep 16, 2020 at 12:28:27AM +0100, Daniel Scally wrote: >> From: Heikki Krogerus >> >> This implements the remaining .graph_* callbacks in the >> fwnode operations vector for the

Re: [PATCH RFC 0/4] mm: place pages to the freelist tail when onling and undoing isolation

2020-09-16 Thread osalvador
On 2020-09-16 20:34, David Hildenbrand wrote: When adding separate memory blocks via add_memory*() and onlining them immediately, the metadata (especially the memmap) of the next block will be placed onto one of the just added+onlined block. This creates a chain of unmovable allocations: If

Re: [tip:x86/seves] BUILD SUCCESS WITH WARNING e6eb15c9ba3165698488ae5c34920eea20eaa38e

2020-09-16 Thread Nick Desaulniers
On Wed, Sep 16, 2020 at 1:46 AM Marco Elver wrote: > > On Wed, 16 Sep 2020 at 10:30, wrote: > > On Tue, Sep 15, 2020 at 08:09:16PM +0200, Marco Elver wrote: > > > On Tue, 15 Sep 2020 at 19:40, Nick Desaulniers > > > wrote: > > > > On Tue, Sep 15, 2020 at 10:21 AM Borislav Petkov wrote: > > >

Re: [PATCH v5 0/5] mm: introduce memfd_secret system call to create "secret" memory areas

2020-09-16 Thread Andy Lutomirski
On Wed, Sep 16, 2020 at 12:28 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Hi, > > This is an implementation of "secret" mappings backed by a file descriptor. > I've dropped the boot time reservation patch for now as it is not strictly > required for the basic usage and can be easily

[PATCH net-next 1/7] sched: un-hide lockdep_tasklist_lock_is_held() for !LOCKDEP

2020-09-16 Thread Jakub Kicinski
We're trying to make LOCKDEP-related function declarations visible to the compiler and depend on dead code elimination to remove them. Make lockdep_tasklist_lock_is_held() visible. Signed-off-by: Jakub Kicinski --- CC: christian.brau...@ubuntu.com CC: pet...@infradead.org CC:

Re: [tip:x86/seves] BUILD SUCCESS WITH WARNING e6eb15c9ba3165698488ae5c34920eea20eaa38e

2020-09-16 Thread Borislav Petkov
On Wed, Sep 16, 2020 at 11:28:26AM -0700, Nick Desaulniers wrote: > pt. 3 > https://nickdesaulniers.github.io/blog/2014/04/18/lets-write-some-x86-64/ /me adds to the read list. > ...2014, jesus... > > "But you never can tell exactly what the compiler is doing. It doesn’t > always come out the

[PATCH net-next 4/7] net: sched: remove broken definitions and un-hide for !LOCKDEP

2020-09-16 Thread Jakub Kicinski
We're trying to make LOCKDEP-related function declarations visible to the compiler and depend on dead code elimination to remove them. Fix up the situation with lockdep_tcf_chain_is_locked() and lockdep_tcf_proto_is_locked(). Signed-off-by: Jakub Kicinski -- CC: j...@mojatatu.com CC:

[PATCH net-next 2/7] rcu: un-hide lockdep maps for !LOCKDEP

2020-09-16 Thread Jakub Kicinski
We're trying to make LOCKDEP-related forward declarations visible to the compiler and depend on dead code elimination to remove them. Expose RCU lock maps. Signed-off-by: Jakub Kicinski --- CC: paul...@kernel.org CC: j...@joshtriplett.org CC: rost...@goodmis.org CC:

[PATCH net-next 3/7] net: un-hide lockdep_sock_is_held() for !LOCKDEP

2020-09-16 Thread Jakub Kicinski
We're trying to make LOCKDEP-related function declarations visible to the compiler and depend on dead code elimination to remove them. Un-hide lockdep_sock_is_held(). Signed-off-by: Jakub Kicinski --- include/net/sock.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/sock.h

[PATCH V2 RESEND] perf stat: Fix the ratio comments of miss-events

2020-09-16 Thread Qi Liu
Perf stat displays miss ratio of L1-dcache, L1-icache, dTLB cache, iTLB cache and LL-cache. Take L1-dcache for example, miss ratio is caculated as "L1-dcache-load-misses/L1-dcache-loads". So "of all L1-dcache hits" is unsuitable to describe it, and "of all L1-dcache accesses" seems better. The

[PATCH net-next 6/7] lockdep: provide dummy forward declaration of *_is_held() helpers

2020-09-16 Thread Jakub Kicinski
When CONFIG_LOCKDEP is not set, lock_is_held() and lockdep_is_held() are not declared or defined. This forces all callers to use ifdefs around these checks. Recent RCU changes added a lot of lockdep_is_held() calls inside rcu_dereference_protected(). rcu_dereference_protected() hides its argument

[tip: x86/irq] x86/irq: Make most MSI ops XEN private

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 874a2013a07dd8ec48413db5d06d27d02f7765b5 Gitweb: https://git.kernel.org/tip/874a2013a07dd8ec48413db5d06d27d02f7765b5 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:17:04 +02:00

[PATCH net-next 7/7] rcu: prevent RCU_LOCKDEP_WARN() from swallowing the condition

2020-09-16 Thread Jakub Kicinski
We run into a unused variable warning in bridge code when variable is only used inside the condition of rcu_dereference_protected(). #define mlock_dereference(X, br) \ rcu_dereference_protected(X, lockdep_is_held(>multicast_lock)) Since on builds with CONFIG_PROVE_RCU=n

[tip: x86/irq] x86/irq: Initialize PCI/MSI domain at PCI init time

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 6b15ffa07dc325f4e4dd98c877bfa970202c378b Gitweb: https://git.kernel.org/tip/6b15ffa07dc325f4e4dd98c877bfa970202c378b Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:16:50 +02:00

[PATCH net-next 5/7] srcu: use a more appropriate lockdep helper

2020-09-16 Thread Jakub Kicinski
lockdep_is_held() is defined as: #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map) it hides away the dereference, so that builds with !LOCKDEP don't break. We should use it instead of using lock_is_held() directly. This didn't use to be a problem, because RCU_LOCKDEP_WARN()

Re: [PATCH 1/4] mm: Trial do_wp_page() simplification

2020-09-16 Thread Peter Xu
On Wed, Sep 16, 2020 at 02:48:04PM -0300, Jason Gunthorpe wrote: > On Tue, Sep 15, 2020 at 06:50:46PM -0700, John Hubbard wrote: > > > > > > It seems very strange that a physical page exclusively owned by a > > > process can become copied if pin_user_pages() is active and the > > > process did

[tip: x86/irq] irqdomain/msi: Provide DOMAIN_BUS_VMD_MSI

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: c6c9e2838c5f0b94773511586123bcb125757f2a Gitweb: https://git.kernel.org/tip/c6c9e2838c5f0b94773511586123bcb125757f2a Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:16:51 +02:00

[PATCH net-next 0/7] rcu: prevent RCU_LOCKDEP_WARN() from swallowing the condition

2020-09-16 Thread Jakub Kicinski
Hi! So I unfolded the RFC patch into smaller chunks and fixed an issue in SRCU pointed out by build bot. Build bot has been quiet for a day but I'm not 100% sure it's scanning my tree, so let's give these patches some ML exposure. The motivation here is that we run into a unused variable warning

[tip: x86/irq] x86/msi: Use generic MSI domain ops

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 9006c133a422f474d7d8e10a8baae179f70c22f5 Gitweb: https://git.kernel.org/tip/9006c133a422f474d7d8e10a8baae179f70c22f5 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:16:47 +02:00

[tip: x86/irq] PCI/MSI: Make arch_.*_msi_irq[s] fallbacks selectable

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 077ee78e392869e46ae6bdc6ba2a3c4249d0b5e1 Gitweb: https://git.kernel.org/tip/077ee78e392869e46ae6bdc6ba2a3c4249d0b5e1 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:17:02 +02:00

[tip: x86/irq] x86/irq: Consolidate UV domain allocation

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 0f5cbdaf203e201f151c2e44a49f6165a7d2c2f9 Gitweb: https://git.kernel.org/tip/0f5cbdaf203e201f151c2e44a49f6165a7d2c2f9 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:16:44 +02:00

[tip: x86/irq] PCI/MSI: Provide pci_dev_has_special_msi_domain() helper

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 2fd602669ee6d749a7dc47b84b87cef1a5075999 Gitweb: https://git.kernel.org/tip/2fd602669ee6d749a7dc47b84b87cef1a5075999 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:16:53 +02:00

[tip: x86/irq] x86/pci: Set default irq domain in pcibios_add_device()

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 2c681e6b37674dc3941869cb262e26c8a6b34047 Gitweb: https://git.kernel.org/tip/2c681e6b37674dc3941869cb262e26c8a6b34047 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:17:01 +02:00

[tip: x86/irq] x86_ioapic_Consolidate_IOAPIC_allocation

2020-09-16 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/irq branch of tip: Commit-ID: 33a65ba470c2b7031e513f7b165e68f51cfc55eb Gitweb: https://git.kernel.org/tip/33a65ba470c2b7031e513f7b165e68f51cfc55eb Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 13:16:42 +02:00

Re: canfdtest on flexcan loopback

2020-09-16 Thread Marc Kleine-Budde
On 9/16/20 1:45 PM, Vladimir Oltean wrote: > On Wed, Sep 16, 2020 at 01:32:49PM +0200, Marc Kleine-Budde wrote: >> Which driver are you using? The mainline driver only uses one TX buffer. > > Are there multiple flexcan drivers in circulation? Yes, the mainline > driver with a single priv->tx_mb.

Re: [PATCH] docs: rewrite admin-guide/sysctl/abi.rst

2020-09-16 Thread Jonathan Corbet
On Fri, 11 Sep 2020 21:01:52 +0200 Stephen Kitt wrote: > Following the structure used in sysctl/kernel.rst, this updates > abi.rst to use ReStructured Text more fully and updates the entries to > match current kernels: > > * the list of files is now the table of contents; > * links are used

Re: [patch 00/13] preempt: Make preempt count unconditional

2020-09-16 Thread Linus Torvalds
On Tue, Sep 15, 2020 at 12:57 PM Thomas Gleixner wrote: > > You wish. I just found a 7 year old bug in a 10G network driver which > surely would have been found if people would enable debug configs and > not just run the crap on their PREEMPT_NONE, all debug off kernel. And > that driver is not

[PATCH net-next] netfilter: nf_tables: Remove ununsed function nft_data_debug

2020-09-16 Thread YueHaibing
It is never used, so can be removed. Signed-off-by: YueHaibing --- include/net/netfilter/nf_tables.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 8ceca0e419b3..c4c526507ddb 100644 ---

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-16 Thread Mel Gorman
On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: > Added idle cpumask to track idle cpus in sched domain. When a CPU > enters idle, its corresponding bit in the idle cpumask will be set, > and when the CPU exits idle, its bit will be cleared. > > When a task wakes up to select an idle

Re: [PATCH] reiserfs: only call unlock_new_inode() if I_NEW

2020-09-16 Thread Jan Kara
On Tue 15-09-20 21:01:18, Eric Biggers wrote: > On Mon, Jul 27, 2020 at 09:52:15AM -0700, Eric Biggers wrote: > > On Sun, Jun 28, 2020 at 12:00:57AM -0700, Eric Biggers wrote: > > > From: Eric Biggers > > > > > > unlock_new_inode() is only meant to be called after a new inode has > > > already

Re: [PATCH 5/9] btrfs: zstd: Switch to the zstd-1.4.6 API

2020-09-16 Thread Eric Biggers
On Wed, Sep 16, 2020 at 03:46:18PM +0100, Christoph Hellwig wrote: > On Wed, Sep 16, 2020 at 10:43:04AM -0400, Chris Mason wrote: > > Otherwise we just end up with drift and kernel-specific bugs that are harder > > to debug. To the extent those APIs make us contort the kernel code, I???m > > sure

[PATCH v2 0/3] drm/panfrost: add Amlogic integration quirks

2020-09-16 Thread Neil Armstrong
The T820, G31 & G52 GPUs integrated by Amlogic in the respective GXM, G12A/SM1 & G12B SoCs needs a quirk in the PWR registers at the GPU reset time. This serie adds the necessary quirks for the Amlogic integrated GPUs only. Changes since v1 at [1]: - removed the BROKEN_SH quirk after [2] was

[PATCH v13 07/15] mtd: spi-nor: core: use dummy cycle and address width info from SFDP

2020-09-16 Thread Pratyush Yadav
The xSPI Profile 1.0 table specifies how many dummy cycles and address bytes are needed for the Read Status Register command in octal DTR mode. Use that information to send the correct Read SR command. Signed-off-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.c | 10 ++ 1 file changed,

Re: [PATCH v6 2/5] irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts

2020-09-16 Thread Grzegorz Jaszczyk
On Tue, 15 Sep 2020 at 17:19, Marc Zyngier wrote: > > [ Dropping a...@ti.com from the Cc list, as this address bounces] > > On 2020-09-15 12:00, Grzegorz Jaszczyk wrote: > > The Programmable Real-Time Unit Subsystem (PRUSS) contains a local > > interrupt controller (INTC) that can handle various

[PATCH] bitfield.h: annotate type_replace_bits functions with __must_check

2020-09-16 Thread Srinivas Kandagatla
usage of apis like u32_replace_bits() without actually catching the return value could hide problems without any warning! Found this with recent usage of this api in SoundWire! Having __must_check annotation would really catch this issues in future! Signed-off-by: Srinivas Kandagatla ---

Re: [PATCH 6/9] f2fs: zstd: Switch to the zstd-1.4.6 API

2020-09-16 Thread Nick Terrell
> On Sep 15, 2020, at 11:31 PM, Chao Yu wrote: > > Hi Nick, > > remove not related mailing list. > > On 2020/9/16 11:43, Nick Terrell wrote: >> From: Nick Terrell >> Move away from the compatibility wrapper to the zstd-1.4.6 API. This >> code is more efficient because it uses the

[PATCH v3 3/7] phy: cadence-torrent: Enable support for multiple subnodes

2020-09-16 Thread Swapnil Jakhade
Enable support for multiple subnodes in torrent PHY to include multi-link combinations. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c

[PATCH v3 6/7] dt-bindings: phy: cadence-torrent: Add binding to specify SSC mode

2020-09-16 Thread Swapnil Jakhade
Add binding to specify Spread Spectrum Clocking mode used. Signed-off-by: Swapnil Jakhade Reviewed-by: Rob Herring --- .../bindings/phy/phy-cadence-torrent.yaml | 9 + include/dt-bindings/phy/phy-cadence-torrent.h | 13 + 2 files changed, 22 insertions(+)

[PATCH -next] btrfs: Make btrfs_sysfs_add_fs_devices static

2020-09-16 Thread YueHaibing
Fix sparse warning: fs/btrfs/sysfs.c:1386:5: warning: symbol 'btrfs_sysfs_add_fs_devices' was not declared. Should it be static? Signed-off-by: YueHaibing --- fs/btrfs/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index

Re: [[PATCH]] mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged

2020-09-16 Thread Vijay Balakrishna
On 9/15/2020 11:53 PM, Michal Hocko wrote: On Tue 15-09-20 08:48:08, Vijay Balakrishna wrote: On 9/15/2020 1:18 AM, Michal Hocko wrote: On Mon 14-09-20 09:57:02, Vijay Balakrishna wrote: On 9/14/2020 7:33 AM, Michal Hocko wrote: On Thu 10-09-20 13:47:39, Vijay Balakrishna wrote: When

[PATCH v3 2/7] phy: cadence-torrent: Use devm_platform_ioremap_resource() to get reg addresses

2020-09-16 Thread Swapnil Jakhade
Use devm_platform_ioremap_resource() to get register addresses instead of boilerplate code. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c

[PATCH v3 4/7] phy: cadence-torrent: Add separate regmap functions for torrent and DP

2020-09-16 Thread Swapnil Jakhade
Added separate functions for regmap initialization of torrent PHY generic registers and DP specific registers. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 99 +++ 1 file changed, 66 insertions(+), 33 deletions(-) diff --git

[ANNOUNCE] v5.9-rc5-rt7

2020-09-16 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v5.9-rc5-rt7 patch set. Changes since v5.9-rc5-rt6: - Modem Host Interface (MHI) bus failed to compile. Patch by Clark Williams. Known issues - It has been pointed out that due to changes to the printk code the internal buffer

[PATCH] ima: Fix NULL pointer dereference in ima_file_hash

2020-09-16 Thread KP Singh
From: KP Singh ima_file_hash can be called when there is no iint->ima_hash available even though the inode exists in the integrity cache. An example where this can happen (suggested by Jann Horn): Process A does: while(1) { unlink("/tmp/imafoo"); fd =

[PATCH v3 0/7] PHY: Prepare Cadence Torrent PHY driver to support multilink configurations

2020-09-16 Thread Swapnil Jakhade
Cadence Torrent PHY is a multiprotocol PHY supporting different multilink PHY configurations including DisplayPort, PCIe, USB, SGMII, QSGMII etc. Existing Torrent PHY driver supports only DisplayPort. This patch series prepares Torrent PHY driver so that different multilink configurations can be

[PATCH v3 5/7] phy: cadence-torrent: Check total lane count for all subnodes is within limit

2020-09-16 Thread Swapnil Jakhade
Add checking if total number of lanes for all subnodes is not greater than number of lanes supported by PHY. Signed-off-by: Swapnil Jakhade --- drivers/phy/cadence/phy-cadence-torrent.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v1 03/12] fpga: expose max10 flash update counts in sysfs

2020-09-16 Thread Russ Weight
On 9/5/20 1:39 PM, Tom Rix wrote: > On 9/4/20 4:52 PM, Russ Weight wrote: >> Extend the MAX10 BMC Security Engine driver to provide a >> handler to expose the flash update count for the FPGA user >> image. >> >> Signed-off-by: Russ Weight >> Reviewed-by: Wu Hao >> --- >>

Re: [PATCH 05/11] perf parse-event: Fix memory leak in evsel->unit

2020-09-16 Thread Ian Rogers
On Wed, Sep 16, 2020 at 12:12 AM Namhyung Kim wrote: > > Hello Ian and David, > > Thank you for the good suggestions! > > On Wed, Sep 16, 2020 at 4:56 AM David Malcolm wrote: > > Some ideas (with the caveat that I'm a GCC developer, and not a regular > > on LKML): can you capture the ownership

Re: [PATCH next] gpiolib: check for parent device in devprop_gpiochip_set_names()

2020-09-16 Thread Bartosz Golaszewski
On Wed, Sep 16, 2020 at 4:29 PM Andy Shevchenko wrote: > > On Wed, Sep 16, 2020 at 03:43:27PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > It's possible for a GPIO chip to not have a parent device (whose > > properties we inspect for 'gpio-line-names'). In this case we

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-16 Thread Vincent Guittot
On Wed, 16 Sep 2020 at 13:00, Mel Gorman wrote: > > On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: > > Added idle cpumask to track idle cpus in sched domain. When a CPU > > enters idle, its corresponding bit in the idle cpumask will be set, > > and when the CPU exits idle, its bit

Re: [PATCH V7] GCOV: Add config to check the preqequisites situation

2020-09-16 Thread Cixi Geng
Hi ALL: Not recieve more advise for a long time , Can this submission be merged recently? Cixi Geng 于2020年8月20日周四 下午8:40写道: > > Hi All: > > Does this patch need more modification? > > 于2020年7月27日周一 下午4:51写道: > > > > From: Cixi Geng > > > > Introduce new configuration option

Re: [PATCH] powercap/rapl: Add support for Lakefield

2020-09-16 Thread Rafael J. Wysocki
On Fri, Aug 21, 2020 at 8:46 PM Ricardo Neri wrote: > > Simply add Lakefield model ID. No additional changes are needed. > > Cc: Zhang Rui > Cc: "Rafael J. Wysocki" > Cc: "Ravi V. Shankar" > Signed-off-by: Ricardo Neri Applied as 5.9-rc material (with a minor subject edit), sorry for the

Re: [patch 08/13] sched: Clenaup PREEMPT_COUNT leftovers

2020-09-16 Thread Valentin Schneider
On 14/09/20 21:42, Thomas Gleixner wrote: > CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be > removed. Cleanup the leftovers before doing so. > > Signed-off-by: Thomas Gleixner > Cc: Ingo Molnar > Cc: Peter Zijlstra > Cc: Juri Lelli > Cc: Vincent Guittot > Cc: Dietmar

Re: [PATCH v2 02/15] dt-bindings: gpio: convert bindings for Maxim MAX732x family to dtschema

2020-09-16 Thread Krzysztof Kozlowski
On Wed, Sep 16, 2020 at 08:15:11AM +0200, Krzysztof Kozlowski wrote: > On Sat, Sep 12, 2020 at 11:58:22AM +0200, Linus Walleij wrote: > > On Thu, Sep 10, 2020 at 7:58 PM Krzysztof Kozlowski wrote: > > > > > Convert the Maxim MAX732x family of GPIO expanders bindings to device > > > tree schema

Re: [PATCH v2 3/3] soundwire: qcom: get max rows and cols info from compatible

2020-09-16 Thread Srinivas Kandagatla
On 16/09/2020 13:49, Vinod Koul wrote: On 16-09-20, 10:21, Srinivas Kandagatla wrote: currently the max rows and cols values are hardcoded. In reality these values depend on the IP version. So get these based on device tree compatible strings. Signed-off-by: Srinivas Kandagatla ---

Re: [patch 03/13] preempt: Clenaup PREEMPT_COUNT leftovers

2020-09-16 Thread Valentin Schneider
On 14/09/20 21:42, Thomas Gleixner wrote: > CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be > removed. Cleanup the leftovers before doing so. > > Signed-off-by: Thomas Gleixner > Cc: Ingo Molnar > Cc: Peter Zijlstra > Cc: Juri Lelli > Cc: Vincent Guittot > Cc: Dietmar

[PATCH RFC 1/4] mm/page_alloc: convert "report" flag of __free_one_page() to a proper flag

2020-09-16 Thread David Hildenbrand
Let's prepare for additional flags and avoid long parameter lists of bools. Follow-up patches will also make use of the flags in __free_pages_ok(), however, I wasn't able to come up with a better name for the type - should be good enough for internal purposes. Cc: Andrew Morton Cc: Alexander

[PATCH v2 1/4] [RFC] fs/trampfd: Implement the trampoline file descriptor API

2020-09-16 Thread madvenka
From: "Madhavan T. Venkataraman" Introduction Dynamic code is used in many different user applications. Dynamic code is often generated at runtime. Dynamic code can also just be a pre-defined sequence of machine instructions in a data buffer. Examples of dynamic code are

[PATCH RFC 4/4] mm/page_alloc: place pages to tail in __free_pages_core()

2020-09-16 Thread David Hildenbrand
__free_pages_core() is used when exposing fresh memory to the buddy during system boot and when onlining memory in generic_online_page(). generic_online_page() is used in two cases: 1. Direct memory onlining in online_pages(). 2. Deferred memory onlining in memory-ballooning-like mechanisms

[PATCH RFC 3/4] mm/page_alloc: always move pages to the tail of the freelist in unset_migratetype_isolate()

2020-09-16 Thread David Hildenbrand
Page isolation doesn't actually touch the pages, it simply isolates pageblocks and moves all free pages to the MIGRATE_ISOLATE freelist. We already place pages to the tail of the freelists when undoing isolation via __putback_isolated_page(), let's do it in any case (e.g., if order ==

Re: [PATCH v5 1/3] arm: dts: modify NPCM7xx device tree clock parameter

2020-09-16 Thread Joel Stanley
On Wed, 16 Sep 2020 at 12:56, Tomer Maimon wrote: > > Modify NPCM7xx device tree clock parameter to clock constants that > define at include/dt-bindings/clock/nuvoton,npcm7xx-clock.h file. > > Signed-off-by: Tomer Maimon Reviewed-by: Joel Stanley > --- >

[PATCH RFC 2/4] mm/page_alloc: place pages to tail in __putback_isolated_page()

2020-09-16 Thread David Hildenbrand
__putback_isolated_page() already documents that pages will be placed to the tail of the freelist - this is, however, not the case for "order >= MAX_ORDER - 2" (see buddy_merge_likely()) - which should be the case for all existing users. This change affects two users: - free page reporting - page

Re: [PATCH v2] arm64: bpf: Fix branch offset in JIT

2020-09-16 Thread Jean-Philippe Brucker
On Wed, Sep 16, 2020 at 03:39:37PM +0300, Yauheni Kaliuta wrote: > If you start to amend extables, could you consider a change like > > 05a68e892e89 ("s390/kernel: expand exception table logic to allow new > handling options") > > and implementation of BPF_PROBE_MEM then? Commit 800834285361

[PATCH RFC 0/4] mm: place pages to the freelist tail when onling and undoing isolation

2020-09-16 Thread David Hildenbrand
When adding separate memory blocks via add_memory*() and onlining them immediately, the metadata (especially the memmap) of the next block will be placed onto one of the just added+onlined block. This creates a chain of unmovable allocations: If the last memory block cannot get offlined+removed()

[PATCH 1/5] dt-bindings: phy: qcom,qmp: Document SM8250 PCIe PHY bindings

2020-09-16 Thread Manivannan Sadhasivam
Document the DT bindings of below PCIe PHY versions used on SM8250: QMP GEN3x1 PHY - 1 lane QMP GEN3x2 PHY - 2 lanes QMP Modem PHY - 2 lanes Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 5 + 1 file changed, 5 insertions(+) diff --git

<    3   4   5   6   7   8   9   10   11   12   >