Re: [PATCH v3 3/5] hugetlb: only set HPageMigratable for migratable hstates

2021-01-28 Thread Mike Kravetz
On 1/28/21 1:37 PM, Andrew Morton wrote: > On Thu, 28 Jan 2021 06:52:21 +0100 Oscar Salvador wrote: > >> On Wed, Jan 27, 2021 at 03:36:41PM -0800, Mike Kravetz wrote: >>> Yes, this patch is somewhat optional. It should be a minor improvement >>> in cases where we are dealing with hpages in a

[PATCH v3] hwmon: (lm70) Use device_get_match_data()

2021-01-28 Thread Rob Herring
From: Stephen Boyd Use the more modern API to get the match data out of the of match table. This saves some code, lines, and nicely avoids referencing the match table when it is undefined with configurations where CONFIG_OF=n. Signed-off-by: Stephen Boyd Cc: Arnd Bergmann Cc: Geert

Re: [PATCH v2 2/2] mm/hugetlb: refactor subpage recording

2021-01-28 Thread Mike Kravetz
On 1/28/21 10:26 AM, Joao Martins wrote: > For a given hugepage backing a VA, there's a rather ineficient > loop which is solely responsible for storing subpages in GUP > @pages/@vmas array. For each subpage we check whether it's within > range or size of @pages and keep increment @pfn_offset and

[PATCH] x86: Disable CET instrumentation in the kernel

2021-01-28 Thread Josh Poimboeuf
With retpolines disabled, some configurations of GCC will add Intel CET instrumentation to the kernel by default. That breaks certain tracing scenarios by adding a superfluous ENDBR64 instruction before the fentry call, for functions which can be called indirectly. CET instrumentation isn't

Re: [PATCH v2] mm/page_alloc: count CMA pages per zone and print them in /proc/zoneinfo

