Re: [PATCH v3 3/7] mm, page_alloc: remove setup_pageset()

2020-11-11 Thread Pankaj Gupta
> We initialize boot-time pagesets with setup_pageset(), which sets high and > batch values that effectively disable pcplists. > > We can remove this wrapper if we just set these values for all pagesets in > pageset_init(). Non-boot pagesets then subsequently update them to the proper > values. >

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-11 Thread Dmitry Osipenko
11.11.2020 12:26, Krzysztof Kozlowski пишет: >> 11.11.2020 12:04, Krzysztof Kozlowski пишет: -obj-$(CONFIG_TEGRA124_EMC)+= clk-tegra124-emc.o +obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124-emc.o +obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124-emc.o >>> How is

Re: [PATCH v5 07/17] virt: acrn: Introduce an ioctl to set vCPU registers state

2020-11-11 Thread Greg Kroah-Hartman
On Wed, Nov 11, 2020 at 05:54:31PM +0800, Shuo A Liu wrote: > On Tue 10.Nov'20 at 15:54:26 +0100, Greg Kroah-Hartman wrote: > > On Tue, Nov 10, 2020 at 09:14:19PM +0800, Shuo A Liu wrote: > > > > And there really is no validation of > > > > any fields? > > > > > > Yes. Because HSM driver has

Re: [PATCH] mm/zsmalloc: include sparsemem.h for MAX_PHYSMEM_BITS

2020-11-11 Thread Mike Rapoport
On Wed, Nov 11, 2020 at 10:33:29AM +0100, Arnd Bergmann wrote: > On Tue, Nov 10, 2020 at 5:21 PM Mike Rapoport wrote: > > On Tue, Nov 10, 2020 at 12:21:11PM +0100, Arnd Bergmann wrote: > > > > > > To be on the safe side, we could provoke a compile-time error > > > when CONFIG_PHYS_ADDR_T_64BIT is

Re: [PATCH 1/2] xfs: show the dax option in mount options.

2020-11-11 Thread Michal Suchánek
On Tue, Nov 10, 2020 at 08:08:23AM +1100, Dave Chinner wrote: > On Mon, Nov 09, 2020 at 09:27:05PM +0100, Michal Suchánek wrote: > > On Mon, Nov 09, 2020 at 11:24:19AM -0800, Darrick J. Wong wrote: > > > On Mon, Nov 09, 2020 at 08:10:08PM +0100, Michal Suchanek wrote: > > > > xfs accepts both dax

Re: [PATCH v2 2/2] platform/chrome: cros_ec_typec: Set partner num_altmodes

2020-11-11 Thread Heikki Krogerus
On Tue, Nov 10, 2020 at 05:01:04PM +0100, Enric Balletbo i Serra wrote: > Hi, > > On 10/11/20 11:50, Heikki Krogerus wrote: > > On Mon, Nov 09, 2020 at 10:15:36PM -0800, Prashant Malani wrote: > >> Set the number of altmodes available for a registered partner using the > >> Type C connector class

Re: [PATCH v2] checkpatch: add fix option for MISSING_SIGN_OFF

2020-11-11 Thread Lukas Bulwahn
On Wed, Nov 11, 2020 at 10:01 AM Aditya Srivastava wrote: > > Currently checkpatch warns us if there is no 'Signed-off-by' line > for the patch. > > E.g., running checkpatch on commit 9ac060a708e0 ("leaking_addresses: > Completely remove --version flag") reports this error: > > ERROR: Missing

Re: [PATCH v1] mm/page_alloc: clear pages in alloc_contig_pages() with init_on_alloc=1 or __GFP_ZERO

2020-11-11 Thread David Hildenbrand
On 11.11.20 11:22, Michal Hocko wrote: On Wed 11-11-20 11:05:21, David Hildenbrand wrote: On 11.11.20 10:58, Vlastimil Babka wrote: On 11/11/20 10:06 AM, David Hildenbrand wrote: On 11.11.20 09:47, Michal Hocko wrote: On Tue 10-11-20 20:32:40, David Hildenbrand wrote: commit 6471384af2a6

Re: [RFC PATCH net-next 3/3] net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign bridge neighbors

2020-11-11 Thread Vladimir Oltean
Hi Alexandra, On Wed, Nov 11, 2020 at 11:13:03AM +0100, Alexandra Winter wrote: > On 08.11.20 18:23, Vladimir Oltean wrote: > > On Sun, Nov 08, 2020 at 10:09:25PM +0800, DENG Qingfang wrote: > >> Can it be turned off for switches that support SA learning from CPU? > > > > Is there a good reason

Re: [EXTERNAL] [tip: x86/apic] x86/io_apic: Cleanup trigger/polarity helpers

2020-11-11 Thread David Woodhouse
On Wed, 2020-11-11 at 10:46 +0100, Thomas Gleixner wrote: > Looking at it now with brain awake, the XTSUP stuff is pretty much > the same as DMAR, which I didn't realize yesterday. The affinity > notifier muck is not needed when we have a write_msg() function which > twiddles the bits into those

Re: [PATCH v1 1/2] dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport

2020-11-11 Thread Sudeep Holla
On Tue, Nov 10, 2020 at 01:38:18PM -0500, Jim Quinlan wrote: > This change allows the SCMI "platform" to use the smc/hvc transport and to Incorrect statement above, it is OSPM using SMC/HVC as transport and not the "platform" which refers to entity/firmware implementing SCMI services to OSPM.

[PATCH] phy: tegra: Don't warn on probe deferral

