Re: [PATCH v3 2/2] hwrng: bcm2835: add reset support

2021-02-23 Thread Florian Fainelli
On 2/23/2021 9:00 AM, Álvaro Fernández Rojas wrote: > BCM6368 devices need to reset the in order to generate true random numbers. > This is what BCM6368 produces without a reset: > root@OpenWrt:/# cat /dev/hwrng | rngtest -c 1000 > rngtest 6.10 > Copyright (c) 2004 by Henrique de Moraes Holschuh

Re: [GIT PULL v2] clang-lto for v5.12-rc1

2021-02-23 Thread Kees Cook
On Tue, Feb 23, 2021 at 12:33:05PM -0800, Linus Torvalds wrote: > On Tue, Feb 23, 2021 at 9:49 AM Linus Torvalds > wrote: > > > > On Mon, Feb 22, 2021 at 3:11 PM Kees Cook wrote: > > > > > > While x86 LTO enablement is done[1], it depends on some objtool > > > clean-ups[2], though it appears thos

Re: [RFC PATCH 11/12] platform/x86: skeleton for oftree based board device initialization

2021-02-23 Thread Enrico Weigelt, metux IT consult
On 15.02.21 02:18, Frank Rowand wrote: The RCAR use of overlays that are built into the driver are a known pattern that is explicitly not to be repeated. Well, that driver indeed looks quite complex - if belive unnecessarily. But can't judge on these devices, don't have one of them. In my ca

[PATCH] dts: drop dangling c6x symlink

2021-02-23 Thread Michal Kubecek
With c6x architecture removal, scripts/dtc/include-prefixes/c6x symlink lost its target. Drop the dangling symlink which triggers some distribution check scripts. Fixes: a579fcfa8e49 ("c6x: remove architecture") Signed-off-by: Michal Kubecek --- scripts/dtc/include-prefixes/c6x | 1 - 1 file cha

Re: [PATCH net-next 0/4] r8152: minor adjustments

2021-02-23 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net.git (refs/heads/master): On Fri, 19 Feb 2021 17:04:39 +0800 you wrote: > These patches are used to adjust the code. > > Hayes Wang (4): > r8152: enable U1/U2 for USB_SPEED_SUPER > r8152: check if the pointer of the function exists > r8152: repla

Re: [PATCH] drivers: infiniband: sw: rxe: fix kconfig dependency on CRYPTO

2021-02-23 Thread Arnd Bergmann
On Tue, Feb 23, 2021 at 9:36 PM Arnd Bergmann wrote: > > For the specific case of CRC32, it might actually a good idea to change > the code to call into the CRC32 code directly instead of the CRYPTO_CRC32 > abstraction. Would that work for RDMA_RXE? On the more general question of whether a drive

[PATCH 1/1] KVM: x86: remove incorrect comment on active_mmu_pages

2021-02-23 Thread Dongli Zhang
The 'mmu_page_hash' is used as hash table while 'active_mmu_pages' is a list. This patch removes the incorrect comment on active_mmu_pages. Signed-off-by: Dongli Zhang --- arch/x86/include/asm/kvm_host.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch

Re: [PATCH] drivers: infiniband: sw: rxe: fix kconfig dependency on CRYPTO

2021-02-23 Thread Arnd Bergmann
On Mon, Feb 22, 2021 at 5:53 PM Randy Dunlap wrote: > On 2/22/21 8:46 AM, Jason Gunthorpe wrote: > > > There is nearly 1000 places that use a 'select CRYPTO_*' in the > > kernel. > > > > I see only 60 'select CRYPTO' statements. I think most of these are correct, as you typically have a single 's

Re: [GIT PULL v2] clang-lto for v5.12-rc1

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 9:49 AM Linus Torvalds wrote: > > On Mon, Feb 22, 2021 at 3:11 PM Kees Cook wrote: > > > > While x86 LTO enablement is done[1], it depends on some objtool > > clean-ups[2], though it appears those actually have been in linux-next > > (via tip/objtool/core), so it's possibl

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Feb 2021 16:42:36 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git > tags/modules-for-v5.12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/21a6ab2131ab0644eeef70507e20273338bf065c Thank you! -- Deet-doot-dot

Re: [GIT PULL] arch/microblaze patches for 5.12-rc1

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Feb 2021 15:22:27 +0100: > git://git.monstr.eu/linux-2.6-microblaze.git tags/microblaze-v5.12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/74268693e0f751381688743a48e37cf63a45deef Thank you! -- Deet-doot-dot, I am a bot. https:

Re: [GIT pull] objtool/core for 5.12

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Feb 2021 15:02:22 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > objtool-core-2021-02-23 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a56ff24efbba18f4361415597f145f4b5773be3e Thank you! -- Deet-doot-dot,

Re: [GIT PULL v2] clang-lto for v5.12-rc1

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Mon, 22 Feb 2021 15:11:19 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/clang-lto-v5.12-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/79db4d2293eba2ce6265a341bedf6caecad5eeb3 Thank you! -- Deet-doot

Re: [GIT PULL] clang-lto for v5.12-rc1

