[PATCH v5 3/4] mmc: sdhci-of-arasan: Add structure device pointer in probe

2020-10-08 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Add struct device *dev in probe func() so that it can widely use in probe to make code more readable. Signed-off-by: Muhammad Husaini Zulkifli --- drivers/mmc/host/sdhci-of-arasan.c | 37 +++--- 1 file changed, 19 insertions(+), 18 deleti

[PATCH v5 2/4] dt-bindings: mmc: Add uhs-gpio for Keem Bay UHS-1 Support

2020-10-08 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Add DT bindings of uhs-gpio for Keem Bay SOC UHS Mode Support Signed-off-by: Muhammad Husaini Zulkifli Acked-by: Michal Simek --- Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/

Re: [PATCH v4 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver

2020-10-08 Thread Krzysztof Kozlowski
On Thu, 8 Oct 2020 at 20:15, wrote: > > From: AngeloGioacchino Del Regno > > Add binding for the Novatek NT36xxx series touchscreen driver. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../input/touchscreen/novatek,nt36xxx.yaml| 59 +++ > 1 file changed, 59 insertio

[PATCH v5 4/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-10-08 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Voltage switching sequence is needed to support UHS-1 interface. There are 2 places to control the voltage. 1) By setting the AON register using firmware driver calling system-level platform management layer (SMC) to set the register. 2) By controlling the GPIO exp

[PATCH v5 0/4] mmc: sdhci-of-arasan: Enable UHS-1 support for Keem Bay SOC

2020-10-08 Thread muhammad . husaini . zulkifli
From: Muhammad Husaini Zulkifli Hi. The first patch is the header file to handle ATF call. The second patch is DT binding for arasan controller for uhs support. The third patch is to introduce the structure device pointer in arasan controller probe. The fourth patch is to enable UHS-1 Suppor

re: io_uring: process task work in io_uring_register()

2020-10-08 Thread Colin Ian King
Hi, Static analysis with Coverity has detected a "dead-code" issue with the following commit: commit af9c1a44f8dee7a958e07977f24ba40e3c770987 Author: Jens Axboe Date: Thu Sep 24 13:32:18 2020 -0600 io_uring: process task work in io_uring_register() The analysis is as follows: 9513

Re: [PATCH RESEND v2] mm: Optional full ASLR for mmap() and mremap()

2020-10-08 Thread Jann Horn
On Thu, Oct 8, 2020 at 8:10 PM Topi Miettinen wrote: > On 8.10.2020 20.13, Jann Horn wrote: > > On Thu, Oct 8, 2020 at 6:54 PM Topi Miettinen wrote: > >> Writing a new value of 3 to /proc/sys/kernel/randomize_va_space > >> enables full randomization of memory mappings created with mmap(NULL, > >>

Re: [PATCH 0/6] KVM: x86: KVM_SET_SREGS.CR4 bug fixes and cleanup

2020-10-08 Thread stsp
08.10.2020 20:59, Sean Christopherson пишет: On Thu, Oct 08, 2020 at 07:00:13PM +0300, stsp wrote: 07.10.2020 04:44, Sean Christopherson пишет: Two bug fixes to handle KVM_SET_SREGS without a preceding KVM_SET_CPUID2. Hi Sean & KVM devs. I tested the patches, and wherever I set VMXE in CR4, I

Re: [PATCH 17/22] kvm: mmu: Support dirty logging for the TDP MMU

2020-10-08 Thread Ben Gardon
On Fri, Sep 25, 2020 at 6:04 PM Paolo Bonzini wrote: > > On 25/09/20 23:22, Ben Gardon wrote: > > start_level, KVM_MAX_HUGEPAGE_LEVEL, false); > > + if (kvm->arch.tdp_mmu_enabled) > > + flush = kvm_tdp_mmu_wrprot_slot(kvm, memslot, false) || flush; > >

[PATCH] char: ppdev: check if ioctl argument is present and valid

2020-10-08 Thread Harshal Chaudhari
Checking the argument passed to the ioctl is valid or not. if not then return -EINVAL. Signed-off-by: Harshal Chaudhari --- drivers/char/ppdev.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index 38b46c7d1737..001392

Re: [PATCH] x86/x86_64_defconfig: Enable the serial console

2020-10-08 Thread Randy Dunlap
On 10/8/20 9:40 AM, Borislav Petkov wrote: > On Thu, Oct 08, 2020 at 06:22:06PM +0200, Enric Balletbo i Serra wrote: >> As part of KernelCI, we added a bunch of different x86 based Chromebooks >> to do test booting and runtime testing. It will be useful have serial >> support for these platforms in

Re: [PATCH] random: use correct memory barriers for crng_node_pool

2020-10-08 Thread Paul E. McKenney
On Thu, Oct 01, 2020 at 08:07:31PM -0700, Eric Biggers wrote: > On Thu, Sep 24, 2020 at 08:31:02PM -0700, Paul E. McKenney wrote: > > On Thu, Sep 24, 2020 at 07:09:08PM -0700, Eric Biggers wrote: > > > On Thu, Sep 24, 2020 at 05:59:34PM -0700, Paul E. McKenney wrote: > > > > On Tue, Sep 22, 2020 at

[PATCH V2] arm64: dts imx8mn: Remove non-existent USB OTG2

