[PATCH net-next] net: dsa: mt7530: clean up core and TRGMII clock setup

2021-03-26 Thread Ilya Lipnitskiy
Three minor changes: - When disabling PLL, there is no need to call core_write_mmd_indirect directly, use the core_write wrapper instead like the rest of the code in the function does. This change helps with consistency and readability. Move the comment to the definition of

Re: [Linux-cifsd-devel] [PATCH][next] cifsd: remove redundant assignment to variable err

2021-03-26 Thread Namjae Jeon
2021-03-26 2:35 GMT+09:00, Colin King : > From: Colin Ian King > > The variable err 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. > > Addresses-Coverity: ("Unused value") >

[PATCH 2/2] MIPS: ralink: mt7621: add memory detection support

2021-03-26 Thread Ilya Lipnitskiy
From: Chuanhong Guo mt7621 has the following memory map: 0x0-0x1c00: lower 448m memory 0x1c00-0x200: peripheral registers 0x2000-0x240: higher 64m memory detect_memory_region in arch/mips/kernel/setup.c only adds the first memory region and isn't suitable for 512m memory

[PATCH 1/2] MIPS: ralink: annotate prom_soc_init() with __init

2021-03-26 Thread Ilya Lipnitskiy
prom_soc_init is only called from prom_init in arch/mips/ralink/prom.c, which is already annotated with __init, so annotate prom_soc_init with __init too. Signed-off-by: Ilya Lipnitskiy --- arch/mips/ralink/common.h | 2 +- arch/mips/ralink/mt7620.c | 2 +- arch/mips/ralink/mt7621.c | 2 +-

Re: A problem of Intel IOMMU hardware ?

2021-03-26 Thread Lu Baolu
Hi Nadav, On 3/27/21 12:36 PM, Nadav Amit wrote: On Mar 26, 2021, at 7:31 PM, Lu Baolu wrote: Hi Nadav, On 3/19/21 12:46 AM, Nadav Amit wrote: So here is my guess: Intel probably used as a basis for the IOTLB an implementation of some other (regular) TLB design. Intel SDM says regarding

arch/arm/mach-omap2/sr_device.c:207:51: warning: variable 'sr_inst' is uninitialized when used here

2021-03-26 Thread kernel test robot
-r025-20210326 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project f490a5969bd52c8a48586f134ff8f02ccbb295b3) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [RT v5.12-rc3-rt3] __call_rcu with KASAN causes invalid sleeping function call

2021-03-26 Thread Mike Galbraith
On Fri, 2021-03-26 at 16:20 -0500, Andrew Halaney wrote: > Hi, > > I booted the RT kernel (v5.12-rc3-rt3) with KASAN enabled for the first > time today and noticed this: That should probably be one of the auto-disabled config options. I started down the fix the KASAN gripes path, and quickly

Re: [PATCH v4 22/22] x86/fpu/xstate: Introduce boot-parameters to control state component support

2021-03-26 Thread Len Brown
> 3.3 RECOMMENDATIONS FOR SYSTEM SOFTWARE > > System software may disable use of Intel AMX by clearing XCR0[18:17], > by clearing CR4.OSXSAVE, or by setting > IA32_XFD[18]. It is recommended that system software initialize AMX > state (e.g., by executing TILERELEASE) > before doing so. This is

Re: [PATCH v4 22/22] x86/fpu/xstate: Introduce boot-parameters to control state component support

2021-03-26 Thread Len Brown
On Fri, Mar 26, 2021 at 2:17 PM Borislav Petkov wrote: > > On Fri, Mar 26, 2021 at 01:53:47PM -0400, Len Brown wrote: > > At Dave's suggestion, we had a 64 *KB* sanity check on this path. > > Boris forced us to remove it, because we could not tell him > > how we chose the number 64. > > The only

Re: A problem of Intel IOMMU hardware ?

