Re: [PATCH v6 3/4] drm/panfrost: devfreq: Disable devfreq when num_supplies > 1

2021-01-04 Thread Alyssa Rosenzweig
> GPUs with more than a single regulator (e.g. G-57 on MT8183) will G72 signature.asc Description: PGP signature

[GIT PULL] Networking for 5.11-rc3

2021-01-04 Thread Jakub Kicinski
The following changes since commit d64c6f96ba86bd8b97ed8d6762a8c8cc1770d214: Merge tag 'net-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2020-12-17 13:45:24 -0800) are available in the Git repository at:

Re: [PATCH v2 01/16] rpmsg: introduce RPMsg control driver for channel creation

2021-01-04 Thread Bjorn Andersson
On Tue 22 Dec 04:57 CST 2020, Arnaud Pouliquen wrote: > The RPMsg_ctrl driver is a duplication of the ioctrl part of the > rpmsg_char driver to make generic the ioctl to manage channels by > the userspace applications. > > As a first step, this driver just creates the /dev/rpmsg_ctl > ( is the

Re: [EXTERNAL] PROBLEM: commit f36a74b9345a leads to not booting system with AMD 2990WX

2021-01-04 Thread David Woodhouse
On Tue, 2021-01-05 at 00:05 +0100, Johnathan Smithinovic wrote: > commit f36a74b9345a leads to not booting system with AMD 2990WX > > > When trying to boot 5.11-rc2 as usual the messages of the bootloader stay on > my > screen and not much appears to happen (fans run a bit slower than in GRUB,

Re: [PATCH] [RFC] net: phy: Fix reboot crash if CONFIG_IP_PNP is not set

2021-01-04 Thread Florian Fainelli
On 1/4/21 10:43 AM, Ioana Ciornei wrote: > On Mon, Jan 04, 2021 at 06:31:05PM +0100, Andrew Lunn wrote: >>> The basic rules here should be, if the MDIO bus is registered, it is >>> usable. There are things like PHY statistics, HWMON temperature >>> sensors, etc, DSA switches, all which have a life

Re: [resend/standalone PATCH v4] Add auxiliary bus support

2021-01-04 Thread Jason Gunthorpe
On Mon, Jan 04, 2021 at 09:19:30PM +, Mark Brown wrote: > > Regardless of the shortcut to make everything a struct > > platform_device, I think it was a mistake to put OF devices on > > platform_bus. Those should have remained on some of_bus even if they > > Like I keep saying the same

[PATCH v6 4/4] drm/panfrost: Add mt8183-mali compatible string

2021-01-04 Thread Nicolas Boichat
Add support for MT8183's G-57 Bifrost. Signed-off-by: Nicolas Boichat --- Changes in v6: - Context conflicts, reflow the code. - Use ARRAY_SIZE for power domains too. Changes in v5: - Change power domain name from 2d to core2. Changes in v4: - Add power domain names. Changes in v3: -

[PATCH v6 2/4] arm64: dts: mt8183: Add node for the Mali GPU

2021-01-04 Thread Nicolas Boichat
Add a basic GPU node for mt8183. Signed-off-by: Nicolas Boichat --- The binding we use with out-of-tree Mali drivers includes more clocks, this is used for devfreq: the out-of-tree driver switches clk_mux to clk_sub_parent (26Mhz), adjusts clk_main_parent, then switches clk_mux back to

[PATCH v6 3/4] drm/panfrost: devfreq: Disable devfreq when num_supplies > 1

2021-01-04 Thread Nicolas Boichat
GPUs with more than a single regulator (e.g. G-57 on MT8183) will require platform-specific handling, disable devfreq for now. Signed-off-by: Nicolas Boichat --- Changes in v6: - New change drivers/gpu/drm/panfrost/panfrost_devfreq.c | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v6 1/4] dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183

2021-01-04 Thread Nicolas Boichat
Define a compatible string for the Mali Bifrost GPU found in Mediatek's MT8183 SoCs. Signed-off-by: Nicolas Boichat Reviewed-by: Alyssa Rosenzweig --- Changes in v6: - Rebased, actually tested with recent mesa driver. - No change Changes in v5: - Rename "2d" power domain to "core2"

[PATCH v6 0/4] drm/panfrost: Add support for mt8183 GPU

2021-01-04 Thread Nicolas Boichat
Hi! Follow-up on the v5 [1], things have gotten significantly better in the last 9 months, thanks to the efforts on Bifrost support by the Collabora team (and probably others I'm not aware of). I've been testing this series on a MT8183/kukui device, with a chromeos-5.10 kernel [2], and got basic

Re: [PATCH] powerpc: Handle .text.{hot,unlikely}.* in linker script

2021-01-04 Thread Sedat Dilek
On Mon, Jan 4, 2021 at 9:49 PM Nathan Chancellor wrote: > > Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input > sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM > change [1]. > > After another LLVM change [2], these sections are seen in some PowerPC > builds,

Re: [PATCH mips-next 0/4] MIPS: vmlinux.lds.S sections fix & cleanup

2021-01-04 Thread Nathan Chancellor
On Mon, Jan 04, 2021 at 12:18:10PM +, Alexander Lobakin wrote: > This series hunts the problems discovered after manual enabling of > ARCH_WANT_LD_ORPHAN_WARN, notably the missing PAGE_ALIGNED_DATA() > section affecting VDSO placement (marked for stable). > > Compile and runtime tested on

Re: [f2fs-dev] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2021-01-04 Thread Daeho Jeong
Hi Colin, Thanks for notifying me. We need to just continue without set_page_dirty() and f2fs_put_page(). 2021년 1월 4일 (월) 오후 11:43, Colin Ian King 님이 작성: > > Hi, > > Static analysis using Coverity has detected a potential null pointer > dereference after a null check in the following commit: > >

Re: [PATCH 3/6] mm: hugetlb: fix a race between freeing and dissolving the page

2021-01-04 Thread Mike Kravetz
On 1/3/21 10:58 PM, Muchun Song wrote: > There is a race condition between __free_huge_page() > and dissolve_free_huge_page(). > > CPU0: CPU1: > > // page_count(page) == 1 > put_page(page) > __free_huge_page(page) >

[PATCH] powerpc: Handle .text.{hot,unlikely}.* in linker script

2021-01-04 Thread Nathan Chancellor
Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM change [1]. After another LLVM change [2], these sections are seen in some PowerPC builds, where there is a orphan section warning then build failure: $ make

[PATCH] cpupower: add Makefile dependencies for install targets

2021-01-04 Thread Ivan Babrou
This allows building cpupower in parallel rather than serially. Signed-off-by: Ivan Babrou --- tools/power/cpupower/Makefile | 8 tools/power/cpupower/bench/Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/power/cpupower/Makefile

Re: BTFIDS: FAILED unresolved symbol udp6_sock

2021-01-04 Thread Andrii Nakryiko
On Sat, Jan 2, 2021 at 3:07 PM Jiri Olsa wrote: > > On Sat, Jan 02, 2021 at 02:25:34PM -0800, Andrii Nakryiko wrote: > > SNIP > > > > > > > so your .config has > > > CONFIG_CRYPTO_DEV_BCM_SPU=y > > > > > > and that defines 'struct device_private' which > > > clashes with the same struct defined

drivers/accessibility/speakup/speakup_keypc.c:268:14: warning: performing pointer arithmetic on a null pointer has undefined behavior

2021-01-04 Thread kernel test robot
Hi Samuel, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 commit: 2067fd92d75b6d9085a43caf050bca5d88c491b8 staging/speakup: Move out of staging date: 5 months ago

Re: [PATCH] x86/compat: Pull huge_encode_dev() outside of UACCESS

2021-01-04 Thread Randy Dunlap
On 1/4/21 3:14 PM, Josh Poimboeuf wrote: > On Mon, Jan 04, 2021 at 11:24:23AM -0600, Josh Poimboeuf wrote: >> On Mon, Jan 04, 2021 at 04:53:47PM +0100, Peter Zijlstra wrote: >>> On Mon, Jan 04, 2021 at 09:31:27AM -0600, Josh Poimboeuf wrote: Peter, care to submit a proper patch? >>> >>> Here

Re: [PATCH 1/2] net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs

2021-01-04 Thread Martin Blumenstingl
Hi Jakub, On Mon, Jan 4, 2021 at 10:52 PM Jakub Kicinski wrote: > > On Sun, 3 Jan 2021 03:12:21 +0100 Martin Blumenstingl wrote: > > Hi Andrew, > > > > On Sun, Jan 3, 2021 at 3:09 AM Andrew Lunn wrote: > > > > > > On Sun, Jan 03, 2021 at 02:25:43AM +0100, Martin Blumenstingl wrote: > > > >

Re: [Aspeed, v1 1/1] net: ftgmac100: Change the order of getting MAC address

2021-01-04 Thread Heiner Kallweit
On 04.01.2021 18:28, Hongwei Zhang wrote: > >> From: Jakub Kicinski >> Sent: Monday, December 28, 2020 5:01 PM >> >> On Tue, 22 Dec 2020 22:00:34 +0100 Andrew Lunn wrote: >>> On Tue, Dec 22, 2020 at 09:46:52PM +0100, Heiner Kallweit wrote: On 22.12.2020 21:14, Hongwei Zhang wrote: >

[PATCH v2] powerpc: Handle .text.{hot,unlikely}.* in linker script

2021-01-04 Thread Nathan Chancellor
Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM change [1]. After another LLVM change [2], these sections are seen in some PowerPC builds, where there is a orphan section warning then build failure: $ make

Re: [PATCH net] net: fix use-after-free when UDP GRO with shared fraglist

2021-01-04 Thread Willem de Bruijn
On Mon, Jan 4, 2021 at 4:00 AM Dongseok Yi wrote: > > skbs in frag_list could be shared by pskb_expand_head() from BPF. Can you elaborate on the BPF connection? > While tcpdump, sk_receive_queue of PF_PACKET has the original frag_list. > But the same frag_list is queued to PF_INET (or PF_INET6)

Re: Time to re-enable Runtime PM per default for PCI devcies?

2021-01-04 Thread Heiner Kallweit
On 04.01.2021 18:39, Lukas Wunner wrote: > On Thu, Dec 31, 2020 at 10:38:12AM +0100, Heiner Kallweit wrote: >> On 31.12.2020 05:07, Lukas Wunner wrote: >>> FWIW, if platform_pci_power_manageable() returns true, it can probably >>> be assumed that allowing runtime PM by default is okay. So as a

Re: [PATCH v4 15/15] ipu3-cio2: Add cio2-bridge to ipu3-cio2 driver

2021-01-04 Thread Daniel Scally
Hi Kieran On 04/01/2021 16:13, Kieran Bingham wrote: > Hi Dan, > > On 04/01/2021 15:31, Daniel Scally wrote: >> Hi Kieran >> >> On 04/01/2021 15:13, Kieran Bingham wrote: >>> Hi Dan, >>> >>> On 04/01/2021 13:55, Daniel Scally wrote: Hi Kieran On 04/01/2021 13:35, Kieran Bingham

[PATCH] software_node: Add kernel-doc comments to exported symbols

2021-01-04 Thread Daniel Scally
A number of functions which are exported via EXPORT_SYMBOL_GPL() lack any kernel-doc comments; add those in so all exported symbols are documented. Signed-off-by: Daniel Scally --- With a view to maybe writing some documentation once the fwnode_graph_*() functions are also added.

Re: [PATCH] percpu: fix clang modpost warning in pcpu_build_alloc_info()

2021-01-04 Thread Nathan Chancellor
On Thu, Dec 31, 2020 at 09:28:52PM +, Dennis Zhou wrote: > This is an unusual situation so I thought it best to explain it in a > separate patch. > > "percpu: reduce the number of cpu distance comparisons" introduces a > dependency on cpumask helper functions in __init code. This code >

Re: [PATCH v2] fs/dax: include to fix build error on ARC

2021-01-04 Thread Matthew Wilcox
On Mon, Jan 04, 2021 at 12:13:02PM -0800, Dan Williams wrote: > On Thu, Dec 31, 2020 at 8:29 PM Randy Dunlap wrote: > > +++ lnx-511-rc1/fs/dax.c > > @@ -25,6 +25,7 @@ > > #include > > #include > > #include > > +#include > > I would expect this to come from one of the linux/ includes like

Re: [PATCH] powerpc: Handle .text.{hot,unlikely}.* in linker script

2021-01-04 Thread Nathan Chancellor
On Mon, Jan 04, 2021 at 09:55:20PM +0100, Sedat Dilek wrote: > On Mon, Jan 4, 2021 at 9:49 PM Nathan Chancellor > wrote: > > > > Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input > > sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM > > change [1]. > > > > After

Re: kernel BUG at mm/page-writeback.c:LINE!

2021-01-04 Thread Linus Torvalds
On Mon, Jan 4, 2021 at 12:41 PM Andrew Morton wrote: > > > > > kernel BUG at mm/page-writeback.c:2241! > > Call Trace: > > mpage_writepages+0xd8/0x230 fs/mpage.c:714 > > do_writepages+0xec/0x290 mm/page-writeback.c:2352 > > __filemap_fdatawrite_range+0x2a1/0x380 mm/filemap.c:422 > >

Re: [PATCH 2/2] spi: rpc-if: Remove CONFIG_PM_SLEEP ifdefery

2021-01-04 Thread Pavel Machek
Hi! > > > > .name = "rpc-if-spi", > > > > - .pm = DEV_PM_OPS, > > > > + .pm = _spi_pm_ops, > > > > You're aware rpcif_spi_pm_ops is now always referenced and thus emitted, > > > increasing kernel size by 92 bytes if CONFIG_PM_SLEEP=n? > > >

Re: Interrupts enabled after amd_iommu_resume+0x0/0x40

2021-01-04 Thread David Woodhouse
On Tue, 2021-01-05 at 00:23 +0100, Borislav Petkov wrote: > On Mon, Jan 04, 2021 at 02:22:50PM +0100, Borislav Petkov wrote: > > Hi folks, > > > > syscore_resume() doesn't like when the AMD iommu driver enables > > interrupts in its ->resume hook when I resume the box from suspend to > > RAM. > >

[PATCH] scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression

2021-01-04 Thread Arnd Bergmann
From: Arnd Bergmann Phil Oester reported that a fix for a possible buffer overrun that I sent caused a regression that manifests in this output: Event Message: A PCI parity error was detected on a component at bus 0 device 5 function 0. Severity: Critical Message ID: PCI1308 The original

Re: [PATCH] ubsan: disable unsigned-integer-overflow sanitizer with clang

2021-01-04 Thread Nathan Chancellor
On Wed, Dec 30, 2020 at 05:13:03PM +0100, Marco Elver wrote: > On Wed, 30 Dec 2020 at 16:47, Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > Building ubsan kernels even for compile-testing introduced these > > warnings in my randconfig environment: > > > >

Re: [PATCH] mm/mremap: fix BUILD_BUG_ON() error in get_extent

2021-01-04 Thread Nathan Chancellor
On Wed, Dec 30, 2020 at 04:40:40PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > clang cannt evaluate this function argument at compile time > when the function is not inlined, which leads to a link > time failure: > > ld.lld: error: undefined symbol: __compiletime_assert_414 > >>>

Re: [PATCH] input: ariel-pwrbutton.c: Remove unused variable ariel_pwrbutton_id_table[]

2021-01-04 Thread Dmitry Torokhov
On Tue, Dec 29, 2020 at 01:15:10PM +0530, Souptick Joarder wrote: > On Tue, Dec 22, 2020 at 1:34 AM Souptick Joarder wrote: > > > > Kernel test robot throws below warning -> > > > > >> drivers/input/misc/ariel-pwrbutton.c:152:35: warning: unused variable > > >> 'ariel_pwrbutton_id_table'

[GIT PULL] afs: Fix directory entry name handling

2021-01-04 Thread David Howells
Hi Linus, Could you pull these two commits, assuming Daniel doesn't object? The first is the fix for the strnlen() array limit check and the second fixes the calculation of the number of dirent records used to represent any particular filename length. I've added Tested-bys for Marc Dionne into

Re: [PATCH] ubsan: disable unsigned-integer-overflow sanitizer with clang

2021-01-04 Thread Nathan Chancellor
On Mon, Jan 04, 2021 at 03:33:33PM -0800, Andrew Morton wrote: > On Mon, 4 Jan 2021 15:33:36 -0700 Nathan Chancellor > wrote: > > > > > +++ b/lib/Kconfig.ubsan > > > > @@ -122,6 +122,8 @@ config UBSAN_SIGNED_OVERFLOW > > > > > > > > config UBSAN_UNSIGNED_OVERFLOW > > > > bool "Perform

Re: [RFC PATCH v3 8/9] md: Implement ->corrupted_range()

2021-01-04 Thread Darrick J. Wong
On Fri, Dec 18, 2020 at 10:11:54AM +0800, Ruan Shiyang wrote: > > > On 2020/12/16 上午4:51, Darrick J. Wong wrote: > > On Tue, Dec 15, 2020 at 08:14:13PM +0800, Shiyang Ruan wrote: > > > With the support of ->rmap(), it is possible to obtain the superblock on > > > a mapped device. > > > > > > If

Re: [PATCH] ubsan: disable unsigned-integer-overflow sanitizer with clang

2021-01-04 Thread Andrew Morton
On Mon, 4 Jan 2021 15:33:36 -0700 Nathan Chancellor wrote: > > > +++ b/lib/Kconfig.ubsan > > > @@ -122,6 +122,8 @@ config UBSAN_SIGNED_OVERFLOW > > > > > > config UBSAN_UNSIGNED_OVERFLOW > > > bool "Perform checking for unsigned arithmetic overflow" > > > + # clang hugely expands

Re: [PATCH v3 0/6] Several changes for the UPIU trace

2021-01-04 Thread Bean Huo
On Tue, 2020-12-15 at 23:18 +0100, Bean Huo wrote: > On Mon, 2020-12-14 at 23:37 +0100, Bean Huo wrote: > > > And another log generated sometime during 2021 after your change > > > is > > > merged: > > > "send" > > > "complete" < response upiu > > > > > > > The current parser won't be

Re: [PATCH 09/10] xfs: Implement ->corrupted_range() for XFS

2021-01-04 Thread Darrick J. Wong
On Thu, Dec 31, 2020 at 12:56:00AM +0800, Shiyang Ruan wrote: > This function is used to handle errors which may cause data lost in > filesystem. Such as memory failure in fsdax mode. > > In XFS, it requires "rmapbt" feature in order to query for files or > metadata which associated to the

Re: [PATCH v9 8/8] selinux: include a consumer of the new IMA critical data hook

2021-01-04 Thread Lakshmi Ramasubramanian
On 12/23/20 1:10 PM, Paul Moore wrote: Hi Paul, ... diff --git a/security/selinux/Makefile b/security/selinux/Makefile index 4d8e0e8adf0b..83d512116341 100644 --- a/security/selinux/Makefile +++ b/security/selinux/Makefile @@ -16,6 +16,8 @@ selinux-$(CONFIG_NETLABEL) += netlabel.o

Re: [PATCH] genirq: add IRQF_NO_AUTOEN for request_irq

2021-01-04 Thread Dmitry Torokhov
On Tue, Jan 05, 2021 at 11:26:12AM +1300, Barry Song wrote: > This patch originated from the discussion with Dmitry in the below thread: > https://lore.kernel.org/linux-input/20210102042902.41664-1-song.bao@hisilicon.com/ > there are many drivers which don't want interrupts enabled

Re: linux-next: build failure after merge of the vfs tree

2021-01-04 Thread Al Viro
On Tue, Jan 05, 2021 at 09:36:16AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > In file included from arch/x86/include/asm/elf.h:8, > from include/linux/elf.h:6, >

Re: [RFC v2 PATCH 4/4] mm: pre zero out free pages to speed up page allocation for __GFP_ZERO

2021-01-04 Thread Dan Williams
On Mon, Jan 4, 2021 at 12:11 PM David Hildenbrand wrote: > > > > Am 04.01.2021 um 20:52 schrieb Dave Hansen : > > > > On 1/4/21 11:27 AM, Matthew Wilcox wrote: > >>> On Mon, Jan 04, 2021 at 11:19:13AM -0800, Dave Hansen wrote: > >>> On 12/21/20 8:30 AM, Liang Li wrote: > ---

Re: drivers/media/pci/intel/ipu3/ipu3-cio2.c:163:56: warning: implicit conversion from 'unsigned long' to 'u16' (aka 'unsigned short') changes value from 131072 to 0

2021-01-04 Thread Sakari Ailus
On Tue, Jan 05, 2021 at 07:16:37AM +0800, kernel test robot wrote: > Hi Andy, > > FYI, the error/warning still remains. The patch is in a pull request to Mauro now: https://lore.kernel.org/linux-media/20210104120612.gb...@valkosipuli.retiisi.org.uk/T/#t> -- Sakari Ailus

Re: [PATCH] mm/page_alloc: remove the static for local variable node_order

2021-01-04 Thread Andrew Morton
On Wed, 30 Dec 2020 12:42:33 + Matthew Wilcox wrote: > On Wed, Dec 30, 2020 at 07:40:14PM +0800, Hui Su wrote: > > local variable node_order do not need the static here. > > It bloody well does. It can be up to 2^10 entries on x86 (and larger > on others) That's 4kB which you've now moved

Re: [PATCH 2/2] spi: rpc-if: Remove CONFIG_PM_SLEEP ifdefery

2021-01-04 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Mon, Jan 4, 2021 at 12:34 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Wed, Dec 30, 2020 at 4:00 PM Lad Prabhakar > wrote: > > Use __maybe_unused for the suspend()/resume() hooks and get rid of > > the CONFIG_PM_SLEEP ifdefery to improve the

[PATCH v4] proc: Allow pid_revalidate() during LOOKUP_RCU

2021-01-04 Thread Stephen Brennan
The pid_revalidate() function drops from RCU into REF lookup mode. When many threads are resolving paths within /proc in parallel, this can result in heavy spinlock contention on d_lockref as each thread tries to grab a reference to the /proc dentry (and drop it shortly thereafter). Investigation

[PATCH v2 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace

2021-01-04 Thread Philip Chen
The top-row keys in a keyboard usually have dual functionalities. E.g. A function key "F1" is also an action key "Browser back". Therefore, when an application receives an action key code from a top-row key press, the application needs to know how to correlate the action key code with the

Re: [PATCH] Documentation/submitting-patches: Add blurb about backtraces in commit messages

2021-01-04 Thread Jonathan Corbet
[Digging out from under the pile of mail...] > From: Borislav Petkov > Date: Tue, 22 Dec 2020 13:58:22 +0100 > > Document that backtraces in commit messages should be trimmed down to > the useful information only. > > This has been carved out from a tip subsystem handbook patchset by > Thomas

drivers/media/pci/intel/ipu3/ipu3-cio2.c:163:56: warning: implicit conversion from 'unsigned long' to 'u16' (aka 'unsigned short') changes value from 131072 to 0

2021-01-04 Thread kernel test robot
Hi Andy, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 commit: 7b285f41f7376dc37e7fad1e803995fd39f42848 media: ipu3-cio2: Introduce CIO2_LOP_ENTRIES constant date: 4

[PATCH v2 1/2] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-04 Thread Philip Chen
This patch adds a new property `function-row-physmap` to the device tree for the custom keyboard top row design. The property describes the rows/columns of the top row keys from left to right. Signed-off-by: Philip Chen --- Changes in v2: - add `function-row-physmap` instead of

Re: [PATCH] x86/compat: Pull huge_encode_dev() outside of UACCESS

2021-01-04 Thread Josh Poimboeuf
On Mon, Jan 04, 2021 at 11:24:23AM -0600, Josh Poimboeuf wrote: > On Mon, Jan 04, 2021 at 04:53:47PM +0100, Peter Zijlstra wrote: > > On Mon, Jan 04, 2021 at 09:31:27AM -0600, Josh Poimboeuf wrote: > > > Peter, care to submit a proper patch? > > > > Here goes.. > > > > --- > > Subject:

[PATCH] drm/ttm: Remove pinned bos from LRU in ttm_bo_move_to_lru_tail()

2021-01-04 Thread Lyude Paul
Recently a regression was introduced which caused TTM's buffer eviction to attempt to evict already-pinned BOs, causing issues with buffer eviction under memory pressure along with suspend/resume: nouveau :1f:00.0: DRM: evicting buffers... nouveau :1f:00.0: DRM: Moving pinned object

Re: [PATCH] jffs2: fix use after free in jffs2_sum_write_data()

2021-01-04 Thread Nathan Chancellor
On Wed, Dec 30, 2020 at 06:56:04AM -0800, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis reports this problem > > fs/jffs2/summary.c:794:31: warning: Use of memory after it is freed > c->summary->sum_list_head = temp->u.next; >

Re: in_compat_syscall() on x86

2021-01-04 Thread Andy Lutomirski
> On Jan 4, 2021, at 2:36 PM, David Laight wrote: > > From: Eric W. Biederman >> Sent: 04 January 2021 20:41 >> >> Al Viro writes: >> >>> On Mon, Jan 04, 2021 at 12:16:56PM +, David Laight wrote: On x86 in_compat_syscall() is defined as: in_ia32_syscall() ||

Re: [PATCH v4 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-04 Thread Andrew Morton
On Wed, 30 Dec 2020 18:15:30 +0530 vji...@codeaurora.org wrote: > Use STACK_HASH_ORDER_SHIFT to configure STACK_HASH_SIZE. > > Aim is to have configurable value for STACK_HASH_SIZE, > so depend on use case one can configure it. > > One example is of Page Owner, default value of >

Re: [PATCH v3 2/2] Kbuild: implement support for DWARF v5

2021-01-04 Thread Nathan Chancellor
On Thu, Dec 03, 2020 at 05:11:27PM -0800, Nick Desaulniers wrote: > DWARF v5 is the latest standard of the DWARF debug info format. > > Feature detection of DWARF5 is onerous, especially given that we've > removed $(AS), so we must query $(CC) for DWARF5 assembler directive > support. GNU `as`

Re: [PATCH v2 00/16] introduce generic IOCTL interface for RPMsg channels management

2021-01-04 Thread Bjorn Andersson
On Tue 22 Dec 04:57 CST 2020, Arnaud Pouliquen wrote: > This series is a restructuring of the RPMsg char driver, to create a generic > RPMsg ioctl interface for all rpmsg services. > > The RPMsg char driver provides interfaces that: > - expose a char RPMsg device for communication with the

Re: [PATCH v2 1/6] dt-bindings: PCI: Add bindings for Brcmstb EP voltage regulators

2021-01-04 Thread Jim Quinlan
On Wed, Dec 9, 2020 at 10:07 AM Rob Herring wrote: > > On Mon, Nov 30, 2020 at 04:11:38PM -0500, Jim Quinlan wrote: > > Quite similar to the regulator bindings found in "rockchip-pcie-host.txt", > > this allows optional regulators to be attached and controlled by the > > PCIe RC driver. > > > >

Re: [PATCH 1/3] dt-bindings: input: cros-ec-keyb: Add a new property

2021-01-04 Thread Philip Chen
Hi Dmitry, On Sun, Jan 3, 2021 at 2:48 PM Dmitry Torokhov wrote: > > Hi Philip, > > On Sat, Jan 02, 2021 at 10:11:21PM -0800, Philip Chen wrote: > > Hi Dmitry, > > > > I have one more question below. > > Could you take a look? > > > > On Sat, Jan 2, 2021 at 8:53 PM Philip Chen wrote: > > > > >

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2021-01-04 Thread Amir Goldstein
On Mon, Jan 4, 2021 at 5:40 PM Vivek Goyal wrote: > > On Mon, Jan 04, 2021 at 05:22:07PM +0200, Amir Goldstein wrote: > > > > Since Jeff's patch is minimal, I think that it should be the fix applied > > > > first and proposed for stable (with adaptations for non-volatile > > > > overlay). > > >

Re: [PATCH v3 1/2] Kbuild: make DWARF version a choice

2021-01-04 Thread Nathan Chancellor
On Thu, Dec 03, 2020 at 05:11:26PM -0800, 'Nick Desaulniers' via Clang Built Linux wrote: > Modifies CONFIG_DEBUG_INFO_DWARF4 to be a member of a choice. Adds an > explicit CONFIG_DEBUG_INFO_DWARF2, which is the default. Does so in a > way that's forward compatible with existing configs, and

Re: [PATCH v2] bug: further enhance use of CHECK_DATA_CORRUPTION

2021-01-04 Thread Josh Poimboeuf
On Tue, Apr 04, 2017 at 03:12:11PM -0700, Kees Cook wrote: > This continues in applying the CHECK_DATA_CORRUPTION tests where > appropriate, and pulling similar CONFIGs under the same check. Most > notably, this adds the checks to refcount_t so that system builders can > Oops their kernels when

arc-elf-ld: undefined reference to `__irqentry_text_start'

2021-01-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 commit: 505a0ef15f96c6c43ec719c9fc1833d98957bb39 kasan: stackdepot: move filter_irq_stacks() to stackdepot.c date: 9 months ago config:

[GIT PULL] afs: Fix directory entry name handling

2021-01-04 Thread David Howells
Hi Linus, Could you pull these two commits, assuming Daniel doesn't object? The first is the fix for the strnlen() array limit check and the second fixes the calculation of the number of dirent records used to represent any particular filename length. I've added Tested-bys for Marc Dionne into

PROBLEM: commit f36a74b9345a leads to not booting system with AMD 2990WX

2021-01-04 Thread Johnathan Smithinovic
commit f36a74b9345a leads to not booting system with AMD 2990WX When trying to boot 5.11-rc2 as usual the messages of the bootloader stay on my screen and not much appears to happen (fans run a bit slower than in GRUB, devices don't seem to get accessed). Without this commit everything seems to

Re: [PATCH 5.10 01/63] net/sched: sch_taprio: reset child qdiscs before freeing them

2021-01-04 Thread Jakub Kicinski
On Mon, 4 Jan 2021 17:58:27 -0500 Sasha Levin wrote: > On Mon, Jan 04, 2021 at 04:56:54PM +0100, Greg Kroah-Hartman wrote: > >From: Davide Caratti > > > >[ Upstream commit 44d4775ca51805b376a8db5b34f650434a08e556 ] > > > >syzkaller shows that packets can still be dequeued while taprio_destroy() >

reproducible BUG() in kvm_mmu_get_root() in TDP MMU

2021-01-04 Thread Maciej S. Szmigiero
Hi, I am hitting a reproducible BUG() with KVM TDP MMU. The reproducer based on set_memory_region_test.c from KVM selftests is available here: https://gist.github.com/maciejsszmigiero/890218151c242d99f63ea0825334c6c0 The test simply moves a memslot a bit back and forth on the host while the

[PATCH] dt-bindings: Add missing array size constraints

2021-01-04 Thread Rob Herring
DT properties which can have multiple entries need to specify what the entries are and define how many entries there can be. In the case of only a single entry, just 'maxItems: 1' is sufficient. Add the missing entry constraints. These were found with a modified meta-schema. Unfortunately, there

Re: [RFC v2 PATCH 4/4] mm: pre zero out free pages to speed up page allocation for __GFP_ZERO

2021-01-04 Thread Dave Hansen
On 1/4/21 12:11 PM, David Hildenbrand wrote: >> Yeah, it certainly can't be the default, but it *is* useful for >> thing where we know that there are no cache benefits to zeroing >> close to where the memory is allocated. >> >> The trick is opting into it somehow, either in a process or a VMA. >>

Re: [PATCH 5.10 01/63] net/sched: sch_taprio: reset child qdiscs before freeing them

2021-01-04 Thread Sasha Levin
On Mon, Jan 04, 2021 at 04:56:54PM +0100, Greg Kroah-Hartman wrote: From: Davide Caratti [ Upstream commit 44d4775ca51805b376a8db5b34f650434a08e556 ] syzkaller shows that packets can still be dequeued while taprio_destroy() is running. Let sch_taprio use the reset() function to cancel the

Re: [PATCH] scsi: target/sbp: remove firewire SBP target driver

2021-01-04 Thread Finn Thain
On Mon, 4 Jan 2021, Bart Van Assche wrote: > On 6/16/20 7:07 PM, Finn Thain wrote: > > On Tue, 16 Jun 2020, Bart Van Assche wrote: > >> As far as I know the sbp driver only has had one user ever and that > >> user is no longer user the sbp driver. > > > > So, you estimate the userbase at zero.

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2021-01-04 Thread Vivek Goyal
On Mon, Jan 04, 2021 at 11:42:51PM +0200, Amir Goldstein wrote: > On Mon, Jan 4, 2021 at 5:40 PM Vivek Goyal wrote: > > > > On Mon, Jan 04, 2021 at 05:22:07PM +0200, Amir Goldstein wrote: > > > > > Since Jeff's patch is minimal, I think that it should be the fix > > > > > applied > > > > > first

PROBLEM: Firmware loader fallback mechanism no longer works with sendfile

2021-01-04 Thread Siddharth Gupta
Hi all, With the introduction of the filesystem change "fs: don't allow splice read/write without explicit ops"[1] the fallback mechanism of the firmware loader[2] no longer works when using sendfile[3] from the userspace. Since the binary attributes don't support splice_{read,write}

Re: [PATCH 2/6] hugetlbfs: fix cannot migrate the fallocated HugeTLB page

2021-01-04 Thread Mike Kravetz
On 1/3/21 10:58 PM, Muchun Song wrote: > Because we only can isolate a active page via isolate_huge_page() > and hugetlbfs_fallocate() forget to mark it as active, we cannot > isolate and migrate those pages. > > Fixes: 70c3547e36f5 (hugetlbfs: add hugetlbfs_fallocate()) > Signed-off-by: Muchun

RE: in_compat_syscall() on x86

2021-01-04 Thread David Laight
From: Eric W. Biederman > Sent: 04 January 2021 20:41 > > Al Viro writes: > > > On Mon, Jan 04, 2021 at 12:16:56PM +, David Laight wrote: > >> On x86 in_compat_syscall() is defined as: > >> in_ia32_syscall() || in_x32_syscall() > >> > >> Now in_ia32_syscall() is a simple check of the

linux-next: build failure after merge of the vfs tree

2021-01-04 Thread Stephen Rothwell
STATUS_SIZE and SET_PR_FPVALID") or maybe commit 9866fcab1c65 ("[elfcore-compat][amd64] clean PRSTATUS_SIZE/SET_PR_FPVALID up properly") I have used the vfs tree from next-20210104 for today. -- Cheers, Stephen Rothwell pgpkaiJQMmk3r.pgp Description: OpenPGP digital signature

[PATCH] genirq: add IRQF_NO_AUTOEN for request_irq

2021-01-04 Thread Barry Song
This patch originated from the discussion with Dmitry in the below thread: https://lore.kernel.org/linux-input/20210102042902.41664-1-song.bao@hisilicon.com/ there are many drivers which don't want interrupts enabled automatically due to request_irq(). So they are handling this issue by either

arch/mips/include/asm/mach-rc32434/rb.h:15:14: error: expected identifier before '(' token

2021-01-04 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 commit: 5c57ae64e8bccc693a96b4bbd9b20cc5890aeb69 media: i2c/Kconfig: use sub-menus for I2C support date: 9 months ago config: mips-randconfig-r035-20210105

Re: [PATCH 2/3] scsi: megaraid_sas: check user-provided offsets

2021-01-04 Thread Arnd Bergmann
On Mon, Jan 4, 2021 at 6:48 PM Phil Oester wrote: > > On Sun, Jan 03, 2021 at 05:26:29PM +0100, Arnd Bergmann wrote: > > Thank you for the report and bisecting the issue, and sorry this broke > > your system! > > > > Fortunately, the patch is fairly small, so there are only a limited number > >

[PATCH v2 4/5] ibmvfc: complete commands outside the host/queue lock

2021-01-04 Thread Tyrel Datwyler
Drain the command queue and place all commands on a completion list. Perform command completion on that list outside the host/queue locks. Further, move purged command compeletions outside the host_lock as well. Signed-off-by: Tyrel Datwyler Reviewed-by: Brian King --- Changes in v2: * Changed

Re: [PATCH 0/5] Add KDF implementations to crypto API

2021-01-04 Thread Eric Biggers
On Mon, Jan 04, 2021 at 10:45:57PM +0100, Stephan Müller wrote: > The HKDF addition is used to replace the implementation in the filesystem > crypto extension. This code was tested by using an EXT4 encrypted file > system that was created and contains files written to by the current >

Re: [PATCH 4/5 v2] ibmvfc: relax locking around ibmvfc_queuecommand

2021-01-04 Thread Tyrel Datwyler
On 1/4/21 2:17 PM, Tyrel Datwyler wrote: > The drivers queuecommand routine is still wrapped to hold the host lock > for the duration of the call. This will become problematic when moving > to multiple queues due to the lock contention preventing asynchronous > submissions to mulitple queues.

Re: [PATCH 1/6] mm: migrate: do not migrate HugeTLB page whose refcount is one

2021-01-04 Thread Mike Kravetz
On 1/3/21 10:58 PM, Muchun Song wrote: > If the refcount is one when it is migrated, it means that the page > was freed from under us. So we are done and do not need to migrate. > > Signed-off-by: Muchun Song > --- > mm/migrate.c | 6 ++ > 1 file changed, 6 insertions(+) Thanks!

[PATCH 4/5 v2] ibmvfc: relax locking around ibmvfc_queuecommand

2021-01-04 Thread Tyrel Datwyler
The drivers queuecommand routine is still wrapped to hold the host lock for the duration of the call. This will become problematic when moving to multiple queues due to the lock contention preventing asynchronous submissions to mulitple queues. There is no real legatimate reason to hold the host

Re: [PATCH v3 3/5] checkpatch: kconfig: enforce help text indentation

2021-01-04 Thread Joe Perches
On Sun, 2021-01-03 at 08:50 +0100, Nicolai Fischer wrote: > Adds a new warning in case the indentation level of the > first line of a Kconfig help message is not at least two spaces > higher than the keyword itself. > Blank lines between the message and the help keyword > are ignored. > >

Re: [External] Re: [PATCH 0/2] IdeaPad platform profile support

2021-01-04 Thread Mark Pearson
On 04/01/2021 15:58, Hans de Goede wrote: > Hi, > > On 1/4/21 9:33 PM, Rafael J. Wysocki wrote: >> On Mon, Jan 4, 2021 at 3:36 PM Hans de Goede >> wrote: >>> >>> Hi, >>> >>> On 1/1/21 1:56 PM, Jiaxun Yang wrote: Tested on Lenovo Yoga-14SARE Chinese Edition. > >> Also, on a

[PATCH 1/5] crypto: Add key derivation self-test support code

2021-01-04 Thread Stephan Müller
As a preparation to add the key derivation implementations, the self-test data structure definition and the common test code is made available. The test framework follows the testing applied by the NIST CAVP test approach. The structure of the test code follows the implementations found in

Re: [PATCH net,stable v2] net: cdc_ncm: correct overhead in delayed_ndp_size

2021-01-04 Thread Jakub Kicinski
On Sun, 3 Jan 2021 22:23:09 +0200 Jouni Seppänen wrote: > if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) > - delayed_ndp_size = ALIGN(ctx->max_ndp_size, > ctx->tx_ndp_modulus); > + delayed_ndp_size = ctx->max_ndp_size + > +

Re: [PATCH] fs: Fix freeze_bdev()/thaw_bdev() accounting of bd_fsfreeze_sb

2021-01-04 Thread Darrick J. Wong
On Thu, Dec 24, 2020 at 04:49:54AM +, Satya Tangirala wrote: > freeze/thaw_bdev() currently use bdev->bd_fsfreeze_count to infer > whether or not bdev->bd_fsfreeze_sb is valid (it's valid iff > bd_fsfreeze_count is non-zero). thaw_bdev() doesn't nullify > bd_fsfreeze_sb. > > But this means a

[PATCH 0/5] Add KDF implementations to crypto API

2021-01-04 Thread Stephan Müller
Hi, The key derviation functions are considered to be a cryptographic operation. As cryptographic operations are provided via the kernel crypto API, this patch set consolidates the KDF implementations into the crypto API. The KDF implementations are provided as service functions. Yet, the

[PATCH 2/5] crypto: add SP800-108 counter key derivation function

2021-01-04 Thread Stephan Müller
SP800-108 defines three KDFs - this patch provides the counter KDF implementation. The KDF is implemented as a service function where the caller has to maintain the hash / HMAC state. Apart from this hash/HMAC state, no additional state is required to be maintained by either the caller or the KDF

drivers/irqchip/irq-loongson-liointc.c:134:12: warning: no previous prototype for 'liointc_of_init'

2021-01-04 Thread kernel test robot
Hi Jiaxun, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 commit: dbb152267908c4b2c3639492a94b6838821bc195 irqchip: Add driver for Loongson I/O Local Interrupt Controller

[PATCH 3/5] crypto: add RFC5869 HKDF

2021-01-04 Thread Stephan Müller
RFC5869 specifies an extract and expand two-step key derivation function. The HKDF implementation is provided as a service function that operates on a caller-provided HMAC cipher handle. The caller has to allocate the HMAC cipher and then can invoke the HKDF service functions. The HKDF

[PATCH 4/5] security: DH - use KDF implementation from crypto API

2021-01-04 Thread Stephan Müller
The kernel crypto API provides the SP800-108 counter KDF implementation. Thus, the separate implementation provided as part of the keys subsystem can be replaced with calls to the KDF offered by the kernel crypto API. The keys subsystem uses the counter KDF with a hash cipher primitive. Thus, it

[PATCH 5/5] fs: use HKDF implementation from kernel crypto API

2021-01-04 Thread Stephan Müller
As the kernel crypto API implements HKDF, replace the file-system-specific HKDF implementation with the generic HKDF implementation. Signed-off-by: Stephan Mueller --- fs/crypto/Kconfig | 2 +- fs/crypto/fscrypt_private.h | 4 +- fs/crypto/hkdf.c| 108

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