2020-10-08 Thread Adam Ford
According to the i.MX8MN TRM, there is only one OTG port. The address for OTG2 is reserved on Nano. This patch removes the non-existent OTG2, usbphynop2, and the usbmisc2 nodes. Fixes: 6c3debcbae47 ("arm64: dts: freescale: Add i.MX8MN dtsi support") Signed-off-by: Adam Ford --- V2: Remove usb

Re: Bug in herd7 [Was: Re: Litmus test for question from Al Viro]

2020-10-08 Thread Paul E. McKenney
On Thu, Oct 08, 2020 at 10:01:48AM -0400, Alan Stern wrote: > On Wed, Oct 07, 2020 at 07:50:25PM -0700, Paul E. McKenney wrote: > > There are some distractions at the moment. > > > > Please see below. If this is not exactly correct, I will use "git rm" > > and let you submit the patch as you wish

[PATCH] scsi: qla2xxx: fix return of uninitialized value in rval

2020-10-08 Thread Colin King
From: Colin Ian King A previous change removed the initialization of rval and there is now an error where an uninitialized rval is being returned on an error return path. Fix this by returning -ENODEV. Addresses-Coverity: ("Uninitialized scalar variable") Fixes: b994718760fa ("scsi: qla2xxx: Use

Re: [PATCH V2] arm64: dts imx8mn: Remove non-existent USB OTG2

2020-10-08 Thread Krzysztof Kozlowski
On Thu, Oct 08, 2020 at 01:33:00PM -0500, Adam Ford wrote: > According to the i.MX8MN TRM, there is only one OTG port. The > address for OTG2 is reserved on Nano. > > This patch removes the non-existent OTG2, usbphynop2, and the usbmisc2 > nodes. > > Fixes: 6c3debcbae47 ("arm64: dts: freescale:

Re: [PATCH v2] rcu/tree: nocb: Avoid raising softirq when there are ready to execute CBs

2020-10-08 Thread Paul E. McKenney
On Thu, Oct 08, 2020 at 12:49:40PM +0530, Neeraj Upadhyay wrote: > > > On 10/8/2020 4:04 AM, Paul E. McKenney wrote: > > On Sun, Oct 04, 2020 at 10:11:32PM -0400, Joel Fernandes (Google) wrote: > > > During testing, I see it is possible that rcu_pending() returns 1 when > > > offloaded callbacks

[PATCH 2/2] dt-bindings: arm: sunxi: Fix Orange Pi Zero bindings

2020-10-08 Thread Michal Suchanek
There are two models of Orange Pi zero which are confusingly marketed under the same name. Old model comes without a flash memory and current model does have a flash memory. Add bindings for each model. Signed-off-by: Michal Suchanek --- Documentation/devicetree/bindings/arm/sunxi.yaml | 7 +

Re: [PATCH] scsi: qla2xxx: fix return of uninitialized value in rval

2020-10-08 Thread Pavel Machek
On Thu 2020-10-08 19:32:39, Colin King wrote: > From: Colin Ian King > > A previous change removed the initialization of rval and there is > now an error where an uninitialized rval is being returned on an > error return path. Fix this by returning -ENODEV. > > Addresses-Coverity: ("Uninitialize

Re: [PATCH] scsi: qla2xxx: fix return of uninitialized value in rval

2020-10-08 Thread Himanshu Madhani
> On Oct 8, 2020, at 1:32 PM, Colin King wrote: > > From: Colin Ian King > > A previous change removed the initialization of rval and there is > now an error where an uninitialized rval is being returned on an > error return path. Fix this by returning -ENODEV. > > Addresses-Coverity: ("Uni

[PATCH 1/2] ARM: dts: sun8i: h2+: Fix Orange Pi Zero device description.

2020-10-08 Thread Michal Suchanek
There are two models of Orange Pi zero which are confusingly marketed under the same name. Old model comes without a flash memory and current model does have a flash memory. Build device tree for each model. Signed-off-by: Michal Suchanek --- arch/arm/boot/dts/Makefile| 1 +

Re: [PATCH 2/6] dt-bindings: pinctrl: qcom: Fix typo abitrary

2020-10-08 Thread Rob Herring
On Thu, 08 Oct 2020 17:47:35 +0900, Naoki Hayama wrote: > Fix comment typo. > s/abitrary/arbitrary/ > > Signed-off-by: Naoki Hayama > --- > .../devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.txt| 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks!

Re: [PATCH 3/6] dt-bindings: pinctrl: sirf: Fix typo abitrary

2020-10-08 Thread Rob Herring
On Thu, 08 Oct 2020 17:47:42 +0900, Naoki Hayama wrote: > Fix comment typo. > s/abitrary/arbitrary/ > > Signed-off-by: Naoki Hayama > --- > Documentation/devicetree/bindings/pinctrl/pinctrl-atlas7.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks!

Re: [PATCH 00/14] Small step toward KSM for file back page.

2020-10-08 Thread Jerome Glisse
On Thu, Oct 08, 2020 at 04:43:41PM +0100, Matthew Wilcox wrote: > On Thu, Oct 08, 2020 at 11:30:28AM -0400, Jerome Glisse wrote: > > On Wed, Oct 07, 2020 at 11:09:16PM +0100, Matthew Wilcox wrote: > > > So ... why don't you put a PageKsm page in the page cache? That way you > > > can share code wi

[PATCH] staging: rtl8188eu: Fix long lines

2020-10-08 Thread Fan Fei
This patch fix long lines found by checkpatch. Signed-off-by: Fan Fei --- drivers/staging/rtl8188eu/core/rtw_cmd.c | 74 1 file changed, 51 insertions(+), 23 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_cmd.c b/drivers/staging/rtl8188eu/core/rtw_cmd.c i

Re: [PATCH] scsi: qla2xxx: fix return of uninitialized value in rval

2020-10-08 Thread Colin Ian King
On 08/10/2020 19:41, Pavel Machek wrote: > On Thu 2020-10-08 19:32:39, Colin King wrote: >> From: Colin Ian King >> >> A previous change removed the initialization of rval and there is >> now an error where an uninitialized rval is being returned on an >> error return path. Fix this by returning -

Low Rate Loan./n

2020-10-08 Thread Mr. Hashim Bin
Hello Dear, We are Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are interested for more details. Yours fa

Re: [PATCH 00/35] Enhance memory utilization with DMEMFS

2020-10-08 Thread Joao Martins
[adding a couple folks that directly or indirectly work on the subject] On 10/8/20 8:53 AM, yulei.ker...@gmail.com wrote: > From: Yulei Zhang > > In current system each physical memory page is assocaited with > a page structure which is used to track the usage of this page. > But due to the memo

Re: [PATCH 1/2] MIPS: cpu-probe: move fpu probing/handling into its own file

2020-10-08 Thread kernel test robot
Hi Thomas, I love your patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.9-rc8 next-20201008] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-08 Thread Juraj Vijtiuk
Hi, [Adding the bpf list on Cc] On Thu, Oct 8, 2020 at 5:38 PM Luka Oreskovic wrote: > > On Thu, Oct 1, 2020 at 6:30 AM Andrew Jeffery wrote: > > > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > > to a panic in memcpy() when injecting a kprobe despite the fixes found

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

2020-10-08 Thread Josh Triplett
On Wed, Oct 07, 2020 at 08:57:12PM -0600, Andreas Dilger wrote: > On Oct 7, 2020, at 2:14 PM, Josh Triplett wrote: > > If those aren't the right way to express that, I could potentially > > adapt. I had a similar such conversation on linux-ext4 already (about > > inline data with 128-bit inodes),

Re: io_uring: process task work in io_uring_register()

2020-10-08 Thread Jann Horn
On Thu, Oct 8, 2020 at 8:24 PM Colin Ian King wrote: > Static analysis with Coverity has detected a "dead-code" issue with the > following commit: > > commit af9c1a44f8dee7a958e07977f24ba40e3c770987 > Author: Jens Axboe > Date: Thu Sep 24 13:32:18 2020 -0600 > > io_uring: process task work

[PATCH v2 1/4] dt-bindings: mailbox : arm,mhu: Convert to Json-schema

2020-10-08 Thread Sudeep Holla
From: Viresh Kumar Convert the DT binding over to Json-schema. Reviewed-by: Rob Herring Signed-off-by: Viresh Kumar Signed-off-by: Sudeep Holla --- .../devicetree/bindings/mailbox/arm,mhu.yaml | 87 +++ .../devicetree/bindings/mailbox/arm-mhu.txt | 43 - 2 files ch

[PATCH v2 0/4] mailbox: arm_mhu: Add ARM MHU doorbell controller driver

2020-10-08 Thread Sudeep Holla
Hi, These series adds ARM MHU doorbell controller driver based on the discussion[1]. The DT patches are just repost from Viresh's last posting[2] Regards, Sudeep v1[3]->v2: - No updates to binding patches(1-2) - Fixed memory leak and improved logic to find free channel reusing

[PATCH v2 3/4] mailbox: arm_mhu: Match only if compatible is "arm,mhu"

2020-10-08 Thread Sudeep Holla
Since we will be soon adding a separate driver based on this ARM MHU driver to support doorbell mode, let us add explicit check to match the default compatible for this driver. This is needed as the probe and match reuses the AMBA device ids currently and don't have any explicit compatible check.

[PATCH v2 2/4] dt-bindings: mailbox: add doorbell support to ARM MHU

2020-10-08 Thread Sudeep Holla
The ARM MHU's reference manual states following: "The MHU drives the signal using a 32-bit register, with all 32 bits logically ORed together. The MHU provides a set of registers to enable software to set, clear, and check the status of each of the bits of this register independently. The use of

Re: [PATCH 09/18] dt-bindings: dma: ti: Add document for K3 BCDMA

2020-10-08 Thread Rob Herring
On Thu, Oct 8, 2020 at 3:40 AM Peter Ujfalusi wrote: > > > > On 07/10/2020 18.46, Rob Herring wrote: > > On Wed, Oct 07, 2020 at 12:09:06PM +0300, Peter Ujfalusi wrote: > >> > >> > >> On 06/10/2020 22.29, Rob Herring wrote: > >>> On Wed, Sep 30, 2020 at 12:14:03PM +0300, Peter Ujfalusi wrote: > >>

Re: [patch 1/2] nohz: only wakeup a single target cpu when kicking a task

2020-10-08 Thread Peter Xu
On Thu, Oct 08, 2020 at 05:28:44PM +0200, Peter Zijlstra wrote: > On Thu, Oct 08, 2020 at 10:59:40AM -0400, Peter Xu wrote: > > On Wed, Oct 07, 2020 at 03:01:52PM -0300, Marcelo Tosatti wrote: > > > +static void tick_nohz_kick_task(struct task_struct *tsk) > > > +{ > > > + int cpu = task_cpu(tsk);

Re: io_uring: process task work in io_uring_register()

2020-10-08 Thread Jann Horn
On Thu, Oct 8, 2020 at 9:13 PM Jann Horn wrote: > > On Thu, Oct 8, 2020 at 8:24 PM Colin Ian King > wrote: > > Static analysis with Coverity has detected a "dead-code" issue with the > > following commit: > > > > commit af9c1a44f8dee7a958e07977f24ba40e3c770987 > > Author: Jens Axboe > > Date:

[PATCH v2 4/4] mailbox: arm_mhu: Add ARM MHU doorbell driver

2020-10-08 Thread Sudeep Holla
The MHU drives the signal using a 32-bit register, with all 32 bits logically ORed together. The MHU provides a set of registers to enable software to set, clear, and check the status of each of the bits of this register independently. The use of 32 bits for each interrupt line enables software to

[PATCH v2 2/5] x86/boot: Split out command-line related declarations

2020-10-08 Thread Arvind Sankar
Move prototypes for command-line related functions into a new header file to split it out from misc.h. Signed-off-by: Arvind Sankar --- arch/x86/boot/compressed/acpi.c | 1 + arch/x86/boot/compressed/cmdline.c | 1 + arch/x86/boot/compressed/cmdline.h

[PATCH v2 3/5] x86/boot/64: Show original faulting address in case of error

2020-10-08 Thread Arvind Sankar
This makes the #PF handler print the original CR2 value in case of error, instead of after aligning to PMD_SIZE. Signed-off-by: Arvind Sankar --- arch/x86/boot/compressed/ident_map_64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/boot/compressed/ident_map_6

[PATCH v2 5/5] x86/head/64: Disable stack protection for head$(BITS).o

2020-10-08 Thread Arvind Sankar
On 64-bit, the startup_64_setup_env() function added in 866b556efa12 ("x86/head/64: Install startup GDT") has stack protection enabled because of set_bringup_idt_handler(). At this point, %gs is not yet initialized, and this doesn't cause a crash only because the #PF handler from the decompresso

[PATCH v2 4/5] x86/boot/64: Explicitly map boot_params and command line

2020-10-08 Thread Arvind Sankar
Commits ca0e22d4f011 ("x86/boot/compressed/64: Always switch to own page table") 8570978ea030 ("x86/boot/compressed/64: Don't pre-map memory in KASLR code") set up a new page table in the decompressor stub, but without explicit mappings for boot_params and the kernel command line, relying on

[PATCH v2 1/5] x86/boot: Initialize boot_params in startup code

2020-10-08 Thread Arvind Sankar
Save the boot_params pointer passed in by the bootloader in startup_32/64. This avoids having to initialize it in two different places in C code, and having to preserve SI through the early assembly code. Move boot_params from .bss to .data, since .bss will be cleared after the kernel is relocated

[PATCH v2 0/5] Couple of bugfixes to sev-es series

2020-10-08 Thread Arvind Sankar
With the SEV-ES series, the kernel command line is no longer guaranteed to be mapped on entry into the main kernel. This fixes that, and a stackprotector issue that cropped up on head64.c. The first three patches are preparatory cleanups. Patch 4 fixes the mapping issue and patch 5 disables stack

[PATCH] f2fs: reject CASEFOLD inode flag without casefold feature

2020-10-08 Thread Eric Biggers
From: Eric Biggers syzbot reported: general protection fault, probably for non-canonical address 0xdc01: [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0008-0x000f] CPU: 0 PID: 6860 Comm: syz-executor835 Not tainted 5.9.0-rc8-syzkal

Re: [PATCH 1/5] firmware: arm_scmi: always initialize protocols

2020-10-08 Thread Sudeep Holla
On Thu, Oct 08, 2020 at 04:37:18PM +0200, Etienne Carriere wrote: > Remove the IDR replacement that prevent initializing an SCMI protocol > when it has already been initialized. This is needed when there are > several SCMI agents that do implement a given SCMI protocol unless > what only the relate

[for-next][PATCH] tracing: Fix synthetic print fmt check for use of __get_str()

2020-10-08 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 9d8739bc05f6d0f3ad21dc5d56f1edfbb9aa7585 Steven Rostedt (VMware) (1): tracing: Fix synthetic print fmt check for use of __get_str() kernel/trace/trace_events_synth.c | 2 +- 1 file changed, 1

[patch 2/2] nohz: change signal tick dependency to wakeup CPUs of member tasks

2020-10-08 Thread Marcelo Tosatti
Rather than waking up all nohz_full CPUs on the system, only wakeup the target CPUs of member threads of the signal. Reduces interruptions to nohz_full CPUs. Signed-off-by: Marcelo Tosatti Index: linux-2.6/kernel/time/tick-sched.c ===

[patch 1/2] nohz: only wakeup a single target cpu when kicking a task

2020-10-08 Thread Marcelo Tosatti
When adding a tick dependency to a task, its necessary to wakeup the CPU where the task resides to reevaluate tick dependencies on that CPU. However the current code wakes up all nohz_full CPUs, which is unnecessary. Switch to waking up a single CPU, by using ordering of writes to task->cpu and

[patch 0/2] nohz_full: only wakeup target CPUs when notifying new tick dependency (v3)

2020-10-08 Thread Marcelo Tosatti
When enabling per-CPU posix timers, an IPI to nohz_full CPUs might be performed (to re-read the dependencies and possibly not re-enter nohz_full on a given CPU). A common case is for applications that run on nohz_full= CPUs to not use POSIX timers (eg DPDK). This patch changes the notification to

Re: [GIT PULL] exfat fixes for 5.9-rc9

2020-10-08 Thread pr-tracker-bot
The pull request you sent on Wed, 7 Oct 2020 17:36:03 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git > tags/exfat-for-5.9-rc9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b9e3aa2a9bd49860ec5a9129fb522b0addc7d05b Thank you! -- Deet-doo

Re: [git pull] drm nouveau fixes for 5.9 final

2020-10-08 Thread pr-tracker-bot
The pull request you sent on Thu, 8 Oct 2020 13:35:59 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-10-08 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3d006ee42dde0b08b7b47697def6f50fd849c996 Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [GIT PULL] xen: branch for v5.9-rc9

2020-10-08 Thread pr-tracker-bot
The pull request you sent on Wed, 7 Oct 2020 08:38:04 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.9b-rc9-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/86f0a5fb1b98e993fd43899d6640c7b9eec5000a Thank you! -- Deet-doot-dot, I

Re: [PATCH v4 4/7] tracing: Add support for dynamic strings to synthetic events

2020-10-08 Thread Steven Rostedt
On Thu, 8 Oct 2020 18:22:07 +0900 Masami Hiramatsu wrote: > Some of those issues are not introduced from this series. I think > we'd better fix those before introducing this series so that > we can backport it to stable kernels. I agree that these should be fixed, but I'm not sure I want to hold

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

2020-10-08 Thread Andreas Dilger
On Oct 8, 2020, at 1:12 PM, Josh Triplett wrote: > > On Wed, Oct 07, 2020 at 08:57:12PM -0600, Andreas Dilger wrote: >> On Oct 7, 2020, at 2:14 PM, Josh Triplett wrote: >>> If those aren't the right way to express that, I could potentially >>> adapt. I had a similar such conversation on linux-ex

Re: [PATCH] f2fs: reject CASEFOLD inode flag without casefold feature

2020-10-08 Thread Gabriel Krisman Bertazi
Eric Biggers writes: > From: Eric Biggers > > syzbot reported: > > general protection fault, probably for non-canonical address > 0xdc01: [#1] PREEMPT SMP KASAN > KASAN: null-ptr-deref in range [0x0008-0x000f] > CPU: 0 PID: 6860 Comm: syz-exe

[PATCH] mm: make device private reference counts zero based

2020-10-08 Thread Ralph Campbell
ZONE_DEVICE struct pages have an extra reference count that complicates the code for put_page() and several places in the kernel that need to check the reference count to see that a page is not being used (gup, compaction, migration, etc.). Clean up the code so the reference count doesn't need to b

Re: [PATCH] Documentation: filesystems: better locations for sysfs-pci, sysfs-tagging

2020-10-08 Thread John Hubbard
On 10/8/20 9:04 AM, Jonathan Corbet wrote: On Wed, 7 Oct 2020 16:31:51 -0700 John Hubbard wrote: sysfs-pci and sysfs-tagging were mis-filed: their locations with Documentation/ implied that they were related to file systems. Actually, each topic is about a very specific *use* of sysfs, and sys

Re: [PATCH] char: ppdev: check if ioctl argument is present and valid

2020-10-08 Thread Arnd Bergmann
On Thu, Oct 8, 2020 at 8:27 PM Harshal Chaudhari wrote: > > Checking the argument passed to the ioctl is valid > or not. if not then return -EINVAL. > > Signed-off-by: Harshal Chaudhari > --- > drivers/char/ppdev.c | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --g

Re: [PATCH 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-08 Thread Ard Biesheuvel
(+ Lorenzo) On Thu, 8 Oct 2020 at 12:14, Catalin Marinas wrote: > > On Thu, Oct 08, 2020 at 12:05:25PM +0200, Nicolas Saenz Julienne wrote: > > On Fri, 2020-10-02 at 12:55 +0100, Catalin Marinas wrote: > > > On Thu, Oct 01, 2020 at 07:31:19PM +0200, Nicolas Saenz Julienne wrote: > > > > On Thu, 2

Re: [PATCH v3 1/5] platform: Add Surface platform directory

2020-10-08 Thread Hans de Goede
Hi, On 10/8/20 5:18 PM, Maximilian Luz wrote: On 10/8/20 4:52 PM, Andy Shevchenko wrote: On Thu, Oct 8, 2020 at 5:35 PM Maximilian Luz wrote: It may make sense to split the Microsoft Surface hardware platform drivers out to a separate subdirectory, since some of it may be shared between ARM

Re: [PATCH v3] dt-bindings: power: rockchip: Convert to json-schema

2020-10-08 Thread Rob Herring
On Wed, Oct 7, 2020 at 3:57 PM Enric Balletbo Serra wrote: > > Hi Rob, > > Missatge de Rob Herring del dia dc., 7 d’oct. 2020 a > les 17:12: > > > > On Mon, Sep 21, 2020 at 11:29:51AM +0200, Enric Balletbo i Serra wrote: > > > Convert the soc/rockchip/power_domain.txt binding document to json-sch

Re: [patch 1/2] nohz: only wakeup a single target cpu when kicking a task

2020-10-08 Thread Frederic Weisbecker
On Thu, Oct 08, 2020 at 05:28:44PM +0200, Peter Zijlstra wrote: > On Thu, Oct 08, 2020 at 10:59:40AM -0400, Peter Xu wrote: > > On Wed, Oct 07, 2020 at 03:01:52PM -0300, Marcelo Tosatti wrote: > > > +static void tick_nohz_kick_task(struct task_struct *tsk) > > > +{ > > > + int cpu = task_cpu(tsk);

Re: [PATCH v2 06/14] perf arm-spe: Refactor packet header parsing

2020-10-08 Thread André Przywara
On 29/09/2020 14:39, Leo Yan wrote: Hi Leo, > The packet header parsing uses the hard coded values and it uses nested > if-else statements. > > To improve the readability, this patch refactors the macros for packet > header format so it removes the hard coded values. Furthermore, based > on the

Re: [PATCH v6 09/11] mm/memremap_pages: convert to 'struct range'

2020-10-08 Thread boris . ostrovsky
On 10/6/20 2:55 AM, Dan Williams wrote: > The 'struct resource' in 'struct dev_pagemap' is only used for holding > resource span information. The other fields, 'name', 'flags', 'desc', > 'parent', 'sibling', and 'child' are all unused wasted space. > > This is in preparation for introducing a mu

Re: [patch 1/2] nohz: only wakeup a single target cpu when kicking a task

2020-10-08 Thread Frederic Weisbecker
On Thu, Oct 08, 2020 at 02:54:09PM -0300, Marcelo Tosatti wrote: > On Thu, Oct 08, 2020 at 02:22:56PM +0200, Peter Zijlstra wrote: > > On Wed, Oct 07, 2020 at 03:01:52PM -0300, Marcelo Tosatti wrote: > > > When adding a tick dependency to a task, its necessary to > > > wakeup the CPU where the task

Re: PCI: Race condition in pci_create_sysfs_dev_files

2020-10-08 Thread Bjorn Helgaas
On Wed, Oct 07, 2020 at 11:14:34AM -0500, Bjorn Helgaas wrote: > On Wed, Oct 07, 2020 at 10:14:00AM +0200, Pali Rohár wrote: > > On Wednesday 07 October 2020 12:47:40 Oliver O'Halloran wrote: > > > On Wed, Oct 7, 2020 at 10:26 AM Bjorn Helgaas wrote: > > > > > > > > I'm not really a fan of this be

Re: [PATCH] net: wireless: nl80211: fix out-of-bounds access in nl80211_del_key()

2020-10-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 7 Oct 2020 09:24:01 +0530 you wrote: > In nl80211_parse_key(), key.idx is first initialized as -1. > If this value of key.idx remains unmodified and gets returned, and > nl80211_key_allowed() also returns 0, then rdev_d

Re: [PATCH v2] arm64: dts: allwinner: h6: add eMMC voltage property for Beelink GS1

2020-10-08 Thread Clément Péron
Hi Maxime, Adding linux-sunxi and Jernej Skrabec to this discussion. On Thu, 8 Oct 2020 at 17:10, Maxime Ripard wrote: > > Hi Clément, > > On Mon, Oct 05, 2020 at 08:47:19PM +0200, Clément Péron wrote: > > On Mon, 5 Oct 2020 at 11:21, Maxime Ripard wrote: > > > > > > Hi Clément, > > > > > > On

Re: [PATCH net] bridge: Netlink interface fix.

2020-10-08 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 7 Oct 2020 12:07:00 + you wrote: > This commit is correcting NETLINK br_fill_ifinfo() to be able to > handle 'filter_mask' with multiple flags asserted. > > Fixes: 36a8e8e265420 ("bridge: Extend br_fill_ifinfo to re

Re: [PATCH] vringh: fix __vringh_iov() when riov and wiov are different

2020-10-08 Thread Michael S. Tsirkin
On Thu, Oct 08, 2020 at 06:13:11PM +0200, Stefano Garzarella wrote: > If riov and wiov are both defined and they point to different > objects, only riov is initialized. If the wiov is not initialized > by the caller, the function fails returning -EINVAL and printing > "Readable desc 0x... after wri

Re: [PATCH 01/13] selftests: filter kselftest headers from command in lib.mk

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:21PM +0300, Tommi Rantala wrote: > Commit 1056d3d2c97e ("selftests: enforce local header dependency in > lib.mk") added header dependency to the rule, but as the rule uses $^, > the headers are added to the compiler command line. > > This can cause unexpected precompi

Re: [ Regressions ] linux next 20201008: blk_update_request: I/O error, dev sda, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0

2020-10-08 Thread Naresh Kamboju
On Thu, 8 Oct 2020 at 23:41, Naresh Kamboju wrote: > > There are two major regressions noticed on linux next tag 20201008. > I will bisect this problem and get back to you. Reverting scsi: patch set on linux next tag 20201008 fixed reported problems. git revert --no-edit 653

Re: [PATCH 04/13] selftests/harness: prettify SKIP message whitespace again

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:24PM +0300, Tommi Rantala wrote: > Commit 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") > replaced XFAIL with SKIP in the output. Add one more space to make the > output aligned and pretty again. > > Fixes: 9847d24af95c ("selftests/harness: Refactor XFA

Re: [PATCH 03/13] selftests: add vmaccess to .gitignore

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:23PM +0300, Tommi Rantala wrote: > Commit 2de4e82318c7 ("selftests/ptrace: add test cases for dead-locks") > added vmaccess testcase, add the binary to .gitignore > > Fixes: 2de4e82318c7 ("selftests/ptrace: add test cases for dead-locks") > Signed-off-by: Tommi Rantal

Re: [PATCH 11/13] selftests: core: use SKIP instead of XFAIL in close_range_test.c

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:31PM +0300, Tommi Rantala wrote: > XFAIL is gone since 9847d24af95c ("selftests/harness: Refactor XFAIL > into SKIP"), use SKIP instead. > > Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") > Signed-off-by: Tommi Rantala Reviewed-by: Kees Cook -

Re: [PATCH 13/13] selftests: binderfs: use SKIP instead of XFAIL

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:33PM +0300, Tommi Rantala wrote: > XFAIL is gone since 9847d24af95c ("selftests/harness: Refactor XFAIL > into SKIP"), use SKIP instead. > > Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") > Signed-off-by: Tommi Rantala Reviewed-by: Kees Cook -

Re: [PATCH 12/13] selftests: clone3: use SKIP instead of XFAIL

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:32PM +0300, Tommi Rantala wrote: > XFAIL is gone since 9847d24af95c ("selftests/harness: Refactor XFAIL > into SKIP"), use SKIP instead. > > Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") > Signed-off-by: Tommi Rantala Reviewed-by: Kees Cook -

Re: [PATCH 02/13] selftests: pidfd: fix compilation errors due to wait.h

2020-10-08 Thread Kees Cook
On Thu, Oct 08, 2020 at 03:26:22PM +0300, Tommi Rantala wrote: > Drop unneeded header inclusion to fix pidfd compilation > errors seen in Fedora 32: > > In file included from pidfd_open_test.c:9: > ../../../../usr/include/linux/wait.h:17:16: error: expected identifier before > numeric constant >

Re: [ Regressions ] linux next 20201008: blk_update_request: I/O error, dev sda, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0

2020-10-08 Thread Jens Axboe
On 10/8/20 2:05 PM, Naresh Kamboju wrote: > On Thu, 8 Oct 2020 at 23:41, Naresh Kamboju wrote: >> >> There are two major regressions noticed on linux next tag 20201008. >> I will bisect this problem and get back to you. > > Reverting scsi: patch set on linux next

Re: [PATCH 2/3] ARM: dts: BCM5301X: Linksys EA9500 add port 5 and port 7

2020-10-08 Thread Vivek Unune
Thanks Florian, I'll do that! On Thu, Oct 8, 2020 at 10:58 AM Florian Fainelli wrote: > > > > On 10/7/2020 5:32 PM, Andrew Lunn wrote: > >> This router is currently not enabled in Openwrt > > > > You have to be careful here. Not everything runs OpenWRT. You cannot > > break backwards compatibilit

RE: [PATCH v18 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-10-08 Thread Stefano Stabellini
On Thu, 8 Oct 2020, Ben Levinsky wrote: > > Does it mean that the main CPU see the memory of the > > R5 as "some kind of TCM" and that TCM is physically > > mapped at 0xffe0 (ITCM) and 0xffe2 (DTCM)? > > > > If the first is ITCM and the second DTCM that is pretty > > important to point out

Re: [PATCH 08/35] dmem: show some statistic in debugfs

2020-10-08 Thread Randy Dunlap
On 10/8/20 12:53 AM, yulei.ker...@gmail.com wrote: > diff --git a/mm/Kconfig b/mm/Kconfig > index e1995da11cea..8a67c8933a42 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -235,6 +235,15 @@ config DMEM > Allow reservation of memory which could be dedicated usage of dmem. > It's t

[GIT PULL] Networking

2020-10-08 Thread Jakub Kicinski
Hi Linus! Here is one more pull request with fixes from the networking tree, selected with the filtering knobs for priority / risk / impact set for -rc8 time. - add missing input validation in nl80211_del_key(), preventing out-of-bounds access - last minute fix / improvement of a MRP netli

Re: [PATCH] vringh: fix __vringh_iov() when riov and wiov are different

2020-10-08 Thread Stefano Garzarella
On Thu, Oct 08, 2020 at 04:00:51PM -0400, Michael S. Tsirkin wrote: > On Thu, Oct 08, 2020 at 06:13:11PM +0200, Stefano Garzarella wrote: > > If riov and wiov are both defined and they point to different > > objects, only riov is initialized. If the wiov is not initialized > > by the caller, the fu

Re: [PATCH 02/35] mm: support direct memory reservation

2020-10-08 Thread Randy Dunlap
On 10/8/20 12:53 AM, yulei.ker...@gmail.com wrote: > diff --git a/mm/Kconfig b/mm/Kconfig > index 6c974888f86f..e1995da11cea 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -226,6 +226,15 @@ config BALLOON_COMPACTION > scenario aforementioned and helps improving memory defragmentation. >

Re: general protection fault in percpu_ref_exit

2020-10-08 Thread syzbot
syzbot has bisected this issue to: commit 2b0d3d3e4fcfb19d10f9a82910b8f0f05c56ee3e Author: Ming Lei Date: Thu Oct 1 15:48:41 2020 + percpu_ref: reduce memory footprint of percpu_ref in fast path bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=126930d050 start commit:

Re: [PATCH] vringh: fix __vringh_iov() when riov and wiov are different

2020-10-08 Thread Michael S. Tsirkin
On Thu, Oct 08, 2020 at 10:24:36PM +0200, Stefano Garzarella wrote: > On Thu, Oct 08, 2020 at 04:00:51PM -0400, Michael S. Tsirkin wrote: > > On Thu, Oct 08, 2020 at 06:13:11PM +0200, Stefano Garzarella wrote: > > > If riov and wiov are both defined and they point to different > > > objects, only r

Re: [PATCH v4 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver

2020-10-08 Thread AngeloGioacchino Del Regno
Il giorno gio 8 ott 2020 alle ore 20:21 Krzysztof Kozlowski ha scritto: > > On Thu, 8 Oct 2020 at 20:15, wrote: > > > > From: AngeloGioacchino Del Regno > > > > Add binding for the Novatek NT36xxx series touchscreen driver. > > > > Signed-off-by: AngeloGioacchino Del Regno > > --- > > .../inpu

Re: [ Regressions ] linux next 20201008: blk_update_request: I/O error, dev sda, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0

2020-10-08 Thread Christoph Hellwig
On Thu, Oct 08, 2020 at 02:17:41PM -0600, Jens Axboe wrote: > Just for everyones edification, that would be these 9 patches from the > SCSI tree: I sent the fixes out a bit ago and Cced the reporters..

[GIT PULL] vhost,vdpa: last minute fixes

2020-10-08 Thread Michael S. Tsirkin
The following changes since commit a127c5bbb6a8eee851cbdec254424c480b8edd75: vhost-vdpa: fix backend feature ioctls (2020-09-24 05:54:36 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to

Re: [PATCH] vringh: fix __vringh_iov() when riov and wiov are different

2020-10-08 Thread Stefano Garzarella
On Thu, Oct 08, 2020 at 04:28:40PM -0400, Michael S. Tsirkin wrote: > On Thu, Oct 08, 2020 at 10:24:36PM +0200, Stefano Garzarella wrote: > > On Thu, Oct 08, 2020 at 04:00:51PM -0400, Michael S. Tsirkin wrote: > > > On Thu, Oct 08, 2020 at 06:13:11PM +0200, Stefano Garzarella wrote: > > > > If riov

Re: [PATCH 3/5] memory: tegra: Sort tegra210_swgroups by reg address

2020-10-08 Thread Nicolin Chen
Hi Krzysztof, On Thu, Oct 08, 2020 at 12:32:58PM +0200, Krzysztof Kozlowski wrote: > On Wed, Oct 07, 2020 at 05:37:44PM -0700, Nicolin Chen wrote: > > This is a cleanup change to prepare for new swgroups. > > What type of cleanup? Any functional change? It's to sort the swgroup list by reg addre

Re: [PATCH v4 4/7] tracing: Add support for dynamic strings to synthetic events

2020-10-08 Thread Tom Zanussi
Hi Masami, On Thu, 2020-10-08 at 18:22 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Sun, 4 Oct 2020 17:14:06 -0500 > Tom Zanussi wrote: > > > Currently, sythetic events only support static string fields such > > as: > > > > # echo 'test_latency u64 lat; char somename[32]' > > > /sys/kern

Re: [PATCH 02/35] mm: support direct memory reservation

2020-10-08 Thread Randy Dunlap
On 10/8/20 12:53 AM, yulei.ker...@gmail.com wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt > b/Documentation/admin-guide/kernel-parameters.txt > index a1068742a6df..da15d4fc49db 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/

Re: [PATCH 0/5] memory: tegra: Fix client list and add swgroups

2020-10-08 Thread Nicolin Chen
Hi Krzysztof, On Thu, Oct 08, 2020 at 12:29:06PM +0200, Krzysztof Kozlowski wrote: > On Thu, 8 Oct 2020 at 02:44, Nicolin Chen wrote: > > > > This series has two fixes of tegra210_mc_clients, and three > > changes to add missing swgroups, according to Tegra X1 TRM. > > > > Nicolin Chen (5): > >

Re: [ Regressions ] linux next 20201008: blk_update_request: I/O error, dev sda, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 0

2020-10-08 Thread Martin K. Petersen
Christoph, > On Thu, Oct 08, 2020 at 02:17:41PM -0600, Jens Axboe wrote: >> Just for everyones edification, that would be these 9 patches from the >> SCSI tree: > > I sent the fixes out a bit ago and Cced the reporters.. I do not have any libata-connected devices in the SCSI test setup so thing

[PATCH v2] vringh: fix __vringh_iov() when riov and wiov are different

2020-10-08 Thread Stefano Garzarella
If riov and wiov are both defined and they point to different objects, only riov is initialized. If the wiov is not initialized by the caller, the function fails returning -EINVAL and printing "Readable desc 0x... after writable" error message. This issue happens when descriptors have both readabl

<    3   4   5   6   7   8   9   10   11   12   >