2020-11-11 Thread Jon Hunter
Deferred probe is an expected return value for devm_regulator_bulk_get(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users. Signed-off-by: Jon Hunter --- drivers/phy/tegra/xusb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] ARM: tegra: Populate OPP table for Tegra20 Ventana

2020-11-11 Thread Jon Hunter
Commit 9ce274630495 ("cpufreq: tegra20: Use generic cpufreq-dt driver (Tegra30 supported now)") update the Tegra20 CPUFREQ driver to use the generic CPUFREQ device-tree driver. Since this change CPUFREQ support on the Tegra20 Ventana platform has been broken because the necessary device-tree nodes

Re: [PATCH v1 2/2] firmware: arm_scmi: Augment SMC/HVC to allow optional interrupt

2020-11-11 Thread Sudeep Holla
On Tue, Nov 10, 2020 at 01:38:19PM -0500, Jim Quinlan wrote: > The SMC/HVC SCMI transport is modified to allow the completion of an SCMI > message to be indicated by an interrupt rather than the return of the smc > call. This accommodates the existing behavior of the BrcmSTB SCMI > "platform"

[PATCH] ARM64: tegra: Correct the UART for Jetson Xavier NX

2020-11-11 Thread Jon Hunter
The Jetson Xavier NX board routes UARTA to the 40-pin header and UARTC to a 12-pin debug header. The UARTs can be used by either the Tegra Combined UART (TCU) driver or the Tegra 8250 driver. By default, the TCU will use UARTC on Jetson Xavier NX. Currently, device-tree for Xavier NX enables the

[PATCH v4 0/2] security: add fault injection to LSM hooks

2020-11-11 Thread Aleksandr Nogikh
From: Aleksandr Nogikh Fault injection capabilities[Documentation/fault-injection/fault-injection.rst] facilitate testing of the stability of the Linux kernel by providing means to force a number of kernel interfaces to return error codes. This patch series proposes adding such fault injection

[PATCH v4 1/2] security: add fault injection capability

2020-11-11 Thread Aleksandr Nogikh
From: Aleksandr Nogikh Add a fault injection capability to call_int_hook macro. This will facilitate testing of fault tolerance of the code that invokes security hooks as well as the fault tolerance of the LSM implementations themselves. Add a KConfig option (CONFIG_FAIL_LSM_HOOKS) that

[PATCH v4 2/2] docs: add fail_lsm_hooks info to fault-injection.rst

2020-11-11 Thread Aleksandr Nogikh
From: Aleksandr Nogikh Describe fail_lsm_hooks fault injection capability. Signed-off-by: Aleksandr Nogikh -- v2: - Added this commit. --- Documentation/fault-injection/fault-injection.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] random: avoid arch_get_random_seed_long() when collecting IRQ randomness

2020-11-11 Thread André Przywara
On 11/11/2020 10:05, Ard Biesheuvel wrote: Hi, > On Wed, 11 Nov 2020 at 10:45, André Przywara wrote: >> >> On 11/11/2020 08:19, Ard Biesheuvel wrote: >> >> Hi, >> >>> (+ Eric) >>> >>> On Thu, 5 Nov 2020 at 16:29, Ard Biesheuvel wrote: When reseeding the CRNG periodically,

Re: [PATCH] mmc: meson-gx: remove IRQF_ONESHOT

2020-11-11 Thread Ulf Hansson
On Tue, 10 Nov 2020 at 16:05, Jerome Brunet wrote: > > > On Thu 08 Oct 2020 at 11:08, Ulf Hansson wrote: > > > > Thomas, thanks a lot for helping out and looking at this! > > > > It looks like the testing of the patch below went well. Are you > > intending to queue up the patch via your tip

Re: [PATCH] vhost_vdpa: switch to vmemdup_user()

2020-11-11 Thread Stefano Garzarella
On Wed, Nov 11, 2020 at 09:14:48AM +0800, Tian Tao wrote: Replace opencoded alloc and copy with vmemdup_user() Signed-off-by: Tian Tao --- drivers/vhost/vdpa.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) Reviewed-by: Stefano Garzarella diff --git

Re: [PATCH] regmap: Properly free allocated name for regmap_config of syscon

2020-11-11 Thread Kefeng Wang
On 2020/11/10 16:47, Marc Zyngier wrote: On 2020-11-10 01:35, Kefeng Wang wrote: On 2020/11/10 1:23, Mark Brown wrote: On Mon, Nov 09, 2020 at 07:58:16PM +0800, Kefeng Wang wrote: Hi Marc,  the regmap debugfs will duplicate a name in regmap_set_name(), and syscon_config.name won't be

Re: [PATCH v2 2/2] platform/chrome: cros_ec_typec: Set partner num_altmodes

2020-11-11 Thread Greg KH
On Wed, Nov 11, 2020 at 12:28:46PM +0200, Heikki Krogerus wrote: > On Tue, Nov 10, 2020 at 05:01:04PM +0100, Enric Balletbo i Serra wrote: > > Hi, > > > > On 10/11/20 11:50, Heikki Krogerus wrote: > > > On Mon, Nov 09, 2020 at 10:15:36PM -0800, Prashant Malani wrote: > > >> Set the number of

Re: [PATCH][next] Bluetooth: btrtl: fix incorrect skb allocation failure check

2020-11-11 Thread Marcel Holtmann
Hi Colin, > Currently the check for a failed bt_skb_alloc allocation is incorrectly > checking using IS_ERR and this can lead to a null pointer dereference. Fix > this by checking for a null pointer return using the !skb idiom. > > Addresses-Coverity: ("Dereference null return") > Fixes:

Re: [RFC] Are you good with Lockdep?

2020-11-11 Thread Ingo Molnar
* Byungchul Park wrote: > PROBLEM 1) First of all, Lockdep gets disabled on the first detection. Lockdep disabling itself after the first warning was an intentional and deliberate design decision. (See more details below.) >What if there are more than two problems? So the usual way

Re: [PATCH] mm/zsmalloc: include sparsemem.h for MAX_PHYSMEM_BITS

2020-11-11 Thread Arnd Bergmann
On Wed, Nov 11, 2020 at 11:26 AM Mike Rapoport wrote: > > On Wed, Nov 11, 2020 at 10:33:29AM +0100, Arnd Bergmann wrote: > > On Tue, Nov 10, 2020 at 5:21 PM Mike Rapoport wrote: > > > On Tue, Nov 10, 2020 at 12:21:11PM +0100, Arnd Bergmann wrote: > > > > > > > > To be on the safe side, we could

Re: [PATCH v1] i2c: nvidia-gpu: drop empty stub for runtime pm

2020-11-11 Thread Vaibhav Gupta
On Tue, Nov 10, 2020 at 02:33:43PM +0200, Jarkko Nikula wrote: > On 11/7/20 11:04 AM, Vaibhav Gupta wrote: > > On Sat, Nov 07, 2020 at 01:51:51PM +0530, Vaibhav Gupta wrote: > > > After the commit c5eb1190074c ("PCI / PM: Allow runtime PM without > > > callback > > > functions") we no more need

Re: [PATCH] Drivers: hv: vmbus: Allow cleanup of VMBUS_CONNECT_CPU if disconnected

2020-11-11 Thread Wei Liu
On Tue, Nov 10, 2020 at 09:18:33PM +0100, Andrea Parri wrote: > On Tue, Nov 10, 2020 at 07:01:18PM +, Chris Co wrote: > > From: Chris Co > > > > When invoking kexec() on a Linux guest running on a Hyper-V host, the > > kernel panics. > > > > RIP: 0010:cpuhp_issue_call+0x137/0x140 > >

I sent you a mail earlier but not sure if you received it, kindly check your email and get back to me for I have very urgent information to pass to you.

2020-11-11 Thread Kevin Roberts

Re: [PATCH] mm/zsmalloc: include sparsemem.h for MAX_PHYSMEM_BITS

2020-11-11 Thread Mike Rapoport
On Wed, Nov 11, 2020 at 11:57:02AM +0100, Arnd Bergmann wrote: > On Wed, Nov 11, 2020 at 11:26 AM Mike Rapoport wrote: > > > > On Wed, Nov 11, 2020 at 10:33:29AM +0100, Arnd Bergmann wrote: > > > On Tue, Nov 10, 2020 at 5:21 PM Mike Rapoport wrote: > > > > On Tue, Nov 10, 2020 at 12:21:11PM

Re: [PATCH 1/3] Bluetooth: hci_bcm: Add compatible string for BCM4389

2020-11-11 Thread Marcel Holtmann
Hi Amitesh, > Add compatible string match to the serdev driver for the > BCM4389 Bluetooth controller > > Signed-off-by: Amitesh Chandra > --- > drivers/bluetooth/hci_bcm.c | 1 + > 1 file changed, 1 insertion(+) The series no longer applies cleanly to bluetooth-next tree. Please resend.

[PATCH 3/3] powerpc: rewrite atomics to use ARCH_ATOMIC

2020-11-11 Thread Nicholas Piggin
All the cool kids are doing it. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/atomic.h | 681 ++--- arch/powerpc/include/asm/cmpxchg.h | 62 +-- 2 files changed, 248 insertions(+), 495 deletions(-) diff --git a/arch/powerpc/include/asm/atomic.h

[PATCH 2/3] powerpc/64s/iommu: don't use atomic_ function on atomic64_t type

2020-11-11 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/mm/book3s64/iommu_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s64/iommu_api.c b/arch/powerpc/mm/book3s64/iommu_api.c index 563faa10bb66..685d7bb3d26f 100644 ---

Re: [PATCH 3/3] Bluetooth: hci_bcm: Ignore deprecated command fail case

2020-11-11 Thread Marcel Holtmann
Hi Amitesh, > Broadcom VSC uart_clock_setting is deprecated in > newer controllers. Ignore error if the controller > returns invalid or bad request error code. > > Signed-off-by: Amitesh Chandra > Signed-off-by: Manoj Babulal > --- > drivers/bluetooth/hci_bcm.c | 15 +-- > 1 file

[PATCH 1/3] asm-generic/atomic64: Add support for ARCH_ATOMIC

2020-11-11 Thread Nicholas Piggin
This passes atomic64 selftest on ppc32 on qemu (uniprocessor only) both before and after powerpc is converted to use ARCH_ATOMIC. Signed-off-by: Nicholas Piggin --- include/asm-generic/atomic64.h | 70 +++--- lib/atomic64.c | 36 - 2

[PATCH 0/3] powerpc: convert to use ARCH_ATOMIC

2020-11-11 Thread Nicholas Piggin
This conversion seems to require generic atomic64 changes, looks like nothing else uses ARCH_ATOMIC and GENERIC_ATOMIC64 yet. Thanks, Nick Nicholas Piggin (3): asm-generic/atomic64: Add support for ARCH_ATOMIC powerpc/64s/iommu: don't use atomic_ function on atomic64_t type powerpc:

Re: [PATCH v1] Bluetooth: hci_qca: Wait for timeout during suspend

2020-11-11 Thread Marcel Holtmann
Hi Balakrishna, > Currently qca_suspend() is relied on IBS mechanism. During > FW download and memory dump collections, IBS will be disabled. > In those cases, driver will allow suspend and still uses the > serdev port, which results to errors. Now added a wait timeout > if suspend is triggered

drivers/md/raid10.c:1698:39: warning: Uninitialized variable: first_r10bio

2020-11-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eccc876724927ff3b9ff91f36f7b6b159e948f0c commit: d3ee2d8415a6256c1c41e1be36e80e640c3e6359 md/raid10: improve discard request for far layout date: 7 weeks ago compiler: sparc64-linux-gcc (GCC) 9.3.0 If

Re: [PATCH v2] checkpatch: add fix option for MISSING_SIGN_OFF

2020-11-11 Thread Aditya
On 11/11/20 4:00 pm, Lukas Bulwahn wrote: > On Wed, Nov 11, 2020 at 10:01 AM Aditya Srivastava > wrote: >> >> Currently checkpatch warns us if there is no 'Signed-off-by' line >> for the patch. >> >> E.g., running checkpatch on commit 9ac060a708e0 ("leaking_addresses: >> Completely remove

Re: KASAN: out-of-bounds Read in __switch_to (2)

2020-11-11 Thread Dmitry Vyukov
On Thu, Oct 29, 2020 at 3:10 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit a49145acfb975d921464b84fe00279f99827d816 > Author: George Kennedy > Date: Tue Jul 7 19:26:03 2020 + > > fbmem: add margin check to fb_check_caps() > > bisection log:

Re: [PATCH v5 1/4] HID: i2c-hid: Reorganize so ACPI and OF are separate modules

2020-11-11 Thread Hans de Goede
Hi, On 11/11/20 1:04 AM, Dmitry Torokhov wrote: > On Tue, Nov 10, 2020 at 02:17:27PM -0800, Doug Anderson wrote: >> Hi, >> >> On Tue, Nov 10, 2020 at 1:01 AM Hans de Goede wrote: >>> >>> Hi, >>> >>> On 11/9/20 10:36 PM, Douglas Anderson wrote: This patch rejiggers the i2c-hid code so that

Re: WARNING in handle_exception_nmi

2020-11-11 Thread Dmitry Vyukov
On Thu, Nov 5, 2020 at 6:17 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit f8e48a3dca060e80f672d398d181db1298fbc86c > Author: Peter Zijlstra > Date: Thu Oct 22 10:23:02 2020 + > > lockdep: Fix preemption WARN for spurious IRQ-enable > > bisection log:

Re: BUG: unable to handle kernel paging request in pvclock_gtod_notify

2020-11-11 Thread Dmitry Vyukov
On Sun, Nov 1, 2020 at 11:11 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit a49145acfb975d921464b84fe00279f99827d816 > Author: George Kennedy > Date: Tue Jul 7 19:26:03 2020 + > > fbmem: add margin check to fb_check_caps() > > bisection log:

Re: WARNING in syscall_exit_to_user_mode

2020-11-11 Thread Dmitry Vyukov
On Sun, Nov 8, 2020 at 6:22 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit a49145acfb975d921464b84fe00279f99827d816 > Author: George Kennedy > Date: Tue Jul 7 19:26:03 2020 + > > fbmem: add margin check to fb_check_caps() > > bisection log:

Re: INFO: rcu detected stall in exit_group

2020-11-11 Thread Dmitry Vyukov
On Mon, Nov 9, 2020 at 12:03 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 1d0e850a49a5b56f8f3cb51e74a11e2fedb96be6 > Author: David Howells > Date: Fri Oct 16 12:21:14 2020 + > > afs: Fix cell removal > > bisection log:

[PATCH RESEND 0/3] Allow on demand channel request / free

2020-11-11 Thread Daniel Baluta
Requesting an mailbox channel will call mailbox's startup function. startup function calls pm_runtime_get_sync which increments device usage count and will keep the device active. Specifically, mailbox clock will be always ON when a mailbox channel is requested. For this, reason we introduce a

[PATCH RESEND 1/3] firmware: imx: Introduce imx_dsp_setup_channels

2020-11-11 Thread Daniel Baluta
Create a separate function that sets up DSP mailbox channels so that imx_dsp_probe function will be easier to read. Signed-off-by: Daniel Baluta --- drivers/firmware/imx/imx-dsp.c | 41 +- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git

Re: [PATCH v4 0/2] NFS: Fix interaction between fs_context and user namespaces

2020-11-11 Thread Sargun Dhillon
On Tue, Nov 10, 2020 at 08:12:01PM +, Trond Myklebust wrote: > On Tue, 2020-11-10 at 17:43 +0100, Alban Crequy wrote: > > Hi, > > > > I tested the patches on top of 5.10.0-rc3+ and I could mount an NFS > > share with a different user namespace. fsopen() is done in the > > container namespaces

[PATCH RESEND 3/3] firmware: imx-dsp: Export functions to request/free channels

2020-11-11 Thread Daniel Baluta
In order to save power, we only need to request a channel when the communication with the DSP active. For this we export the following functions: - imx_dsp_request_channel, gets a channel with a given index - imx_dsp_free_channel, frees a channel with a given index Notice that we

[PATCH] scripts: coccicheck: Correct usage of make coccicheck

2020-11-11 Thread Sumera Priyadarsini
The command "make coccicheck C=1 CHECK=scripts/coccicheck" results in the error: ./scripts/coccicheck: line 65: -1: shift count out of range This happens because every time the C variable is specified, the shell arguments need to be "shifted" in order to take only the last argument, which

Re: [PATCH 2/2] mm: simplify follow_pte{,pmd}

2020-11-11 Thread Stephen Rothwell
Hi Christoph, On Wed, 11 Nov 2020 09:28:42 +0100 Christoph Hellwig wrote: > > On Wed, Nov 11, 2020 at 09:26:20AM +0100, Christian Borntraeger wrote: > > > > On 11.11.20 09:18, Christoph Hellwig wrote: > > > On Tue, Nov 10, 2020 at 06:21:22PM -0800, Nick Desaulniers wrote: > > >> Sorry, I

[PATCH RESEND 2/3] firmware: imx: Save channel name for further use

2020-11-11 Thread Daniel Baluta
We want to request / free channels on demand later in order to save power. For this for each channel we save the name and use it to reference the channel later. Signed-off-by: Daniel Baluta --- drivers/firmware/imx/imx-dsp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH v5 1/4] HID: i2c-hid: Reorganize so ACPI and OF are separate modules

