Re: [PATCH v3 1/6] mm: migrate: do not migrate HugeTLB page whose refcount is one

2021-01-12 Thread Mike Kravetz
On 1/12/21 6:53 AM, Michal Hocko wrote: > On Tue 12-01-21 15:41:02, David Hildenbrand wrote: >> On 12.01.21 15:23, Michal Hocko wrote: >>> On Tue 12-01-21 13:16:45, Michal Hocko wrote: >>> [...] Well, currently pool pages are not migrateable but you are right that this is likely

Re: [PATCH 01/40] drm/amd/display/dc/dce/dce_aux: Mark 'dce_aux_transfer_raw' as __maybe_unused

2021-01-12 Thread Alex Deucher
On Mon, Jan 11, 2021 at 2:19 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c: In function > ‘dce_aux_transfer_raw’: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:579:7: warning: > variable

Re: [Sound-open-firmware] [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-12 Thread Pierre-Louis Bossart
Since this is going to be a really invasive change, and past experience shows that mucking with Kconfigs will invariably raise a number of broken corner cases, if there is support from Mark/Takashi/Jaroslav on this idea, we should first test it in the SOF tree so that we get a good test

Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

2021-01-12 Thread Roman Gushchin
On Tue, Jan 12, 2021 at 02:45:43PM -0500, Johannes Weiner wrote: > On Tue, Jan 12, 2021 at 09:03:22AM -0800, Roman Gushchin wrote: > > On Tue, Jan 12, 2021 at 11:30:11AM -0500, Johannes Weiner wrote: > > > When a value is written to a cgroup's memory.high control file, the > > > write() context

[tip: timers/urgent] ntp: Fix RTC synchronization on 32-bit platforms

2021-01-12 Thread tip-bot2 for Geert Uytterhoeven
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: e3fab2f3de081e98c50b7b4ace1b040161d95310 Gitweb: https://git.kernel.org/tip/e3fab2f3de081e98c50b7b4ace1b040161d95310 Author:Geert Uytterhoeven AuthorDate:Mon, 11 Jan 2021 11:39:56 +01:00

Re: [PATCH] mm/mremap: fix BUILD_BUG_ON() error in get_extent

2021-01-12 Thread Sedat Dilek
On Tue, Jan 12, 2021 at 8:16 PM Nathan Chancellor wrote: > > On Wed, Dec 30, 2020 at 04:40:40PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > clang cannt evaluate this function argument at compile time > > when the function is not inlined, which leads to a link > > time failure: >

Re: [PATCH] ARM: fix link warning with XIP + frame-pointer

2021-01-12 Thread Kees Cook
On Tue, Jan 12, 2021 at 04:46:40PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > When frame pointers are used instead of the ARM unwinder, > and the kernel is built using clang with an external assembler > and CONFIG_XIP_KERNEL, every file produces two warnings > like: > >

Re: [PATCH] drm: amdgpu: pm: Mark vangogh_clk_dpm_is_enabled() as static

2021-01-12 Thread Alex Deucher
On Tue, Jan 12, 2021 at 3:23 PM Souptick Joarder wrote: > > kernel test robot throws below warnings -> > > drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:594:6: > warning: no previous prototype for 'vangogh_clk_dpm_is_enabled' > [-Wmissing-prototypes] >

Re: [PATCH bpf-next 1/2] trace: bpf: Allow bpf to attach to bare tracepoints

2021-01-12 Thread Yonghong Song
On 1/11/21 10:20 AM, Qais Yousef wrote: Some subsystems only have bare tracepoints (a tracepoint with no associated trace event) to avoid the problem of trace events being an ABI that can't be changed. From bpf presepective, bare tracepoints are what it calls RAW_TRACEPOINT(). Since bpf

Re: [PATCH v2 0/3] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag

2021-01-12 Thread Linus Torvalds
On Tue, Jan 12, 2021 at 1:48 PM Will Deacon wrote: > > > And then if somebody actually needs to pass in "modified fault state" > > (ie that whole "I'm doing fault-around, so I'll use multiple > > addresses") they'd never modify the address in the fault info, they'd > > just pass the address as an

Re: [PATCH bpf 1/2] bpf: support PTR_TO_MEM{,_OR_NULL} register spilling

2021-01-12 Thread Daniel Borkmann
On 1/12/21 8:46 PM, Andrii Nakryiko wrote: On Tue, Jan 12, 2021 at 1:14 AM Gilad Reti wrote: Add support for pointer to mem register spilling, to allow the verifier to track pointer to valid memory addresses. Such pointers are returned for example by a successful call of the

Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

2021-01-12 Thread Shakeel Butt
On Tue, Jan 12, 2021 at 11:55 AM Johannes Weiner wrote: > > On Tue, Jan 12, 2021 at 10:59:58AM -0800, Shakeel Butt wrote: > > On Tue, Jan 12, 2021 at 9:12 AM Johannes Weiner wrote: > > > > > > When a value is written to a cgroup's memory.high control file, the > > > write() context first tries

[PATCH] [v2] ubsan: disable unsigned-overflow check for i386

2021-01-12 Thread Arnd Bergmann
From: Arnd Bergmann Building ubsan kernels even for compile-testing introduced these warnings in my randconfig environment: crypto/blake2b_generic.c:98:13: error: stack frame size of 9636 bytes in function 'blake2b_compress' [-Werror,-Wframe-larger-than=] static void blake2b_compress(struct

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:49 PM Yuri Benditovich wrote: > > On Tue, Jan 12, 2021 at 9:41 PM Yuri Benditovich > wrote: > > > > Existing TUN module is able to use provided "steering eBPF" to > > calculate per-packet hash and derive the destination queue to > > place the packet to. The eBPF uses

Re: mmotm 2021-01-12-01-57 uploaded (NR_SWAPCACHE in mm/)

2021-01-12 Thread Randy Dunlap
On 1/12/21 1:58 AM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2021-01-12-01-57 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2021-01-12 Thread Nadav Amit
> On Jan 12, 2021, at 11:56 AM, Yu Zhao wrote: > > On Tue, Jan 12, 2021 at 11:15:43AM -0800, Nadav Amit wrote: >>> On Jan 12, 2021, at 11:02 AM, Laurent Dufour >>> wrote: >>> >>> Le 12/01/2021 à 17:57, Peter Zijlstra a écrit : On Tue, Jan 12, 2021 at 04:47:17PM +0100, Laurent Dufour

[PATCH 2/2] ASoC: intel: fix soundwire dependencies

2021-01-12 Thread Arnd Bergmann
From: Arnd Bergmann The Kconfig logic around SND_SOC_SOF_INTEL_SOUNDWIRE tries to ensure that all sound modules can be built with the minimal dependencies, but this fails in some configurations: x86_64-linux-ld: sound/hda/intel-dsp-config.o: in function `snd_intel_dsp_driver_probe':

[tip: irq/urgent] Merge tag 'irqchip-fixes-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent

2021-01-12 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 4bae052dde14c5538eca39592777b1d1987234ba Gitweb: https://git.kernel.org/tip/4bae052dde14c5538eca39592777b1d1987234ba Author:Thomas Gleixner AuthorDate:Tue, 12 Jan 2021 21:23:55 +01:00

[PATCH 1/2] [v2] ALSA: hda: fix SND_INTEL_DSP_CONFIG dependency

2021-01-12 Thread Arnd Bergmann
From: Arnd Bergmann The sof-pci-dev driver fails to link when built into the kernel and CONFIG_SND_INTEL_DSP_CONFIG is set to =m: arm-linux-gnueabi-ld: sound/soc/sof/sof-pci-dev.o: in function `sof_pci_probe': sof-pci-dev.c:(.text+0x1c): undefined reference to `snd_intel_dsp_driver_probe' All

Re: [PATCH] iommu/arm-smmu-v3: Handle duplicated Stream IDs from other masters

2021-01-12 Thread Ajay Kumar
On Tue, Jan 12, 2021 at 12:57 AM Robin Murphy wrote: > > On 2021-01-07 13:03, Will Deacon wrote: > > On Thu, Jan 07, 2021 at 03:03:40PM +0530, Ajay Kumar wrote: > >> When PCI function drivers(ex:pci-endpoint-test) are probed for already > >> initialized PCIe-RC(Root Complex), and PCIe-RC is

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:46 PM Alexei Starovoitov wrote: > > On Tue, Jan 12, 2021 at 11:42 AM Yuri Benditovich > wrote: > > > > This program type can set skb hash value. It will be useful > > when the tun will support hash reporting feature if virtio-net. > > > > Signed-off-by: Yuri Benditovich

Re: [Sound-open-firmware] [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-12 Thread Arnd Bergmann
On Tue, Jan 12, 2021 at 9:17 PM Pierre-Louis Bossart wrote: > > > >> Since this is going to be a really invasive change, and past > >> experience shows that mucking with Kconfigs will invariably raise a > >> number of broken corner cases, if there is support from > >> Mark/Takashi/Jaroslav on

Re: upstream build error (12)

2021-01-12 Thread Nathan Chancellor
On Tue, Jan 12, 2021 at 12:40:58PM -0700, Nathan Chancellor wrote: > On Tue, Jan 12, 2021 at 11:20:27AM -0800, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:e609571b Merge tag 'nfs-for-5.11-2' of git://git.linux-nfs.. > > git tree: upstream >

Re: [PATCH] ubsan: Implement __ubsan_handle_alignment_assumption

2021-01-12 Thread Nick Desaulniers
On Tue, Jan 12, 2021 at 1:37 PM Nathan Chancellor wrote: > > > if real_ptr is an unsigned long, do we want to use `__ffs(real_ptr) + > > 1` here rather than ffs which takes an int? It seems the kernel is > > missing a definition of ffsl. :( > > Why the + 1? I think if we use __ffs (which it

Re: [PATCH v2 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

2021-01-12 Thread Rob Herring
On Mon, 11 Jan 2021 19:29:28 +0100, AngeloGioacchino Del Regno wrote: > Add bindings for the Awinic AW9523/AW9523B I2C GPIO Expander driver. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../pinctrl/awinic,aw9523-pinctrl.yaml| 112 ++ > 1 file changed, 112

Re: 5.11-rc device reordering breaks ThinkPad rmi4 suspend

2021-01-12 Thread Saravana Kannan
I'm just going to combine my response to the 2-3 emails in this one response. On Tue, Jan 12, 2021 at 9:57 AM Thierry Reding wrote: > > On Mon, Jan 11, 2021 at 05:57:17PM +0100, Rafael J. Wysocki wrote: > > On Mon, Jan 11, 2021 at 5:12 PM Thierry Reding wrote: > > > > > > On Mon, Jan 11, 2021

Re: [PATCH bpf-next] bpf: Clarify return value of probe str helpers

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 12 Jan 2021 12:34:22 + you wrote: > When the buffer is too small to contain the input string, these > helpers return the length of the buffer, not the length of the > original string. This tries to make the docs

Re: [PATCH] mm: Teach pfn_to_online_page() about ZONE_DEVICE section collisions

2021-01-12 Thread Dan Williams
On Tue, Jan 12, 2021 at 1:44 AM David Hildenbrand wrote: > > On 12.01.21 10:18, Dan Williams wrote: > > On Thu, Jan 7, 2021 at 1:16 AM David Hildenbrand wrote: > >> > >> [...] > >> > > Well, I would love to have no surprises either. So far there was not > > actual argument why the pmem

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Arnd Bergmann
On Tue, Jan 12, 2021 at 7:28 PM Ray Jui wrote: > On 2020-12-15 7:49 a.m., Arnd Bergmann wrote: > > On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli > > wrote: > >> > >> On 12/15/2020 5:19 AM, Bharat Gooty wrote: > >>> Since the IOMMU is disabled and DMA engine is on 32-bit bus, We can not > >>>

Re: [PATCH v2 1/3] x86/mce: Avoid infinite loop for copy from user recovery

2021-01-12 Thread Luck, Tony
On Tue, Jan 12, 2021 at 10:57:07AM -0800, Andy Lutomirski wrote: > On Tue, Jan 12, 2021 at 10:24 AM Luck, Tony wrote: > > > > On Tue, Jan 12, 2021 at 09:21:21AM -0800, Andy Lutomirski wrote: > > > Well, we need to do *something* when the first __get_user() trips the > > > #MC. It would be nice

Re: [RFC PATCH v3 05/16] cxl/mem: Map memory device registers

2021-01-12 Thread Dan Williams
On Tue, Jan 12, 2021 at 11:21 AM Ben Widawsky wrote: > > On 21-01-12 19:13:42, Jonathan Cameron wrote: > > On Mon, 11 Jan 2021 14:51:09 -0800 > > Ben Widawsky wrote: > > > > > All the necessary bits are initialized in order to find and map the > > > register space for CXL Memory Devices. This is

linux-next: Fixes tag needs some work in the v4l-dvb-fixes tree

2021-01-12 Thread Stephen Rothwell
Hi all, In commit 95e9295daa84 ("media: Revert "media: videobuf2: Fix length check for single plane dmabuf queueing"") Fixes tag Fixes: 961d3b27 ("media: videobuf2: Fix length check for single plane dmabuf queueing") has these problem(s): - SHA1 should be at least 12 digits long

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:42 PM Yuri Benditovich wrote: > > This program type can set skb hash value. It will be useful > when the tun will support hash reporting feature if virtio-net. > > Signed-off-by: Yuri Benditovich > --- > drivers/net/tun.c | 2 ++ > 1 file changed, 2 insertions(+) > >

Re: upstream build error (12)

2021-01-12 Thread Marco Elver
On Tue, 12 Jan 2021 at 21:32, Nathan Chancellor wrote: > > On Tue, Jan 12, 2021 at 12:40:58PM -0700, Nathan Chancellor wrote: > > On Tue, Jan 12, 2021 at 11:20:27AM -0800, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:e609571b Merge tag

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-12 Thread Rob Herring
On Tue, Jan 12, 2021 at 2:05 PM Frank Rowand wrote: > > On 1/12/21 1:41 PM, Rob Herring wrote: > > On Tue, Jan 12, 2021 at 1:06 PM Frank Rowand wrote: > >> > >> On 1/12/21 8:04 AM, Rob Herring wrote: > >>> On Mon, Jan 11, 2021 at 4:06 PM Frank Rowand > >>> wrote: > > On 1/8/21 2:41

Re: [PATCH] ASoC: imx-hdmi: Fix warning of the uninitialized variable ret

2021-01-12 Thread Mark Brown
On Tue, Jan 12, 2021 at 12:09:21PM -0700, Nathan Chancellor wrote: > On Tue, Jan 12, 2021 at 06:48:48PM +, Mark Brown wrote: > > This is a random warning fix, why would you expect it to be sent as a > > bug fix? This is the first indication I've seen that anyone is seeing > > it in mainline,

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2021-01-12 Thread Yu Zhao
On Tue, Jan 12, 2021 at 12:38:34PM -0800, Nadav Amit wrote: > > On Jan 12, 2021, at 11:56 AM, Yu Zhao wrote: > > > > On Tue, Jan 12, 2021 at 11:15:43AM -0800, Nadav Amit wrote: > >>> On Jan 12, 2021, at 11:02 AM, Laurent Dufour > >>> wrote: > >>> > >>> Le 12/01/2021 à 17:57, Peter Zijlstra a

Re: [PATCH bpf-next] bpf: Fix a verifier message for alloc size helper arg

2021-01-12 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 12 Jan 2021 12:39:13 + you wrote: > The error message here is misleading, the argument will be rejected > unless it is a known constant. > > Signed-off-by: Brendan Jackman > --- > kernel/bpf/verifier.c | 2 +- >

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-01-12 Thread Saravana Kannan
On Mon, Jan 11, 2021 at 11:11 PM Marek Szyprowski wrote: > > On 11.01.2021 22:47, Saravana Kannan wrote: > > On Mon, Jan 11, 2021 at 6:18 AM Marek Szyprowski > > wrote: > >> On 11.01.2021 12:12, Marek Szyprowski wrote: > >>> On 18.12.2020 04:17, Saravana Kannan wrote: > Cyclic dependencies

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 10:40 PM Yuri Benditovich wrote: > > On Tue, Jan 12, 2021 at 9:42 PM Yuri Benditovich > wrote: > > > > This program type can set skb hash value. It will be useful > > when the tun will support hash reporting feature if virtio-net. > > > > Signed-off-by: Yuri Benditovich

[PATCH v3 1/1] tty: serial: owl: Add support for kernel debugger

2021-01-12 Thread Cristian Ciocaltea
Implement 'poll_put_char' and 'poll_get_char' callbacks in struct 'owl_uart_ops' that enables OWL UART to be used for kernel debugging over serial line. Signed-off-by: Cristian Ciocaltea --- Changes in v3: - Used 'readl_poll_timeout_atomic()' in 'owl_uart_poll_put_char()' to get rid of

Re: [PATCH 1/2] KVM: x86: Add emulation support for #GP triggered by VM instructions

2021-01-12 Thread Wei Huang
On 1/12/21 6:15 AM, Vitaly Kuznetsov wrote: Wei Huang writes: From: Bandan Das While running VM related instructions (VMRUN/VMSAVE/VMLOAD), some AMD CPUs check EAX against reserved memory regions (e.g. SMM memory on host) before checking VMCB's instruction intercept. If EAX falls into

[PATCH] ubsan: Implement __ubsan_handle_alignment_assumption

2021-01-12 Thread Nathan Chancellor
When building ARCH=mips 32r2el_defconfig with CONFIG_UBSAN_ALIGNMENT: ld.lld: error: undefined symbol: __ubsan_handle_alignment_assumption >>> referenced by slab.h:557 (include/linux/slab.h:557) >>> main.o:(do_initcalls) in archive init/built-in.a >>> referenced by slab.h:448

Re: [PATCH v7 00/17] follow_pfn and other iomap races

2021-01-12 Thread Stephen Rothwell
Hi Daniel, On Tue, 12 Jan 2021 14:24:27 +0100 Daniel Vetter wrote: > > As Jason suggested, I've pulled the first 1 patches into a topic branch. > > Stephen, can you please add the below to linux-next for the 5.12 merge > window? > > git://anongit.freedesktop.org/drm/drm

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2021-01-12 Thread Ray Jui
On 1/12/2021 12:40 PM, Arnd Bergmann wrote: > On Tue, Jan 12, 2021 at 7:28 PM Ray Jui wrote: >> On 2020-12-15 7:49 a.m., Arnd Bergmann wrote: >>> On Tue, Dec 15, 2020 at 4:41 PM Florian Fainelli >>> wrote: On 12/15/2020 5:19 AM, Bharat Gooty wrote: > Since the IOMMU is disabled

Re: [v3 PATCH 05/11] mm: vmscan: use a new flag to indicate shrinker is registered

2021-01-12 Thread Yang Shi
On Mon, Jan 11, 2021 at 1:38 PM Kirill Tkhai wrote: > > On 11.01.2021 21:17, Yang Shi wrote: > > On Wed, Jan 6, 2021 at 2:22 AM Kirill Tkhai wrote: > >> > >> On 06.01.2021 01:58, Yang Shi wrote: > >>> Currently registered shrinker is indicated by non-NULL > >>> shrinker->nr_deferred. > >>> This

Re: [PATCH v2 08/70] mm/mmap: Change find_vma() to use the maple tree

2021-01-12 Thread Randy Dunlap
Hi, Please adjust the kernel-doc to be correct :) On 1/12/21 8:11 AM, Liam R. Howlett wrote: > Start using the maple tree to find VMA entries in an mm_struct. > > Signed-off-by: Liam R. Howlett > --- > mm/mmap.c | 29 +++-- > 1 file changed, 11 insertions(+), 18

Re: mmotm 2021-01-12-01-57 uploaded (NR_SWAPCACHE in mm/)

2021-01-12 Thread Andrew Morton
On Tue, 12 Jan 2021 12:38:18 -0800 Randy Dunlap wrote: > On 1/12/21 1:58 AM, a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2021-01-12-01-57 has been uploaded to > > > >https://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for

Re: [PATCH v4] x86/entry: emit a symbol for register restoring thunk

2021-01-12 Thread Mark Brown
On Tue, Jan 12, 2021 at 11:46:24AM -0800, Nick Desaulniers wrote: This: > when building with LLVM_IAS=1 (Clang's integrated assembler). Josh > notes: > So basically, you can use an .L symbol *inside* a function or a code > segment, you just can't use the .L symbol to contain the code using

Re: [RFC 1/1] s390/pci: expose UID checking state in sysfs

2021-01-12 Thread Bjorn Helgaas
On Mon, Jan 11, 2021 at 10:38:57AM +0100, Niklas Schnelle wrote: > We use the UID of a zPCI adapter, or the UID of the function zero if > there are multiple functions in an adapter, as PCI domain if and only if > UID Checking is turned on. > Otherwise we automatically generate domains as devices

Re: [PATCH] blk: avoid divide-by-zero with zero granularity

2021-01-12 Thread kernel test robot
Hi Li, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on block/for-next] [also build test WARNING on v5.11-rc3 next-20210112] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH 2/2] ASoC: intel: fix soundwire dependencies

2021-01-12 Thread Pierre-Louis Bossart
On 1/12/21 2:32 PM, Arnd Bergmann wrote: From: Arnd Bergmann The Kconfig logic around SND_SOC_SOF_INTEL_SOUNDWIRE tries to ensure that all sound modules can be built with the minimal dependencies, but this fails in some configurations: x86_64-linux-ld: sound/hda/intel-dsp-config.o: in

Re: [PATCH v8 04/20] dlb: add device ioctl layer and first three ioctls

2021-01-12 Thread Dan Williams
On Sun, Jan 10, 2021 at 7:06 AM Greg KH wrote: > > On Sat, Jan 09, 2021 at 01:49:42PM -0800, Dan Williams wrote: > > On Sat, Jan 9, 2021 at 12:34 AM Greg KH wrote: > > > > > > On Sat, Jan 09, 2021 at 07:49:24AM +, Chen, Mike Ximing wrote: > > > > > > +static int

Re: [PATCH v2 09/70] mm/mmap: Change find_vma_prev() to use maple tree

2021-01-12 Thread Randy Dunlap
Please see kernel-doc fixes below: On 1/12/21 8:11 AM, Liam R. Howlett wrote: > Change the implementation of find_vma_prev to use the new maple tree > data structure. > > Signed-off-by: Liam R. Howlett > --- > mm/mmap.c | 27 +-- > 1 file changed, 17 insertions(+), 10

Re: [PATCH] regulator: core: avoid regulator_resolve_supply() race condition

2021-01-12 Thread Marek Szyprowski
ng the rdev->mutex lock inside > of regulator_resolve_supply() while checking and setting > rdev->supply. > > Signed-off-by: David Collins This patch landed in linux next-20210112 as commit eaa7995c529b ("regulator: core: avoid regulator_resolve_supply() race condition&qu

Re: [PATCH 1/2] init/main.c: fix strings split across lines

2021-01-12 Thread Liu Peibao
On 1/12/21 8:02 AM, Steven Rostedt wrote: On Wed, 30 Dec 2020 14:04:23 +0800 Liu Peibao wrote: Fix warning found by checkpatch.pl. Signed-off-by: Liu Peibao --- init/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init/main.c b/init/main.c index

5.11 new lockdep warning related to led-class code (also may involve ata / piix controller)

2021-01-12 Thread Hans de Goede
Hi All, Booting a 5.11-rc2 kernel with lockdep enabled inside a virtualbox vm (which still emulates good old piix ATA controllers) I get the below lockdep splat early on during boot: This seems to be led-class related but also seems to have a (P)ATA part to it. To the best of my knowledge this

Re: [PATCH v2 0/3] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag

2021-01-12 Thread Will Deacon
On Mon, Jan 11, 2021 at 11:25:37AM -0800, Linus Torvalds wrote: > On Mon, Jan 11, 2021 at 6:24 AM Kirill A. Shutemov > wrote: > > > > I wonder if it would be acceptable to pass down to faultaround a copy > > of vmf, so it mess with it without risking to corrupt the original one? > > I'd almost

Re: [PATCH V5 0/3] Decouple config data for configfs

2021-01-12 Thread Melissa Wen
On 01/12, Sumera Priyadarsini wrote: > This patchset aims to lay down some prep work before configfs can be > implemented for the vkms driver. The first patch in the series adds a > new type vkms_config to track device configuration. The second and third > patch add module testing support for

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-12 Thread Jarod Wilson
On Thu, Jan 07, 2021 at 07:03:40PM -0500, Jarod Wilson wrote: > On Fri, Dec 18, 2020 at 04:18:59PM -0800, Jay Vosburgh wrote: > > Jarod Wilson wrote: > > > > >This comes from an end-user request, where they're running multiple VMs on > > >hosts with bonded interfaces connected to some interest

Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

2021-01-12 Thread Johannes Weiner
On Tue, Jan 12, 2021 at 12:12:37PM -0800, Roman Gushchin wrote: > On Tue, Jan 12, 2021 at 02:45:43PM -0500, Johannes Weiner wrote: > > On Tue, Jan 12, 2021 at 09:03:22AM -0800, Roman Gushchin wrote: > > > On Tue, Jan 12, 2021 at 11:30:11AM -0500, Johannes Weiner wrote: > > > > When a value is

Re: [PATCH v2 14/70] mm/mmap: Change do_brk_flags() to expand existing VMA and add do_brk_munmap()

2021-01-12 Thread Randy Dunlap
Hi-- On 1/12/21 8:11 AM, Liam R. Howlett wrote: > Avoid allocating a new VMA when it is not necessary. Expand or contract > the existing VMA instead. This avoids unnecessary tree manipulations > and allocations. > > Once the VMA is known, use it directly when populating to avoid > unnecessary

Re: [PATCH] ubsan: Implement __ubsan_handle_alignment_assumption

2021-01-12 Thread Nick Desaulniers
On Tue, Jan 12, 2021 at 12:55 PM Nathan Chancellor wrote: > > When building ARCH=mips 32r2el_defconfig with CONFIG_UBSAN_ALIGNMENT: > > ld.lld: error: undefined symbol: __ubsan_handle_alignment_assumption > >>> referenced by slab.h:557 (include/linux/slab.h:557) > >>>

Re: [PATCH 10/11] kasan: fix bug detection via ksize for HW_TAGS mode

2021-01-12 Thread Andrey Konovalov
On Tue, Jan 12, 2021 at 3:32 PM Marco Elver wrote: > > > +/* > > + * Unlike kasan_check_read/write(), kasan_check_byte() is performed even > > for > > + * the hardware tag-based mode that doesn't rely on compiler > > instrumentation. > > + */ > > We have too many check-functions, and the name

[PATCH net-next] udp: allow forwarding of plain (non-fraglisted) UDP GRO packets

2021-01-12 Thread Alexander Lobakin
Commit 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.") actually not only added a support for fraglisted UDP GRO, but also tweaked some logics the way that non-fraglisted UDP GRO started to work for forwarding too. Tests showed that currently forwarding and NATing of plain UDP GRO packets are

Re: [PATCH 1/5] vfio/iommu_type1: Fixes vfio_dma_populate_bitmap to avoid dirty lose

2021-01-12 Thread Alex Williamson
On Thu, 7 Jan 2021 17:28:57 +0800 Keqian Zhu wrote: > Defer checking whether vfio_dma is of fully-dirty in update_user_bitmap > is easy to lose dirty log. For example, after promoting pinned_scope of > vfio_iommu, vfio_dma is not considered as fully-dirty, then we may lose > dirty log that

Re: [v3 PATCH 03/11] mm: vmscan: use shrinker_rwsem to protect shrinker_maps allocation

2021-01-12 Thread Yang Shi
On Mon, Jan 11, 2021 at 1:34 PM Kirill Tkhai wrote: > > On 11.01.2021 21:57, Yang Shi wrote: > > On Mon, Jan 11, 2021 at 9:34 AM Kirill Tkhai wrote: > >> > >> On 11.01.2021 20:08, Yang Shi wrote: > >>> On Wed, Jan 6, 2021 at 1:55 AM Kirill Tkhai wrote: > > On 06.01.2021 01:58, Yang

Re: [PATCH net-next] net: ipa: add config dependency on QCOM_SMEM

2021-01-12 Thread Randy Dunlap
On 1/12/21 11:21 AM, Alex Elder wrote: > The IPA driver depends on some SMEM functionality (qcom_smem_init(), > qcom_smem_alloc(), and qcom_smem_virt_to_phys()), but this is not > reflected in the configuration dependencies. Add a dependency on > QCOM_SMEM to avoid attempts to build the IPA

Re: [PATCH v4 18/21] ibmvfc: send Cancel MAD down each hw scsi channel

2021-01-12 Thread Brian King
On 1/11/21 5:12 PM, Tyrel Datwyler wrote: > diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c > index b0b0212344f3..24e1278acfeb 100644 > --- a/drivers/scsi/ibmvscsi/ibmvfc.c > +++ b/drivers/scsi/ibmvscsi/ibmvfc.c > @@ -2418,18 +2418,79 @@ static struct ibmvfc_event

Re: [PATCH] mm: net: memcg accounting for TCP rx zerocopy

2021-01-12 Thread Shakeel Butt
Ccing additional folks who work in this area. On Tue, Jan 12, 2021 at 1:41 PM Shakeel Butt wrote: > > From: Arjun Roy > > TCP zerocopy receive is used by high performance network applications to > further scale. For RX zerocopy, the memory containing the network data > filled by network driver

Re: [PATCH v2 0/3] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag

2021-01-12 Thread Will Deacon
On Mon, Jan 11, 2021 at 01:03:29PM -0800, Hugh Dickins wrote: > On Mon, 11 Jan 2021, Will Deacon wrote: > > On Fri, Jan 08, 2021 at 11:34:08AM -0800, Linus Torvalds wrote: > > > On Fri, Jan 8, 2021 at 9:15 AM Will Deacon wrote: > > > > > > > > The big difference in this version is that I have

RE: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF add/remove

2021-01-12 Thread Long Li
> Subject: Re: [PATCH v2 0/3] hv_netvsc: Prevent packet loss during VF > add/remove > > On Fri, 8 Jan 2021 16:53:40 -0800 Long Li wrote: > > From: Long Li > > > > This patch set fixes issues with packet loss on VF add/remove. > > These patches are for net-next? They just optimize the amount of

Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

2021-01-12 Thread Roman Gushchin
On Tue, Jan 12, 2021 at 04:11:27PM -0500, Johannes Weiner wrote: > On Tue, Jan 12, 2021 at 12:12:37PM -0800, Roman Gushchin wrote: > > On Tue, Jan 12, 2021 at 02:45:43PM -0500, Johannes Weiner wrote: > > > On Tue, Jan 12, 2021 at 09:03:22AM -0800, Roman Gushchin wrote: > > > > On Tue, Jan 12, 2021

[PATCH 0/6] KVM: selftests: Perf test cleanups and memslot modification test

2021-01-12 Thread Ben Gardon
This series contains a few cleanups that didn't make it into previous series, including some cosmetic changes and small bug fixes. The series also lays the groundwork for a memslot modification test which stresses the memslot update and page fault code paths in an attempt to expose races. Tested:

[PATCH 3/6] KVM: selftests: Convert iterations to int in dirty_log_perf_test

2021-01-12 Thread Ben Gardon
In order to add an iteration -1 to indicate that the memory population phase has not yet completed, convert the interations counters to ints. No functional change intended. Reviewed-by: Jacob Xu Signed-off-by: Ben Gardon --- .../selftests/kvm/dirty_log_perf_test.c | 26

Re: Malicious fs images was Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2021-01-12 Thread Theodore Ts'o
On Sun, Jan 10, 2021 at 07:41:02PM +0100, Pavel Machek wrote: > > >From our perspective (and Darrick and I discussed this on this week's > > ext4 video conference, so it represents the ext4 and xfs maintainer's > > position) is that the file system format is different. First, the > > on-disk

[PATCH 4/6] KVM: selftests: Fix population stage in dirty_log_perf_test

2021-01-12 Thread Ben Gardon
Currently the population stage in the dirty_log_perf_test does nothing as the per-vCPU iteration counters are not initialized and the loop does not wait for each vCPU. Remedy those errors. Reviewed-by: Jacob Xu Reviewed-by: Makarand Sonare Signed-off-by: Ben Gardon ---

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2021-01-12 Thread Will Deacon
On Tue, Jan 12, 2021 at 12:38:34PM -0800, Nadav Amit wrote: > > On Jan 12, 2021, at 11:56 AM, Yu Zhao wrote: > > On Tue, Jan 12, 2021 at 11:15:43AM -0800, Nadav Amit wrote: > >> I will send an RFC soon for per-table deferred TLB flushes tracking. > >> The basic idea is to save a generation in the

[PATCH 6/6] KVM: selftests: Add memslot modification stress test

2021-01-12 Thread Ben Gardon
Add a memslot modification stress test in which a memslot is repeatedly created and removed while vCPUs access memory in another memslot. Most userspaces do not create or remove memslots on running VMs which makes it hard to test races in adding and removing memslots without a dedicated test.

Re: [PATCH] Revert "KVM: x86: Unconditionally enable irqs in guest context"

2021-01-12 Thread Nitesh Narayan Lal
On 1/7/21 4:33 AM, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > >> On Wed, Jan 06, 2021, Vitaly Kuznetsov wrote: >>> Looking back, I don't quite understand why we wanted to account ticks >>> between vmexit and exiting guest context as 'guest' in the first place; >>> to my

[PATCH 5/6] KVM: selftests: Add option to overlap vCPU memory access

2021-01-12 Thread Ben Gardon
Add an option to overlap the ranges of memory each vCPU accesses instead of partitioning them. This option will increase the probability of multiple vCPUs faulting on the same page at the same time, and causing interesting races, if there are bugs in the page fault handler or elsewhere in the

[PATCH 1/6] KVM: selftests: Rename timespec_diff_now to timespec_elapsed

2021-01-12 Thread Ben Gardon
In response to some earlier comments from Peter Xu, rename timespec_diff_now to the much more sensible timespec_elapsed. No functional change intended. Reviewed-by: Jacob Xu Reviewed-by: Makarand Sonare Signed-off-by: Ben Gardon --- tools/testing/selftests/kvm/demand_paging_test.c | 8

[PATCH 2/6] KVM: selftests: Avoid flooding debug log while populating memory

2021-01-12 Thread Ben Gardon
Peter Xu pointed out that a log message printed while waiting for the memory population phase of the dirty_log_perf_test will flood the debug logs as there is no delay after printing the message. Since the message does not provide much value anyway, remove it. Reviewed-by: Jacob Xu

Re: [PATCH] pci: avoid unsync of LTR mechanism configuration

2021-01-12 Thread Bjorn Helgaas
Note subject line tips at https://lore.kernel.org/r/20171026223701.ga25...@bhelgaas-glaptop.roam.corp.google.com On Tue, Jan 12, 2021 at 03:27:39PM +0800, mingchuang.q...@mediatek.com wrote: > From: Mingchuang Qiao > > In pci bus scan flow, the LTR mechanism enable bit of DEVCTL2 register > is

Re: [PATCH] ubsan: Implement __ubsan_handle_alignment_assumption

2021-01-12 Thread Nathan Chancellor
On Tue, Jan 12, 2021 at 01:15:42PM -0800, Nick Desaulniers wrote: > On Tue, Jan 12, 2021 at 12:55 PM Nathan Chancellor > wrote: > > > > When building ARCH=mips 32r2el_defconfig with CONFIG_UBSAN_ALIGNMENT: > > > > ld.lld: error: undefined symbol: __ubsan_handle_alignment_assumption > > >>>

[PATCH] mm: net: memcg accounting for TCP rx zerocopy

2021-01-12 Thread Shakeel Butt
From: Arjun Roy TCP zerocopy receive is used by high performance network applications to further scale. For RX zerocopy, the memory containing the network data filled by network driver is directly mapped into the address space of high performance applications. To keep the TLB cost low, these

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-12 Thread Jay Vosburgh
Jarod Wilson wrote: >On Thu, Jan 07, 2021 at 07:03:40PM -0500, Jarod Wilson wrote: >> On Fri, Dec 18, 2020 at 04:18:59PM -0800, Jay Vosburgh wrote: >> > Jarod Wilson wrote: >> > >> > >This comes from an end-user request, where they're running multiple VMs on >> > >hosts with bonded interfaces

Re: [PATCH v2 10/70] mm/mmap: Change unmapped_area and unmapped_area_topdown to use maple tree

2021-01-12 Thread Randy Dunlap
one copy-pasta error below: On 1/12/21 8:11 AM, Liam R. Howlett wrote: > Use the new maple tree data structure to find an unmapped area. > > Signed-off-by: Liam R. Howlett > --- > mm/mmap.c | 249 ++ > 1 file changed, 27 insertions(+), 222

Re: [PATCH 1/2] KVM: x86: Add emulation support for #GP triggered by VM instructions

2021-01-12 Thread Wei Huang
On 1/12/21 5:09 AM, Maxim Levitsky wrote: On Tue, 2021-01-12 at 00:37 -0600, Wei Huang wrote: From: Bandan Das While running VM related instructions (VMRUN/VMSAVE/VMLOAD), some AMD CPUs check EAX against reserved memory regions (e.g. SMM memory on host) before checking VMCB's instruction

Re: [PATCH 1/2] init/main.c: fix strings split across lines

2021-01-12 Thread Steven Rostedt
On Tue, 12 Jan 2021 22:26:21 +0800 Liu Peibao wrote: > Thanks for your replay! I get it. > But I still feel a little confused that we use different standard to > measure the existing code and the new code. I also checked some commits, > there are similar patches too. For the reason of

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2021-01-12 Thread Yu Zhao
On Tue, Jan 12, 2021 at 11:15:43AM -0800, Nadav Amit wrote: > > On Jan 12, 2021, at 11:02 AM, Laurent Dufour > > wrote: > > > > Le 12/01/2021 à 17:57, Peter Zijlstra a écrit : > >> On Tue, Jan 12, 2021 at 04:47:17PM +0100, Laurent Dufour wrote: > >>> Le 12/01/2021 à 12:43, Vinayak Menon a écrit

Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

2021-01-12 Thread Johannes Weiner
On Tue, Jan 12, 2021 at 10:59:58AM -0800, Shakeel Butt wrote: > On Tue, Jan 12, 2021 at 9:12 AM Johannes Weiner wrote: > > > > When a value is written to a cgroup's memory.high control file, the > > write() context first tries to reclaim the cgroup to size before > > putting the limit in place

RE: [PATCH v0 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-12 Thread Praveen Chaudhary
Hi Jakub Thanks for the review, Sure, I will reraise the patch (again v0i, sonce no code changes) after adding space before '<'. This patch adds lines in 'include/uapi/', that requires ABI version changes for debian build. I am not sure, if we need any such changes to avoid breaking

I'AM SUFFERING FROM CANCER OF THE HEART

2021-01-12 Thread Mrs Nicole Marois
I'AM SUFFERING FROM CANCER OF THE HEART Dear Friend. Greetings to you in the name of the Lord God Almighty am MRS NICOLE MAROIS From (Paris) France, but am based in Burkina Faso Africa for eight years now as a business woman dealing on gold exportation and cotton Sales. But I have been suffering

Re: [PATCH 4/5] vfio/iommu_type1: Carefully use unmap_unpin_all during dirty tracking

2021-01-12 Thread Alex Williamson
On Tue, 12 Jan 2021 20:04:38 +0800 Keqian Zhu wrote: > On 2021/1/12 5:49, Alex Williamson wrote: > > On Thu, 7 Jan 2021 17:29:00 +0800 > > Keqian Zhu wrote: > > > >> If we detach group during dirty page tracking, we shouldn't remove > >> vfio_dma, because dirty log will lose. > >> > >> But

Re: [PATCH 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-12 Thread Alexei Budankov
Hi Bixuan, On 12.01.2021 15:55, Bixuan Cui wrote: > Add 'perf irq' to trace/measure the hardware interrupts. > > Now three functions are provided: > 1. 'perf irq record ' to record the irq handler events. > 2. 'perf irq script' to see a detailed trace of the workload that >was

Re: [PATCH 2/2] perf tools: Add documentation for 'perf irq' command

2021-01-12 Thread Alexei Budankov
Hi, On 12.01.2021 15:55, Bixuan Cui wrote: > Add documentation for 'perf irq' command. > > Signed-off-by: Bixuan Cui > --- > tools/perf/Documentation/perf-irq.txt | 58 +++ > tools/perf/command-list.txt | 1 + > 2 files changed, 59 insertions(+) > create

Re: [PATCH 07/11] kasan: add compiler barriers to KUNIT_EXPECT_KASAN_FAIL

2021-01-12 Thread Andrey Konovalov
On Tue, Jan 12, 2021 at 9:18 AM Alexander Potapenko wrote: > > On Tue, Jan 5, 2021 at 7:28 PM Andrey Konovalov wrote: > > > > It might not be obvious to the compiler that the expression must be > > executed between writing and reading to fail_data. In this case, the > > compiler might reorder or

Re: [RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Yuri Benditovich
On Tue, Jan 12, 2021 at 9:41 PM Yuri Benditovich wrote: > > Existing TUN module is able to use provided "steering eBPF" to > calculate per-packet hash and derive the destination queue to > place the packet to. The eBPF uses mapped configuration data > containing a key for hash calculation and

Re: [PATCH v7 2/4] clk: hisilicon: Add clock driver for hi3559A SoC

2021-01-12 Thread Stephen Boyd
Quoting Dongjiu Geng (2020-12-15 03:09:45) > diff --git a/drivers/clk/hisilicon/Makefile b/drivers/clk/hisilicon/Makefile > index b2441b99f3d5..bc101833b35e 100644 > --- a/drivers/clk/hisilicon/Makefile > +++ b/drivers/clk/hisilicon/Makefile > @@ -17,3 +17,4 @@ obj-$(CONFIG_COMMON_CLK_HI6220)

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