Re: [PATCH v4] certs: Add EFI_CERT_X509_GUID support for dbx entries

2021-01-27 Thread Nayna
On 1/27/21 10:41 AM, Eric Snowberg wrote: On Jan 27, 2021, at 7:03 AM, Mimi Zohar wrote: [Cc'ing linux-integrity] On Wed, 2021-01-27 at 11:46 +, David Howells wrote: Jarkko Sakkinen wrote: I suppose a user space tool could be created. But wouldn’t what is currently done in the

Re: [PATCH v2] blk-cgroup: Use cond_resched() when destroy blkgs

2021-01-27 Thread Jens Axboe
On 1/27/21 8:49 PM, Baolin Wang wrote: > > > 在 2021/1/28 11:41, Jens Axboe 写道: >> On 1/27/21 8:22 PM, Baolin Wang wrote: >>> On !PREEMPT kernel, we can get below softlockup when doing stress >>> testing with creating and destroying block cgroup repeatly. The >>> reason is it may take a long time

Re: [PATCH v3 3/5] OPP: Improve require-opps linking

2021-01-27 Thread Viresh Kumar
On 27-01-21, 22:40, Hsin-Yi Wang wrote: > Hi Viresh, > > I tested this patch with devfreq passive governor[1] and mt8183 > cci[2]. It's also working as expected. I hope I can add your Tested-by for the patch then, right ? > [1] >

Re: [PATCH 00/12] docs: path-lookup: Update pathlookup docs

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > The Path lookup is a very complex subject in VFS. The path-lookup > document provides a very detailed guidance to help people understand > how path lookup works in the kernel.This document was originally > written based on three lwn articles five years ago.

Re: [PATCH 07/12] docs: path-lookup: i_op->follow_link replaced with i_op->get_link

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > follow_link has been replaced by get_link() which can be > called in RCU mode. > > see commit: 6b2553918d8b4e6de9853fd6315bec7271a2e592 > > Signed-off-by: Fox Chen > --- > Documentation/filesystems/path-lookup.rst | 12 +--- > 1 file changed, 5

Re: [PATCH v1 2/2] mm: simplify free_highmem_page() and free_reserved_page()

2021-01-27 Thread Anshuman Khandual
On 1/26/21 11:51 PM, David Hildenbrand wrote: > adjust_managed_page_count() as called by free_reserved_page() properly > handles pages in a highmem zone, so we can reuse it for > free_highmem_page(). > > We can now get rid of totalhigh_pages_inc() and simplify > free_reserved_page(). > > Cc:

Re: [PATCH v5 1/4] certs: Add EFI_CERT_X509_GUID support for dbx entries

2021-01-27 Thread Eric Snowberg
> On Jan 27, 2021, at 8:54 PM, Nayna wrote: > > > On 1/22/21 1:10 PM, Eric Snowberg wrote: >> This fixes CVE-2020-26541. >> >> The Secure Boot Forbidden Signature Database, dbx, contains a list of now >> revoked signatures and keys previously approved to boot with UEFI Secure >> Boot

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-27 Thread Masami Hiramatsu
Hi, On Thu, 28 Jan 2021 10:34:15 +0900 Masami Hiramatsu wrote: > On Wed, 27 Jan 2021 19:57:56 +0200 > Nikolay Borisov wrote: > > > > > > > On 27.01.21 г. 17:24 ч., Masami Hiramatsu wrote: > > > On Thu, 28 Jan 2021 00:13:53 +0900 > > > Masami Hiramatsu wrote: > > > > > >> Hi Nikolay, > >

Re: [PATCH 1/2] PCI/AER: Disable AER interrupt during suspend

2021-01-27 Thread Kai-Heng Feng
On Thu, Jan 28, 2021 at 4:51 AM Bjorn Helgaas wrote: > > On Thu, Jan 28, 2021 at 01:31:00AM +0800, Kai-Heng Feng wrote: > > Commit 50310600ebda ("iommu/vt-d: Enable PCI ACS for platform opt in > > hint") enables ACS, and some platforms lose its NVMe after resume from > > firmware: > > [

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

2021-01-27 Thread Randy Dunlap
On 1/27/21 7:55 PM, Randy Dunlap wrote: > Fix build warnings in the arch_numa common code: > This patch applies to linux-next, not mainline. > ../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'

Re: [PATCH v2] blk-cgroup: Use cond_resched() when destroy blkgs

2021-01-27 Thread Jens Axboe
On 1/27/21 8:22 PM, Baolin Wang wrote: > On !PREEMPT kernel, we can get below softlockup when doing stress > testing with creating and destroying block cgroup repeatly. The > reason is it may take a long time to acquire the queue's lock in > the loop of blkcg_destroy_blkgs(), or the system can

[PATCH] arch_numa: fix common code printing of phys_addr_t

2021-01-27 Thread Randy Dunlap
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=] ../drivers/base/arch_numa.c:360:56: note: format string is

Re: [PATCH v15 10/10] arm64: Add IMA log information in kimage used for kexec

2021-01-27 Thread Lakshmi Ramasubramanian
On 1/27/21 3:13 PM, Will Deacon wrote: On Wed, Jan 27, 2021 at 01:31:02PM -0500, Mimi Zohar wrote: On Wed, 2021-01-27 at 10:24 -0800, Lakshmi Ramasubramanian wrote: On 1/27/21 10:02 AM, Will Deacon wrote: On Wed, Jan 27, 2021 at 09:56:53AM -0800, Lakshmi Ramasubramanian wrote: On 1/27/21

[PATCH] opp: Allow dev_pm_opp_set_opp() to be called without opp

2021-01-27 Thread Bjorn Andersson
a6xx_gmu_stop() calls dev_pm_opp_set_opp() with NULL as opp in order to drop its bandwidth request, which was valid with dev_pm_opp_set_bw(). But after the transition to dev_pm_opp_set_opp() this leads to a NULL dereference before jumping into _set_opp(), which does disable the vote as expected.

Re: [PATCH 04/12] docs: path-lookup: update do_last() part

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > traling_symlink() was merged into lookup_last, do_last(). > > do_last() has later been split into open_last_lookups() > and do_open(). > > see related commit: c5971b8c6354a95c9ee7eb722928af5000bac247 > > Signed-off-by: Fox Chen > --- >

Re: [PATCH 08/12] docs: path-lookup: update i_op->put_link and cookie description

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > No inode->put_link operation anymore. We use delayed_call to > deal with link destruction. Cookie has been replaced with > struct delayed_call. > > Related commit: fceef393a538134f03b778c5d2519e670269342f > > Signed-off-by: Fox Chen > --- >

Re: [PATCH v1 1/2] video: fbdev: acornfb: remove free_unused_pages()

2021-01-27 Thread Anshuman Khandual
On 1/26/21 11:51 PM, David Hildenbrand wrote: > This function is never used and it is one of the last remaining user of > __free_reserved_page(). Let's just drop it. > > Cc: Andrew Morton > Cc: Thomas Gleixner > Cc: "Peter Zijlstra (Intel)" > Cc: Mike Rapoport > Cc: Oscar Salvador > Cc:

Re: [PATCH 2/2] powerpc/vdso64: remove meaningless vgettimeofday.o build rule

2021-01-27 Thread Masahiro Yamada
On Thu, Dec 24, 2020 at 2:12 AM Masahiro Yamada wrote: > > VDSO64 is only built for the 64-bit kernel, hence vgettimeofday.o is > built by the generic rule in scripts/Makefile.build. > > This line does not provide anything useful. > > Signed-off-by: Masahiro Yamada Michael, please take a look

Re: [PATCH v2] blk-cgroup: Use cond_resched() when destroy blkgs

2021-01-27 Thread Baolin Wang
在 2021/1/28 11:41, Jens Axboe 写道: On 1/27/21 8:22 PM, Baolin Wang wrote: On !PREEMPT kernel, we can get below softlockup when doing stress testing with creating and destroying block cgroup repeatly. The reason is it may take a long time to acquire the queue's lock in the loop of

Re: [PATCH 1/2] powerpc/vdso: fix unnecessary rebuilds of vgettimeofday.o

2021-01-27 Thread Masahiro Yamada
On Thu, Dec 24, 2020 at 2:12 AM Masahiro Yamada wrote: > > vgettimeofday.o is unnecessarily rebuilt. Adding it to 'targets' is not > enough to fix the issue. Kbuild is correctly rebuilding it because the > command line is changed. > > PowerPC builds each vdso directory twice; first in

Re: [PATCH v15 09/10] arm64: Call kmalloc() to allocate DTB buffer

2021-01-27 Thread Lakshmi Ramasubramanian
On 1/27/21 7:52 PM, Thiago Jung Bauermann wrote: Will Deacon writes: On Wed, Jan 27, 2021 at 09:59:38AM -0800, Lakshmi Ramasubramanian wrote: On 1/27/21 8:52 AM, Will Deacon wrote: Hi Will, On Fri, Jan 15, 2021 at 09:30:16AM -0800, Lakshmi Ramasubramanian wrote: create_dtb() function

Re: [PATCH 0/4] add xhci hooks for USB offload

2021-01-27 Thread Howard Yen
On Tue, Jan 26, 2021 at 10:19 PM Greg KH wrote: > > On Fri, Jan 22, 2021 at 05:32:58PM +0200, Mathias Nyman wrote: > > On 20.1.2021 12.04, Howard Yen wrote: > > > On Tue, Jan 19, 2021 at 8:47 PM Mathias Nyman > > > wrote: > > >> > > >> On 19.1.2021 12.10, Howard Yen wrote: > > >>> To let the

Re: [PATCH v2] scsi: ufs: Give clk scaling min gear a value

2021-01-27 Thread Can Guo
On 2021-01-28 11:28, Bjorn Andersson wrote: On Wed 27 Jan 20:49 CST 2021, Can Guo wrote: The initialization of clk_scaling.min_gear was removed by mistake. This change adds it back, otherwise clock scaling down would fail. Thanks for the patch Can, it solves the problem I'm seeing!

Re: [PATCH] selinux: measure state and policy capabilities

2021-01-27 Thread Paul Moore
On Sun, Jan 24, 2021 at 12:04 PM Lakshmi Ramasubramanian wrote: > On 1/22/21 1:21 PM, Paul Moore wrote: ... > >> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c > >> index 644b17ec9e63..879a0d90615d 100644 > >> --- a/security/selinux/hooks.c > >> +++ b/security/selinux/hooks.c

Re: [PATCH 1/2] perf script: Support filtering by hex address

2021-01-27 Thread Jin, Yao
Hi Jiri, On 1/28/2021 7:13 AM, Jiri Olsa wrote: @@ -709,6 +725,26 @@ int machine__resolve(struct machine *machine, struct addr_location *al, ret = strlist__has_entry(symbol_conf.sym_list, al_addr_str); } +

Re: [PATCH v2] blk-cgroup: Use cond_resched() when destroy blkgs

2021-01-27 Thread Tejun Heo
On Thu, Jan 28, 2021 at 11:22:00AM +0800, Baolin Wang wrote: > On !PREEMPT kernel, we can get below softlockup when doing stress > testing with creating and destroying block cgroup repeatly. The > reason is it may take a long time to acquire the queue's lock in > the loop of blkcg_destroy_blkgs(),

Re: [PATCH 03/12] docs: path-lookup: update path_mountpoint() part

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > path_mountpoint() doesn't exist anymore. Have been folded > into path_lookup_at when flag is set with LOOKUP_MOUNTPOINT. > check out commit:161aff1d93abf0e5b5e9dbca88928998c155f677 > > Signed-off-by: Fox Chen > --- >

Re: [PATCH v2] scsi: ufs: Give clk scaling min gear a value

2021-01-27 Thread Bjorn Andersson
On Wed 27 Jan 20:49 CST 2021, Can Guo wrote: > The initialization of clk_scaling.min_gear was removed by mistake. This > change adds it back, otherwise clock scaling down would fail. > Thanks for the patch Can, it solves the problem I'm seeing! Reviewed-by: Bjorn Andersson Tested-by: Bjorn

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

2021-01-27 Thread Randy Dunlap
Hi, On 1/27/21 6:20 PM, bingjingc wrote: > From: BingJing Chang > > Will be used by fs parsing options > > Reviewed-by: Robbie Ko > Reviewed-by: Chung-Chiang Cheng > Signed-off-by: BingJing Chang > --- > fs/isofs/inode.c | 16 ++-- > fs/udf/super.c | 16

[RFC PATCH v2 2/2] scsi: ufs: Fix deadlock while suspending ufs host

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

[RFC PATCH v2 1/2] block: bsg: resume platform device before accessing

2021-01-27 Thread Asutosh Das
It may happen that the underlying device's runtime-pm is not controlled by block-pm. So it's possible that when commands are sent to the device, it's suspended and may not be resumed by blk-pm. Hence explicitly resume the parent which is the platform device. Signed-off-by: Asutosh Das

Re: [PATCH 02/12] docs: path-lookup: update path_to_nameidata() parth

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > No path_to_namei() anymore, step_into() will be called. > Related commit: c99687a03a78775f77d57fe9b07af4c8ec3dd03c > > Signed-off-by: Fox Chen > --- > Documentation/filesystems/path-lookup.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH 0/3] handle large user and group ID for isofs and udf