2021-02-23 Thread pr-tracker-bot
The pull request you sent on Tue, 16 Feb 2021 12:34:37 -0800: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/clang-lto-v5.12-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2b8689520520175075ca97bc4eaf51ff3f7253aa Thank you! -- Deet-doot

Re: [PATCH v4 net-next] net: socket: use BIT() for MSG_*

2021-02-23 Thread Jakub Kicinski
On Wed, 17 Feb 2021 14:54:27 +0800 menglong8.d...@gmail.com wrote: > From: Menglong Dong > > The bit mask for MSG_* seems a little confused here. Replace it > with BIT() to make it clear to understand. > > Signed-off-by: Menglong Dong # Form letter - net-next is closed We have already sent th

[PATCH 2/2] units: Use the HZ_PER_KHZ macro

2021-02-23 Thread Daniel Lezcano
The HZ_PER_KHZ macro definition is duplicated in different subsystems. The macro now exists in include/linux/units.h, make use of it and remove all the duplicated ones. Signed-off-by: Daniel Lezcano --- drivers/devfreq/devfreq.c | 2 +- drivers/iio/light/as73211.c | 3 +-- drivers

[PATCH 1/2] units: Add the HZ_PER_KHZ macro

2021-02-23 Thread Daniel Lezcano
The macro for the unit conversion for frequency is duplicated in different places. Provide this macro in the 'units' header, so it can be reused. Signed-off-by: Daniel Lezcano --- include/linux/units.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/units.h b/include/linux

Re: [PATCH net v2 0/2] net: dsa: Learning fixes for b53/bcm_sf2

2021-02-23 Thread Jakub Kicinski
On Mon, 22 Feb 2021 14:30:08 -0800 Florian Fainelli wrote: > This patch series contains a couple of fixes for the b53/bcm_sf2 drivers > with respect to configuring learning. > > The first patch is wiring-up the necessary dsa_switch_ops operations in > order to support the offloading of bridge flag