2021-03-26 Thread Nadav Amit
> On Mar 26, 2021, at 7:31 PM, Lu Baolu wrote: > > Hi Nadav, > > On 3/19/21 12:46 AM, Nadav Amit wrote: >> So here is my guess: >> Intel probably used as a basis for the IOTLB an implementation of >> some other (regular) TLB design. >> Intel SDM says regarding TLBs (4.10.4.2 “Recommended

Re: [PATCH bpf-next 1/5] tools pkt_cls.h: sync with kernel sources

2021-03-26 Thread Andrii Nakryiko
On Fri, Mar 26, 2021 at 8:54 PM Kumar Kartikeya Dwivedi wrote: > > On Sat, Mar 27, 2021 at 04:55:51AM IST, Andrii Nakryiko wrote: > > On Thu, Mar 25, 2021 at 5:01 AM Kumar Kartikeya Dwivedi > > wrote: > > > > > > Update the header file so we can use the new defines in subsequent > > > patches. >

Re: [PATCH bpf-next 1/5] tools pkt_cls.h: sync with kernel sources

2021-03-26 Thread Kumar Kartikeya Dwivedi
On Sat, Mar 27, 2021 at 04:55:51AM IST, Andrii Nakryiko wrote: > On Thu, Mar 25, 2021 at 5:01 AM Kumar Kartikeya Dwivedi > wrote: > > > > Update the header file so we can use the new defines in subsequent > > patches. > > > > Reviewed-by: Toke Høiland-Jørgensen > > Signed-off-by: Kumar Kartikeya

Re: arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes

2021-03-26 Thread Logan Devine
Thank you!

[PATCH 4/4] erofs: add on-disk compression configurations

2021-03-26 Thread Gao Xiang
From: Gao Xiang Add a bitmap for available compression algorithms and a variable-sized on-disk table for compression options in preparation for upcoming big pcluster and LZMA algorithm, which follows the end of super block. To parse the compression options, the bitmap is scanned one by one. For

[PATCH 3/4] erofs: introduce on-disk lz4 fs configurations

2021-03-26 Thread Gao Xiang
From: Gao Xiang Introduce z_erofs_lz4_cfgs to store all lz4 configurations. Currently it's only max_distance, but will be used for new features later. Signed-off-by: Gao Xiang --- fs/erofs/decompressor.c | 15 +-- fs/erofs/erofs_fs.h | 6 ++ fs/erofs/internal.h | 8

[PATCH 2/4] erofs: support adjust lz4 history window size

2021-03-26 Thread Gao Xiang
From: Huang Jianan lz4 uses LZ4_DISTANCE_MAX to record history preservation. When using rolling decompression, a block with a higher compression ratio will cause a larger memory allocation (up to 64k). It may cause a large resource burden in extreme cases on devices with small memory and a large

[PATCH 0/4] erofs: introduce on-disk compression configurations

2021-03-26 Thread Gao Xiang
From: Gao Xiang Hi folks, When we provides support for different algorithms or big pcluster, it'd be necessary to record some configuration in the per-fs basis. For example, when big pcluster feature for lz4 is enabled, we need to know the largest pclustersize in the whole fs instance to

[PATCH 1/4] erofs: introduce erofs_sb_has_xxx() helpers

2021-03-26 Thread Gao Xiang
From: Gao Xiang Introduce erofs_sb_has_xxx() to make long checks short, especially for later big pcluster & LZMA features. Signed-off-by: Gao Xiang --- fs/erofs/decompressor.c | 3 +-- fs/erofs/internal.h | 9 + fs/erofs/super.c| 2 +- 3 files changed, 11 insertions(+), 3

[PATCH v2] ACPI: AC: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: ERROR: "foo * bar" should be "foo *bar" ERROR: code indent should use tabs where possible WARNING: Block comments use a trailing */ on a separate line WARNING: braces {} are not necessary for single statement

Re: [PATCH v1 1/1] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-03-26 Thread Kuppuswamy, Sathyanarayanan
On 3/26/21 7:40 PM, Andy Lutomirski wrote: On Mar 26, 2021, at 5:18 PM, Kuppuswamy Sathyanarayanan wrote: In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions are not supported. So handle #VE due to these instructions as no ops. These should at least be WARN. I will

Re: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-26 Thread Perry Yuan
Hi Pierre Thanks for your review . I changed the patch and explain the review comments as below (Maybe the mail format has problem, sent from one new system thunderbird :) On 3/23/21 2:57 PM, Pierre-Louis Bossart wrote: Minor comments below. On 3/22/21 4:38 AM, Perry Yuan wrote: From:

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-03-26 Thread Len Brown
Hi Andy, Say a mainline links with a math library that uses AMX without the knowledge of the mainline. Say the mainline is also linked with a userspace threading library that thinks it has a concept of XSAVE area size. Wouldn't the change in XCR0, resulting in XSAVE size change, risk confusing

Re: [PATCH -next] mm, page_alloc: avoid page_to_pfn() in move_freepages()

2021-03-26 Thread Liu Shixin
Sorry to reply to you after a so long time and thanks for your advice. It does seem that your proposed change will make the code cleaner and more efficient. I repeated move_freepages_block() 200 times on the VM and counted jiffies. The average value before and after the change was

Re: [Bug 212265] New: clock_gettime(CLOCK_TAI, ...) should return an error when TAI has not been configured

2021-03-26 Thread Richard Cochran
On Fri, Mar 26, 2021 at 12:13:43PM +0100, Thomas Gleixner wrote: > On Sat, Mar 13 2021 at 17:44, bugzilla-daemon wrote: > > Unfortunately, although the majority of distributions ship with a leap > > second file from the zoneinfo database, many or most of them (I have > > Arch here) do not

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-26 Thread Josh Don
Hi Peter, On Fri, Mar 26, 2021 at 5:10 PM Peter Zijlstra wrote: > > On Wed, Mar 24, 2021 at 05:40:14PM -0400, Joel Fernandes (Google) wrote: > > From: Josh Don > > > > A single unsigned long is insufficient as a cookie value for core > > scheduling. We will minimally have cookie values for a

[PATCH] virtio-balloon: fix a typo in comment of virtballoon_migratepage()

2021-03-26 Thread Liu Xiang
Typo: compation --> compaction Signed-off-by: Liu Xiang --- drivers/virtio/virtio_balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 7da25b87f..c25665802 100644 ---

[PATCH] scsi: scsi_priv: Remove duplicate declaration

2021-03-26 Thread Wan Jiabing
struct request and struct request_queue have been declared at forward struct declaration. Remove the duplicate and reorder the forward declaration to be in alphabetic order. Signed-off-by: Wan Jiabing --- drivers/scsi/scsi_priv.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-)

