Re: [PATCH 3/4] KVM: VMX: Macrofy the MSR bitmap getters and setters

2021-03-17 Thread Paolo Bonzini
On 16/03/21 19:44, Sean Christopherson wrote: + return (ret)true; \ I'm not sure if (void)true is amazing or disgusting, but anyway... +BUILD_VMX_MSR_BITMAP_HELPER(bool, test, read) +BUILD_VMX_MSR_BITMAP_HELPER(bool, test, write) +BUIL

Re: [PATCH v5 3/3] mtd: rawnand: Add support for secure regions in NAND memory

2021-03-17 Thread Boris Brezillon
On Wed, 17 Mar 2021 17:55:13 +0530 Manivannan Sadhasivam wrote: > On a typical end product, a vendor may choose to secure some regions in > the NAND memory which are supposed to stay intact between FW upgrades. > The access to those regions will be blocked by a secure element like > Trustzone. So

[tip: sched/core] rseq, ptrace: Add PTRACE_GET_RSEQ_CONFIGURATION request

2021-03-17 Thread tip-bot2 for Piotr Figiel
The following commit has been merged into the sched/core branch of tip: Commit-ID: 2c406d3f436db1deea55ec44cc4c3c0861c3c185 Gitweb: https://git.kernel.org/tip/2c406d3f436db1deea55ec44cc4c3c0861c3c185 Author:Piotr Figiel AuthorDate:Fri, 26 Feb 2021 14:51:56 +01:00 Committer

Re: [tip: locking/urgent] locking/ww_mutex: Treat ww_mutex_lock() like a trylock

2021-03-17 Thread Peter Zijlstra
On Wed, Mar 17, 2021 at 12:38:21PM -, tip-bot2 for Waiman Long wrote: > The following commit has been merged into the locking/urgent branch of tip: > > Commit-ID: b058f2e4d0a70c060e21ed122b264e9649cad57f > Gitweb: > https://git.kernel.org/tip/b058f2e4d0a70c060e21ed122b264e9649cad57

Re: [PATCH v2 0/3] perf-stat: share hardware PMCs with BPF

2021-03-17 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 17, 2021 at 02:29:28PM +0900, Namhyung Kim escreveu: > Hi Song, > > On Wed, Mar 17, 2021 at 6:18 AM Song Liu wrote: > > > > perf uses performance monitoring counters (PMCs) to monitor system > > performance. The PMCs are limited hardware resources. For example, > > Intel CPUs have 3x

Re: [PATCH v2 2/2] gpio: Add Realtek Otto GPIO support

2021-03-17 Thread Andy Shevchenko
On Mon, Mar 15, 2021 at 11:11 PM Sander Vanheule wrote: > > Realtek MIPS SoCs (platform name Otto) have GPIO controllers with up to > 64 GPIOs, divided over two banks. Each bank has a set of registers for > 32 GPIOs, with support for edge-triggered interrupts. > > Each GPIO bank consists of four 8

Re: [PATCH v2 1/6] mm/huge_memory.c: rework the function vma_adjust_trans_huge()

