[PATCH 2/2] soc: qcom: address kernel-doc warnings

2021-03-26 Thread Lukas Bulwahn
The command: find ./include/linux/soc/qcom/ | xargs ./scripts/kernel-doc -none reports: ./include/linux/soc/qcom/qmi.h:26: warning: cannot understand function prototype: 'struct qmi_header ' ./include/linux/soc/qcom/qmi.h:101: warning: cannot understand function prototype: 'struct qmi_re

[PATCH 1/2] MAINTAINERS: add another entry for ARM/QUALCOMM SUPPORT

2021-03-26 Thread Lukas Bulwahn
The files in ./include/linux/soc/qcom/ are headers to the corresponding files in ./drivers/soc/qcom/, which are assigned to ARM/QUALCOMM SUPPORT. Possibly, the file pattern include/linux/*/qcom* intended to match this directory and its containing files, but unfortunately, it does not. Hence, add

[PATCH 0/2] kernel-doc and MAINTAINERS clean-up

2021-03-26 Thread Lukas Bulwahn
Roughly 900 warnings of about 21.000 kernel-doc warnings in the kernel tree warn with 'cannot understand function prototype:', i.e., the kernel-doc parser cannot parse the function's signature. The majority, about 600 cases of those, are just struct definitions following the kernel-doc description.

Re: [External] [PATCH 5/8] hugetlb: call update_and_free_page without hugetlb_lock

2021-03-26 Thread Muchun Song
On Thu, Mar 25, 2021 at 8:29 AM Mike Kravetz wrote: > > With the introduction of remove_hugetlb_page(), there is no need for > update_and_free_page to hold the hugetlb lock. Change all callers to > drop the lock before calling. > > With additional code modifications, this will allow loops which d

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-26 Thread Ming Lei
On Sat, Mar 27, 2021 at 1:01 AM syzbot wrote: > > Hello, > > syzbot has tested the proposed patch but the reproducer is still triggering > an issue: > WARNING in kvm_wait > > [ cut here ] > raw_local_irq_restore() called with IRQs enabled > WARNING: CPU: 1 PID: 10753 at ke

Re: [PATCH 05/15] remove useless return statement for void function

2021-03-26 Thread Xiaofei Tan
Oh, sorry, the title doesn't contain subsystem and module name. I'll send v2 later. Please ignore this one. thanks. On 2021/3/27 14:40, Xiaofei Tan wrote: Remove useless return statement for void function, reported by checkpatch.pl. WARNING: void function return statements are not generally us

[PATCH 07/15] ACPI: acpi_memhotplug: fix a coding style issue

2021-03-26 Thread Xiaofei Tan
Fix the following coding style issue reported by checkpatch.pl WARNING: __initdata should be placed after acpi_no_memhotplug FILE: drivers/acpi/acpi_memhotplug.c:326: +static bool __initdata acpi_no_memhotplug; Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_memhotplug.c | 2 +- 1 file changed

[PATCH 09/15] ACPI: battery: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line ERROR: code indent should use tabs where possible WARNING: Missing a blank line after declarations ERROR

[PATCH 03/15] ACPI: acpi_dbg: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: space prohibited between function name and open parenthesis WARNING: else is not generally useful after a break or return Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_dbg.c | 40 +++--

[PATCH 11/15] ACPI: cppc_acpi: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: Missing a blank line after declarations WARNING: unnecessary whitespace before a quoted newline ERROR: spaces required around that '>=' ERROR: switch and case should be at the same indent Signed-off-by: Xi

[PATCH 02/15] ACPI: processor: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: ERROR: code indent should use tabs where possible WARNING: Block comments use a trailing */ on a separate line WARNING: Missing a blank line after declarations WARNING: labels should not be indented Signed-off-by:

[PATCH 08/15] ACPI: acpi_pad: fix a coding style issue

2021-03-26 Thread Xiaofei Tan
Fix the following coding style issue reported by checkpatch.pl WARNING: Missing a blank line after declarations Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_pad.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index b84ab72..df4adeb

[PATCH 05/15] remove useless return statement for void function

2021-03-26 Thread Xiaofei Tan
Remove useless return statement for void function, reported by checkpatch.pl. WARNING: void function return statements are not generally useful FILE: drivers/acpi/acpi_ipmi.c:482: + return; +} Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_ipmi.c | 1 - 1 file changed, 1 deletion(-) di

[PATCH 10/15] ACPI: button: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line ERROR: code indent should use tabs where possible Signed-off-by: Xiaofei Tan --- drivers/acpi/button.

[PATCH 12/15] ACPI: custom_method: fix a coding style issue