[PATCH v7 5/5] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver

2021-03-26 Thread Gustavo Pimentel
This patch describes the sysfs interface implemented on the dw-xdata-pcie driver. Signed-off-by: Gustavo Pimentel --- Documentation/ABI/testing/sysfs-driver-xdata | 46 1 file changed, 46 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-xdata

[PATCH v7 4/5] MAINTAINERS: Add Synopsys xData IP driver maintainer

2021-03-26 Thread Gustavo Pimentel
Add Synopsys xData IP driver maintainer. This driver aims to support Synopsys xData IP and is normally distributed along with Synopsys PCIe EndPoint IP as a PCIe traffic generator (depends of the use and licensing agreement). Signed-off-by: Gustavo Pimentel --- MAINTAINERS | 7 +++ 1 file

[PATCH v7 1/5] misc: Add Synopsys DesignWare xData IP driver

2021-03-26 Thread Gustavo Pimentel
Add Synopsys DesignWare xData IP driver. This driver enables/disables the PCI traffic generator module pertain to the Synopsys DesignWare prototype. Signed-off-by: Gustavo Pimentel --- drivers/misc/dw-xdata-pcie.c | 401 +++ 1 file changed, 401

[PATCH v7 3/5] Documentation: misc-devices: Add Documentation for dw-xdata-pcie driver

2021-03-26 Thread Gustavo Pimentel
Add Documentation for dw-xdata-pcie driver. Signed-off-by: Gustavo Pimentel --- Documentation/misc-devices/dw-xdata-pcie.rst | 40 1 file changed, 40 insertions(+) create mode 100644 Documentation/misc-devices/dw-xdata-pcie.rst diff --git

[PATCH v7 0/5] misc: Add Add Synopsys DesignWare xData IP driver

2021-03-26 Thread Gustavo Pimentel
This patch series adds a new driver called xData-pcie for the Synopsys DesignWare PCIe prototype. The driver configures and enables the Synopsys DesignWare PCIe traffic generator IP inside of prototype Endpoint which will generate upstream and downstream PCIe traffic. This allows to quickly test

[PATCH v7 2/5] misc: Add Synopsys DesignWare xData IP driver to Makefile and Kconfig

2021-03-26 Thread Gustavo Pimentel
Add Synopsys DesignWare xData IP driver to Makefile and Kconfig. This driver enables/disables the PCIe traffic generator module pertain to the Synopsys DesignWare prototype. Signed-off-by: Gustavo Pimentel --- drivers/misc/Kconfig | 10 ++ drivers/misc/Makefile | 1 + 2 files

Re: [PATCH 4/4] crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930