2021-01-27 Thread Matthew Wilcox
On Thu, Jan 28, 2021 at 10:17:00AM +0800, bingjingc wrote: > From: BingJing Chang > > The uid/gid (unsigned int) of a domain user may be larger than INT_MAX. > The parse_options of isofs and udf will return 0, and mount will fail > with -EINVAL. These patches try to handle large user and group

[PATCH v2] blk-cgroup: Use cond_resched() when destroy blkgs

2021-01-27 Thread Baolin Wang
On !PREEMPT kernel, we can get below softlockup when doing stress testing with creating and destroying block cgroup repeatly. The reason is it may take a long time to acquire the queue's lock in the loop of blkcg_destroy_blkgs(), or the system can accumulate a huge number of blkgs in pathological

Re: [PATCH 01/12] docs: path-lookup: update follow_managed() part

2021-01-27 Thread NeilBrown
On Tue, Jan 26 2021, Fox Chen wrote: > No follow_managed() anymore, handle_mounts(), > traverse_mounts(), will do the job. > see commit: 9deed3ebca244663530782631834e706a86a8c8f > > Signed-off-by: Fox Chen > --- > Documentation/filesystems/path-lookup.rst | 6 +++--- > 1 file changed, 3

Re: Getting a new fs in the kernel

2021-01-27 Thread Amy Parker
On Tue, Jan 26, 2021 at 9:36 PM Theodore Ts'o wrote: > > On Tue, Jan 26, 2021 at 07:06:55PM +, Chaitanya Kulkarni wrote: > > From what I've seen you can post the long patch-series as an RFC and get the > > > > discussion started. > > > > The priority should be ease of review and not the total