2021-01-28 Thread David Rientjes
On Thu, 28 Jan 2021, David Hildenbrand wrote: > diff --git a/mm/vmstat.c b/mm/vmstat.c > index 7758486097f9..957680db41fa 100644 > --- a/mm/vmstat.c > +++ b/mm/vmstat.c > @@ -1650,6 +1650,11 @@ static void zoneinfo_show_print(struct seq_file *m, > pg_data_t *pgdat, >

Re: [PATCH v4 0/2] net: sfp: add support for GPON RTL8672/RTL9601C and Ubiquiti U-Fiber

2021-01-28 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Mon, 25 Jan 2021 16:02:26 +0100 you wrote: > This is fourth version of patches which add workarounds for > RTL8672/RTL9601C EEPROMs and Ubiquiti U-Fiber Instant SFP. > > The only change since third version is

[PATCH] iwlwifi: mvm: remove h from printk format specifier

2021-01-28 Thread trix
From: Tom Rix This change fixes the checkpatch warning described in this commit commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") Standard integer promotion is already done and %hx and %hhx is useless so do not encourage the use of

Re: [PATCH V3] mtd: rawnand: qcom: update last code word register

2021-01-28 Thread mdalam
On 2021-01-14 21:23, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Sun, 10 Jan 2021 09:31:45 +0530: From QPIC version 2.0 onwards new register got added to a read last codeword. This change will update the same. the?

Re: [PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Linus Torvalds
On Thu, Jan 28, 2021 at 1:34 PM Josh Poimboeuf wrote: > > On Thu, Jan 28, 2021 at 01:23:11PM -0800, Linus Torvalds wrote: > > THAT workaround is long gone, but I didn't check what other ones we > > might have now. But the gcc version checks we _do_ have are not > > necessarily about major

Re: [PATCH 04/16] rcu/nocb: Only (re-)initialize segcblist when needed on CPU up

2021-01-28 Thread Paul E. McKenney
On Thu, Jan 28, 2021 at 10:34:13PM +0100, Frederic Weisbecker wrote: > On Thu, Jan 28, 2021 at 11:12:28AM -0800, Paul E. McKenney wrote: > > On Thu, Jan 28, 2021 at 06:12:10PM +0100, Frederic Weisbecker wrote: > > > Simply checking if the segcblist is enabled is enough to know if we > > > need to

Re: [PATCH resend] e100: switch from 'pci_' to 'dma_' API

2021-01-28 Thread Nguyen, Anthony L
On Thu, 2021-01-28 at 22:07 +0100, Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has > been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > >

Re: [PATCH v2 1/1] kexec: dump kmessage before machine_kexec

2021-01-28 Thread Pavel Tatashin
On Thu, Jan 28, 2021 at 3:01 PM Eric W. Biederman wrote: > > Pavel Tatashin writes: > > > kmsg_dump(KMSG_DUMP_SHUTDOWN) is called before > > machine_restart(), machine_halt(), machine_power_off(), the only one that > > is missing is machine_kexec(). > > > > The dmesg output that it contains can

Re: [PATCH v3 02/34] dt-bindings: mailbox: Add Intel VPU IPC mailbox bindings

2021-01-28 Thread mark gross
On Tue, Jan 26, 2021 at 02:47:15PM +, Gross, Mark wrote: > > > > -Original Message- > > From: Rob Herring > > Sent: Tuesday, January 26, 2021 5:45 AM > > To: Mark Gross > > Cc: markgr...@kernel.org; Arnd Bergmann ; Borislav Petkov > > ; Damien Le Moal ; Dragan Cvetic > > ; Greg

Re: [PATCH v2] mm/page_alloc: count CMA pages per zone and print them in /proc/zoneinfo

2021-01-28 Thread Oscar Salvador
On Thu, Jan 28, 2021 at 05:45:33PM +0100, David Hildenbrand wrote: > Let's count the number of CMA pages per zone and print them in > /proc/zoneinfo. > > Having access to the total number of CMA pages per zone is helpful for > debugging purposes to know where exactly the CMA pages ended up, and

Re: [PATCH 06/16] rcu/nocb: Avoid confusing double write of rdp->nocb_cb_sleep

2021-01-28 Thread Paul E. McKenney
On Thu, Jan 28, 2021 at 06:12:12PM +0100, Frederic Weisbecker wrote: > rdp->nocb_cb_sleep is first set to true by default after processing > the callbacks then set back to false if we still find ready callbacks > to invoke. > > This is confusing and even unsafe if it ever happens to be read >

YOU HAVE WON

2021-01-28 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

[PATCH V4] mtd: rawnand: qcom: update last code word register

2021-01-28 Thread Md Sadre Alam
>From QPIC version 2.0 onwards new register got added to read last codeword. This change will add the READ_LOCATION_LAST_CW_n register. For first three code word READ_LOCATION_n register will be use.For last code word READ_LOCATION_LAST_CW_n register will be use. Signed-off-by: Md Sadre Alam

Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-28 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 10:24 PM Nick Desaulniers wrote: > > On Thu, Jan 28, 2021 at 1:19 PM Sedat Dilek wrote: > > > > On Thu, Jan 28, 2021 at 10:12 PM Nick Desaulniers > > wrote: > > > > > > On Thu, Jan 28, 2021 at 12:46 PM Sedat Dilek > > > wrote: > > > > > > > > [ LLVM ] > > > > > > > >

Re: [printk] b031a684bf: INFO:rcu_tasks_detected_stalls_on_tasks

2021-01-28 Thread John Ogness
On 2021-01-28, John Ogness wrote: > [ 903.189448][ T356] [ 778.825864] [ 655.250559] [ 531.607066] [ > 407.120936] tasks-torture:torture_onoff task: online 0 failed: errno -5 So I at least found out what these multi-timestamp messages are (thanks to reading /dev/kmsg). lkp is directing

Re: [PATCH v3 3/5] hugetlb: only set HPageMigratable for migratable hstates

2021-01-28 Thread Andrew Morton
On Thu, 28 Jan 2021 06:52:21 +0100 Oscar Salvador wrote: > On Wed, Jan 27, 2021 at 03:36:41PM -0800, Mike Kravetz wrote: > > Yes, this patch is somewhat optional. It should be a minor improvement > > in cases where we are dealing with hpages in a non-migratable hstate. > > Although, I do not

Re: [PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Josh Poimboeuf
On Thu, Jan 28, 2021 at 01:23:11PM -0800, Linus Torvalds wrote: > On Thu, Jan 28, 2021 at 1:03 PM Linus Torvalds > wrote: > > > > I really think the whole compiler version check is purely voodoo > > programming. > > .. but there are obviously potentially things we - in the kernel - do > that

Re: [PATCH 04/16] rcu/nocb: Only (re-)initialize segcblist when needed on CPU up

2021-01-28 Thread Frederic Weisbecker
On Thu, Jan 28, 2021 at 11:12:28AM -0800, Paul E. McKenney wrote: > On Thu, Jan 28, 2021 at 06:12:10PM +0100, Frederic Weisbecker wrote: > > Simply checking if the segcblist is enabled is enough to know if we > > need to initialize it or not. It's safe to check within hotplug > > machine. > > > >

Re: [PATCH 05/16] rcu/nocb: Disable bypass when CPU isn't completely offloaded

2021-01-28 Thread Paul E. McKenney
On Thu, Jan 28, 2021 at 06:12:11PM +0100, Frederic Weisbecker wrote: > 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

Re: [PATCH v13 08/15] s390/vfio-ap: sysfs attribute to display the guest's matrix

2021-01-28 Thread Tony Krowiak
On 1/11/21 5:58 PM, Halil Pasic wrote: On Tue, 22 Dec 2020 20:15:59 -0500 Tony Krowiak wrote: The matrix of adapters and domains configured in a guest's APCB may differ from the matrix of adapters and domains assigned to the matrix mdev, so this patch introduces a sysfs attribute to

Re: Getting a new fs in the kernel

2021-01-28 Thread Pavel Machek
Hi! > > Writing a new filesystem is fun! Everyone should do it. > > > > Releasing a filesystem is gut-churning. You're committing to a filesystem > > format that has to be supported for ~ever. > > I'm bored and need something to dedicate myself to as a long-term commitment. You may want to

Re: [PATCH v2 1/3] parser: add unsigned int parser

2021-01-28 Thread Randy Dunlap
On 1/27/21 11:13 PM, bingjingc wrote: > From: BingJing Chang > > Will be used by fs parsing options & fix kernel-doc typos > > Reviewed-by: Robbie Ko > Reviewed-by: Chung-Chiang Cheng > Reviewed-by: Matthew Wilcox > Reviewed-by: Randy Dunlap You should drop my Reviewed-by: also, until I

Re: [PATCH] mtd: parser_imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()

2021-01-28 Thread Miquel Raynal
On Thu, 2021-01-28 at 09:36:52 UTC, Dan Carpenter wrote: > If the kstrtouint() calls fail, then this should return a negative > error code but it currently returns success. > > Fixes: dd84cb022b31 ("mtd: bcm63xxpart: move imagetag parsing to its own > parser") > Signed-off-by: Dan Carpenter

Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-28 Thread Nick Desaulniers
On Thu, Jan 28, 2021 at 1:19 PM Sedat Dilek wrote: > > On Thu, Jan 28, 2021 at 10:12 PM Nick Desaulniers > wrote: > > > > On Thu, Jan 28, 2021 at 12:46 PM Sedat Dilek wrote: > > > > > > [ LLVM ] > > > > > > Today, I switched over to LLVM version 12.0.0-rc1. > > > > > > > > > [ Step #1:

Re: [PATCH] ARM: kprobes: rewrite in UAL

2021-01-28 Thread Arnd Bergmann
On Thu, Jan 28, 2021 at 7:59 PM 'Nick Desaulniers' via Clang Built Linux wrote: > On Thu, Jan 28, 2021 at 8:15 AM Arnd Bergmann wrote: > > > Plus a lot of extra errors when building with CONFIG_THUMB2_KERNEL, > > as that uses tests in arch/arm/probes/kprobes/test-thumb.c. > > Technically, that's

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

2021-01-28 Thread Frederic Weisbecker
On Thu, Jan 28, 2021 at 10:48:34AM -0800, Paul E. McKenney wrote: > On Thu, Jan 28, 2021 at 06:12:07PM +0100, Frederic Weisbecker wrote: > > The "nocb_bypass_timer" ends up calling wake_nocb_gp() which deletes > > the pending "nocb_timer" (note they are not the same timers) for the > > given rdp

Re: [PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Linus Torvalds
On Thu, Jan 28, 2021 at 1:03 PM Linus Torvalds wrote: > > I really think the whole compiler version check is purely voodoo programming. .. but there are obviously potentially things we - in the kernel - do that may make certain compiler versions incompatible. We long long ago used to have things

Re: [PATCH v3 3/3] dt-bindings: i2c: qcom,i2c-qup: Document noise rejection properties

2021-01-28 Thread AngeloGioacchino Del Regno
Il 28/01/21 10:13, Wolfram Sang ha scritto: + qcom,noise-reject-sda: +$ref: /schemas/types.yaml#/definitions/uint32 +description: Noise rejection level for the SDA line. +minimum: 0 +maximum: 3 +default: 0 What does this u32 describe? I wonder if we can introduce a

Re: [v5 PATCH 04/11] mm: vmscan: remove memcg_shrinker_map_size

2021-01-28 Thread Yang Shi
On Thu, Jan 28, 2021 at 8:53 AM Vlastimil Babka wrote: > > On 1/28/21 12:33 AM, Yang Shi wrote: > > Both memcg_shrinker_map_size and shrinker_nr_max is maintained, but > > actually the > > map size can be calculated via shrinker_nr_max, so it seems unnecessary to > > keep both. > > Remove

Re: [PATCH V5] x86/mm: Tracking linear mapping split events

2021-01-28 Thread Saravanan D
Hi Dave, > > Eek. There really doesn't appear to be a place in Documentation/ that > we've documented vmstat entries. > > Maybe you can start: > > Documentation/admin-guide/mm/vmstat.rst > I was also very surprised that there does not exist documentation for vmstat, that lead me to add

Re: [PATCH net] stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing

2021-01-28 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 26 Jan 2021 18:08:44 +0800 you wrote: > From: Voon Weifeng > > Fix an issue where dump stack is printed and Reset Adapter occurs when > PSE0 GbE or/and PSE1 GbE is/are enabled. EHL PSE0 GbE and PSE1 GbE use > 32 bits

Re: [PATCH net] rxrpc: Fix memory leak in rxrpc_lookup_local

2021-01-28 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 28 Jan 2021 10:48:36 + you wrote: > From: Takeshi Misawa > > Commit 9ebeddef58c4 ("rxrpc: rxrpc_peer needs to hold a ref on the > rxrpc_local record") > Then release ref in __rxrpc_put_peer and

Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-28 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 10:12 PM Nick Desaulniers wrote: > > On Thu, Jan 28, 2021 at 12:46 PM Sedat Dilek wrote: > > > > [ LLVM ] > > > > Today, I switched over to LLVM version 12.0.0-rc1. > > > > > > [ Step #1: 5.11.0-rc5-5-amd64-clang12-pgo ] > > > > My first kernel was built with

Re: [PATCH 2/2] ARM: dts: sti: Introduce 4KOpen (stih418-b2264) board

2021-01-28 Thread Alain Volmat
Hi Arnd, thanks for the comments and sorry for the large 'To' list. In my v2 I'll limit to Patrice Chotard (STi maintainer). On Thu, Jan 28, 2021 at 02:08:51PM +0100, Arnd Bergmann wrote: > On Thu, Jan 28, 2021 at 8:58 AM Alain Volmat wrote: > > > > 4KOpen (B2264) is a board based on the

Re: [v5 PATCH 02/11] mm: vmscan: consolidate shrinker_maps handling code

2021-01-28 Thread Yang Shi
On Thu, Jan 28, 2021 at 8:10 AM Vlastimil Babka wrote: > > On 1/28/21 12:33 AM, Yang Shi wrote: > > The shrinker map management is not purely memcg specific, it is at the > > intersection > > between memory cgroup and shrinkers. It's allocation and assignment of a > > structure, > > and the

[PATCH v2] x86/debug: Fix DR6 handling

2021-01-28 Thread Peter Zijlstra
Tom reported that one of the GDB test-cases failed, and Boris bisected it to commit: d53d9bc0cf78 ("x86/debug: Change thread.debugreg6 to thread.virtual_dr6") The debugging session led us to commit: 6c0aca288e72 ("x86: Ignore trap bits on single step exceptions") It turns out that TF and

YOU HAVE WON

2021-01-28 Thread lottonlxxx
LOTTO.NL, 2391 Beds 152 Koningin Julianaplein 21, Den Haag-Netherlands. (Lotto affiliate with Subscriber Agents). From: Susan Console (Lottery Coordinator) Website: www.lotto.nl Sir/Madam, CONGRATULATIONS!!! We are pleased to inform you of the result of the Lotto NL Winners International

Re: [PATCH v6 07/33] iommu: Avoid reallocate default domain for a group

2021-01-28 Thread Will Deacon
On Thu, Jan 28, 2021 at 09:10:20PM +, Will Deacon wrote: > On Wed, Jan 27, 2021 at 05:39:16PM +0800, Yong Wu wrote: > > On Tue, 2021-01-26 at 22:23 +, Will Deacon wrote: > > > On Mon, Jan 11, 2021 at 07:18:48PM +0800, Yong Wu wrote: > > > > If group->default_domain exists, avoid reallocate

Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-28 Thread Nick Desaulniers
On Thu, Jan 28, 2021 at 12:46 PM Sedat Dilek wrote: > > [ LLVM ] > > Today, I switched over to LLVM version 12.0.0-rc1. > > > [ Step #1: 5.11.0-rc5-5-amd64-clang12-pgo ] > > My first kernel was built with CONFIG_PGO_CLANG=y and LLVM=1 plus LLVM_IAS=1. > > [

Re: [PATCH v6 07/33] iommu: Avoid reallocate default domain for a group

2021-01-28 Thread Will Deacon
On Wed, Jan 27, 2021 at 05:39:16PM +0800, Yong Wu wrote: > On Tue, 2021-01-26 at 22:23 +, Will Deacon wrote: > > On Mon, Jan 11, 2021 at 07:18:48PM +0800, Yong Wu wrote: > > > If group->default_domain exists, avoid reallocate it. > > > > > > In some iommu drivers, there may be several devices

Re: [PATCH net-next 1/1] stmmac: intel: Add ADL-S 1Gbps PCI IDs

2021-01-28 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 26 Jan 2021 16:58:32 +0800 you wrote: > From: "Wong, Vee Khee" > > Added PCI IDs for both Ethernet TSN Controllers on the ADL-S. > > Also, skip SerDes programming sequences as these are being carried out > at

[PATCH resend] e100: switch from 'pci_' to 'dma_' API

2021-01-28 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'e100_alloc()', GFP_KERNEL can be used because it

Re: [PATCH v16 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

2021-01-28 Thread James Bottomley
On Thu, 2021-01-28 at 14:01 +0100, Michal Hocko wrote: > On Thu 28-01-21 11:22:59, Mike Rapoport wrote: [...] > > I like the idea to have a pool as an optimization rather than a > > hard requirement but I don't see why would it need a careful access > > control. As the direct map fragmentation is

Re: [PATCH v2] ARM: kprobes: rewrite test-[arm|thumb].c in UAL

2021-01-28 Thread Ard Biesheuvel
On Thu, 28 Jan 2021 at 20:34, Nick Desaulniers wrote: > > Clang's integrated assembler only accepts UAL syntax, rewrite the > instructions that were changed by RVCTv2.1. > > The document "Assembly language changes after RVCTv2.1" was very > helpful. > > This exposed a bug in Clang's integrated

[PATCH v3 2/3] drm/msm: Fix races managing the OOB state for timestamp vs timestamps.

2021-01-28 Thread Eric Anholt
Now that we're not racing with GPU setup, also fix races of timestamps against other timestamps. In freedreno CI, we were seeing this path trigger timeouts on setting the GMU bit, producing: [drm:_a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x0 and this triggered

[PATCH v3 1/3] drm/msm: Fix race of GPU init vs timestamp power management.

2021-01-28 Thread Eric Anholt
We were using the same force-poweron bit in the two codepaths, so they could race to have one of them lose GPU power early. freedreno CI was seeing intermittent errors like: [drm:_a6xx_gmu_set_oob] *ERROR* Timeout waiting for GMU OOB set GPU_SET: 0x0 and this issue could have contributed to it.

[PATCH v3 3/3] drm/msm: Clean up GMU OOB set/clear handling.

2021-01-28 Thread Eric Anholt
Now that the bug is fixed in the minimal way for stable, go make the code table-driven. Signed-off-by: Eric Anholt Reviewed-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 124 +- drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 55 2 files changed,

Re: [PATCH RFC v1 0/3] Introduce vfio-pci-core subsystem

2021-01-28 Thread Alex Williamson
On Thu, 28 Jan 2021 17:29:30 +0100 Cornelia Huck wrote: > On Tue, 26 Jan 2021 15:27:43 +0200 > Max Gurtovoy wrote: > > On 1/26/2021 5:34 AM, Alex Williamson wrote: > > > On Mon, 25 Jan 2021 20:45:22 -0400 > > > Jason Gunthorpe wrote: > > > > > >> On Mon, Jan 25, 2021 at 04:31:51PM -0700,

Re: [PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Linus Torvalds
On Thu, Jan 28, 2021 at 12:52 PM Josh Poimboeuf wrote: > > Huh? Why would you do a "make oldconfig" on a distro-released kernel > before building an OOT module? I guarantee you that this patch will *make* people do that. > Hm? Are you saying the check is too strict, since GCC9 binaries

[PATCH v3 0/3] drm/msm: fix for "Timeout waiting for GMU OOB set GPU_SET: 0x0"

2021-01-28 Thread Eric Anholt
Updated commit messages over v2, no code changes. Eric Anholt (3): drm/msm: Fix race of GPU init vs timestamp power management. drm/msm: Fix races managing the OOB state for timestamp vs timestamps. drm/msm: Clean up GMU OOB set/clear handling. drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 105

Re: Linux 5.11-rc5

2021-01-28 Thread Pavel Machek
Hi! /-/blob/master/kconfig/debug > > > > > > Here's a boot dmesg from some affected machines from just before the merge > > > with rc5: > > > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9676/shard-skl1/boot18.txt > > >

Re: [PATCH V5] x86/mm: Tracking linear mapping split events

2021-01-28 Thread Saravanan D
Hi Mathew, > Is this tracing of userspace programs causing splits, or is it kernel > tracing? Also, we have lots of kinds of tracing these days; are you > referring to kprobes? tracepoints? ftrace? Something else? It has to be kernel tracing (kprobes, tracepoints) as we are dealing with

Re: 5.9.11 still hanging 2mn at each boot and looping on nvidia-gpu 0000:01:00.3: PME# enabled (Quadro RTX 4000 Mobile)

2021-01-28 Thread Bjorn Helgaas
On Wed, Jan 27, 2021 at 03:33:02PM -0600, Bjorn Helgaas wrote: > On Sat, Dec 26, 2020 at 03:12:09AM -0800, Marc MERLIN wrote: > > This started with 5.5 and hasn't gotten better since then, despite > > some reports I tried to send. > > > > As per my previous message: > > I have a Thinkpad P70 with

Re: [PATCH] pwm: fix semicolon.cocci warnings

2021-01-28 Thread Uwe Kleine-König
Hello, On Thu, Jan 28, 2021 at 09:45:37PM +0800, kernel test robot wrote: > From: kernel test robot > > drivers/pwm/pwm-lpc18xx-sct.c:292:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > Fixes: e96c0ff4b1e0 ("pwm: Enable

Re: [PATCH] regulator: pf8x00: Fix typo for PF8200 chip name

2021-01-28 Thread Mark Brown
On Thu, 28 Jan 2021 20:01:51 +0800, Axel Lin wrote: > Trivial typo fix. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: pf8x00: Fix typo for PF8200 chip name commit: 64f09ea1b551189f491ffb626fdccc2c31fe2d70 All being

Re: [PATCH] dt-bindings: Cleanup standard unit properties

2021-01-28 Thread Alexandre Belloni
On 28/01/2021 13:45:15-0600, Rob Herring wrote: > Properties with standard unit suffixes already have a type and don't need > type definitions. They also default to a single entry, so 'maxItems: 1' > can be dropped. > > adi,ad5758 is an oddball which defined an enum of arrays. While a valid >

Re: [PATCH v2] ASoC: qcom: lpass-cpu: Remove bit clock state check

2021-01-28 Thread Mark Brown
On Wed, 27 Jan 2021 20:48:24 +0530, Srinivasa Rao Mandadapu wrote: > No need of BCLK state maintenance from driver side as > clock_enable and clk_disable API's maintaing state counter. > > One of the major issue was spotted when Headset jack inserted > while playback continues, due to same PCM

Re: [PATCH 1/1] mfd: da9063: Support SMBus and I2C mode

2021-01-28 Thread Wolfram Sang
Hi, > None of that seems to model the inability to perform atomic transactions > within the SMBus timeout. This is either a bug of this specific driver > or maybe the expressiveness of I2C_FUNC_* is not sufficient. > > https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/i2c.h#L88 >

Re: [PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Josh Poimboeuf
On Thu, Jan 28, 2021 at 12:24:45PM -0800, Linus Torvalds wrote: > On Thu, Jan 28, 2021 at 12:08 PM Josh Poimboeuf wrote: > > > > Add a check for compiler mismatch, but only check the major version. > > I think this is wrong for multiple reasons. > > The most fundamental reason is that it's

Re: [PATCH] staging: net: wimax: i2400m: fw: remove redundant initialization of variable result

2021-01-28 Thread Joe Perches
On Thu, 2021-01-28 at 17:37 +, Colin King wrote: > From: Colin Ian King > > The variable result is being initialized with a value that is never > read and it is being updated later with a new value. The initialization > is redundant and can be removed. Isn't WIMAX dead? Shouldn't it be

Re: [PATCH][next] mm/zswap: fix potential uninitialized pointer read on tmp

2021-01-28 Thread Andrew Morton
On Thu, 28 Jan 2021 16:18:23 +0100 Vlastimil Babka wrote: > On 1/28/21 3:17 PM, Colin King wrote: > > From: Colin Ian King > > > > In the case where zpool_can_sleep_mapped(pool) returns 0 > > then tmp is not allocated and tmp is then an uninitialized > > pointer. Later if entry is null, tmp is

Re: [PATCH 04/13] module: use RCU to synchronize find_module

2021-01-28 Thread Thiago Jung Bauermann
Hi Christoph, Christoph Hellwig writes: > diff --git a/kernel/module.c b/kernel/module.c > index 981302f616b411..6772fb2680eb3e 100644 > --- a/kernel/module.c > +++ b/kernel/module.c > @@ -668,7 +668,6 @@ static struct module *find_module_all(const char *name, > size_t len, > > struct

Re: [PATCH v6] close_range.2: new page documenting close_range(2)

2021-01-28 Thread Michael Kerrisk (man-pages)
Hello Stephen, (and CHristian, please!) Thanks for your patch revision. I've merged it, and have done some light editing, but I still have a question: On 1/23/21 5:11 PM, Stephen Kitt wrote: [...] > +.SH ERRORS > +.TP > +.B EMFILE > +The per-process limit on the number of open file

Re: [PATCH 2/2] security.capability: fix conversions on getxattr

2021-01-28 Thread Eric W. Biederman
Miklos Szeredi writes: > On Thu, Jan 28, 2021 at 9:24 PM Eric W. Biederman > wrote: > >> >> From our previous discussions I would also argue it would be good >> if there was a bypass that skipped all conversions if the reader >> and the filesystem are in the same user namespace. >> > >

Re: [PATCH 0/6] ceph: convert to new netfs read helpers

2021-01-28 Thread Ilya Dryomov
On Thu, Jan 28, 2021 at 1:52 PM Jeff Layton wrote: > > On Wed, 2021-01-27 at 23:50 +0100, Ilya Dryomov wrote: > > On Tue, Jan 26, 2021 at 2:41 PM Jeff Layton wrote: > > > > > > This patchset converts ceph to use the new netfs readpage, write_begin, > > > and readahead helpers to handle buffered

Re: [PATCH 2/3] drm/msm: Fix races managing the OOB state for timestamp vs timestamps.

2021-01-28 Thread Rob Clark
On Wed, Jan 27, 2021 at 3:39 PM Eric Anholt wrote: > > Now that we're not racing with GPU setup, also fix races of timestamps > against other timestamps. In CI, we were seeing this path trigger > timeouts on setting the GMU bit, especially on the first set of tests > right after boot (it's

Re: Kconfig-induced build errors: CONFIG_PAGE_OFFSET

2021-01-28 Thread Randy Dunlap
On 1/28/21 12:07 PM, Atish Patra wrote: > On Wed, Jan 27, 2021 at 7:18 PM Randy Dunlap wrote: >> >> Hi, >> >> I took a riscv-32 .config from kernel test robot (it was for a clang build) >> and did a "make olddefconfig" (using gcc tools) and got build errors >> due to this config item from

Re: [PATCH 2/2] security.capability: fix conversions on getxattr

2021-01-28 Thread Miklos Szeredi
On Thu, Jan 28, 2021 at 9:24 PM Eric W. Biederman wrote: > > From our previous discussions I would also argue it would be good > if there was a bypass that skipped all conversions if the reader > and the filesystem are in the same user namespace. > That's however just an optimization (AFAICS)

RE: linux-next: removal of the ia64 tree

2021-01-28 Thread Luck, Tony
Stephen, Yes. Most stuff I do these days goes through the RAS tree I share with Boris. -Tony -Original Message- From: Stephen Rothwell Sent: Thursday, January 28, 2021 11:53 AM To: Luck, Tony Cc: Arnd Bergmann ; Linux Kernel Mailing List ; Linux Next Mailing List Subject:

Re: [PATCH 1/1] process_madvise.2: Add process_madvise man page

2021-01-28 Thread Suren Baghdasaryan
On Thu, Jan 28, 2021 at 12:31 PM Michael Kerrisk (man-pages) wrote: > > Hello Suren, > > On 1/28/21 7:40 PM, Suren Baghdasaryan wrote: > > On Thu, Jan 28, 2021 at 4:24 AM Michael Kerrisk (man-pages) > > wrote: > >> > >> Hello Suren, > >> > >> Thank you for writing this page! Some comments below.

Re: [PATCH 1/1] process_madvise.2: Add process_madvise man page

2021-01-28 Thread Michael Kerrisk (man-pages)
Hello Suren, On 1/28/21 7:40 PM, Suren Baghdasaryan wrote: > On Thu, Jan 28, 2021 at 4:24 AM Michael Kerrisk (man-pages) > wrote: >> >> Hello Suren, >> >> Thank you for writing this page! Some comments below. > > Thanks for the review! > Couple questions below and I'll respin the new version

Re: [PATCH v3 0/3] perf/smmuv3: Don't reserve the PMCG register spaces

2021-01-28 Thread Will Deacon
On Wed, Jan 27, 2021 at 07:32:55PM +0800, Zhen Lei wrote: > v2 --> v3: > Patch 3 is updated because https://lkml.org/lkml/2021/1/22/532 has been > queued in advance. > > v1 --> v2: > According to Robin Murphy's suggestion: https://lkml.org/lkml/2021/1/20/470 > Don't reserve the PMCG register

Re: [PATCH v2 1/3] checkpatch: add verbose mode

2021-01-28 Thread Joe Perches
On Thu, 2021-01-28 at 20:08 +0530, Dwaipayan Ray wrote: > Add a new verbose mode to checkpatch.pl to emit additional verbose > test descriptions. The verbose mode is optional and can be enabled > by the flag -v or --verbose. [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] >

[patch 3/3] nohz: tick_nohz_kick_task: only IPI if remote task is running

2021-01-28 Thread Marcelo Tosatti
If the task is not running, run_posix_cpu_timers has nothing to elapsed, so spare IPI in that case. Suggested-by: Peter Zijlstra Signed-off-by: Marcelo Tosatti Index: linux-2.6/kernel/sched/core.c === ---

Re: [PATCH v2 4/4] arm64: kaslr: support randomized module area with KASAN_VMALLOC

2021-01-28 Thread Will Deacon
On Thu, Jan 28, 2021 at 04:53:26PM +0800, Lecopzer Chen wrote: > > > On Sat, Jan 09, 2021 at 06:32:52PM +0800, Lecopzer Chen wrote: > > > After KASAN_VMALLOC works in arm64, we can randomize module region > > > into vmalloc area now. > > > > > > Test: > > > VMALLOC area ffc01000

Re: [PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Linus Torvalds
On Thu, Jan 28, 2021 at 12:08 PM Josh Poimboeuf wrote: > > Add a check for compiler mismatch, but only check the major version. I think this is wrong for multiple reasons. The most fundamental reason is that it's pointless and doesn't actually do what you claim it does. Just doing a "make

[patch 2/3] nohz: change signal tick dependency to wakeup CPUs of member tasks

2021-01-28 Thread Marcelo Tosatti
Rather than waking up all nohz_full CPUs on the system, only wakeup the target CPUs of member threads of the signal. Reduces interruptions to nohz_full CPUs. Signed-off-by: Marcelo Tosatti Index: linux-2.6/kernel/time/tick-sched.c

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

2021-01-28 Thread Marcelo Tosatti
When adding a tick dependency to a task, its necessary to wakeup the CPU where the task resides to reevaluate tick dependencies on that CPU. However the current code wakes up all nohz_full CPUs, which is unnecessary. Switch to waking up a single CPU, by using ordering of writes to task->cpu and

[patch 0/3] nohz_full: only wakeup target CPUs when notifying new tick dependency (v5)

2021-01-28 Thread Marcelo Tosatti
When enabling per-CPU posix timers, an IPI to nohz_full CPUs might be performed (to re-read the dependencies and possibly not re-enter nohz_full on a given CPU). A common case is for applications that run on nohz_full= CPUs to not use POSIX timers (eg DPDK). This patch changes the notification to

Re: [PATCH] dt-bindings: Cleanup standard unit properties

2021-01-28 Thread Wolfram Sang
On Thu, Jan 28, 2021 at 12:16:14PM -0800, Guenter Roeck wrote: > On Thu, Jan 28, 2021 at 01:45:15PM -0600, Rob Herring wrote: > > Properties with standard unit suffixes already have a type and don't need > > type definitions. They also default to a single entry, so 'maxItems: 1' > > can be

Re: [PATCH] dt-bindings: Cleanup standard unit properties

2021-01-28 Thread Mark Brown
On Thu, Jan 28, 2021 at 01:45:15PM -0600, Rob Herring wrote: > Properties with standard unit suffixes already have a type and don't need > type definitions. They also default to a single entry, so 'maxItems: 1' > can be dropped. Acked-by: Mark Brown signature.asc Description: PGP signature

[PATCH v2] media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'

2021-01-28 Thread Christophe JAILLET
If an error occurs after a successful 'of_icc_get()' call, it must be undone. Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak. Update the remove function accordingly and axe the now unneeded 'icc_put()' calls. Fixes: 32f0a6ddc8c9 ("media: venus: Use on-chip interconnect API")

Re: [PATCH] mtd: use refcount to prevent corruption

2021-01-28 Thread Richard Weinberger
Tomas, - Ursprüngliche Mail - >> As Richard was saying, we are really open to enhance MTD refcounting. >> >> However, the issue you are facing is, IMHO, not related to MTD but to MFD. >> There should be a way to avoid MFD to vanish by taking a reference of it >> through

Re: [PATCH] x86/debug: 'Fix' ptrace dr6 output

2021-01-28 Thread Tom de Vries
On 1/28/21 7:20 PM, Peter Zijlstra wrote: > > Tom reported that one of the GDB test-cases failed, and Boris bisected > it to commit: > > d53d9bc0cf78 ("x86/debug: Change thread.debugreg6 to thread.virtual_dr6") > > The debugging session led us to commit: > > 6c0aca288e72 ("x86: Ignore trap

Re: [PATCH 2/2] security.capability: fix conversions on getxattr

2021-01-28 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > On Tue, Jan 19, 2021 at 07:34:49PM -0600, Eric W. Biederman wrote: >> Miklos Szeredi writes: >> >> > If a capability is stored on disk in v2 format cap_inode_getsecurity() will >> > currently return in v2 format unconditionally. >> > >> > This is wrong: v2 cap

Re: [PATCH v2 7/7] fs: HKDF - remove duplicate memory clearing

2021-01-28 Thread Eric Biggers
On Sun, Jan 24, 2021 at 03:04:50PM +0100, Stephan Müller wrote: > The clearing of the OKM memory buffer in case of an error is already > performed by the HKDF implementation crypto_hkdf_expand. Thus, the > code clearing is not needed any more in the file system code base. > > Signed-off-by:

Re: [PATCH v2 6/7] fs: use HKDF implementation from kernel crypto API

2021-01-28 Thread Eric Biggers
On Sun, Jan 24, 2021 at 03:04:31PM +0100, Stephan Müller wrote: > @@ -74,16 +57,14 @@ int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 > *master_key, > return PTR_ERR(hmac_tfm); > } > > - if (WARN_ON(crypto_shash_digestsize(hmac_tfm) != sizeof(prk))) { > +

Re: [PATCH v2 0/4] perf vendor events arm64: Some tidy-up/refactoring

2021-01-28 Thread Will Deacon
On Thu, Jan 28, 2021 at 08:00:32PM +0800, John Garry wrote: > There is much event duplication in the common and uarch events for A76 > and Ampere eMag support, so factor out into a common JSON. > > Since the wording for events may differ between CPU datasheet and > the architecture reference

Re: [PATCH] dt-bindings: Cleanup standard unit properties

2021-01-28 Thread Guenter Roeck
On Thu, Jan 28, 2021 at 01:45:15PM -0600, Rob Herring wrote: > Properties with standard unit suffixes already have a type and don't need > type definitions. They also default to a single entry, so 'maxItems: 1' > can be dropped. > > adi,ad5758 is an oddball which defined an enum of arrays. While

Re: [PATCH v2 6/7] fs: use HKDF implementation from kernel crypto API

2021-01-28 Thread Eric Biggers
Please prefix the commit subject with "fscrypt: " rather than "fs: ". On Sun, Jan 24, 2021 at 03:04:31PM +0100, Stephan Müller wrote: > diff --git a/fs/crypto/hkdf.c b/fs/crypto/hkdf.c > index e0ec21055505..ae236b42b1f0 100644 > --- a/fs/crypto/hkdf.c > +++ b/fs/crypto/hkdf.c > @@ -9,7 +9,7 @@ >

Re: [PATCH] ptrace: restore the previous single step reporting behavior

2021-01-28 Thread Kyle Huey
On Thu, Jan 28, 2021 at 11:10 AM Linus Torvalds wrote: > You should have pointed to the actual patch. Sorry, I broke the reply threading in my mail client. - Kyle

[PATCH RFC] kbuild: Prevent compiler mismatch with external modules

2021-01-28 Thread Josh Poimboeuf
When building an external module, if the compiler version differs from what the kernel was built with, bad things can happen. Many kernel features change based on available compiler features. Silently removing a compiler-dependent feature in the external module build can cause unpredictable

Re: [PATCH] arch_numa: fix common code printing of phys_addr_t

2021-01-28 Thread Atish Patra
On Wed, 2021-01-27 at 19:55 -0800, Randy Dunlap wrote: > Fix build warnings in the arch_numa common code: > > ../include/linux/kern_levels.h:5:18: warning: format '%Lx' expects > argument of type 'long long unsigned int', but argument 3 has type > 'phys_addr_t' {aka 'unsigned int'} [-Wformat=] >

Re: [PATCH v2 2/3] docs: add documentation for checkpatch

2021-01-28 Thread Dwaipayan Ray
On Fri, Jan 29, 2021 at 12:53 AM Joe Perches wrote: > > On Thu, 2021-01-28 at 20:08 +0530, Dwaipayan Ray wrote: > > Add documentation for kernel script checkpatch.pl. > > This documentation is also parsed by checkpatch to > > enable a verbose mode. > > > > Only a few test descriptions are added

Re: [PATCH] vio: make remove callback return void

2021-01-28 Thread Uwe Kleine-König
Hello Sukadev, On 1/28/21 8:07 PM, Sukadev Bhattiprolu wrote: Slightly off-topic, should ndo_stop() also return a void? Its return value seems to be mostly ignored and [...] I don't know enough about the network stack to tell. Probably it's a good idea to start a separate thread for this and

Re: [PATCH v2 3/7] crypto: add RFC5869 HKDF

2021-01-28 Thread Eric Biggers
On Sun, Jan 24, 2021 at 03:03:28PM +0100, Stephan Müller wrote: > RFC5869 specifies an extract and expand two-step key derivation > function. The HKDF implementation is provided as a service function that > operates on a caller-provided HMAC handle. The caller has to allocate > the HMAC shash

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