2021-03-26 Thread shenyang (M)
On 2021/3/26 17:14, Herbert Xu wrote: On Fri, Mar 19, 2021 at 03:33:07PM +0800, Yang Shen wrote: +const struct hisi_zip_sqe_ops hisi_zip_ops_v2 = { + .sqe_type = 0x3, + .fill_addr = hisi_zip_fill_addr, + .fill_buf_size =

[PATCH] netfilter: ipset: Remove duplicate declaration

2021-03-26 Thread Wan Jiabing
struct ip_set is declared twice. One is declared at 79th line, so remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/netfilter/ipset/ip_set.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/netfilter/ipset/ip_set.h b/include/linux/netfilter/ipset/ip_set.h

Re: A problem of Intel IOMMU hardware ?

2021-03-26 Thread Lu Baolu
Hi Nadav, On 3/19/21 12:46 AM, Nadav Amit wrote: So here is my guess: Intel probably used as a basis for the IOTLB an implementation of some other (regular) TLB design. Intel SDM says regarding TLBs (4.10.4.2 “Recommended Invalidation”): "Software wishing to prevent this uncertainty should

Re: [PATCH v1 1/1] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-03-26 Thread Andy Lutomirski
> On Mar 26, 2021, at 5:18 PM, Kuppuswamy Sathyanarayanan > wrote: > > In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions > are not supported. So handle #VE due to these instructions as no ops. These should at least be WARN. Does TDX send #UD if these instructions have the

Re:[PATCH V3,RESEND] workqueue/watchdog: Make unbound workqueues aware of touch_softlockup_watchdog()

2021-03-26 Thread 王擎
>V3: >- Modify the commit message clearly according to Petr's suggestion. > >Signed-off-by: Wang Qing >--- > kernel/watchdog.c | 5 +++-- > kernel/workqueue.c | 17 ++--- > 2 files changed, 9 insertions(+), 13 deletions(-) > >diff --git a/kernel/watchdog.c b/kernel/watchdog.c >index

[PATCH -next 3/3] net: vsock: Fix a typo

2021-03-26 Thread Lu Wei
Modify "occured" to "occurred" in net/vmw_vsock/af_vsock.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/vmw_vsock/af_vsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index 5546710d8ac1..01eebfecf1d7 100644

[PATCH -next 1/3] net: rds: Fix a typo

2021-03-26 Thread Lu Wei
Modify "beween" to "between" in net/rds/send.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/rds/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c index 985d0b7713ac..53444397de66 100644 --- a/net/rds/send.c +++ b/net/rds/send.c

[PATCH -next 2/3] net: sctp: Fix some typos

2021-03-26 Thread Lu Wei
Modify "unkown" to "unknown" in net/sctp/sm_make_chunk.c and Modify "orginal" to "original" in net/sctp/socket.c. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- net/sctp/sm_make_chunk.c | 2 +- net/sctp/socket.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH -next 0/3] Fix some typos

2021-03-26 Thread Lu Wei
Lu Wei (3): net: rds: Fix a typo net: sctp: Fix some typos net: vsock: Fix a typo net/rds/send.c | 2 +- net/sctp/sm_make_chunk.c | 2 +- net/sctp/socket.c| 2 +- net/vmw_vsock/af_vsock.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.17.1

Re: arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes

2021-03-26 Thread Randy Dunlap
On 3/26/21 7:18 PM, Logan Devine wrote: > Compiling the kernel for the second time, and now kvm/hyperv.c is failing to > build: > > >   AR  kernel/built-in.a >   CC [M]  arch/x86/kvm/ioapic.o >   CC [M]  arch/x86/kvm/irq_comm.o >   CC [M]  arch/x86/kvm/cpuid.o >   CC [M]  arch/x86/kvm/pmu.o

[PATCH 1/1] drm/amd/display: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file "dce110/dce110_resource.h" is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c

arch/x86/kvm/hyperv.c failing to compile: frame size of 1048 bytes is larger than 1024 bytes

2021-03-26 Thread Logan Devine
Compiling the kernel for the second time, and now kvm/hyperv.c is failing to build:   AR  kernel/built-in.a   CC [M]  arch/x86/kvm/ioapic.o   CC [M]  arch/x86/kvm/irq_comm.o   CC [M]  arch/x86/kvm/cpuid.o   CC [M]  arch/x86/kvm/pmu.o   CC [M]  arch/x86/kvm/mtrr.o   CC [M] 

Re: [PATCH v7] perf annotate: Fix sample events lost in stdio mode

2021-03-26 Thread Yang Jihong
Hello, On 2021/3/26 20:06, Arnaldo Carvalho de Melo wrote: Em Fri, Mar 26, 2021 at 12:25:37PM +0900, Namhyung Kim escreveu: On Fri, Mar 26, 2021 at 11:24 AM Yang Jihong wrote: On 2021/3/19 20:35, Yang Jihong wrote: In hist__find_annotations function, since different hist_entry may point to

[PATCH 1/1] scsi: ufs: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/scsi/ufs/ufshcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index c86760788c72c9a..e8aa7de17d0accd 100644 ---

Re: [PATCH bpf-next 5/5] libbpf: add selftests for TC-BPF API

2021-03-26 Thread Alexei Starovoitov
On Thu, Mar 25, 2021 at 05:30:03PM +0530, Kumar Kartikeya Dwivedi wrote: > This adds some basic tests for the low level bpf_tc_* API and its > bpf_program__attach_tc_* wrapper on top. *_block() apis from patch 3 and 4 are not covered by this selftest. Why were they added ? And how were they

[PATCH 1/1] drm/nouveau/nvenc: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file "priv.h" is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c

Re: [PATCH] riscv: Use $(LD) instead of $(CC) to link vDSO