Re: [PATCH 00/33] Network fs helper library & fscache kiocb API [ver #3]

2021-02-23 Thread Matthew Wilcox
On Mon, Feb 15, 2021 at 11:22:20PM -0600, Steve French wrote: > On Mon, Feb 15, 2021 at 8:10 PM Matthew Wilcox wrote: > > The switch from readpages to readahead does help in a couple of corner > > cases. For example, if you have two processes reading the same file at > > the same time, one will n

Re: [PATCH RFC 0/4] Add support for synchronous signals on perf events

2021-02-23 Thread Andy Lutomirski
> On Feb 23, 2021, at 6:34 AM, Marco Elver wrote: > > The perf subsystem today unifies various tracing and monitoring > features, from both software and hardware. One benefit of the perf > subsystem is automatically inheriting events to child tasks, which > enables process-wide events monitori

Re: [RFC PATCH 09/12] drivers: base: reintroduce find_bus()

2021-02-23 Thread Enrico Weigelt, metux IT consult
On 13.02.21 11:20, Greg KH wrote: On Mon, Feb 08, 2021 at 11:22:00PM +0100, Enrico Weigelt, metux IT consult wrote: --- drivers/base/bus.c | 14 ++ include/linux/device/bus.h | 2 ++ 2 files changed, 12 insertions(+), 4 deletions(-) Um, no. Why not ? Do you have a b

Re: [PATCH v4 1/2] scsi: ufs: Enable power management for wlun

2021-02-23 Thread Adrian Hunter
On 23/02/21 1:04 am, Asutosh Das wrote: > During runtime-suspend of ufs host, the scsi devices are > already suspended and so are the queues associated with them. > But the ufs host sends SSU to wlun during its runtime-suspend. > During the process blk_queue_enter checks if the queue is not in > su

Re: [RFC PATCH 4/4] i40e: don't open i40iw client for kdump

2021-02-23 Thread Jakub Kicinski
On Mon, 22 Feb 2021 15:07:01 +0800 Coiby Xu wrote: > i40iw consumes huge amounts of memory. For example, on a x86_64 machine, > i40iw consumed 1.5GB for Intel Corporation Ethernet Connection X722 for > for 1GbE while "craskernel=auto" only reserved 160M. With the module > parameter "resource_profil

Re: [PATCH] Marvell Sky2 Ethernet adapter: fix warning messages.

2021-02-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 18 Feb 2021 13:34:42 +0100 you wrote: > sky2.c driver uses netdev_warn() before the net device is initialized. > Fix it by using dev_warn() instead. > > Signed-off-by: Krzysztof Halasa Here is the summary with links:

Re: [PATCH net] bcm63xx_enet: fix sporadic kernel panic

2021-02-23 Thread Jakub Kicinski
On Sun, 21 Feb 2021 21:05:50 -0800 Florian Fainelli wrote: > On 2/21/2021 17:35, Sieng Piaw Liew wrote: > > In ndo_stop functions, netdev_completed_queue() is called during forced > > tx reclaim, after netdev_reset_queue(). This may trigger kernel panic if > > there is any tx skb left. > > > > Thi

Re: [PATCH] perf-probe: dso: Add symbols in .text.* subsections to text symbol map in kenrel modules

2021-02-23 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 23, 2021 at 06:02:58PM +0300, Evgenii Shatokhin escreveu: > On 23.02.2021 10:37, Masami Hiramatsu wrote: > > The kernel modules have .text.* subsections such as .text.unlikely. > > Since dso__process_kernel_symbol() only identify the symbols in the ".text" > > section as the text symbol

Re: [PATCH] Makefile: reuse CC_VERSION_TEXT

2021-02-23 Thread Nick Desaulniers
On Fri, Feb 5, 2021 at 5:49 PM Masahiro Yamada wrote: > > On Sat, Feb 6, 2021 at 7:01 AM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > I noticed we're invoking $(CC) via $(shell) more than once to check the > > version. Let's reuse the first string captured in $CC_VERSION_TEXT. > > >

Re: [PATCH] mm, kasan: don't poison boot memory

2021-02-23 Thread Mike Rapoport
On Tue, Feb 23, 2021 at 01:05:05PM -0500, George Kennedy wrote: > On 2/23/2021 10:47 AM, Mike Rapoport wrote: > > It now crashes here: > > [    0.051019] ACPI: Early table checksum verification disabled > [    0.056721] ACPI: RSDP 0xBFBFA014 24 (v02 BOCHS ) > [    0.057874] ACPI: XSDT

[GIT PULL] More ACPI updates for v5.12-rc1

2021-02-23 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-5.12-rc1-2 with top-most commit 833a18d0715d97db8fa5e8d7eb614fc143ac78e4 Merge branch 'acpica' on top of commit 2d4eb3317248c55268685e80f692c2eefb485a31 Merge branch 'acpi-messages'

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 12:03 PM Linus Torvalds wrote: > > This is unacceptably slow. If that symbol trimming takes 30% of the > whole kernel build time, it needs to be fixed or removed. I think I'm going to mark TRIM_UNUSED_KSYMS as "depends on BROKEN". There's no way I can accept that horrible

Re: [PATCH RFC 2/4] signal: Introduce TRAP_PERF si_code and si_perf to siginfo

2021-02-23 Thread Arnd Bergmann
On Tue, Feb 23, 2021 at 7:01 PM Geert Uytterhoeven wrote: > > On Tue, Feb 23, 2021 at 3:52 PM Marco Elver wrote: > > Introduces the TRAP_PERF si_code, and associated siginfo_t field > > si_perf. These will be used by the perf event subsystem to send signals > > (if requested) to the task where an

[GIT PULL] More power management updates for v5.12-rc1

2021-02-23 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-5.12-rc1-2 with top-most commit 08c2a406b974eea893dd9b2f159d715f2b15c683 Merge branches 'pm-cpufreq' and 'pm-opp' on top of commit a9a939cb34dfffb9f43b988a681d2566ca157b74 Merge branc

Re: [PATCH] lib: vsprintf: check for NULL device_node name in device_node_string()

2021-02-23 Thread Enrico Weigelt, metux IT consult
On 17.02.21 14:50, Andy Shevchenko wrote: On Wed, Feb 17, 2021 at 01:15:43PM +0100, Enrico Weigelt, metux IT consult wrote: Under rare circumstances it may happen that a device node's name is NULL (most likely kernel bug in some other place). What circumstances? How can I reproduce this? More

Re: [PATCH v3 5/6] platform/x86: Add intel_skl_int3472 driver

2021-02-23 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Mon, Feb 22, 2021 at 01:07:34PM +, Daniel Scally wrote: > ACPI devices with _HID INT3472 are currently matched to the tps68470 > driver, however this does not cover all situations in which that _HID > occurs. We've encountered three possibilities: > > 1

Re: [PATCH v2] leds: apu: extend support for PC Engines APU1 with newer firmware

2021-02-23 Thread Enrico Weigelt, metux IT consult
On 19.02.21 21:51, Zbyněk Kocur wrote: Hi Zbyněk, Thanks for adding to the discussion. I tested the proposed modification on APU1 with different versions of bios. The LED subsystem now behaves the same as the APU2 and higher. If it needs more tests on various boards from PCengines, I'm avai

[PATCH net-next v3 2/3] net: ethernet: rmnet: Support for downlink MAPv5 checksum offload

2021-02-23 Thread Sharath Chandra Vurukala
Adding support for processing of Mapv5 downlink packets. It involves parsing the Mapv5 packet and checking the csum header to know whether the hardware has validated the checksum and is valid or not. Based on the checksum valid bit the corresponding stats are incremented and skb->ip_summed is mark

Re: [PATCH] asm-generic/ioctl.h: use BUILD_BUG_ON_ZERO() for type check

2021-02-23 Thread Arnd Bergmann
On Tue, Feb 23, 2021 at 11:06 AM Masahiro Yamada wrote: > > -#ifdef __CHECKER__ > -#define _IOC_TYPECHECK(t) (sizeof(t)) > -#else > /* provoke compile error for invalid uses of size argument */ > -extern unsigned int __invalid_size_argument_for_IOC; > +#undef _IOC_TYPECHECK > #define _IOC_TYPEC

[PATCH net-next v3 1/3] docs: networking: Add documentation for MAPv5

2021-02-23 Thread Sharath Chandra Vurukala
Adding documentation explaining the new MAPv5 packet format and the corresponding checksum offload header. Signed-off-by: Sharath Chandra Vurukala --- .../device_drivers/cellular/qualcomm/rmnet.rst | 53 -- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a/D

Re: [PATCH RFC 0/4] Add support for synchronous signals on perf events

2021-02-23 Thread Marco Elver
On Tue, 23 Feb 2021 at 15:34, Marco Elver wrote: > > The perf subsystem today unifies various tracing and monitoring > features, from both software and hardware. One benefit of the perf > subsystem is automatically inheriting events to child tasks, which > enables process-wide events monitoring wi

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 12:01 PM Christoph Hellwig wrote: > > Does your build now enable TRIM_UNUSED_KSYMS but previously didn't by > chance? Crossed emails. This is plain "make allmodconfig", so yes, now it will enable TRIM_UNUSED_KSYMS. This is unacceptably slow. If that symbol trimming takes

[PATCH net-next v3 0/3] net: qualcomm: rmnet: Enable Mapv5

2021-02-23 Thread Sharath Chandra Vurukala
This series introduces the MAPv5 packet format. Patch 0 documents the MAPv5. Patch 1 introduces the Mapv5 and the Inline checksum offload for RX. Patch 2 introduces the Mapv5 and the Inline checksum offload for TX. A new checksum header format is used as part of MAPv5. For RX checksum offload, th

[PATCH net-next v3 3/3] net: ethernet: rmnet: Add support for Mapv5 uplink packet

2021-02-23 Thread Sharath Chandra Vurukala
Adding Support for Mapv5 uplink packet. Based on the configuration, request HW for csum offload, by setting the csum_valid_required of Mapv5 packet. Signed-off-by: Sharath Chandra Vurukala --- drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h | 4 +- .../net/ethernet/qualcomm/rmnet/rmnet_handl

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 11:55 AM Linus Torvalds wrote: > > I don't see quite what is wrong, but bisection is clear, and points > the finger at > > 367948220fce "module: remove EXPORT_UNUSED_SYMBOL*" > > which looks entirely trivial, but clearly isn't. > > It's repeatable. That commit slows dow

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread Christoph Hellwig
On Tue, Feb 23, 2021 at 11:55:50AM -0800, Linus Torvalds wrote: > On Tue, Feb 23, 2021 at 10:42 AM Linus Torvalds > wrote: > > > > I think there is something horribly wrong in my tree, and my build > > process is now about 30% slower. It went from 5+ minutes to 8+ > > minutes. The main suspect wou

Re: [PATCH] Revert "ARM: dts: exynos: Remove 'opp-shared' from Exynos4412 bus OPP-tables"

2021-02-23 Thread Krzysztof Kozlowski
On Tue, Feb 23, 2021 at 10:24:41AM +0100, Marek Szyprowski wrote: > Hi Markus, > > On 22.02.2021 10:54, Markus Reichl wrote: > > This reverts commit a23beead41a18c3be3ca409cb52f35bc02e601b9. > > > > I'm running an Odroid-X2 as headless 24/7 server. > > With plain stable 5.10.1 I had 54 up days wit

Re: [PATCH] lib: vsprintf: check for NULL device_node name in device_node_string()

2021-02-23 Thread Enrico Weigelt, metux IT consult
On 18.02.21 13:53, Petr Mladek wrote: Please, use if (check_pointer(&buf, end, p, spec)) return buf; It will print "(null)" instead of the name. It should be enough to inform the user this way. The extra pr_warn() does not help much to localize the problem anyway. And i

Re: [PATCH] driver core: Avoid pointless deferred probe attempts

2021-02-23 Thread Saravana Kannan
On Tue, Feb 23, 2021 at 2:10 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Thu, Feb 18, 2021 at 12:51 AM Saravana Kannan wrote: > > There's no point in adding a device to the deferred probe list if we > > know for sure that it doesn't have a matching driver. So, check if a > > device can m

Re: [PATCH v2 0/7] ARM: mstar: Basic MPLL support

2021-02-23 Thread Arnd Bergmann
On Tue, Feb 23, 2021 at 2:44 AM Daniel Palmer wrote: > > On Thu, 11 Feb 2021 at 14:22, Daniel Palmer wrote: > > Daniel Palmer (7): > > dt-bindings: clk: mstar msc313 mpll binding header > > dt-bindings: clk: mstar msc313 mpll binding description > > clk: fixed: add devm helper for clk_hw_re

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 10:42 AM Linus Torvalds wrote: > > I think there is something horribly wrong in my tree, and my build > process is now about 30% slower. It went from 5+ minutes to 8+ > minutes. The main suspect would be some lack of parallelism. I don't see quite what is wrong, but bisect

Re: [PATCH v4 01/10] arm64: dts: imx8mm-nitrogen-r2: add wifi/bt chip

2021-02-23 Thread Krzysztof Kozlowski
On Tue, Feb 23, 2021 at 08:16:44PM +0100, Adrien Grassein wrote: > Add usdhc3 description which corresponds to the wifi/bt chip > > Signed-off-by: Adrien Grassein > --- > .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 38 +++ > 1 file changed, 38 insertions(+) > Reviewed-by: K

Re: linux-next: Tree for Feb 23 [drivers/net/wireless/intel/iwlwifi/iwlwifi.ko]

2021-02-23 Thread Randy Dunlap
On 2/22/21 10:35 PM, Stephen Rothwell wrote: > Hi all, > > Please do not add any changes destined for v5.13 to your linux-next > included branches until after v5.12-rc1 has been released. > > Changes since 20210222: > Still seeing this build error on x86_64: ERROR: modpost: "iwl_so_trans_cfg"

Re: [PATCH] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]