2021-03-17 Thread Peter Xu
On Wed, Mar 17, 2021 at 10:18:40AM +0800, Miaohe Lin wrote: > Hi: > On 2021/3/17 4:40, Peter Xu wrote: > > On Tue, Mar 16, 2021 at 08:40:02AM -0400, Miaohe Lin wrote: > >> +static inline void split_huge_pmd_if_needed(struct vm_area_struct *vma, > >> unsigned long address) > >> +{ > >> + /* > >> +

Re: [PATCH bpf-next v2] libbpf: use SOCK_CLOEXEC when opening the netlink socket

2021-03-17 Thread Toke Høiland-Jørgensen
Kumar Kartikeya Dwivedi writes: > Otherwise, there exists a small window between the opening and closing > of the socket fd where it may leak into processes launched by some other > thread. > > Fixes: 949abbe88436 ("libbpf: add function to setup XDP") > Signed-off-by: Kumar Kartikeya Dwivedi Ac

Re: [tip: locking/urgent] locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling

2021-03-17 Thread Peter Zijlstra
On Wed, Mar 17, 2021 at 12:38:22PM -, tip-bot2 for Waiman Long wrote: > The following commit has been merged into the locking/urgent branch of tip: > > Commit-ID: 5de2055d31ea88fd9ae9709ac95c372a505a60fa > Gitweb: > https://git.kernel.org/tip/5de2055d31ea88fd9ae9709ac95c372a505a60f

Re: [PATCH] ARM: dts: imx6ull: fix ubi filesystem mount failed

2021-03-17 Thread Shawn Guo
On Tue, Mar 09, 2021 at 02:15:20PM +0800, dillon.min...@gmail.com wrote: > From: dillon min > > since Micron MT29F2G08ABAEAWP's ecc error management: > > |Description | Requirement > |Minimum required ECC | 4-bit ECC per 528 bytes > |Minim

[PATCH V3] exit: trigger panic when global init has exited

2021-03-17 Thread Qianli Zhao
From: Qianli Zhao When init sub-threads running on different CPUs exit at the same time, zap_pid_ns_processe()->BUG() may be happened. And every thread status is abnormal after exit(PF_EXITING set,task->mm=NULL etc), which makes it difficult to parse coredump from fulldump normally. In order to

Re: [PATCH v2 06/11] iommu/arm-smmu-v3: Scan leaf TTD to sync hardware dirty log

2021-03-17 Thread Keqian Zhu
On 2021/3/17 18:44, Yi Sun wrote: > On 21-03-10 17:06:09, Keqian Zhu wrote: >> From: jiangkunkun >> >> During dirty log tracking, user will try to retrieve dirty log from >> iommu if it supports hardware dirty log. >> >> This adds a new interface named sync_dirty_log in iommu layer and >> arm smmu

Re: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support

2021-03-17 Thread Andy Shevchenko
On Wed, Mar 17, 2021 at 10:27 AM Sai Krishna Potthuri wrote: > > Adding pinctrl driver for Xilinx ZynqMP platform. > This driver queries pin information from firmware and registers > pin control accordingly. > > Signed-off-by: Sai Krishna Potthuri > --- > drivers/pinctrl/Kconfig | 13

Re: [PATCH] sched: replace if (cond) BUG() with BUG_ON()

2021-03-17 Thread Arnd Bergmann
On Wed, Mar 17, 2021 at 9:45 AM Ingo Molnar wrote: > * Ingo Molnar wrote: > > * Jiapeng Chong wrote: > > > > > Fix the following coccicheck warnings: > > > > > > ./kernel/sched/core.c:8039:2-5: WARNING: Use BUG_ON instead of if > > > condition followed by BUG. > > > > > > Reported-by: Abaci Robo

Re: [PATCH v7 05/22] dt-bindings: add BCM6328 pincontroller binding documentation

2021-03-17 Thread Álvaro Fernández Rojas
Hi Rob, > El 16 mar 2021, a las 21:59, Rob Herring escribió: > > On Mon, Mar 15, 2021 at 12:41:57PM +0100, Álvaro Fernández Rojas wrote: >> Add binding documentation for the pincontrol core found in BCM6328 SoCs. >> >> Co-developed-by: Jonas Gorski >> Signed-off-by: Jonas Gorski >> Signed-off

Re: BUG: KFENCE: memory corruption in usb_get_device_descriptor

2021-03-17 Thread Greg Kroah-Hartman
On Wed, Mar 17, 2021 at 04:56:15PM +0530, Naresh Kamboju wrote: > On Wed, 17 Mar 2021 at 15:34, Greg Kroah-Hartman > wrote: > > > > On Wed, Mar 17, 2021 at 02:28:40PM +0530, Naresh Kamboju wrote: > > > While booting Linux mainline master 5.12.0-rc2 and 5.12.0-rc3 on arm64 > > > Hikey device the fo

[PATCH bpf-next] bpf: Simplify expression for identify bpf mem type

2021-03-17 Thread Jianlin Lv
Added BPF_SIZE_MASK macro as mask of size modifier that help to reduce the evaluation of expressions in if statements, and remove BPF_SIZE_MASK in netronome driver. Signed-off-by: Jianlin Lv --- drivers/net/ethernet/netronome/nfp/bpf/main.h | 2 -- include/uapi/linux/bpf.h

RE: [PATCH mm] kfence: fix printk format for ptrdiff_t

2021-03-17 Thread David Laight
From: Christophe Leroy > Sent: 16 March 2021 15:41 ... > >> include/linux/types.h:typedef __kernel_ptrdiff_t ptrdiff_t; > >> > >> And get: > >> > >>CC mm/kfence/report.o > >> In file included from ./include/linux/printk.h:7, > >> from ./include/linux/kernel.h:16, > >>

Re: [PATCH] staging: comedi: das800: fix request_irq() warn

2021-03-17 Thread Ian Abbott
On 16/03/2021 22:42, Tong Zhang wrote: request_irq() wont accept a name which contains slash so we need to repalce it with something else -- otherwise it will trigger a warning and the entry in /proc/irq/ will not be created since the .name might be used by userspace and we don't want to break us

[PATCH] objtool,static_call: Don't emit static_call_site for .exit.text

2021-03-17 Thread Peter Zijlstra
On Wed, Mar 17, 2021 at 05:25:48PM +0530, Sumit Garg wrote: > Thanks Peter for this fix. It does work for me on qemu for x86. Can > you turn this into a proper fix patch? BTW, feel free to add: Per the below, the original patch ought to be fixed as well, to not use static_call() in __exit. --- Su

WARNING: modpost: vmlinux.o(.text+0x1051c): Section mismatch in reference from the function reserve_exception_space() to the function .meminit.text:memblock_reserve()

2021-03-17 Thread kernel test robot
date: 8 days ago config: mips-randconfig-r013-20210317 (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

Re: [PATCH 6/6] clk: ingenic: Add support for the JZ4760

2021-03-17 Thread Zhou Yanjie
Hi Paul, On 2021/3/7 下午10:17, Paul Cercueil wrote: Add the CGU code and the compatible string to the TCU driver to support the JZ4760 SoC. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/Kconfig| 10 + drivers/clk/ingenic/Makefile | 1 + drivers/clk/ingenic/jz

[tip: sched/core] sched/wait_bit, mm/filemap: Increase page and bit waitqueue hash size

2021-03-17 Thread tip-bot2 for Nicholas Piggin
The following commit has been merged into the sched/core branch of tip: Commit-ID: 873d7c4c6a920d43ff82e44121e54053d4edba93 Gitweb: https://git.kernel.org/tip/873d7c4c6a920d43ff82e44121e54053d4edba93 Author:Nicholas Piggin AuthorDate:Wed, 17 Mar 2021 17:54:27 +10:00 Commit

[tip: perf/urgent] perf/x86/intel: Fix a crash caused by zero PEBS status

2021-03-17 Thread tip-bot2 for Kan Liang
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: d88d05a9e0b6d9356e97129d4ff9942d765f46ea Gitweb: https://git.kernel.org/tip/d88d05a9e0b6d9356e97129d4ff9942d765f46ea Author:Kan Liang AuthorDate:Fri, 12 Mar 2021 05:21:37 -08:00 Committer:

[tip: perf/core] perf core: Allocate perf_buffer in the target node memory

2021-03-17 Thread tip-bot2 for Namhyung Kim
The following commit has been merged into the perf/core branch of tip: Commit-ID: 9483409ab5067941860754e78a4a44a60311d276 Gitweb: https://git.kernel.org/tip/9483409ab5067941860754e78a4a44a60311d276 Author:Namhyung Kim AuthorDate:Mon, 15 Mar 2021 12:34:36 +09:00 Committer:

[tip: perf/urgent] perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT

2021-03-17 Thread tip-bot2 for Kan Liang
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 2dc0572f2cef87425147658698dce2600b799bd3 Gitweb: https://git.kernel.org/tip/2dc0572f2cef87425147658698dce2600b799bd3 Author:Kan Liang AuthorDate:Fri, 12 Mar 2021 05:21:38 -08:00 Committer:

[tip: perf/core] perf core: Allocate perf_event in the target node memory

2021-03-17 Thread tip-bot2 for Namhyung Kim
The following commit has been merged into the perf/core branch of tip: Commit-ID: ff65338e78418e5970a7aabbabb94c46f2bb821d Gitweb: https://git.kernel.org/tip/ff65338e78418e5970a7aabbabb94c46f2bb821d Author:Namhyung Kim AuthorDate:Thu, 11 Mar 2021 20:54:13 +09:00 Committer:

[tip: perf/core] perf/core: Fix unconditional security_locked_down() call

2021-03-17 Thread tip-bot2 for Ondrej Mosnacek
The following commit has been merged into the perf/core branch of tip: Commit-ID: 08ef1af4de5fe7de9c6d69f1e22e51b66e385d9b Gitweb: https://git.kernel.org/tip/08ef1af4de5fe7de9c6d69f1e22e51b66e385d9b Author:Ondrej Mosnacek AuthorDate:Wed, 24 Feb 2021 22:56:28 +01:00 Committ

[tip: perf/core] perf core: Add a kmem_cache for struct perf_event

2021-03-17 Thread tip-bot2 for Namhyung Kim
The following commit has been merged into the perf/core branch of tip: Commit-ID: bdacfaf26da166dd56c62f23f27a4b3e71f2d89e Gitweb: https://git.kernel.org/tip/bdacfaf26da166dd56c62f23f27a4b3e71f2d89e Author:Namhyung Kim AuthorDate:Thu, 11 Mar 2021 20:54:12 +09:00 Committer:

[tip: locking/urgent] locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling

2021-03-17 Thread tip-bot2 for Waiman Long
The following commit has been merged into the locking/urgent branch of tip: Commit-ID: 5de2055d31ea88fd9ae9709ac95c372a505a60fa Gitweb: https://git.kernel.org/tip/5de2055d31ea88fd9ae9709ac95c372a505a60fa Author:Waiman Long AuthorDate:Tue, 16 Mar 2021 11:31:16 -04:00 Commit

[tip: locking/urgent] locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()

2021-03-17 Thread tip-bot2 for Waiman Long
The following commit has been merged into the locking/urgent branch of tip: Commit-ID: bee645788e07eea63055d261d2884ea45c2ba857 Gitweb: https://git.kernel.org/tip/bee645788e07eea63055d261d2884ea45c2ba857 Author:Waiman Long AuthorDate:Tue, 16 Mar 2021 11:31:17 -04:00 Commit

[tip: locking/urgent] locking/ww_mutex: Treat ww_mutex_lock() like a trylock

2021-03-17 Thread tip-bot2 for Waiman Long
The following commit has been merged into the locking/urgent branch of tip: Commit-ID: b058f2e4d0a70c060e21ed122b264e9649cad57f Gitweb: https://git.kernel.org/tip/b058f2e4d0a70c060e21ed122b264e9649cad57f Author:Waiman Long AuthorDate:Tue, 16 Mar 2021 11:31:18 -04:00 Commit

[tip: locking/core] locking/rwsem: Fix comment typo

2021-03-17 Thread tip-bot2 for Bhaskar Chowdhury
The following commit has been merged into the locking/core branch of tip: Commit-ID: 4faf62b1ef1a9367f7dcf8b7ce509980dfdcee83 Gitweb: https://git.kernel.org/tip/4faf62b1ef1a9367f7dcf8b7ce509980dfdcee83 Author:Bhaskar Chowdhury AuthorDate:Wed, 17 Mar 2021 09:48:06 +05:30 Co

[tip: irq/core] softirq: s/BUG/WARN_ONCE/ on tasklet SCHED state not set

2021-03-17 Thread tip-bot2 for Dirk Behme
The following commit has been merged into the irq/core branch of tip: Commit-ID: 6b2c339df90788ce6aeecee78d6494f262929206 Gitweb: https://git.kernel.org/tip/6b2c339df90788ce6aeecee78d6494f262929206 Author:Dirk Behme AuthorDate:Wed, 17 Mar 2021 11:20:12 +01:00 Committer:

[GIT PULL] MIPS fixes for v5.12

2021-03-17 Thread Thomas Bogendoerfer
The following changes since commit bd67b711bfaa02cf19e88aa2d9edae5c1c1d2739: MIPS: kernel: Reserve exception base early to prevent corruption (2021-03-09 11:22:59 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/ tags/mips-fixes_5.

Re: [PATCH] sound: soc: ti: Fix a typo in the file ams-delta.c

2021-03-17 Thread Mark Brown
On Wed, Mar 17, 2021 at 01:50:42PM +0530, Bhaskar Chowdhury wrote: > > s/functonality/functionality/ Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're cha

Re: [PATCH v2] Adding i2c-cp2615: i2c support for Silicon Labs' CP2615 Digital Audio Bridge

2021-03-17 Thread Wolfram Sang
On Wed, Mar 17, 2021 at 10:30:21AM +, Bence Csókás wrote: > Signed-off-by: Bence Csókás Thanks, this looks good now and I think we are very close. > --- Next, time please provide a small summary of changes since last version. I get enough patches that it becomes confusing otherwise. > ---

Re: [PATCH v2] virtiofs: fix memory leak in virtio_fs_probe()

2021-03-17 Thread Vivek Goyal
On Wed, Mar 17, 2021 at 08:44:43AM +, Luis Henriques wrote: > When accidentally passing twice the same tag to qemu, kmemleak ended up > reporting a memory leak in virtiofs. Also, looking at the log I saw the > following error (that's when I realised the duplicated tag): > > virtiofs: probe

[PATCH v2] mm: Move page_mapping_file to pagemap.h

2021-03-17 Thread Matthew Wilcox (Oracle)
page_mapping_file() is only used by some architectures, and then it is usually only used in one place. Make it a static inline function so other architectures don't have to carry this dead code. Signed-off-by: Matthew Wilcox (Oracle) --- v2: Ensure pagemap.h is included in all the files which us

[PATCH v2] ethernet/microchip:remove unneeded variable: "ret"

2021-03-17 Thread dingsenjie
From: dingsenjie remove unneeded variable: "ret". Signed-off-by: dingsenjie --- drivers/net/ethernet/microchip/encx24j600.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c index 2c0

[PATCH] display: Fix typo issue

2021-03-17 Thread zuoqilin1
From: zuoqilin Change 'befor' to 'before'. Signed-off-by: zuoqilin --- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/vlv_dsi.c b/drivers/gpu/drm/i915/display/vlv_dsi.c index f94025e..45187ff 100644 --- a

[PATCH v2] ethernet/broadcom:remove unneeded variable: "ret"

2021-03-17 Thread dingsenjie
From: dingsenjie remove unneeded variable: "ret". Signed-off-by: dingsenjie --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_m

[PATCH 3/3] Remove redundant assignment

2021-03-17 Thread qiumibaozi_1
From: ganjisheng Signed-off-by: ganjisheng --- drivers/mfd/88pm860x-i2c.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/mfd/88pm860x-i2c.c b/drivers/mfd/88pm860x-i2c.c index a000aed..c4852c9 100644 --- a/drivers/mfd/88pm860x-i2c.c +++ b/drivers/mf

Re: [PATCH v2 3/3] pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux != 0

2021-03-17 Thread Andy Shevchenko
On Tue, Mar 16, 2021 at 11:24 PM Hanna Hawa wrote: > > An SError was detected when trying to print the supported pins in a What SError is? > pinctrl device which supports multiple pins per register. This change > fixes the pcs_pin_dbg_show() in pinctrl-single driver when > bits_per_mux != 0. In

[PATCH v5 3/3] mtd: rawnand: Add support for secure regions in NAND memory

2021-03-17 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

Re: [PATCH v2] Adding i2c-cp2615: i2c support for Silicon Labs' CP2615 Digital Audio Bridge

2021-03-17 Thread kernel test robot
Hi "Bence, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v5.12-rc3 next-20210317] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '

[PATCH v5 1/3] dt-bindings: mtd: Convert Qcom NANDc binding to YAML

2021-03-17 Thread Manivannan Sadhasivam
Convert Qcom NANDc devicetree binding to YAML. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Rob Herring --- .../devicetree/bindings/mtd/qcom,nandc.yaml | 196 ++ .../devicetree/bindings/mtd/qcom_nandc.txt| 142 - 2 files changed, 196 insertions(+), 142 del

[PATCH v5 2/3] dt-bindings: mtd: Add a property to declare secure regions in NAND chips

2021-03-17 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

[PATCH v5 0/3] Add support for secure regions in NAND

2021-03-17 Thread Manivannan Sadhasivam
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these region

Re: [PATCH v2] rpadlpar: fix potential drc_name corruption in store functions

2021-03-17 Thread Michael Ellerman
On Mon, 15 Mar 2021 15:48:21 -0600, Tyrel Datwyler wrote: > Both add_slot_store() and remove_slot_store() try to fix up the drc_name > copied from the store buffer by placing a NULL terminator at nbyte + 1 > or in place of a '\n' if present. However, the static buffer that we > copy the drc_name da

Re: [PATCH v2] smp: kernel/panic.c - silence warnings

2021-03-17 Thread Peter Zijlstra
On Wed, Mar 17, 2021 at 12:00:29PM +0100, Christophe Leroy wrote: > What do you mean ? 'extern' prototype is pointless for function prototypes > and deprecated, no new function prototypes should be added with the 'extern' > keyword. > > checkpatch.pl tells you: "extern prototypes should be avoided

Re: [PATCH v7 2/3] block: add bdev_interposer

2021-03-17 Thread Sergei Shtepa
The 03/17/2021 06:03, Ming Lei wrote: > On Tue, Mar 16, 2021 at 07:35:44PM +0300, Sergei Shtepa wrote: > > The 03/16/2021 11:09, Ming Lei wrote: > > > On Fri, Mar 12, 2021 at 06:44:54PM +0300, Sergei Shtepa wrote: > > > > bdev_interposer allows to redirect bio requests to another devices. > > > >

RE: [PATCH v5 06/10] scsi: ufshpb: Add hpb dev reset response

2021-03-17 Thread Avri Altman
> > On 2021-03-17 19:23, Avri Altman wrote: > >> > >> On 2021-03-02 21:24, Avri Altman wrote: > >> > The spec does not define what is the host's recommended response when > >> > the device send hpb dev reset response (oper 0x2). > >> > > >> > We will update all active hpb regions: mark them and do

[PATCH] wl1251: Fix possible buffer overflow in wl1251_cmd_scan

2021-03-17 Thread Lee Gibson
Function wl1251_cmd_scan calls memcpy without checking the length. A user could control that length and trigger a buffer overflow. Fix by checking the length is within the maximum allowed size. Signed-off-by: Lee Gibson --- drivers/net/wireless/ti/wl1251/cmd.c | 7 +-- 1 file changed, 5 inse

Re: [PATCH v2 11/27] perf parse-events: Support hardware events inside PMU

2021-03-17 Thread Jin, Yao
Hi Jiri, On 3/17/2021 6:06 PM, Jiri Olsa wrote: On Wed, Mar 17, 2021 at 10:12:03AM +0800, Jin, Yao wrote: On 3/16/2021 10:04 PM, Jiri Olsa wrote: On Tue, Mar 16, 2021 at 09:49:42AM +0800, Jin, Yao wrote: SNIP Performance counter stats for 'system wide': 136,655,302 cpu_

[PATCH] qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth

2021-03-17 Thread Lee Gibson
Function qtnf_event_handle_external_auth calls memcpy without checking the length. A user could control that length and trigger a buffer overflow. Fix by checking the length is within the maximum allowed size. Signed-off-by: Lee Gibson --- drivers/net/wireless/quantenna/qtnfmac/event.c | 6 -

Re: [PATCH 4/4] tools/perf: Support pipeline stage cycles for powerpc

2021-03-17 Thread Jiri Olsa
On Wed, Mar 17, 2021 at 05:01:27PM +0530, Athira Rajeev wrote: > class="ApplePlainTextBody"> class="ApplePlainTextBody">On 16-Mar-2021, at > 4:48 AM, Jiri Olsa wrote:On Mon, Mar 15, > 2021 at 01:22:09PM +0530, Athira Rajeev wrote:SNIP type="cite">++static char *setup_dynamic_s

Re: [PATCH v5 06/10] scsi: ufshpb: Add hpb dev reset response

2021-03-17 Thread Can Guo
On 2021-03-17 19:23, Avri Altman wrote: On 2021-03-02 21:24, Avri Altman wrote: > The spec does not define what is the host's recommended response when > the device send hpb dev reset response (oper 0x2). > > We will update all active hpb regions: mark them and do that on the > next > read. > >

[PATCH v3] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Heiko Thiery
Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. The driver only has build-in support and cannot be compiled as module. Signed-off-by: Heiko Thiery --- v2: - slightly modified the commit message (Fabio Estevam) v3: - add com

Re: [PATCH v2] seq_file: Unconditionally use vmalloc for buffer

2021-03-17 Thread Michal Hocko
On Tue 16-03-21 12:08:02, Kees Cook wrote: > On Tue, Mar 16, 2021 at 09:31:23AM +0100, Michal Hocko wrote: [...] > > Also this cannot really be done for configurations with a very limited > > vmalloc space (32b for example). Those systems are more and more rare > > but you shouldn't really allow us

Re: [PATCH] selftests/kvm: add test for KVM_GET_MSR_FEATURE_INDEX_LIST

2021-03-17 Thread Andrew Jones
On Wed, Mar 17, 2021 at 12:25:52PM +0100, Emanuele Giuseppe Esposito wrote: > > > On 17/03/2021 11:49, Paolo Bonzini wrote: > > On 17/03/21 08:45, Emanuele Giuseppe Esposito wrote: > > > +    struct kvm_msr_list features_list; > > >   buffer.header.nmsrs = 1; > > >   buffer.entry.index =

Re: linux-next: Tree for Mar 17

2021-03-17 Thread Heiko Carstens
On Wed, Mar 17, 2021 at 07:42:41PM +1100, Stephen Rothwell wrote: > Hi all, > > News: there will be no linux-next release on Friday this week. > > Warning: Some of the branches in linux-next are still based on v5.12-rc1, > so please be careful if you are trying to bisect a bug. > > News: if your

[PATCH] asus-laptop: fix kobj_to_dev.cocci warnings

2021-03-17 Thread Julia Lawall
From: kernel test robot Use kobj_to_dev() instead of container_of() Generated by: scripts/coccinelle/api/kobj_to_dev.cocci CC: Denis Efremov Reported-by: kernel test robot Signed-off-by: kernel test robot Signed-off-by: Julia Lawall --- tree: https://git.kernel.org/pub/scm/linux/kernel/g

[PATCH bpf-next v2] libbpf: use SOCK_CLOEXEC when opening the netlink socket

2021-03-17 Thread Kumar Kartikeya Dwivedi
Otherwise, there exists a small window between the opening and closing of the socket fd where it may leak into processes launched by some other thread. Fixes: 949abbe88436 ("libbpf: add function to setup XDP") Signed-off-by: Kumar Kartikeya Dwivedi --- Changelog: v1 -> v2 Tag the bpf-next tree (

Re: [PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Fabio Estevam
Hi Heiko, On Wed, Mar 17, 2021 at 8:52 AM Heiko Thiery wrote: > > Do we really want it to be built-in? If so, it would be nice to have some > > comments about that in commit log. > > Why would you not want it? I see other SOC PCI controllers are also > enabled. I would like to have it because w

Re: [PATCH] powerpc: arch/powerpc/kernel/setup_64.c - cleanup warnings

2021-03-17 Thread Michael Ellerman
Daniel Axtens writes: > "heying (H)" writes: > >> Thank you for your reply. >> >> 在 2021/3/17 11:04, Daniel Axtens 写道: >>> Hi He Ying, >>> >>> Thank you for this patch. >>> >>> I'm not sure what the precise rules for Fixes are, but I wonder if this >>> should have: >>> >>> Fixes: 9a32a7e78bd0 ("p

Re: [PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Heiko Thiery
Hi Shawn, Am Mi., 17. März 2021 um 12:52 Uhr schrieb Heiko Thiery : > > Hi Shawn, > > Am Mi., 17. März 2021 um 09:02 Uhr schrieb Shawn Guo : > > > > On Thu, Mar 11, 2021 at 08:27:47PM +0100, Heiko Thiery wrote: > > > Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, > > > imx8m

Re: [PATCH] omapdrm/dss/dsi.c:modify 'u32'->'int'

2021-03-17 Thread Tomi Valkeinen
Hi, On 17/03/2021 11:48, ChunyouTang wrote: From: tangchunyou 1.the type of mipi_dsi_create_packet id int 2.u32 can not < 0 Signed-off-by: tangchunyou --- drivers/gpu/drm/omapdrm/dss/dsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.

OKKEH

2021-03-17 Thread Reem E. A
Dear Friend My name is Ms. Reem Ebrahim Al-Hashimi, I am the "Minister of state for International Cooperation" in UAE. I write to you on behalf of my other "two (2) colleagues" who has Authorized me to solicit for your "partnership in claiming of {us$47=Million}" from a Financial Home on their beh

Re: [PATCH v2] arm64: configs: Enable PCIe support for imx8mq boards

2021-03-17 Thread Heiko Thiery
Hi Shawn, Am Mi., 17. März 2021 um 09:02 Uhr schrieb Shawn Guo : > > On Thu, Mar 11, 2021 at 08:27:47PM +0100, Heiko Thiery wrote: > > Enable PCI_IMX6 to get PCI support for imx8mq boards like imx8mq-evk, > > imx8mq-kontron-pitx-imx8m and imx8mq-zii-ultra. > > > > Signed-off-by: Heiko Thiery > >

Re: [PATCH][next] cifsd: Fix a handful of spelling mistakes

2021-03-17 Thread Namjae Jeon
2021-03-17 18:36 GMT+09:00, Colin King : > From: Colin Ian King > > There are several spelling mistakes in various ksmbd_err and > ksmbd_debug messages. Fix these. > > Signed-off-by: Colin Ian King Applied. Thanks for your patch!

Re: [PATCH] drm: xlnx: call pm_runtime_get_sync before setting pixel clock

2021-03-17 Thread quanyang.wang
Hi Rohit, On 3/17/21 7:17 PM, Rohit Visavalia wrote: Hi Quanyang & Laurent, I tested this patch(which moves pm_runtime_get_sync at the very beginning of the function zynqmp_disp_crtc_atomic_enable), i don't see any behavior change with patch, means with patch also DP display is not getting up

Re: [PATCH] mm: Typo fix in the file util.c

2021-03-17 Thread Matthew Wilcox
On Wed, Mar 17, 2021 at 09:04:39AM +0530, Bhaskar Chowdhury wrote: > > > s/condtion/condition/ The usual subject line for this would be: mm/util: Fix typo > Signed-off-by: Bhaskar Chowdhury > --- > mm/util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/util.c

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

2021-03-17 Thread Leon Romanovsky
On Wed, Mar 17, 2021 at 04:53:09PM +0530, Amey Narkhede wrote: > On 21/03/17 01:02PM, Leon Romanovsky wrote: > > On Wed, Mar 17, 2021 at 03:54:47PM +0530, Amey Narkhede wrote: > > > On 21/03/17 06:20AM, Leon Romanovsky wrote: > > > > On Mon, Mar 15, 2021 at 06:32:32PM +, Raphael Norwitz wrote:

Re: [PATCH 2/3] iommu/amd: Don't call early_amd_iommu_init() when AMD IOMMU is disabled

2021-03-17 Thread David Woodhouse
On Wed, 2021-03-17 at 10:10 +0100, Joerg Roedel wrote: > diff --git a/drivers/iommu/amd/init.c b/drivers/iommu/amd/init.c > index 3280e6f5b720..61dae1800b7f 100644 > --- a/drivers/iommu/amd/init.c > +++ b/drivers/iommu/amd/init.c > @@ -2919,12 +2919,12 @@ static int __init state_next(void) >

[PATCH] scsi: ufs: Tidy up WB configuration code

2021-03-17 Thread Yue Hu
From: Yue Hu There are similar code implemetentions for WB configurations in ufshcd_wb_{ctrl, toggle_flush_during_h8, toggle_flush}. We can extract the part to create a new helper with a flag parameter to reduce code duplication. Meanwhile, change ufshcd_wb_ctrl() -> ufshcd_wb_toggle() for bette

Re: [PATCH] scsi: libsas: Reset num_scatter if libata mark qc as NODATA

2021-03-17 Thread John Garry
On 16/03/2021 19:39, Jolly Shah wrote: When the cache_type for the scsi device is changed, the scsi layer issues a MODE_SELECT command. The caching mode details are communicated via a request buffer associated with the scsi command with data direction set as DMA_TO_DEVICE (scsi_mode_select). When

Re: [PATCH v5 12/13] media: v4l2-ioctl: Set error_idx to the right value

2021-03-17 Thread Hans Verkuil
On 16/03/2021 19:00, Ricardo Ribalda wrote: > If an error is found when validating the list of controls passed with > VIDIOC_G_EXT_CTRLS, then error_idx shall be set to ctrls->count to > indicate to userspace that no actual hardware was touched. > > It would have been much nicer of course if error

Re: [PATCH] EDAC: use NULL instead of using plain integer as pointer

2021-03-17 Thread Borislav Petkov
On Wed, Mar 17, 2021 at 03:47:25PM +0800, Yang Li wrote: > This fixes the following sparse warnings: > drivers/edac/sb_edac.c:433:10: warning: Using plain integer as NULL > pointer > drivers/edac/sb_edac.c:499:10: warning: Using plain integer as NULL > pointer > drivers/edac/sb_edac.c:570:10: warni

[no subject]

2021-03-17 Thread Barrister Daven Bango
-- Hello i'm Barrister Daven Bango, from Togo in west Africa, i sent you a message before concerning a transaction of $12.5 million dollars that my late client who is also a citizen of your country, deposited in the bank here in my country before his sudden death, and you didn't reply to me, pleas

[PATCH v3] ARM: Parse kdump DT properties

2021-03-17 Thread Geert Uytterhoeven
Parse the following DT properties in the crash dump kernel, to provide a modern interface between kexec and the crash dump kernel: - linux,elfcorehdr: ELF core header segment, similar to the "elfcorehdr=" kernel parameter. - linux,usable-memory-range: Usable memory reserved for the crash du

Re: [PATCH v2] mm: Move mem_init_print_info() into mm_init()

2021-03-17 Thread David Hildenbrand
On 17.03.21 02:52, Kefeng Wang wrote: mem_init_print_info() is called in mem_init() on each architecture, and pass NULL argument, so using void argument and move it into mm_init(). Acked-by: Dave Hansen Signed-off-by: Kefeng Wang --- v2: - Cleanup 'str' line suggested by Christophe and ACK

Re: [PATCH v2] Increase page and bit waitqueue hash size

2021-03-17 Thread kernel test robot
Hi Nicholas, I love your patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master hnaz-linux-mm/master v5.12-rc3 next-20210317] [cannot apply to tip/sched/core] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [selftests] e48d82b67a: BUG_TestSlub_RZ_alloc(Not_tainted):Redzone_overwritten

2021-03-17 Thread Vlastimil Babka
On 3/17/21 9:36 AM, kernel test robot wrote: > > > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: e48d82b67a2b760eedf7b95ca15f41267496386c ("[PATCH 1/2] selftests: add > a kselftest for SLUB debugging functionality") > url: > https://github.com/0day-ci/linu

Re: [PATCH v5 11/13] media: uvcvideo: Use control names from framework

2021-03-17 Thread Hans Verkuil
On 16/03/2021 19:00, Ricardo Ribalda wrote: > The framework already contains a map of IDs to names, lets use it when > possible. > > Signed-off-by: Ricardo Ribalda > Suggested-by: Hans Verkuil Reviewed-by: Hans Verkuil Regards, Hans > --- > drivers/media/usb/uvc/uvc_ctrl.c | 57 +++

Re: [PATCH v2 1/2] dt-bindings: arm64: dts: mediatek: Add mt8183-kukui-jacuzzi-damu

2021-03-17 Thread Enric Balletbo i Serra
Hi Hsin-Yi, Thank you for the patch. On 15/3/21 12:41, Hsin-Yi Wang wrote: > mt8183-kukui-jacuzzi-damu board also known as ASUS Chromebook Flip CM3, > using mediatek mt8183 SoC. > > Signed-off-by: Hsin-Yi Wang Reviewed-by: Enric Balletbo i Serra > --- > Documentation/devicetree/bindings/arm

[PATCH v2] MIPS: ralink: define stubs for clk_set_parent to fix compile testing

2021-03-17 Thread Krzysztof Kozlowski
The Ralink MIPS platform does not use Common Clock Framework and does not define certain clock operations leading to compile test failures: /usr/bin/mips-linux-gnu-ld: drivers/usb/phy/phy-tegra-usb.o: in function `tegra_usb_phy_init': phy-tegra-usb.c:(.text+0x1dd4): undefined reference to

Re: [PATCH v5 10/13] media: uvcvideo: Return -EACCES to inactive controls

2021-03-17 Thread Hans Verkuil
On 16/03/2021 19:00, Ricardo Ribalda wrote: > If a control is inactive return -EACCES to let the userspace know that > the value will not be applied automatically when the control is active > again. > > Signed-off-by: Ricardo Ribalda > Suggested-by: Hans Verkuil > --- > drivers/media/usb/uvc/uv

Re: BUG: KFENCE: memory corruption in usb_get_device_descriptor

2021-03-17 Thread Naresh Kamboju
On Wed, 17 Mar 2021 at 15:34, Greg Kroah-Hartman wrote: > > On Wed, Mar 17, 2021 at 02:28:40PM +0530, Naresh Kamboju wrote: > > While booting Linux mainline master 5.12.0-rc2 and 5.12.0-rc3 on arm64 > > Hikey device the following KFENCE bug was found. > > > > Recently, we have enabled CONFIG_KFENC

[PATCH v3] ASoC: Intel: sof_rt5682: Add ALC1015Q-VB speaker amp support

2021-03-17 Thread Brent Lu
This patch adds jsl_rt5682_rt1015p which supports the RT5682 headset codec and ALC1015Q-VB speaker amplifier combination on JasperLake platform. This driver also supports ALC1015Q-CG if running in auto-mode. Following table shows the audio interface support of the two amplifiers. | ALC1

Re: [PATCH] selftests/kvm: add test for KVM_GET_MSR_FEATURE_INDEX_LIST

2021-03-17 Thread Emanuele Giuseppe Esposito
On 17/03/2021 11:49, Paolo Bonzini wrote: On 17/03/21 08:45, Emanuele Giuseppe Esposito wrote: +    struct kvm_msr_list features_list;   buffer.header.nmsrs = 1;   buffer.entry.index = msr_index; +    features_list.nmsrs = 1; +   kvm_fd = open(KVM_DEV_PATH, O_RDONLY);   if (kv

Re: [PATCH v2] Increase page and bit waitqueue hash size

2021-03-17 Thread kernel test robot
Hi Nicholas, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on tip/sched/core linus/master v5.12-rc3 next-20210317] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH 2/2] slub: remove resiliency_test() function

2021-03-17 Thread Vlastimil Babka
On 3/16/21 1:41 PM, glit...@gmail.com wrote: > From: Oliver Glitta > > Function resiliency_test() is hidden behind #ifdef > SLUB_RESILIENCY_TEST that is not part of Kconfig, so nobody > runs it. > > This function is replaced with kselftest for SLUB added > by the previous patch "selftests: add a

Re: [PATCH 1/2] selftests: add a kselftest for SLUB debugging functionality

2021-03-17 Thread Vlastimil Babka
On 3/16/21 1:41 PM, glit...@gmail.com wrote: > From: Oliver Glitta > > SLUB has resiliency_test() function which is hidden behind #ifdef > SLUB_RESILIENCY_TEST that is not part of Kconfig, so nobody > runs it. Kselftest should proper replacement for it. > > Try changing byte in redzone after all

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

2021-03-17 Thread Amey Narkhede
On 21/03/17 01:02PM, Leon Romanovsky wrote: > On Wed, Mar 17, 2021 at 03:54:47PM +0530, Amey Narkhede wrote: > > On 21/03/17 06:20AM, Leon Romanovsky wrote: > > > On Mon, Mar 15, 2021 at 06:32:32PM +, Raphael Norwitz wrote: > > > > On Mon, Mar 15, 2021 at 10:29:50AM -0600, Alex Williamson wrote

RE: [PATCH v5 06/10] scsi: ufshpb: Add hpb dev reset response

2021-03-17 Thread Avri Altman
> > On 2021-03-02 21:24, Avri Altman wrote: > > The spec does not define what is the host's recommended response when > > the device send hpb dev reset response (oper 0x2). > > > > We will update all active hpb regions: mark them and do that on the > > next > > read. > > > > Signed-off-by: Avri Al

Re: [PATCH net-next 1/2] net: dsa: tag_brcm: add support for legacy tags

2021-03-17 Thread Jonas Gorski
On Wed, 17 Mar 2021 at 10:16, Álvaro Fernández Rojas wrote: > > Hi Vladimir, > > > El 15 mar 2021, a las 22:28, Vladimir Oltean escribió: > > > > On Mon, Mar 15, 2021 at 03:27:35PM +0100, Álvaro Fernández Rojas wrote: > >> Add support for legacy Broadcom tags, which are similar to > >> DSA_TAG_P

Re: [PATCH v7 00/22] pinctrl: add BCM63XX pincontrol support

2021-03-17 Thread Álvaro Fernández Rojas
Hi Linus, > El 16 mar 2021, a las 11:13, Linus Walleij > escribió: > > On Mon, Mar 15, 2021 at 12:42 PM Álvaro Fernández Rojas > wrote: > >> v7: introduce changes suggested by Rob Herring. > > If Rob is happy with the bindings like this (GPIO as parallel node rathern > than subnode) I am rea

Re: [RFC] mm: Enable generic pfn_valid() to handle early sections with memmap holes

2021-03-17 Thread David Hildenbrand
On 11.03.21 05:29, Anshuman Khandual wrote: On 3/8/21 2:07 PM, David Hildenbrand wrote: On 08.03.21 04:27, Anshuman Khandual wrote: Platforms like arm and arm64 have redefined pfn_valid() because their early memory sections might have contained memmap holes caused by memblock areas tagged wit

Re: [PATCH] thermal: power_allocator: using round the division when re-divvying up power

2021-03-17 Thread gao yunxiao
Lukasz,Daniel, Thank you for your review! On 16/03/2021, Lukasz Luba wrote: > > > On 3/16/21 1:15 PM, Daniel Lezcano wrote: >> On 15/03/2021 10:51, Lukasz Luba wrote: >>> >>> >>> On 3/15/21 8:25 AM, gao.yunxi...@gmail.com wrote: From: "jeson.gao" The division is used directly in r

<    5   6   7   8   9   10   11   12   13   14   >