2020-11-11 Thread Hans de Goede
Hi, On 11/10/20 11:17 PM, Doug Anderson wrote: > Hi, > > On Tue, Nov 10, 2020 at 1:01 AM Hans de Goede wrote: >> >> Hi, >> >> On 11/9/20 10:36 PM, Douglas Anderson wrote: >>> This patch rejiggers the i2c-hid code so that the OF (Open Firmware >>> aka Device Tree) and ACPI support is separated

Re: KASAN: use-after-free Read in delete_partition

2020-11-11 Thread Dmitry Vyukov
On Thu, Oct 8, 2020 at 5:38 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 08fc1ab6d748ab1a690fd483f41e2938984ce353 > Author: Christoph Hellwig > Date: Tue Sep 1 09:59:41 2020 + > > block: fix locking in bdev_del_partition > > bisection log:

Re: [PATCH v9 1/6] Bluetooth: Replace BT_DBG with bt_dev_dbg in HCI request

2020-11-11 Thread Marcel Holtmann
Hi Howard, > This replaces the BT_DBG function to bt_dev_dbg as it is cleaner to show > the controller index in the debug message. > > Signed-off-by: Howard Chung > --- > > Changes in v9: > - Fix compile warning on patch 6/6 > > Changes in v8: > - Simplified logic in

[PATCH 1/2] uio: pruss: move simple allocations to dem_ equivalents

2020-11-11 Thread Alexandru Ardelean
This change moves the simple allocations to their device-managed equivalents. This cleans up some error/exit paths. Signed-off-by: Alexandru Ardelean --- drivers/uio/uio_pruss.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git

Re: [PATCH v9 2/6] Bluetooth: Interleave with allowlist scan

2020-11-11 Thread Marcel Holtmann
Hi Howard, > This patch implements the interleaving between allowlist scan and > no-filter scan. It'll be used to save power when at least one monitor is > registered and at least one pending connection or one device to be > scanned for. > > The durations of the allowlist scan and the no-filter

[PATCH 2/2] uio: pruss: use devm_clk_get() for clk init

2020-11-11 Thread Alexandru Ardelean
This change uses devm_clk_get() to obtain a reference to the clock. It has the benefit that clk_put() is no longer required, and cleans up the exit & error path. Signed-off-by: Alexandru Ardelean --- drivers/uio/uio_pruss.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff

Re: WARNING: ODEBUG bug in exit_to_user_mode_prepare

2020-11-11 Thread Dmitry Vyukov
On Fri, Aug 28, 2020 at 5:08 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:d012a719 Linux 5.9-rc2 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15e9e90e90 > kernel config:

Re: general protection fault in nexthop_is_blackhole

2020-11-11 Thread Dmitry Vyukov
On Thu, Oct 1, 2020 at 5:34 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit eeaac3634ee0e3f35548be35275efeca888e9b23 > Author: Nikolay Aleksandrov > Date: Sat Aug 22 12:06:36 2020 + > > net: nexthop: don't allow empty NHA_GROUP > > bisection log:

Re: [PATCH v9 5/6] Bluetooth: Refactor read default sys config for various types

2020-11-11 Thread Marcel Holtmann
Hi Howard, > Refactor read default system configuration function so that it's capable > of returning different types than u16 > > Signed-off-by: Howard Chung > --- > > (no changes since v8) > > Changes in v8: > - Update the commit title and message > > net/bluetooth/mgmt_config.c | 140

Re: general protection fault in rt6_fill_node

2020-11-11 Thread Dmitry Vyukov
On Thu, Oct 1, 2020 at 8:46 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit eeaac3634ee0e3f35548be35275efeca888e9b23 > Author: Nikolay Aleksandrov > Date: Sat Aug 22 12:06:36 2020 + > > net: nexthop: don't allow empty NHA_GROUP > > bisection log:

Re: [PATCH v2 2/2] platform/chrome: cros_ec_typec: Set partner num_altmodes

2020-11-11 Thread Heikki Krogerus
On Wed, Nov 11, 2020 at 11:56:37AM +0100, Greg KH wrote: > On Wed, Nov 11, 2020 at 12:28:46PM +0200, Heikki Krogerus wrote: > > On Tue, Nov 10, 2020 at 05:01:04PM +0100, Enric Balletbo i Serra wrote: > > > Hi, > > > > > > On 10/11/20 11:50, Heikki Krogerus wrote: > > > > On Mon, Nov 09, 2020 at