2021-02-23 Thread Krzysztof Kozlowski
On Tue, Feb 23, 2021 at 07:38:21PM +, Colin King wrote: > From: Colin Ian King > > Currently the array gpmc_cs is indexed by cs before it cs is range checked > and the pointer read from this out-of-index read is dereferenced. Fix this > by performing the range check on cs before the read and

Re: [PATCH] perf annotate: add --demangle and --demangle-kernel

2021-02-23 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 22, 2021 at 09:29:22AM +0100, Martin Liška escreveu: > Perf annotate supports --symbol but it's impossible to filter > a C++ symbol. With --no-demangle one can filter easily by > mangled function name. > > Signed-off-by: Martin Liška > --- > tools/perf/Documentation/perf-annotate.txt

Re: [PATCH] perf annotate: improve --stdio mode

2021-02-23 Thread Arnaldo Carvalho de Melo
Em Sun, Feb 21, 2021 at 01:46:36PM +0100, Martin Liška escreveu: > The patch changes the output format in 2 ways: > - line number is displayed for all source lines (matching TUI mode) Are you aware of 'perf annotate --stdio2' ? If the goal is to make the stdio mode better, doing it in that mode wo

Re: 'perf probe' and symbols from .text.

2021-02-23 Thread Josh Poimboeuf
On Tue, Feb 23, 2021 at 04:36:19PM +0900, Masami Hiramatsu wrote: > On Tue, 23 Feb 2021 10:23:31 +0900 > Masami Hiramatsu wrote: > > > On Mon, 22 Feb 2021 11:51:50 -0600 > > Josh Poimboeuf wrote: > > > > > On Tue, Feb 23, 2021 at 12:05:08AM +0900, Masami Hiramatsu wrote: > > > > > Of course, on