Kconfig-induced build errors: CONFIG_PAGE_OFFSET

2021-01-27 Thread Randy Dunlap
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 arch/riscv/Kconfig; config PAGE_OFFSET hex default 0xC000 if 32BIT && MAXPHYSMEM_1GB

Re: [PATCH v11 01/13] mm/vmalloc: fix HUGE_VMAP regression by enabling huge pages in vmalloc_to_page

2021-01-27 Thread Ding Tianhong
On 2021/1/26 12:44, Nicholas Piggin wrote: > vmalloc_to_page returns NULL for addresses mapped by larger pages[*]. > Whether or not a vmap is huge depends on the architecture details, > alignments, boot options, etc., which the caller can not be expected > to know. Therefore HUGE_VMAP is a

[PATCH v4 3/3] drm/bridge: anx7625: add MIPI DPI input feature support

2021-01-27 Thread Xin Ji
Add MIPI rx DPI input support Reported-by: kernel test robot Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 326 -- drivers/gpu/drm/bridge/analogix/anx7625.h | 20 +- 2 files changed, 285 insertions(+), 61 deletions(-) diff --git

[PATCH v4 2/3] drm/bridge: anx7625: fix not correct return value

2021-01-27 Thread Xin Ji
At some time, the original code may return non zero value, force return 0 if operation finished Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c