2021-03-26 Thread Fangrui Song
On 2021-03-25, Nathan Chancellor wrote: Currently, the VDSO is being linked through $(CC). This does not match how the rest of the kernel links objects, which is through the $(LD) variable. When linking with clang, there are a couple of warnings about flags that will not be used during the

[PATCH 1/1] drm/nouveau/dmem: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c index

Re: [PATCH] riscv: Use $(LD) instead of $(CC) to link vDSO

2021-03-26 Thread Fangrui Song
On 2021-03-26, Nathan Chancellor wrote: On Sat, Mar 27, 2021 at 12:05:34AM +0800, kernel test robot wrote: Hi Nathan, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.12-rc4 next-20210326] [If your patch is applied

Re: [PATCH] clk: qcom: camcc: Update the clock ops for the SC7180

2021-03-26 Thread Taniya Das
Thanks Stephen for the review. On 3/23/2021 12:59 PM, Stephen Boyd wrote: Quoting Taniya Das (2021-03-19 00:47:34) Update the RCGs to use shared ops to park the RCGs at XO. s/Update/fix/? Can you also elaborate more on why we need to park the RCGs here for all these different clks? Is the

Re: [f2fs-dev] [PATCH] Revert "f2fs: give a warning only for readonly partition"

2021-03-26 Thread Chao Yu
On 2021/3/27 1:30, Jaegeuk Kim wrote: On 03/26, Chao Yu wrote: On 2021/3/26 9:19, Jaegeuk Kim wrote: On 03/26, Chao Yu wrote: On 2021/3/25 9:59, Chao Yu wrote: On 2021/3/25 6:44, Jaegeuk Kim wrote: On 03/24, Chao Yu wrote: On 2021/3/24 12:22, Jaegeuk Kim wrote: On 03/24, Chao Yu wrote:

[PATCH 1/1] drm/amd/display: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is included in the following common section and can be removed here. Signed-off-by: Zhen Lei --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Re: [PATCH 0/6] Allow signals for IO threads

2021-03-26 Thread Stefan Metzmacher
Hi Jens, > root@ub1704-166:~# LANG=C gdb --pid 1320 > GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 > Copyright (C) 2020 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it.

[PATCH v2] clk: qcom: camcc: Update the clock ops for the SC7180

2021-03-26 Thread Taniya Das
Some of the RCGs could be always ON from the XO source and could be used as the clock on signal for the GDSC to be operational. In the cases where the GDSCs are parked at different source with the source clock disabled, it could lead to the GDSC to be stuck at ON/OFF during gdsc disable/enable.

Re: [PATCH 4/8] hugetlb: create remove_hugetlb_page() to separate functionality

2021-03-26 Thread Miaohe Lin
On 2021/3/27 3:57, Mike Kravetz wrote: > On 3/25/21 7:10 PM, Miaohe Lin wrote: >> On 2021/3/25 8:28, Mike Kravetz wrote: >>> The new remove_hugetlb_page() routine is designed to remove a hugetlb >>> page from hugetlbfs processing. It will remove the page from the active >>> or free list, update

[PATCH 1/1] thermal: ti-soc-thermal: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers/thermal/ti-soc-thermal/ti-bandgap.c index

[PATCH 1/1] pinctrl: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/pinctrl/pinctrl-k210.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c index 8a733cf77ba0522..f831526d06ff68f 100644 ---

Re: [PATCH v2] drivers/clocksource/mediatek: Ack and disable interrupts on shutdown

2021-03-26 Thread Evan Benn
Hi Daniel, That is a good point, and I did try that at first and it works fine. I uploaded this version because the suspend/resume callbacks were undocumented and mostly not used by other clocksource drivers. I thought a smaller diff might be preferable. I also thought it would be better to shut

[PATCH 1/1] soc: litex: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/soc/litex/litex_soc_ctrl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/litex/litex_soc_ctrl.c b/drivers/soc/litex/litex_soc_ctrl.c index 6268bfa7f0d6088..c3e379a990f2cc9

[PATCH 1/1] watchdog: dw_wdt: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/watchdog/dw_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 32d0e1781e63c4e..b1642e2d9175584 100644 ---

[tip:x86/build] BUILD SUCCESS 58d746c119dfa28e72fc35aacaf3d2a3ac625cd0

2021-03-26 Thread kernel test robot
allyesconfig i386 tinyconfig i386defconfig mips allyesconfig powerpc allnoconfig i386 randconfig-a004-20210326 i386 randconfig-a003-20210326

回复: [PATCH v2] loop: call __loop_clr_fd() with lo_mutex locked to avoid autoclear race

2021-03-26 Thread Zhang, Qiang
发件人: Pavel Tatashin 发送时间: 2021年3月27日 5:41 收件人: Zhang, Qiang 抄送: Jens Axboe; linux-bl...@vger.kernel.org; LKML 主题: Re: [PATCH v2] loop: call __loop_clr_fd() with lo_mutex locked to avoid autoclear race [Please note: This e-mail is from an EXTERNAL

[PATCH 1/1] bus: bt1-apb: Remove duplicated header file inclusion

2021-03-26 Thread Zhen Lei
The header file is already included above and can be removed here. Signed-off-by: Zhen Lei --- drivers/bus/bt1-apb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c index b25ff941e7c7f52..74b1b712ef3a804 100644 --- a/drivers/bus/bt1-apb.c +++

Re: [PATCH] usb: cdns3: delete repeated clear operations

2021-03-26 Thread Peter Chen
On 21-03-22 07:19:46, Pawel Laszczak wrote: > Hi Peter, > > Can you add this patch to for-usb-next branch. > Feel free add your ACK base on this patch. Peter > Thanks. > > > > > > >dma_alloc_coherent already zeroes out memory, so memset is not needed. > > > >Signed-off-by: Wang Qing > >

Re: [PATCH] usb: cdnsp: Fixes issue with Configure Endpoint command

2021-03-26 Thread Peter Chen
On 21-03-22 07:09:02, Pawel Laszczak wrote: > From: Pawel Laszczak > > Patch adds flag EP_UNCONFIGURED to detect whether endpoint was > unconfigured. This flag is set in cdnsp_reset_device after Reset Device > command. Among others this command disables all non control endpoints. > Flag is used

Re: [PATCH v2] usb: cdnsp: Fixes issue with dequeuing requests after disabling endpoint

2021-03-26 Thread Peter Chen
On 21-03-22 06:47:14, Pawel Laszczak wrote: > From: Pawel Laszczak > > Patch fixes the bug: > BUG: kernel NULL pointer dereference, address: 0050 > PGD 0 P4D 0 > Oops: 0002 [#1] SMP PTI > CPU: 0 PID: 4137 Comm: uvc-gadget Tainted: G OE > 5.10.0-next-20201214+ #3 >

Re: [RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-26 Thread Rob Clark
On Fri, Mar 26, 2021 at 5:33 PM Rob Clark wrote: > > On Fri, Mar 26, 2021 at 4:48 PM Rob Herring wrote: > > > > On Fri, Mar 26, 2021 at 4:13 PM Rob Clark wrote: > > > > > > On Fri, Mar 26, 2021 at 12:48 PM Rob Herring wrote: > > > > > > > > On Fri, Mar 26, 2021 at 9:20 AM Rob Clark wrote: > >

Re: Linux 4.19.183

2021-03-26 Thread Samuel Zou
On 2021/3/24 18:23, Greg Kroah-Hartman wrote: I'm announcing the release of the 4.19.183 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can

Re: [PATCH 1/4] arm64: expose orig_x0 in the user_pt_regs structure

2021-03-26 Thread Andrei Vagin
On Fri, Mar 26, 2021 at 11:28 AM Catalin Marinas wrote: > > On Mon, Mar 22, 2021 at 03:50:50PM -0700, Andrei Vagin wrote: > > diff --git a/arch/arm64/include/uapi/asm/ptrace.h > > b/arch/arm64/include/uapi/asm/ptrace.h > > index 758ae984ff97..3c118c5b0893 100644 > > ---

Re: [RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-26 Thread Rob Clark
On Fri, Mar 26, 2021 at 4:48 PM Rob Herring wrote: > > On Fri, Mar 26, 2021 at 4:13 PM Rob Clark wrote: > > > > On Fri, Mar 26, 2021 at 12:48 PM Rob Herring wrote: > > > > > > On Fri, Mar 26, 2021 at 9:20 AM Rob Clark wrote: > > > > > > > > On Fri, Mar 26, 2021 at 8:18 AM Rob Clark wrote: > >

[PATCH v1 1/1] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-03-26 Thread Kuppuswamy Sathyanarayanan
In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions are not supported. So handle #VE due to these instructions as no ops. Signed-off-by: Kuppuswamy Sathyanarayanan Reviewed-by: Andi Kleen --- Changes since previous series: * Suppressed MWAIT feature as per Andi's comment. *

Re: [PATCH] PCI: Disallow retraining link for Atheros QCA98xx chips on non-Gen1 PCIe bridges

2021-03-26 Thread Krzysztof Wilczyński
Hi Pali, Thank you for sending the patch over! [...] > +static int pcie_change_tls_to_gen1(struct pci_dev *parent) Just a nitpick, so feel free to ignore it. I would just call the variable "dev" as we pass a pointer to a particular device, but it does not matter as much, so I am leaving this

Re: [PATCH resend 2/8] sched: core scheduling tagging infrastructure

2021-03-26 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:40:14PM -0400, Joel Fernandes (Google) wrote: > From: Josh Don > > A single unsigned long is insufficient as a cookie value for core > scheduling. We will minimally have cookie values for a per-task and a > per-group interface, which must be combined into an overall

[PATCH v2 1/3] drm/nouveau: Use helper to convert nouveau_drm to drm_device

2021-03-26 Thread Lyude Paul
From: Jeremy Cline In order to use the resource-managed allocation of a struct drm_device instance, it is recommended to embed the drm_device instance within the driver-specific structure. As there is already a helper to convert a drm_device to a nouveau_drm struct, this adds an inverse

[PATCH v2 3/3] drm/nouveau: begin documenting core nouveau structures

2021-03-26 Thread Lyude Paul
From: Jeremy Cline Start on documentation for the Nouveau device structure and the NVIF client structure it uses. This documentation is not complete as the structures are non-trivial and I am not familiar with large portions of them. Signed-off-by: Jeremy Cline Signed-off-by: Lyude Paul ---

[PATCH v2 2/3] drm/nouveau: manage nouveau_drm lifetime with devres

2021-03-26 Thread Lyude Paul
From: Jeremy Cline Make use of the devm_drm_dev_alloc() API to bind the lifetime of nouveau_drm structure to the drm_device. This is important because a reference to nouveau_drm is accessible from drm_device, which is provided to a number of DRM layer callbacks that can run after the

Re: [PATCH] riscv: Use $(LD) instead of $(CC) to link vDSO

2021-03-26 Thread Nathan Chancellor
On Sat, Mar 27, 2021 at 12:05:34AM +0800, kernel test robot wrote: > Hi Nathan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.12-rc4 next-20210326] > [If your patch is applied to the wrong git

RE: [PATCH] net: intel: Remove unused function pointer typedef ixgbe_mc_addr_itr

2021-03-26 Thread Switzer, David
>-Original Message- >From: Chen Lin >Sent: Monday, February 15, 2021 4:05 AM >To: da...@davemloft.net; k...@kernel.org >Cc: Brandeburg, Jesse ; Nguyen, Anthony L >; intel-wired-...@lists.osuosl.org; >net...@vger.kernel.org; linux-kernel@vger.kernel.org; Chen Lin > >Subject: [PATCH]

Re: [PATCH bpf-next 2/5] libbpf: add helpers for preparing netlink attributes

2021-03-26 Thread Andrii Nakryiko
On Thu, Mar 25, 2021 at 5:01 AM Kumar Kartikeya Dwivedi wrote: > > This change introduces a few helpers to wrap open coded attribute > preparation in netlink.c. > > Every nested attribute's closure must happen using the helper > end_nlattr_nested, which sets its length properly. NLA_F_NESTED is >

xilinx_emaclite.c:undefined reference to `devm_ioremap_resource'

2021-03-26 Thread kernel test robot
Hi Gary, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0f4498cef9f5cd18d7c6639a2a902ec1edc5be4e commit: 18af77c50fede5b3fc22aa9f0a9b255a5c5285c9 drivers: net: xilinx_emaclite: remove arch limitation date: 5

Re: [PATCH -tip v5 00/12] kprobes: Fix stacktrace with kretprobes on x86

2021-03-26 Thread Masami Hiramatsu
On Fri, 26 Mar 2021 21:28:26 +0900 Masami Hiramatsu wrote: > Hello, > > Here is the 5th version of the series to fix the stacktrace with kretprobe > on x86. After merging this, I'll fix other architectures. > > The previous version is; > >

Re: [RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-26 Thread Rob Herring
On Fri, Mar 26, 2021 at 4:13 PM Rob Clark wrote: > > On Fri, Mar 26, 2021 at 12:48 PM Rob Herring wrote: > > > > On Fri, Mar 26, 2021 at 9:20 AM Rob Clark wrote: > > > > > > On Fri, Mar 26, 2021 at 8:18 AM Rob Clark wrote: > > > > > > > > On Fri, Mar 26, 2021 at 5:38 AM Thierry Reding > > > >

Re: [PATCH v8 3/3] lib: zstd: Upgrade to latest upstream zstd version 1.4.10

2021-03-26 Thread Nick Terrell
On Fri, Mar 26, 2021 at 3:02 PM kernel test robot wrote: > > Hi Nick, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on cryptodev/master] > [also build test WARNING on kdave/for-next f2fs/dev-test linus/master > v5.12-rc4 next-2

[PATCH v2 1/1] x86/tdx: Add __tdcall() and __tdvmcall() helper functions

2021-03-26 Thread Kuppuswamy Sathyanarayanan
Implement common helper functions to communicate with the TDX Module and VMM (using TDCALL instruction). __tdvmcall() function can be used to request services from VMM. __tdcall() function can be used to communicate with the TDX Module. Using common helper functions makes the code more readable

Re: [PATCH v5 1/1] fs: Allow no_new_privs tasks to call chroot(2)

2021-03-26 Thread Askar Safin
Hi. Unprivileged users already can do chroot. He should simply create userns and then call "chroot" inside. As an LWN commenter noted, you can simply run "unshare -r /usr/sbin/chroot some-dir". (I recommend reading all comments: https://lwn.net/Articles/849125/ .) Also: if you need chroot for

Re: [PATCH bpf-next 1/5] tools pkt_cls.h: sync with kernel sources

2021-03-26 Thread Andrii Nakryiko
On Thu, Mar 25, 2021 at 5:01 AM Kumar Kartikeya Dwivedi wrote: > > Update the header file so we can use the new defines in subsequent > patches. > > Reviewed-by: Toke Høiland-Jørgensen > Signed-off-by: Kumar Kartikeya Dwivedi > --- > tools/include/uapi/linux/pkt_cls.h | 174

Re: [PATCH v9 0/3] J7200: Add support for GPIO and higher speed modes in MMCSD subsystems

2021-03-26 Thread Nishanth Menon
On Fri, 26 Mar 2021 12:11:17 +0530, Aswath Govindraju wrote: > The following series of patches > - Add support for GPIO subsystem in main and wakeup domains. > - Add voltage regulator device tree nodes and their corresponding pinmux > to support power cycle and voltage switch required for UHS-I

[PATCH 19/19] ipv4: tcp_lp.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/resrved/reserved/ s/whithin/within/ Signed-off-by: Bhaskar Chowdhury --- net/ipv4/tcp_lp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index e6459537d4d2..82b36ec3f2f8 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c @@

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-03-26 Thread Andy Lutomirski
Sigh, cc linux-api, not linux-abi. On Fri, Mar 26, 2021 at 4:12 PM Andy Lutomirski wrote: > > Hi all- > > After some discussion on IRC, I have a proposal for a Linux ABI for > using Intel AMX and other similar features. It works like this: > > First, we make XCR0 dynamic. This looks a lot like

[PATCH 18/19] ipv4: ip_output.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/readibility/readability/ s/insufficent/insufficient/ Signed-off-by: Bhaskar Chowdhury --- net/ipv4/ip_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 3aab53beb4ea..c3efc7d658f6 100644 --- a/net/ipv4/ip_output.c

[PATCH 17/19] ipv6: addrconf.c: Fix a typo

2021-03-26 Thread Bhaskar Chowdhury
s/Identifers/Identifiers/ Signed-off-by: Bhaskar Chowdhury --- net/ipv6/addrconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index f2337fb756ac..8421f58ea6ea 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -2358,7

[PATCH 15/19] kcm: kcmsock.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/synchonization/synchronization/ s/aready/already/ Signed-off-by: Bhaskar Chowdhury --- net/kcm/kcmsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index d0b56ffbb057..6201965bd822 100644 --- a/net/kcm/kcmsock.c +++

[PATCH 16/19] ipv6: route.c: A spello fix

2021-03-26 Thread Bhaskar Chowdhury
s/notfication/notification/ Signed-off-by: Bhaskar Chowdhury --- net/ipv6/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1536f4948e86..dfe5fb260e4c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -6093,7 +6093,7 @@

[PATCH 14/19] iucv: af_iucv.c: Couple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/unitialized/uninitialized/ s/notifcations/notifications/ Signed-off-by: Bhaskar Chowdhury --- net/iucv/af_iucv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c index 6092d5cb7168..0fdb389c3390 100644 --- a/net/iucv/af_iucv.c +++

[PATCH 12/19] mac80211: cfg.c: A typo fix

2021-03-26 Thread Bhaskar Chowdhury
s/assocaited/associated/ Signed-off-by: Bhaskar Chowdhury --- net/mac80211/cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index c4c70e30ad7f..62f2f356d401 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1486,7

[PATCH 11/19] ncsi: internal.h: Fix a spello

2021-03-26 Thread Bhaskar Chowdhury
s/Firware/Firmware/ Signed-off-by: Bhaskar Chowdhury --- net/ncsi/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ncsi/internal.h b/net/ncsi/internal.h index e37102546be6..49031f804276 100644 --- a/net/ncsi/internal.h +++ b/net/ncsi/internal.h @@ -100,7 +100,7

[PATCH 13/19] llc: llc_core.c: COuple of typo fixes

2021-03-26 Thread Bhaskar Chowdhury
s/searchs/searches/ ...two different places. Signed-off-by: Bhaskar Chowdhury --- net/llc/llc_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/llc/llc_core.c b/net/llc/llc_core.c index 64d4bef04e73..6e387aadffce 100644 --- a/net/llc/llc_core.c +++

  1   2   3   4   5   6   7   8   9   10   >