Re: [PATCH] mtd: rawnand: qcom: update last code word register

2021-02-23 Thread mdalam
On 2021-02-23 22:04, Miquel Raynal wrote: Hello, Md Sadre Alam wrote on Tue, 23 Feb 2021 01:34:27 +0530: From QPIC version 2.0 onwards new register got added to read last a new codeword. This change will add the READ_LOCATION_LAST_CW_n register.

[PATCH 2/5] mtd: rawnand: qcom: Add helper to check last code word

2021-02-23 Thread Md Sadre Alam
Add the qcom_nandc_is_last_cw() helper which checks if the input cw index is the last one or not. Signed-off-by: Md Sadre Alam --- drivers/mtd/nand/raw/qcom_nandc.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/driv

[PATCH 1/5] mtd: rawnand: qcom: Convert nandc to chip in Read/Write helper

2021-02-23 Thread Md Sadre Alam
This change will convert nandc to chip in Read/Write helper, this change is needed because if we wnated to access number of steps in Read/Write helper then we need to get the chip->ecc.steps, currentlly its not possible.After this change we can directly acces chip->ecc.steps in Read/Write helper.

[PATCH 5/5] mtd: rawnand: qcom: update last code word register

2021-02-23 Thread Md Sadre Alam
>From QPIC v2 onwards a new register got added to read last code word.Add support for this READ_LOCATION_LAST_CW_n register. In the case of QPIC v2, codewords 0, 1 and 2 will be accessed through READ_LOCATION_n, while codeword 3 will be accessed through READ_LOCATION_LAST_CW_n. Signed-off-by: Md

[PATCH 4/5] mtd: rawnand: qcom: Add helper to configure location register

2021-02-23 Thread Md Sadre Alam
Create a nandc_set_read_loc() helper to abstract the configuration of the location register. QPIC v2 onwards features a separate location register for the last codeword, so introducing this extra helper which will simplify the addition of QPIC v2 support. Signed-off-by: Md Sadre Alam --- driver

[PATCH 3/5] mtd: rawnand: qcom: Rename parameter name in macro

2021-02-23 Thread Md Sadre Alam
Rename the parameters of the nandc_set_read_loc() macro to avoid the confusion between is_last_read_loc which is last location in a read code word and last_cw which is last code word of a page data. Signed-off-by: Md Sadre Alam --- drivers/mtd/nand/raw/qcom_nandc.c | 8 1 file changed,

[PATCH] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]