[PATCH v4 1/3] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-01-27 Thread Xin Ji
Add 'bus-type' and 'data-lanes' define for port0, add HDCP support flag and DP tx lane0 and lane1 swing register array define. Signed-off-by: Xin Ji --- .../bindings/display/bridge/analogix,anx7625.yaml | 54 +- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git

[PATCH v4 0/3] Add MIPI rx DPI support

2021-01-27 Thread Xin Ji
Hi all, this patch series implement MIPI rx DPI feature. Please help to review. This is the v4 version, any mistakes, please let me know, I'll fix it in the next series. Change history: v4: Fix Rob Herring comment - Rebase code on the branch 'drm-misc-next' - Change 'analogix,hdcp-support'

drivers/clk/imx/clk-imx31.c:54:28: warning: unused variable 'uart_clks'

2021-01-27 Thread kernel test robot
Hi Fabio, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 76c057c84d286140c6c416c3b4ba832cd1d8984e commit: 30c1951790df5e7ad6b4dbc1c46a6361dce6f946 clk: imx: imx31: Remove mx31_clocks_init() date: 4 months ago

Re: [PATCH v2] audit: Make audit_filter_syscall() return void

2021-01-27 Thread Paul Moore
On Tue, Jan 26, 2021 at 9:52 PM wrote: > > From: Yang Yang > > No invoker uses the return value of audit_filter_syscall(). > So make it return void, and amend the comment of > audit_filter_syscall(). > > Changes since v1: > - amend the comment of audit_filter_syscall(). > > Signed-off-by: Yang

Re: [PATCH v2] scsi: ufs: Give clk scaling min gear a value

2021-01-27 Thread Stanley Chu
On Wed, 2021-01-27 at 18:49 -0800, Can Guo wrote: > The initialization of clk_scaling.min_gear was removed by mistake. This > change adds it back, otherwise clock scaling down would fail. > > Fixes: 4543d9d78227 ("scsi: ufs: Refactor > ufshcd_init/exit_clk_scaling/gating()") > > Signed-off-by:

[v3] irqchip: ls-extirq: add IRQCHIP_SKIP_SET_WAKE to the irqchip flags

2021-01-27 Thread Biwen Li
From: Biwen Li The ls-extirq driver doesn't implement the irq_set_wake() callback, while being wake-up capable. This results in ugly behaviours across suspend/resume cycles. Advertise this by adding IRQCHIP_SKIP_SET_WAKE to the irqchip flags Signed-off-by: Biwen Li --- Change in v3: -

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

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/28 10:19, Yafang Shao wrote: > Currently the pGp only shows the names of page flags, rather than > the full information including section, node, zone, last cpupid and > kasan tag. While it is not easy to parse these information manually > because there're so many flavors. Let's

Re: [RFC,v3,1/1] audit: speed up syscall rule filtering

2021-01-27 Thread Paul Moore
On Sun, Jan 24, 2021 at 8:04 AM wrote: > > From 85b3eccf7f12b091b78cc5ba8abfaf759cf0334e Mon Sep 17 00:00:00 2001 > From: Yang Yang > Date: Sun, 24 Jan 2021 20:40:50 +0800 > Subject: [PATCH] audit: speed up syscall rule filtering > audit_filter_syscall() traverses struct list_head

Re: [f2fs-dev] [PATCH v3 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2021-01-27 Thread Chao Yu
On 2021/1/22 10:17, Chao Yu wrote: No, it seems this is not the case. Oops, could you please help to remove all below codes and do the test again to check whether they are the buggy codes? as I doubt there is use-after-free bug. Any test result? :) Thanks,

[PATCH v2] scsi: ufs: Give clk scaling min gear a value

2021-01-27 Thread Can Guo
The initialization of clk_scaling.min_gear was removed by mistake. This change adds it back, otherwise clock scaling down would fail. Fixes: 4543d9d78227 ("scsi: ufs: Refactor ufshcd_init/exit_clk_scaling/gating()") Signed-off-by: Can Guo --- drivers/scsi/ufs/ufshcd.c | 3 +++ 1 file changed,