Re: INFO: task hung in io_uring_flush

2020-11-11 Thread Dmitry Vyukov
On Thu, Sep 17, 2020 at 3:42 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit b7ddce3cbf010edbfac6c6d8cc708560a7bcd7a4 > Author: Pavel Begunkov > Date: Sat Sep 5 21:45:14 2020 + > > io_uring: fix cancel of deferred reqs with ->files > > bisection log:

Re: BUG: corrupted list in kobject_add_internal

2020-11-11 Thread Dmitry Vyukov
On Sun, Nov 8, 2020 at 11:55 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit a46b7ed4d52d09bd6c7ab53b2217d04fc2f02c65 > Author: Sonny Sasaka > Date: Fri Aug 14 19:09:09 2020 + > > Bluetooth: Fix auto-creation of hci_conn at Conn Complete event > >

Re: [PATCH V9 1/4] perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE

2020-11-11 Thread Peter Zijlstra
On Wed, Nov 11, 2020 at 10:57:50AM +0100, Peter Zijlstra wrote: > On Wed, Nov 04, 2020 at 12:11:16PM -0500, Liang, Kan wrote: > > On 10/13/2020 12:34 PM, Peter Zijlstra wrote: > > > > @@ -7037,13 +7057,20 @@ static u64 __perf_get_page_size(struct m > > > return 0; > > >

Re: KASAN: use-after-free Read in __cfg8NUM_wpan_dev_from_attrs (2)

2020-11-11 Thread Dmitry Vyukov
On Thu, Aug 6, 2020 at 9:00 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit bf64ff4c2aac65d680dc639a511c781cf6b6ec08 > Author: Cong Wang > Date: Sat Jun 27 07:12:24 2020 + > > genetlink: get rid of family->attrbuf > > bisection log:

Re: WARNING in rxrpc_recvmsg

2020-11-11 Thread Dmitry Vyukov
On Thu, Aug 6, 2020 at 5:25 AM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 65550098c1c4db528400c73acf3e46bfa78d9264 > Author: David Howells > Date: Tue Jul 28 23:03:56 2020 + > > rxrpc: Fix race between recvmsg and sendmsg on immediate call failure > >

Re: [PATCH v8 2/3] pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO

2020-11-11 Thread Andy Shevchenko
On Wed, Nov 11, 2020 at 10:52 AM Lars Povlsen wrote: > Andy Shevchenko writes: > > On Tue, Nov 10, 2020 at 5:51 PM Lars Povlsen > > wrote: > >> > On Mon, Nov 9, 2020 at 3:27 PM Lars Povlsen > >> > wrote: ... > >> >> + return -EOPNOTSUPP; > >> > > >> > Are you sure? IIRC

[PATCH 1/2] serial: 8250: 8250_omap: Fix possible array out of bounds access

2020-11-11 Thread Vignesh Raghavendra
k3_soc_devices array is missing a sentinel entry which may result in out of bounds access as reported by kernel KASAN. Fix this by adding a sentinel entry. Fixes: 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable") Reported-by: Naresh Kamboju Signed-off-by: Vignesh

[PATCH 2/2] serial: 8250: 8250_omap: Fix unused variable warning

2020-11-11 Thread Vignesh Raghavendra
With commit 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable"), below warning is seen with W=1 and CONFIG_SERIAL_8250_DMA is disabled: drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices' [-Wunused-const-variable] Fix this by

Re: How to enable auto-suspend by default

2020-11-11 Thread Hans de Goede
Hi, On 11/10/20 6:25 PM, Mika Westerberg wrote: > On Tue, Nov 10, 2020 at 04:02:33PM +, Limonciello, Mario wrote: >>> >>> On Tue, Nov 10, 2020 at 11:57:07AM +0100, Bastien Nocera wrote: Hey, systemd has been shipping this script to enable auto-suspend on a number of USB

Re: [PATCH v4 net] net: udp: fix Fast/frag0 UDP GRO

2020-11-11 Thread Alexander Lobakin
From: Willem de Bruijn Date: Tue, 10 Nov 2020 13:49:56 -0500 > On Mon, Nov 9, 2020 at 7:29 PM Alexander Lobakin wrote: >> >> From: Alexander Lobakin >> Date: Tue, 10 Nov 2020 00:17:18 + >> >>> While testing UDP GSO fraglists forwarding through driver that uses >>> Fast GRO (via

Re: [PATCH v1 01/24] psci: Accessor for configured PSCI version

2020-11-11 Thread David Brazdil
> > + > > struct psci_operations { > > u32 (*get_version)(void); > > int (*cpu_suspend)(u32 state, unsigned long entry_point); > > I still maintain that populating .get_version in all cases instead of > duplicating an existing functionality is a better outcome. PSCI not > supported would

[PATCH] uio/uio_pci_generic: use device-managed function equivalents

2020-11-11 Thread Alexandru Ardelean
This driver can be easily converted to use the device-managed allocator function and the PCI managed enable function. With these conversions the probe error paths are no longer needed and neither is the remove function. Signed-off-by: Alexandru Ardelean --- drivers/uio/uio_pci_generic.c | 37

Re: [PATCH V3 1/5] firmware: imx: scu-seco: Add Secure Controller APIS

2020-11-11 Thread Daniel Baluta
On Tue, Nov 10, 2020 at 4:15 PM wrote: > > From: Franck LENORMAND Looks good to me. Thanks Franck! Reviewed-by: Daniel Baluta

Re: [PATCH v8 17/18] scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug

2020-11-11 Thread Sumit Saxena
> > Can this issue disappear by applying the following change? This change fixes the issue for me. Qian, Please try after applying changes suggested by Ming. Thanks, Sumit > > diff --git a/block/blk-flush.c b/block/blk-flush.c > index e32958f0b687..b1fe6176d77f 100644 > --- a/block/blk-flush.c >

Re: [RESEND PATCH v2] net/x25: Fix null-ptr-deref in x25_connect

2020-11-11 Thread Xie He
> This fixes a regression for blocking connects introduced by commit > 4becb7ee5b3d ("net/x25: Fix x25_neigh refcnt leak when x25 disconnect"). > The x25->neighbour is already set to "NULL" by x25_disconnect() now, > while a blocking connect is waiting in >

Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-11-11 Thread Ulf Hansson
On Sun, 8 Nov 2020 at 13:19, Dmitry Osipenko wrote: > > 05.11.2020 18:22, Dmitry Osipenko пишет: > > 05.11.2020 12:45, Ulf Hansson пишет: > > ... > >> I need some more time to review this, but just a quick check found a > >> few potential issues... > > > > Thank you for starting the review! I'm

Re: [PATCH net] net: x25: Fix kernel crashes due to x25_disconnect releasing x25_neigh

2020-11-11 Thread Martin Schiller
On 2020-11-11 11:04, Xie He wrote: The x25_disconnect function in x25_subr.c would decrease the refcount of "x25->neighbour" (struct x25_neigh) and reset this pointer to NULL. However: 1) When we receive a connection, the x25_rx_call_request function in af_x25.c does not increase the refcount

arm64: tinyconfig: compiler_types.h:326:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: !is_power_of_2(sizeof(struct page))

2020-11-11 Thread Naresh Kamboju
FYI, Linux next tag 2020 arm64 tinyconfig build failed due to below error(s). tinyconfig arm64 build test failed with gcc-8, gcc-9 and gcc-10. config file attached to this email. Reported-by: Naresh Kamboju make -j16 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- arch/arm64/mm/init.c

[v10] i2c: imx: support slave mode for imx I2C driver

2020-11-11 Thread Biwen Li
From: Biwen Li The patch supports slave mode for imx I2C driver Signed-off-by: Biwen Li --- Change in v10: - totally remove CONFIG_I2C_SLAVE - replace api with i2c_imx_clart_irq() - remove robust code - place pm_runtime_get in i2c_imx_slave_init() to

Re: [PATCH v1 01/30] dt-bindings: host1x: Document OPP and voltage regulator properties

2020-11-11 Thread Ulf Hansson
On Thu, 5 Nov 2020 at 00:44, Dmitry Osipenko wrote: > > Document new DVFS OPP table and voltage regulator properties of the > Host1x bus and devices sitting on the bus. > > Signed-off-by: Dmitry Osipenko > --- > .../display/tegra/nvidia,tegra20-host1x.txt | 56 +++ > 1 file

Re: [PATCH v1] i2c: nvidia-gpu: drop empty stub for runtime pm

2020-11-11 Thread Jarkko Nikula
On 11/11/20 12:54 PM, Vaibhav Gupta wrote: On Tue, Nov 10, 2020 at 02:33:43PM +0200, Jarkko Nikula wrote: +#define gpu_i2c_suspend NULL Perhaps we can put NULL directly into UNIVERSAL_DEV_PM_OPS() for the suspend callback? Yes. I have noticed that the approach for this is random. Many

Re: [PATCH v2 0/2] Add new controls for QP and layer bitrate

2020-11-11 Thread Hans Verkuil
On 24/09/2020 19:42, Nicolas Dufresne wrote: > Le lundi 21 septembre 2020 à 18:33 +0530, Dikshita Agarwal a écrit : >> This series adds frame specific min/max qp controls for hevc and layer >> wise bitrate control for h264. > > Any chance you could append your driver changes with this set ? I

Re: [PATCH v4 1/2] security: add fault injection capability

2020-11-11 Thread Alexander Potapenko
On Wed, Nov 11, 2020 at 11:45 AM Aleksandr Nogikh wrote: > > From: Aleksandr Nogikh > > Add a fault injection capability to call_int_hook macro. This will > facilitate testing of fault tolerance of the code that invokes > security hooks as well as the fault tolerance of the LSM > implementations

Re: [PATCH] random: avoid arch_get_random_seed_long() when collecting IRQ randomness

2020-11-11 Thread Ard Biesheuvel
On Wed, 11 Nov 2020 at 11:46, André Przywara wrote: > > On 11/11/2020 10:05, Ard Biesheuvel wrote: > > Hi, > > > On Wed, 11 Nov 2020 at 10:45, André Przywara wrote: > >> > >> On 11/11/2020 08:19, Ard Biesheuvel wrote: > >> > >> Hi, > >> > >>> (+ Eric) > >>> > >>> On Thu, 5 Nov 2020 at 16:29, Ard

Re: WARNING: suspicious RCU usage in ctrl_cmd_new_lookup

2020-11-11 Thread Dmitry Vyukov
On Thu, Oct 22, 2020 at 2:40 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit a7809ff90ce6c48598d3c4ab54eb599bec1e9c42 > Author: Manivannan Sadhasivam > Date: Sat Sep 26 16:56:25 2020 + > > net: qrtr: ns: Protect radix_tree_deref_slot() using rcu read

Re: arm64: tinyconfig: compiler_types.h:326:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: !is_power_of_2(sizeof(struct page))

2020-11-11 Thread Ard Biesheuvel
On Wed, 11 Nov 2020 at 12:41, Naresh Kamboju wrote: > > FYI, > Linux next tag 2020 arm64 tinyconfig build failed due to below error(s). > tinyconfig arm64 build test failed with gcc-8, gcc-9 and gcc-10. > config file attached to this email. > > Reported-by: Naresh Kamb

Re: [PATCH v8 17/18] scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug

2020-11-11 Thread John Garry
In Qian's kernel .config, async scsi scan is disabled so in failure case SCSI scan type is synchronous. Below is the stack trace when scsi_scan_host() hangs: [<0>] __wait_rcu_gp+0x134/0x170 [<0>] synchronize_rcu.part.80+0x53/0x60 [<0>] blk_free_flush_queue+0x12/0x30 [<0>]

Re: [PATCH v8 2/3] pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO

2020-11-11 Thread Lars Povlsen
Andy Shevchenko writes: > On Wed, Nov 11, 2020 at 10:52 AM Lars Povlsen > wrote: >> Andy Shevchenko writes: >> > On Tue, Nov 10, 2020 at 5:51 PM Lars Povlsen >> > wrote: >> >> > On Mon, Nov 9, 2020 at 3:27 PM Lars Povlsen >> >> > wrote: > > ... > >> >> >> + return

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-11 Thread Dmitry Osipenko
11.11.2020 13:25, Dmitry Osipenko пишет: > 11.11.2020 12:26, Krzysztof Kozlowski пишет: >>> 11.11.2020 12:04, Krzysztof Kozlowski пишет: > -obj-$(CONFIG_TEGRA124_EMC) += clk-tegra124-emc.o > +obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124-emc.o >

Re: [PATCH v2 2/2] media: v4l2-ctrl: Add layer wise bitrate controls for h264

2020-11-11 Thread Hans Verkuil
On 21/09/2020 15:04, Dikshita Agarwal wrote: > Adds bitrate control for all coding layers for h264 > same as hevc. > > Signed-off-by: Dikshita Agarwal > --- > .../userspace-api/media/v4l/ext-ctrls-codec.rst | 20 > > drivers/media/v4l2-core/v4l2-ctrls.c

Re: [PATCH v1 11/30] drm/tegra: dc: Support OPP and SoC core voltage scaling

2020-11-11 Thread Mark Brown
On Wed, Nov 11, 2020 at 12:23:41AM +0300, Dmitry Osipenko wrote: > 10.11.2020 23:32, Mark Brown пишет: > >>> + if (!device_property_present(dc->dev, "core-supply")) > >>> + return; > >> This is a potentially heavy operation, so I think we should avoid that > >> here. How about you use

undefined reference to `cpu_sa110_suspend_size'

2020-11-11 Thread kernel test robot
-2020 (attached as .config) compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux

Re: [PATCH v1 13/24] kvm: arm64: Add CPU entry point in nVHE hyp

2020-11-11 Thread Marc Zyngier
On 2020-11-09 11:32, David Brazdil wrote: When nVHE hyp starts interception host's PSCI CPU_ON SMCs, it will need to install KVM on the newly booted CPU before returning to the host. Add an entry point which expects the same kvm_nvhe_init_params struct as the __kvm_hyp_init HVC in the CPU_ON

Re: [PATCH v8 00/22] perf arm-spe: Refactor decoding & dumping flow

2020-11-11 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 11, 2020 at 10:13:52AM +, André Przywara escreveu: > On 11/11/2020 07:11, Leo Yan wrote: > > Hi Arnaldo, Ingo, Peter, (whoever feels responsible for taking this) > > > This is patch set v8 for refactoring Arm SPE trace decoding and dumping. > I have reviewed every patch of this

Re: [RESEND PATCH v2] net/x25: Fix null-ptr-deref in x25_connect

2020-11-11 Thread Xie He
> @@ -825,7 +825,7 @@ static int x25_connect(struct socket *sock, struct > sockaddr *uaddr, > sock->state = SS_CONNECTED; > rc = 0; > out_put_neigh: > - if (rc) { > + if (rc && x25->neighbour) { > read_lock_bh(_list_lock); >

Re: [PATCH v2 1/2] media: v4l2-ctrl: Add frame-specific min/max qp controls for hevc

2020-11-11 Thread Hans Verkuil
On 21/09/2020 15:03, Dikshita Agarwal wrote: > - Adds min/max qp controls for B frame for h264. > - Adds min/max qp controls for I/P/B frames for hevc similar to h264. > - Update valid range of mim/max qp for hevc to accommodate 10 bit. > > Signed-off-by: Dikshita Agarwal > --- >

Re: [PATCH v4 4/9] libperf: Add libperf_evsel__mmap()

2020-11-11 Thread Jiri Olsa
On Fri, Nov 06, 2020 at 03:56:11PM -0600, Rob Herring wrote: > On Thu, Nov 5, 2020 at 4:41 PM Jiri Olsa wrote: > > > > On Thu, Nov 05, 2020 at 10:19:24AM -0600, Rob Herring wrote: > > > > SNIP > > > > > > > > > > > > > > that maps page for each event, then perf_evsel__read > > > > > > could go

  1   2   3   4   5   6   7   8   9   10   >