2021-03-26 Thread Xiaofei Tan
Fix the following coding style issue reported by checkpatch.pl ERROR: "foo * bar" should be "foo *bar" FILE: drivers/acpi/custom_method.c:22: +static ssize_t cm_write(struct file *file, const char __user * user_buf, Signed-off-by: Xiaofei Tan --- drivers/acpi/custom_method.c | 2 +- 1 file chan

[PATCH 13/15] ACPI: device_pm: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix the following coding style issue reported by checkpatch.pl WARNING: Missing a blank line after declarations Signed-off-by: Xiaofei Tan --- drivers/acpi/device_pm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 0961537..16c0f

[PATCH 15/15] ACPI: dock: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: Missing a blank line after declarations ERROR: spaces required around that ':' WARNING: Statements should start on a tabstop Signed-off-by: Xiaofei Tan --- drivers/acpi/dock.c | 7 +-- 1 file changed

[PATCH 04/15] ACPI: acpi_fpdt: replace __attribute__((packed)) by __packed

2021-03-26 Thread Xiaofei Tan
Replace __attribute__((packed)) by __packed following the advice of checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_fpdt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/acpi_fpdt.c b/drivers/acpi/acpi_fpdt.c index a89a806..690a88a 100644 -

[PATCH 14/15] ACPI: device_sysfs: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: Missing a blank line after declarations WARNING: Block comments should align the * on each line ERROR: open brace '{' following function definitions go on the next line Signed-off-by: Xiaofei Tan --- dri

[PATCH 00/15] acpi: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl. Xiaofei Tan (15): ACPI: APD: fix a block comment align issue ACPI: processor: fix some coding style issues ACPI: acpi_dbg: fix some coding style issues ACPI: acpi_fpdt: replace __attribute__((packed)) by __packed remove useless retu

[PATCH 06/15] ACPI: acpi_lpss: fix some coding style issues

2021-03-26 Thread Xiaofei Tan
Fix some coding style issues reported by checkpatch.pl, including following types: WARNING: simple_strtol is obsolete, use kstrtol instead WARNING: Missing a blank line after declarations Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_lpss.c | 4 +++- 1 file changed, 3 insertions(+), 1 deleti

[PATCH 01/15] ACPI: APD: fix a block comment align issue

2021-03-26 Thread Xiaofei Tan
Fix the following coding style issue reported by checkpatch.pl. WARNING: Block comments should align the * on each line +/** +* Create platform device during acpi scan attach handle. Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_apd.c | 8 1 file changed, 4 insertions(+), 4 deletions

arch/mips/kernel/setup.c:47:39: error: conflicting types for '__appended_dtb'

2021-03-26 Thread kernel test robot
ago config: mips-randconfig-r036-20210326 (attached as .config) compiler: mips-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https

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

2021-03-26 Thread Muchun Song
On Thu, Mar 25, 2021 at 8:29 AM 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 global counters and set the compound page > destructor to NULL so that Pag

[PATCH v2 2/2] fuse: Remove unused parameter

2021-03-26 Thread Baolin Wang
Since we move the fuse_wait_on_page_writeback() to fuse_fill_write_pages(), thus remove the unused 'inode' parameter of fuse_send_write_pages(). Signed-off-by: Baolin Wang --- Changes from v1: - New patch. --- fs/fuse/file.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH v2 1/2] fuse: Fix possible deadlock when writing back dirty pages

2021-03-26 Thread Baolin Wang
We can meet below deadlock scenario when writing back dirty pages, and writing files at the same time. The deadlock scenario can be reproduced by: - A writeback worker thread A is trying to write a bunch of dirty pages by fuse_writepages(), and the fuse_writepages() will lock one page (named page

[PATCH net-next,v2] 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 core_read_mmd_i

[tip:master] BUILD SUCCESS 7c06dc5c466683ca68185511b75af21cc9c15f0f

2021-03-26 Thread kernel test robot
lmodconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20210326 x86_64 randconfig-a003-20210326 x86_64 randconfig-a001-20210326 x86_64 randconfig-a006-20210

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-26 Thread Leon Romanovsky
On Fri, Mar 26, 2021 at 08:20:07AM -0600, Alex Williamson wrote: > On Fri, 26 Mar 2021 09:40:30 +0300 > Leon Romanovsky wrote: <...> > > > > It supports by writing: echo "bus,pm" > reset_methods. > > Regarding comma, IMHO it is easiest pattern for the parsing. > > > > Anyway, The in-kernel imp

[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 core_write_mmd_

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") > Signed-off-by

[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 dete

[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 +- arch

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 T

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 dete

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 beca

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 6

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 Inval

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 adjust

[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 d

[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 blocks

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 cha

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: Perry

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 th

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 b

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 configure

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 per

[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 --- a/drivers/virtio/virtio_balloon.

[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(-) dif

[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 c

[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 a/Documentation/misc-devic

[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 t

[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 insertions(

[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 changed,

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 = hisi_zip_fill_buf

[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 inde

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 no

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 7

[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 a/ne

[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 b/drivers/gpu/

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]  arch/x86/kvm/hype

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 s

[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 --- a/drivers/scsi/ufs/

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 tested

[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 b/drivers/gpu/drm/nouveau/nvkm/engine/nven

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 lin

[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 92987daa5e17d02..f5cc05

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 to the

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: On

[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 b/drivers/gpu/drm/amd/display/

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. Thu

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 gl

[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 8a3646e2

[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 --- a/dr

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 o

[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 10

[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 --- a/drivers/watchdog/

[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 e-mail

[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 +++ b/d

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 > > Revi

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 i

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 > Hardw

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

  1   2   3   4   5   6   7   8   9   10   >