2021-02-23 Thread Colin King
From: Colin Ian King Currently the array gpmc_cs is indexed by cs before it cs is range checked and the pointer read from this out-of-index read is dereferenced. Fix this by performing the range check on cs before the read and the following pointer dereference. Addresses-Coverity: ("Negative arr

[GIT PULL] GFS2 changes for 5.12

2021-02-23 Thread Andreas Gruenbacher
Hi Linus, please consider pulling the following gfs2 changes for 5.12. My apologies for the late request; we ended up getting stuck with two broken patches that have now both been removed. Thanks a lot, Andreas The following changes since commit 19c329f6808995b142b3966301f217c831e7cf31: Linu

Re: [PATCH] vdpa/mlx5: set_features should allow reset to zero

2021-02-23 Thread Si-Wei Liu
On 2/23/2021 5:26 AM, Michael S. Tsirkin wrote: On Tue, Feb 23, 2021 at 10:03:57AM +0800, Jason Wang wrote: On 2021/2/23 9:12 上午, Si-Wei Liu wrote: On 2/21/2021 11:34 PM, Michael S. Tsirkin wrote: On Mon, Feb 22, 2021 at 12:14:17PM +0800, Jason Wang wrote: On 2021/2/19 7:54 下午, Si-Wei Liu

Re: [PATCH] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()

2021-02-23 Thread Jarkko Sakkinen
On Tue, Feb 23, 2021 at 11:20:55AM -0800, Dave Hansen wrote: > On 2/23/21 11:17 AM, Jarkko Sakkinen wrote: > > Instead, let's just: > > > > 1. Have a global sgx_free_epc_list and remove sgx_epc_section. > >Pages from this are allocated from this in LIFO fashion. > > 2. Instead add struct list_

Re: [PATCH 1/2] dt-bindings: interrupt-controller: document BCM6345 external interrupt controller

2021-02-23 Thread Rob Herring
On Tue, 23 Feb 2021 19:08:39 +0100, Álvaro Fernández Rojas wrote: > Document the binding for the BCM6345 external interrupt controller. > > Signed-off-by: Álvaro Fernández Rojas > Signed-off-by: Jonas Gorski > --- > .../brcm,bcm6345-ext-intc.yaml| 61 +++ > 1

Re: [PATCH 1/8] dt-bindings: clk: mstar msc313 cpupll binding description

2021-02-23 Thread Rob Herring
On Tue, 23 Feb 2021 15:18:23 +0900, Daniel Palmer wrote: > Add a binding description for the MStar/SigmaStar CPU PLL block. > > Signed-off-by: Daniel Palmer > --- > .../bindings/clock/mstar,msc313-cpupll.yaml | 45 +++ > 1 file changed, 45 insertions(+) > create mode 100644 >

Re: [PATCH v3 1/2] dt-bindings: rng: bcm2835: document reset support

2021-02-23 Thread Rob Herring
On Tue, 23 Feb 2021 18:00:05 +0100, Álvaro Fernández Rojas wrote: > Some devices may need to perform a reset before using the RNG, such as the > BCM6368. > > Signed-off-by: Álvaro Fernández Rojas > --- > v3: make resets required if brcm,bcm6368-rng. > v2: document reset support. > > .../d

Re: [PATCH v10 2/5] sched: CGroup tagging interface for core scheduling

2021-02-23 Thread Chris Hyser
On 2/23/21 4:05 AM, Peter Zijlstra wrote: On Mon, Feb 22, 2021 at 11:00:37PM -0500, Chris Hyser wrote: On 1/22/21 8:17 PM, Joel Fernandes (Google) wrote: While trying to test the new prctl() code I'm working on, I ran into a bug I chased back into this v10 code. Under a fair amount of stress, wh

Re: [PATCH v1 1/1] i2c: cht-wc: Use fwnode for the controller and IRQ domain

2021-02-23 Thread Hans de Goede
Hi, On 2/23/21 6:22 PM, Andy Shevchenko wrote: > It's better to describe the I²C controller and associated IRQ domain with > fwnode, so they will find their place in the hierarchy in sysfs and also > make easier to debug. > > Signed-off-by: Andy Shevchenko > --- > > Hans, unfortunately I have n

Re: [PATCH v4 bpf-next 1/6] bpf: enable task local storage for tracing programs

2021-02-23 Thread Martin KaFai Lau
On Mon, Feb 22, 2021 at 05:20:09PM -0800, Song Liu wrote: [ ... ] > diff --git a/kernel/bpf/bpf_task_storage.c b/kernel/bpf/bpf_task_storage.c > index e0da0258b732d..2034019966d44 100644 > --- a/kernel/bpf/bpf_task_storage.c > +++ b/kernel/bpf/bpf_task_storage.c > @@ -15,7 +15,6 @@ > #include >

Re: [GIT PULL] Kmap conversions for 5.12

2021-02-23 Thread Ira Weiny
On Tue, Feb 23, 2021 at 09:13:42AM -0800, Linus Torvalds wrote: > On Tue, Feb 23, 2021 at 7:03 AM David Sterba wrote: > > Ira Weiny (8): > > iov_iter: Remove memzero_page() in favor of zero_user() > > Ugh. I absolutely _detest_ this patch. Sorry. > > "zero_user()" is a completely horrend

[tip:master] BUILD SUCCESS f1bc6ab4a2b38f3dcf24dc29fb79d5a520f4845d

2021-02-23 Thread kernel test robot
onfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20210223 i386 randconfig-a006-20210223 i386 randconfig-a004-202

Re: [PATCH 2/2] usb: host: ehci-platform: add ignore-oc DT support

2021-02-23 Thread kernel test robot
Hi "Álvaro, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v5.11 next-20210223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' a

Re: [PATCH] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()

2021-02-23 Thread Dave Hansen
On 2/23/21 11:17 AM, Jarkko Sakkinen wrote: > Instead, let's just: > > 1. Have a global sgx_free_epc_list and remove sgx_epc_section. >Pages from this are allocated from this in LIFO fashion. > 2. Instead add struct list_head node_list and use that for node >associated pages. > 3. Replace

Re: [RFC PATCH v1 1/1] arm64: Unwinder enhancements for reliable stack trace

2021-02-23 Thread Madhavan T. Venkataraman
On 2/23/21 1:02 PM, Mark Brown wrote: > On Tue, Feb 23, 2021 at 12:12:43PM -0600, madve...@linux.microsoft.com wrote: >> From: "Madhavan T. Venkataraman" >> >> Unwinder changes >> > > This is making several different changes so should be split into a patch > series - for examp

[PATCH][next] drm/i915/hdcp: Fix null pointer dereference of connector->encoder

2021-02-23 Thread Colin King
From: Colin Ian King The recent commit 6c63e6e14da7 ("drm/i915/hdcp: No HDCP when encoder is't initialized") added a null pointer check on connector->encoder hence implying that it could potentially be null. This means that the initialization of dig_port via the call intel_attached_dig_port may

[PATCH v4 09/10] arm64: dts: imx8mm-nitrogen-r2: add audio

2021-02-23 Thread Adrien Grassein
Add audio description and pin muxing. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2

[PATCH v4 06/10] arm64: dts: imx8mm-nitrogen-r2: rework UART 2

2021-02-23 Thread Adrien Grassein
Remove useless clocks in UART 2 Signed-off-by: Adrien Grassein Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/boot/dts/freescale/imx

[PATCH v4 10/10] arm64: defconfig: Enable wm8960 audio driver.

2021-02-23 Thread Adrien Grassein
This driver is used by the Nitrogen8m Mini SBC. Signed-off-by: Adrien Grassein Reviewed-by: Krzysztof Kozlowski --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 292c00f893fc..bd310e91d4ed 10064

[PATCH v4 08/10] arm64: dts: imx8mm-nitrogen-r2: add FlexSPI

2021-02-23 Thread Adrien Grassein
Add FlexSPI description an pin muxing. Signed-off-by: Adrien Grassein Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/bo

[PATCH v4 07/10] arm64: dts: imx8mm-nitrogen-r2: add PWMs

2021-02-23 Thread Adrien Grassein
Add description for the four PWMs. Signed-off-by: Adrien Grassein Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 51 +++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/boot/d

[PATCH v4 05/10] arm64: dts: imx8mm-nitrogen-r2: add UARTs

2021-02-23 Thread Adrien Grassein
Add description and pin muxing for UARTs. Signed-off-by: Adrien Grassein Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64

Re: [PATCH] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()

2021-02-23 Thread Jarkko Sakkinen
On Sun, Feb 21, 2021 at 04:54:33PM -0800, Dave Hansen wrote: > > +/* Nodes with one or more EPC sections. */ > > +static nodemask_t sgx_numa_mask; > > I'd also add that this is for optimization only. > > > +/* Array of lists of EPC sections for each NUMA node. */ > > +struct list_head *sgx_numa_n

arch/x86/include/asm/syscall_wrapper.h:40:2: warning: no previous prototype for '__x32_compat_sys_io_setup'

2021-02-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3b9cdafb5358eb9f3790de2f728f765fef100731 commit: 6cc8d2b286d9e7168d72e342d1b031317cd7752b x86/entry: Refactor COND_SYSCALL macros date: 11 months ago config: x86_64-randconfig-r012-20210223 (attached as

[PATCH v4 03/10] arm64: dts: imx8mm-nitrogen-r2: add USB support

2021-02-23 Thread Adrien Grassein
Add description of USB. usbotg2 seems to not working on all boards (including ones from variscite). Signed-off-by: Adrien Grassein Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm

[PATCH v4 01/10] arm64: dts: imx8mm-nitrogen-r2: add wifi/bt chip

2021-02-23 Thread Adrien Grassein
Add usdhc3 description which corresponds to the wifi/bt chip Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mm-nitrogen-r2.dts | 38 +++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts b/arch/arm64/boot/dts/frees

[PATCH v4 00/10] Add peripheral support for imx8mm-nitrogen-r2 board

2021-02-23 Thread Adrien Grassein
Hi, this patch set is to add several peripheral support for the imx8mm-nitrogen-r2 board. Thanks, Update in v2: - Fix some typo found in v1; - Fix UART description Update in v3 - Fix wlan vqmcc regulator; - Remove useless clock node; - Split UART patch Update in v4 - Fix audio bind

[PATCH v4 02/10] arm64: dts: imx8mm-nitrogen-r2: rework USDHC1

2021-02-23 Thread Adrien Grassein
Add VMMC and VQMMC description for USDHC1 (eMMC). There are comming directly from the alimentation stage, so add the vref_3V3 fixed regulator. Signed-off-by: Adrien Grassein --- arch/arm64/boot/dts/freescale/imx8mm-nitrogen-r2.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch

[PATCH v4 2/2] s390/kvm: VSIE: correctly handle MVPG when in VSIE

2021-02-23 Thread Claudio Imbrenda
Correctly handle the MVPG instruction when issued by a VSIE guest. Fixes: a3508fbe9dc6d ("KVM: s390: vsie: initial support for nested virtualization") Cc: sta...@vger.kernel.org Signed-off-by: Claudio Imbrenda Acked-by: Janosch Frank --- arch/s390/kvm/vsie.c | 93 ++

Re: [PATCH] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()

2021-02-23 Thread Dave Hansen
On 2/21/21 4:54 PM, Dave Hansen wrote: > Instead of having a for-each-section loop, I'd make it for-each-node -> > for-each-section. Something like: > > for (i = 0; i < num_possible_nodes(); i++) { > node = (numa_node_id() + i) % num_possible_nodes() > >

[PATCH v4 1/2] s390/kvm: extend kvm_s390_shadow_fault to return entry pointer

2021-02-23 Thread Claudio Imbrenda
Extend kvm_s390_shadow_fault to return the pointer to the valid leaf DAT table entry, or to the invalid entry. Also return some flags in the lower bits of the address: PEI_DAT_PROT: indicates that DAT protection applies because of the protection bit in the segment (or, if EDAT, regio

[PATCH v4 0/2] s390/kvm: fix MVPG when in VSIE

2021-02-23 Thread Claudio Imbrenda
The current handling of the MVPG instruction when executed in a nested guest is wrong, and can lead to the nested guest hanging. This patchset fixes the behaviour to be more architecturally correct, and fixes the hangs observed. v3->v4 * added PEI_ prefix to DAT_PROT and NOT_PTE macros * added sm

Re: [PATCH v2 1/8] arm64: dts: imx8mm-nitrogen-r2: add wifi/bt chip

2021-02-23 Thread Krzysztof Kozlowski
On Tue, 23 Feb 2021 at 11:45, Adrien Grassein wrote: > > > > > > > > I would assume this goes from PMIC, so check your schematics. There is > > > > little point in adding a fixed regulator which is non-controllable. > > > > > > No, the 1.8V is issued directly from the alimentation stage. > > > So

Re: [RFC PATCH v1 1/1] arm64: Unwinder enhancements for reliable stack trace

2021-02-23 Thread Mark Brown
On Tue, Feb 23, 2021 at 12:12:43PM -0600, madve...@linux.microsoft.com wrote: > From: "Madhavan T. Venkataraman" > > Unwinder changes > This is making several different changes so should be split into a patch series - for example the change to terminate on a specific function po

5.?? regression: strace testsuite OOpses kernel on ia64

2021-02-23 Thread Sergei Trofimovich
The crash seems to be related to sock_filter-v test from strace: https://github.com/strace/strace/blob/master/tests/seccomp-filter-v.c Here is an OOps: [ 818.089904] BUG: Bad page map in process sock_filter-v pte:0001 pmd:118580001 [ 818.089904] page:e6a429c8 refcount:1 mapcou

Re: [PATCH] mm: memcontrol: fix slub memory accounting

2021-02-23 Thread Michal Koutný
On Tue, Feb 23, 2021 at 05:24:23PM +0800, Muchun Song wrote: > mm/slab_common.c | 4 ++-- > mm/slub.c| 8 > 2 files changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Michal Koutný signature.asc Description: Digital signature

Re: [GIT PULL] Modules updates for v5.12

2021-02-23 Thread Linus Torvalds
On Tue, Feb 23, 2021 at 10:26 AM Linus Torvalds wrote: > > On Tue, Feb 23, 2021 at 7:42 AM Jessica Yu wrote: > > > > Please pull below to receive modules updates for the v5.12 merge window. > > Pulled. Actually, I take that back. I think there is something horribly wrong in my tree, and my buil

[PATCHv1 0/4] Bx50v3 DT improvements

2021-02-23 Thread Sebastian Reichel
Hi, These are a bunch of small unrelated improvements for the GE Bx50v3 device tree (and BA16 system on module, which is currently only used by Bx50v3). Thanks for reviewing/merging them, -- Sebastian Ian Ray (1): ARM: dts: imx: bx50v3: Define GPIO line names Sebastian Reichel (3): ARM: dt

[PATCHv1 1/4] ARM: dts: imx: ba16: add USB OTG VBUS enable GPIO

2021-02-23 Thread Sebastian Reichel
Add VBUS regulator GPIO information, so that USB OTG port can also be used in host mode. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-ba16.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi i

<    1   2   3   4   5   6   7   8   9   10   >