Re: PROBLEM: Crash after mm: fix initialization of struct page for holes in memory layout

2021-01-27 Thread Baoquan He
On 01/27/21 at 08:26pm, Mike Rapoport wrote: > Hi Lukasz, > > On Wed, Jan 27, 2021 at 02:15:53PM +0100, Łukasz Majczak wrote: > > Hi Mike, > > > > I have started bisecting your patch and I have figured out that there > > might be something wrong with clamping - with comments out these lines > >

[PATCH] KVM: x86: fix CPUID entries returned by KVM_GET_CPUID2 ioctl

2021-01-27 Thread Michael Roth
Recent commit 255cbecfe0 modified struct kvm_vcpu_arch to make 'cpuid_entries' a pointer to an array of kvm_cpuid_entry2 entries rather than embedding the array in the struct. KVM_SET_CPUID and KVM_SET_CPUID2 were updated accordingly, but KVM_GET_CPUID2 was missed. As a result, KVM_GET_CPUID2

Re: [PATCH v4 1/2] dt-bindings: Add DT schema for Arm Mali Valhall GPU

2021-01-27 Thread Nick Fan
Thanks for your review. These are fixed in v5 as following link. https://lore.kernel.org/patchwork/patch/1372271/ Nick Fan On Thu, 2021-01-14 at 14:14 -0600, Rob Herring wrote: > On Tue, Jan 12, 2021 at 02:49:32PM +0800, Nick Fan wrote: > > Add devicetree schema for Arm Mali Valhall GPU > > > >

[PATCH] scsi: ufs: Give clk scaling min gear a value

2021-01-27 Thread Can Guo
The initialization of clk_scaling.min_gear by mistake. This change adds it back, otherwise clock scaling down would fail. Fixes: 4543d9d78227 ("scsi: ufs: Refactor ufshcd_init/exit_clk_scaling/gating()") Signed-off-by: Can Guo diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c

Re: [PATCH v11 04/13] mm/ioremap: rename ioremap_*_range to vmap_*_range

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/26 12:45, Nicholas Piggin wrote: > This will be used as a generic kernel virtual mapping function, so > re-name it in preparation. > Looks good to me. Thanks. Reviewed-by: Miaohe Lin > Signed-off-by: Nicholas Piggin > --- > mm/ioremap.c | 64

RE: [v2] irqchip: ls-extirq: add flag IRQCHIP_SKIP_SET_WAKE to remove call trace

2021-01-27 Thread Biwen Li (OSS)
> -Original Message- > From: Marc Zyngier > Sent: 2021年1月27日 19:38 > To: Biwen Li (OSS) > Cc: mark.rutl...@arm.com; Leo Li ; t...@linutronix.de; > ja...@lakedaemon.net; linux-kernel@vger.kernel.org; Jiafei Pan > ; linux-arm-ker...@lists.infradead.org; Ran Wang > ; Biwen Li > Subject:

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

2021-01-27 Thread Joe Perches
On Thu, 2021-01-28 at 10:19 +0800, Yafang Shao wrote: > Currently the pGp only shows the names of page flags, rather than > the full information including section, node, zone, last cpupid and > kasan tag. While it is not easy to parse these information manually > because there're so many flavors.

[tip:locking/core 1/3] include/linux/syscalls.h:238:18: error: conflicting types for 'sys_futex'

2021-01-27 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core head: 59ea5f1508e15cecddd8e2ca828f7962ea37adab commit: 3018a0840135536817507dd14c2a7c4ffa69 [1/3] futex: Change utime parameter to be 'const ... *' config: nios2-3c120_defconfig (attached as .config) compiler:

[PATCH v5 1/2] dt-bindings: Add DT schema for Arm Mali Valhall GPU

2021-01-27 Thread Nick Fan
Add devicetree schema for Arm Mali Valhall GPU Define a compatible string for the Mali Valhall GPU for Mediatek's SoC platform. Signed-off-by: Nick Fan --- .../bindings/gpu/arm,mali-valhall.yaml| 217 ++ 1 file changed, 217 insertions(+) create mode 100644

Re: [PATCH] mm, slub: remove slub_memcg_sysfs boot param and CONFIG_SLUB_MEMCG_SYSFS_ON

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/27 20:47, Vlastimil Babka wrote: > The boot param and config determine the value of memcg_sysfs_enabled, which is > unused since commit 10befea91b61 ("mm: memcg/slab: use a single set of > kmem_caches for all allocations") as there are no per-memcg kmem caches > anymore. > Good

[PATCH v5 2/2] arm64: dts: mt8192: Add node for the Mali GPU

2021-01-27 Thread Nick Fan
Add a basic GPU node for mt8192. Signed-off-by: Nick Fan --- This patch depends on Mediatek power and regulator support. Listed as following. [1]https://lore.kernel.org/patchwork/patch/1336293/ [2]https://patchwork.kernel.org/project/linux-mediatek/list/?series=374013

fs/f2fs/gc.c:1358:12: warning: stack frame size of 1056 bytes in function 'gc_data_segment'

2021-01-27 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 76c057c84d286140c6c416c3b4ba832cd1d8984e commit: cdf8a76fda4ae3b53c5a09e5a8c79e27b7b65d68 ubsan: move cc-option tests into Kconfig date: 6 weeks ago config: powerpc64-randconfig-r031-20210128 (attached as

Re: BUG: Incorrect MTU on GRE device if remote is unspecified

2021-01-27 Thread Vadim Fedorenko
On 28.01.2021 01:38, Cong Wang wrote: On Wed, Jan 27, 2021 at 4:56 PM Jakub Kicinski wrote: On Mon, 25 Jan 2021 22:10:10 +0200 Slava Bacherikov wrote: Hi, I'd like to report a regression. Currently, if you create GRE interface on the latest stable or LTS kernel (5.4 branch) with unspecified

Re: [PATCH v5 net-next] From: Petr Vandrovec

2021-01-27 Thread Andrew Lunn
On Wed, Jan 27, 2021 at 06:08:16PM -0800, Ronak Doshi wrote: > buf_info structures in RX & TX queues are private driver data that > do not need to be visible to the device. Although there is physical > address and length in the queue descriptor that points to these > structures, their layout is

[PATCH] iio: fix typo

2021-01-27 Thread zuoqilin1
From: zuoqilin change 'regster' to 'register' Signed-off-by: zuoqilin --- drivers/iio/dac/ad5791.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5791.c b/drivers/iio/dac/ad5791.c index e3ffa4b..615d72c 100644 --- a/drivers/iio/dac/ad5791.c +++

[PATCH 0/3] mm, printk: dump full information of page flags in pGp

2021-01-27 Thread Yafang Shao
Currently the pGp only shows the names of page flags, rather than the full information including section, node, zone, last cpupid and kasan tag. While it is not easy to parse these information manually because there're so many flavors. Let's interpret them in pGp as well. This patchset also

[PATCH 3/3] printk: dump full information of page flags in pGp

2021-01-27 Thread Yafang Shao
Currently the pGp only shows the names of page flags, rather than the full information including section, node, zone, last cpupid and kasan tag. While it is not easy to parse these information manually because there're so many flavors. Let's interpret them in pGp as well. - Before the patch, [

[PATCH 3/3] parser: add unsigned int parser

2021-01-27 Thread bingjingc
From: BingJing Chang Will be used by fs parsing options Reviewed-by: Robbie Ko Reviewed-by: Chung-Chiang Cheng Signed-off-by: BingJing Chang --- fs/isofs/inode.c | 16 ++-- fs/udf/super.c | 16 ++-- include/linux/parser.h | 1 + lib/parser.c |

[PATCH 1/3] mm, slub: use pGp to print page flags

2021-01-27 Thread Yafang Shao
As pGp has been already introduced in printk, we'd better use it to make the output human readable. Before this change, the output is, [ 6155.716018] INFO: Slab 0x4027dd4f objects=33 used=3 fp=0x8cd1579c flags=0x17c0010200 While after this change, the output is, [

[PATCH 2/3] mm, slub: don't combine pr_err with INFO

2021-01-27 Thread Yafang Shao
It is strange to combine "pr_err" with "INFO", so let's clean them up. This patch is motivated by David's comment[1]. - before the patch [ 8846.517809] INFO: Slab 0xf42a2c60 objects=33 used=3 fp=0x60d32ca8 flags=0x17c0010200(slab|head) - after the patch [ 6312.639698] ERR:

[PATCH 2/3] udf: handle large user and group ID

2021-01-27 Thread bingjingc
From: BingJing Chang If uid or gid of mount options is larger than INT_MAX, udf_fill_super will return -EINVAL. The problem can be encountered by a domain user or reproduced via: mount -o loop,uid=2147483648 something-in-udf-format.iso /mnt This can be fixed as commit 233a01fa9c4c ("fuse:

[PATCH v3 net-next] net: Remove redundant calls of sk_tx_queue_clear().

2021-01-27 Thread Kuniyuki Iwashima
The commit 41b14fb8724d ("net: Do not clear the sock TX queue in sk_set_socket()") removes sk_tx_queue_clear() from sk_set_socket() and adds it instead in sk_alloc() and sk_clone_lock() to fix an issue introduced in the commit e022f0b4a03f ("net: Introduce sk_tx_queue_mapping"). On the other hand,

[PATCH 1/3] isofs: handle large user and group ID

2021-01-27 Thread bingjingc
From: BingJing Chang If uid or gid of mount options is larger than INT_MAX, isofs_fill_super will return -EINVAL. The problem can be encountered by a domain user or reproduced via: mount -o loop,uid=2147483648 ubuntu-16.04.6-server-amd64.iso /mnt This can be fixed as commit 233a01fa9c4c

[PATCH 0/3] handle large user and group ID for isofs and udf

2021-01-27 Thread bingjingc
From: BingJing Chang The uid/gid (unsigned int) of a domain user may be larger than INT_MAX. The parse_options of isofs and udf will return 0, and mount will fail with -EINVAL. These patches try to handle large user and group ID. BingJing Chang (3): isofs: handle large user and group ID

[PATCH] drm/msm/dp: trigger unplug event in msm_dp_display_disable

2021-01-27 Thread Judy Hsiao
1. Trigger the unplug event in msm_dp_display_disable() to shutdown audio properly. 2. Reset the completion before signal the disconnect event. Signed-off-by: Judy Hsiao --- drivers/gpu/drm/msm/dp/dp_display.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

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

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/27 19:43, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > fs/hugetlbfs/inode.c > > between commit: > > 2f221d6f7b88 ("attr: handle idmapped mounts") > > from the pidfd tree and commit: > > 57d3629b7a9a

[PATCH v5 net-next] From: Petr Vandrovec

2021-01-27 Thread Ronak Doshi
buf_info structures in RX & TX queues are private driver data that do not need to be visible to the device. Although there is physical address and length in the queue descriptor that points to these structures, their layout is not standardized, and device never looks at them. So lets allocate

Re: [PATCH] mm/memory_hotplug: use helper function zone_end_pfn() to get end_pfn

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/27 17:40, David Hildenbrand wrote: > On 27.01.21 10:32, Miaohe Lin wrote: >> Commit 108bcc96ef70 ("mm: add & use zone_end_pfn() and zone_spans_pfn()") >> introduced the helper zone_end_pfn() to calculate the zone end pfn.  But >> update_pgdat_span() forgot to use it. Use this helper

Re: [PATCH v5 00/10] sunxi: Support IRQ wakeup from deep sleep

2021-01-27 Thread Chen-Yu Tsai
On Mon, Jan 25, 2021 at 6:56 PM Maxime Ripard wrote: > > On Sat, Jan 23, 2021 at 12:26:26AM -0600, Samuel Holland wrote: > > On 1/22/21 4:47 AM, Maxime Ripard wrote: > > > On Thu, Jan 21, 2021 at 07:33:54PM -0600, Samuel Holland wrote: > > >> On 1/21/21 2:35 PM, Marc Zyngier wrote: > > >>> On

Re: [PATCH] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-01-27 Thread Andrew Lunn
On Tue, Jan 26, 2021 at 08:33:37AM +0100, Mike Looijmans wrote: > The mdio_bus reset code first de-asserted the reset by allocating with > GPIOD_OUT_LOW, then asserted and de-asserted again. In other words, if > the reset signal defaulted to asserted, there'd be a short "spike" > before the reset.

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 2:41 AM Andrii Nakryiko wrote: > > On Wed, Jan 27, 2021 at 5:30 PM Sedat Dilek wrote: > > > > On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko > > wrote: > > > > > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > > > > > When dealing with BPF/BTF/pahole and

Re: [PATCH] mm/rmap: Fix potential pte_unmap on an not mapped pte

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/28 8:09, Andrew Morton wrote: > On Wed, 27 Jan 2021 04:33:49 -0500 Miaohe Lin wrote: > >> For PMD-mapped page (usually THP), pvmw->pte is NULL. For PTE-mapped THP, >> pvmw->pte is mapped. But for HugeTLB pages, pvmw->pte is not mapped and set >> to the relevant page table entry. So

Re: [PATCH] hwmon: (pmbus) Simplify the calculation of variables

2021-01-27 Thread Guenter Roeck
On Tue, Jan 26, 2021 at 02:21:40PM +0800, Jiapeng Zhong wrote: > Fix the following coccicheck warnings: > > ./drivers/hwmon/pmbus/pmbus_core.c:1265:24-26: WARNING !A || A && B is > equivalent to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong Applied. Thanks, Guenter >

Re: [PATCH v3] iommu/vt-d: do not use flush-queue when caching-mode is on

2021-01-27 Thread Lu Baolu
On 1/28/21 1:53 AM, Nadav Amit wrote: From: Nadav Amit When an Intel IOMMU is virtualized, and a physical device is passed-through to the VM, changes of the virtual IOMMU need to be propagated to the physical IOMMU. The hypervisor therefore needs to monitor PTE mappings in the IOMMU

[PATCH bpf-next] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. While looking into the source code I found duplicate assignments in misc tools for the LLVM eco system, e.g. clang and llvm-objcopy. Move the Clang, LLC and/or LLVM utils definitions to tools/scripts/Makefile.include file

Re: [PATCH] hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist

2021-01-27 Thread Guenter Roeck
On 1/27/21 3:00 PM, Pali Rohár wrote: > On Monday 25 January 2021 21:21:30 Pali Rohár wrote: >> On Monday 25 January 2021 12:19:38 Guenter Roeck wrote: >>> On Mon, Jan 25, 2021 at 11:05:40AM +0100, Pali Rohár wrote: On Saturday 23 January 2021 18:46:08 Thomas Hebb wrote: > It has been

Re: [PATCH] mm/hugetlb: Fix use after free when subpool max_hpages accounting is not enabled

2021-01-27 Thread Miaohe Lin
Hi: On 2021/1/28 8:17, Andrew Morton wrote: > On Wed, 27 Jan 2021 10:08:22 +0800 Miaohe Lin wrote: > >> On 2021/1/27 8:06, Mike Kravetz wrote: >>> On 1/26/21 3:55 AM, Miaohe Lin wrote: When subpool max_hpages accounting is not enabled, used_hpages is always 0 and might lead to release

Re: [PATCH v10] staging: fbtft: add tearing signal detect

2021-01-27 Thread carlis
On Thu, 28 Jan 2021 00:32:22 +0200 Kari Argillander wrote: > On Wed, Jan 27, 2021 at 09:42:52PM +0800, Carlis wrote: > > For st7789v ic,when we need continuous full screen refresh, it is > > best to wait for the TE signal arrive to avoid screen tearing > > > diff --git

回复: [PATCH] PM: remove PF_WQ_WORKER mask

2021-01-27 Thread Zhang, Qiang
发件人: Rafael J. Wysocki 发送时间: 2021年1月28日 2:16 收件人: Zhang, Qiang 抄送: Rafael Wysocki; Linux PM; Linux Kernel Mailing List 主题: Re: [PATCH] PM: remove PF_WQ_WORKER mask [Please note: This e-mail is from an EXTERNAL e-mail address] On Mon, Jan 25, 2021 at

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Andrii Nakryiko
On Wed, Jan 27, 2021 at 5:30 PM Sedat Dilek wrote: > > On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko > wrote: > > > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > > > > > While looking into the

Re: [PATCH] rocker: Simplify the calculation of variables

2021-01-27 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 26 Jan 2021 16:13:03 +0800 you wrote: > Fix the following coccicheck warnings: > > ./drivers/net/ethernet/rocker/rocker_ofdpa.c:926:34-36: WARNING !A || A > && B is equivalent to !A || B. > > Reported-by: Abaci

Re: BUG: Incorrect MTU on GRE device if remote is unspecified

2021-01-27 Thread Cong Wang
On Wed, Jan 27, 2021 at 4:56 PM Jakub Kicinski wrote: > > On Mon, 25 Jan 2021 22:10:10 +0200 Slava Bacherikov wrote: > > Hi, I'd like to report a regression. Currently, if you create GRE > > interface on the latest stable or LTS kernel (5.4 branch) with > > unspecified remote destination it's MTU

[PATCH] kernel: trace: preemptirq_delay_test: add cpu affinity

2021-01-27 Thread Song Chen
The kernel thread executing test can run on any cpu, which might be different cpu latency tracer is running on, as a result, the big latency caused by preemptirq delay test can't be detected. Therefore, the argument cpu_affinity is added to be passed to test, ensure it's running on the same cpu

[PATCH v9] perf stat: Fix wrong skipping for per-die aggregation

2021-01-27 Thread Jin Yao
Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP, we have: S0-D0 S0-D1 S1-D0 S1-D1 But in check_per_pkg(), S0-D1 and S1-D1 are skipped because the

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-01-27 Thread Chao Leng
On 2021/1/27 18:30, Daniel Wagner wrote: nvme_round_robin_path() should test if the return ns pointer is valid. nvme_next_ns() will return a NULL pointer if there is no path left. Fixes: 75c10e732724 ("nvme-multipath: round-robin I/O policy") Cc: Hannes Reinecke Signed-off-by: Daniel Wagner

Re: [PATCH] blk-cgroup: Use cond_resched() when destroy blkgs

2021-01-27 Thread Baolin Wang
Hi Tejun, Hello, Baolin. On Tue, Jan 26, 2021 at 09:33:25PM +0800, Baolin Wang wrote: On !PREEMPT kernel, we can get below softlockup when doing stress testing with creating and destroying block cgroup repeatly. The reason is it may take a long time to acquire the queue's lock in the loop of

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-27 Thread Masami Hiramatsu
On Wed, 27 Jan 2021 19:57:56 +0200 Nikolay Borisov wrote: > > > On 27.01.21 г. 17:24 ч., Masami Hiramatsu wrote: > > On Thu, 28 Jan 2021 00:13:53 +0900 > > Masami Hiramatsu wrote: > > > >> Hi Nikolay, > >> > >> On Wed, 27 Jan 2021 15:43:29 +0200 > >> Nikolay Borisov wrote: > >> > >>> Hello,

Re: [PATCH] watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ

2021-01-27 Thread Stephen Boyd
Quoting Sai Prakash Ranjan (2021-01-26 07:02:41) > As per register documentation, QCOM_WDT_ENABLE_IRQ which is BIT(1) > of watchdog control register is wakeup interrupt enable bit and > not related to bark interrupt at all, BIT(0) is used for that. > So remove incorrect usage of this bit when

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-01-27 Thread Chao Leng
On 2021/1/27 18:30, Daniel Wagner wrote: nvme_round_robin_path() should test if the return ns pointer is valid. nvme_next_ns() will return a NULL pointer if there is no path left. Fixes: 75c10e732724 ("nvme-multipath: round-robin I/O policy") Cc: Hannes Reinecke Signed-off-by: Daniel Wagner

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko wrote: > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > > > While looking into the source code I found duplicate assignments > > in misc tools for the LLVM

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