[PATCH v1] xen: ACPI: Get rid of ACPICA message printing

2021-02-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI_DEBUG_PRINT() macro is used in a few places in xen-acpi-cpuhotplug.c and xen-acpi-memhotplug.c for printing debug messages, but that is questionable, because that macro belongs to ACPICA and it should not be used elsewhere. In addition, ACPI_DEBUG_PRINT() require

Re: d28296d248: stress-ng.sigsegv.ops_per_sec -82.7% regression

2021-02-24 Thread Eric W. Biederman
Alexey Gladkov writes: > On Wed, Feb 24, 2021 at 10:54:17AM -0600, Eric W. Biederman wrote: >> kernel test robot writes: >> >> > Greeting, >> > >> > FYI, we noticed a -82.7% regression of stress-ng.sigsegv.ops_per_sec due >> > to commit: >> > >> > >> > commit: d28296d2484fa11e94dff65e93eb25802

Re: [PATCH] ipv6: Honor route mtu if it is within limit of dev mtu

2021-02-24 Thread Jakub Kicinski
On Mon, 22 Feb 2021 22:02:35 +0530 Kaustubh Pandey wrote: > When netdevice MTU is increased via sysfs, NETDEV_CHANGEMTU is raised. > > addrconf_notify -> rt6_mtu_change -> rt6_mtu_change_route -> > fib6_nh_mtu_change > > As part of handling NETDEV_CHANGEMTU notification we land up on a > conditio

[PATCH] selftests: gpio: update .gitignore

2021-02-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The executable that we build for GPIO selftests was renamed to gpio-mockup-cdev. Let's update .gitignore so that we don't show it as an untracked file. Fixes: 8bc395a6a2e2 ("selftests: gpio: rework and simplify test implementation") Signed-off-by: Bartosz Golaszewski -

Re: [PATCH v6 8/8] bus: mhi: core: Do not clear channel context more than once

2021-02-24 Thread Bhaumik Bhatt
On 2021-02-24 02:10 AM, Manivannan Sadhasivam wrote: On Thu, Feb 04, 2021 at 12:28:06PM -0800, Bhaumik Bhatt wrote: Clearing a channel context can happen twice if the client driver unprepares and reset the channels from the remove() callback from a controller requested MHI power down sequence. I

Re: [RFC PATCH] blk-core: remove blk_put_request()

2021-02-24 Thread Christoph Hellwig
On Wed, Feb 24, 2021 at 09:48:21AM -0700, Jens Axboe wrote: > Would make sense to rename blk_get_request() to blk_mq_alloc_request() > and then we have API symmetry. The get/put don't make sense when there > are no references involved. > > But it's a lot of churn for very little reward, which is a

[PATCH RFC net-next 0/3] Use bulk order-0 page allocator API for page_pool

2021-02-24 Thread Jesper Dangaard Brouer
This is a followup to Mel Gorman's patchset: - Message-Id: <20210224102603.19524-1-mgor...@techsingularity.net> - https://lore.kernel.org/netdev/20210224102603.19524-1-mgor...@techsingularity.net/ Showing page_pool usage of the API for alloc_pages_bulk(). --- Jesper Dangaard Brouer (3):

[PATCH RFC net-next 1/3] net: page_pool: refactor dma_map into own function page_pool_dma_map

2021-02-24 Thread Jesper Dangaard Brouer
In preparation for next patch, move the dma mapping into its own function, as this will make it easier to follow the changes. Signed-off-by: Jesper Dangaard Brouer --- net/core/page_pool.c | 49 + 1 file changed, 29 insertions(+), 20 deletions(-)

[PATCH RFC net-next 2/3] net: page_pool: use alloc_pages_bulk in refill code path

2021-02-24 Thread Jesper Dangaard Brouer
There are cases where the page_pool need to refill with pages from the page allocator. Some workloads cause the page_pool to release pages instead of recycling these pages. For these workload it can improve performance to bulk alloc pages from the page-allocator to refill the alloc cache. For XDP

[PATCH RFC net-next 3/3] mm: make zone->free_area[order] access faster

2021-02-24 Thread Jesper Dangaard Brouer
Avoid multiplication (imul) operations when accessing: zone->free_area[order].nr_free This was really tricky to find. I was puzzled why perf reported that rmqueue_bulk was using 44% of the time in an imul operation: │ del_page_from_free_list(): 44,54 │ e2: imul $0x58,%rax,%rax T

Re: [PATCH v1] platform: x86: ACPI: Get rid of ACPICA message printing

2021-02-24 Thread Hans de Goede
Hi Rafael, On 2/24/21 7:41 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > A few x86 platform drivers use ACPI_DEBUG_PRINT() or ACPI_EXCEPTION() > for printing messages, but that is questionable, because those macros > belong to ACPICA and they should not be used elsewhere. In additi

Re: [PATCH] net: bridge: Fix jump_label config

2021-02-24 Thread Jakub Kicinski
On Wed, 24 Feb 2021 23:38:03 +0800 Kefeng Wang wrote: > HAVE_JUMP_LABLE is removed by commit e9666d10a567 ("jump_label: move > 'asm goto' support test to Kconfig"), use CONFIG_JUMP_LABLE instead > of HAVE_JUMP_LABLE. > > Fixes: 971502d77faa ("bridge: netfilter: unroll NF_HOOK helper in bridge > i

[GIT PULL] PCI changes for v5.12

2021-02-24 Thread Bjorn Helgaas
The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837: Linux 5.11-rc3 (2021-01-10 14:34:50 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git tags/pci-v5.12-changes for you to fetch changes up to 2bd36c391515cb

[PATCH][next] f2fs: Replace one-element array with flexible-array member

2021-02-24 Thread Gustavo A. R. Silva
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. Refacto

Re: [PATCH v2 1/1] riscv/kasan: add KASAN_VMALLOC support

2021-02-24 Thread Alex Ghiti
Hi Nylon, Le 2/22/21 à 12:13 PM, Alex Ghiti a écrit : Le 2/21/21 à 8:37 PM, Nylon Chen a écrit : Hi Alex, Palmer Sorry I missed this message. On Sun, Feb 21, 2021 at 09:38:04PM +0800, Alex Ghiti wrote: Le 2/13/21 à 5:52 AM, Alex Ghiti a écrit : Hi Nylon, Palmer, Le 2/8/21 à 1:28 AM, Alex Gh

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

2021-02-24 Thread Hans de Goede
Hi, On 2/24/21 1:51 PM, Andy Shevchenko wrote: > On Tue, Feb 23, 2021 at 08:25:35PM +0100, Hans de Goede wrote: >> 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

Re: [PATCH] btrfs: Fixed a brace coding style issue

2021-02-24 Thread David Sterba
On Mon, Feb 15, 2021 at 08:38:20PM +0530, Maheep Kumar Kathuria wrote: > Fixed a coding style issue in thresh_exec_hook() > > Signed-off-by: Maheep Kumar Kathuria > --- > fs/btrfs/async-thread.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/fs/btrfs/async-thread.c b

[GIT PULL] hwspinlock updated for v5.12

2021-02-24 Thread Bjorn Andersson
The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/hwlock-v5.12 for you to fetch changes up to b9ddb250

Re: [PATCH 7/7] arm64: dts: qcom: sc7280: Add RPMh regulators for sc7280-idp

2021-02-24 Thread Konrad Dybcio
Hi, > + }; > + > + pm8350c-regulators { > + compatible = "qcom,pm8350c-rpmh-regulators"; > + qcom,pmic-id = "c"; > + vreg_s1c_2p2: smps1 { > + regulator-min-microvolt = <219>; The indentation on "compatible" and "qcom,pmic-id" is off. Konrad

[GIT PULL] remoteproc updates for v5.12

2021-02-24 Thread Bjorn Andersson
The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/rproc-v5.12 for you to fetch changes up to e8b4e9a21

[GIT PULL] rpmsg updates for v5.12

2021-02-24 Thread Bjorn Andersson
The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/rpmsg-v5.12 for you to fetch changes up to 3e35772bc

Re: d28296d248: stress-ng.sigsegv.ops_per_sec -82.7% regression

2021-02-24 Thread Linus Torvalds
On Wed, Feb 24, 2021 at 10:38 AM Alexey Gladkov wrote: > > One of the reasons for this is that I rolled back the patch that changed > the ucounts.count type to atomic_t. Now get_ucounts() is forced to use a > spin_lock to increase the reference count. Yeah, that definitely should be an atomic typ

Re: [PATCH v21 06/26] x86/cet: Add control-protection fault handler

2021-02-24 Thread Borislav Petkov
On Wed, Feb 24, 2021 at 09:56:13AM -0800, Yu, Yu-cheng wrote: > No. Maybe I am doing too much. The GP fault sets si_addr to zero, for > example. So maybe do the same here? No, you're looking at this from the wrong angle. This is going to be user-visible and the moment it gets upstream, it is ca

Re: [GIT PULL] PCI changes for v5.12

2021-02-24 Thread Linus Torvalds
On Wed, Feb 24, 2021 at 11:03 AM Bjorn Helgaas wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.12-changes I pulled this, but I'm now unpulling it again. Why are many of those commits only two hours old, and most of the rest is from yesterday? Has any of

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

2021-02-24 Thread Madhavan T. Venkataraman
On 2/24/21 6:33 AM, Mark Brown wrote: > On Tue, Feb 23, 2021 at 01:20:49PM -0600, Madhavan T. Venkataraman wrote: >> 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: > Reliable stack trace function ===

Re: [PATCH v21 06/26] x86/cet: Add control-protection fault handler

2021-02-24 Thread Andy Lutomirski
On Wed, Feb 24, 2021 at 11:20 AM Borislav Petkov wrote: > > On Wed, Feb 24, 2021 at 09:56:13AM -0800, Yu, Yu-cheng wrote: > > No. Maybe I am doing too much. The GP fault sets si_addr to zero, for > > example. So maybe do the same here? > > No, you're looking at this from the wrong angle. This i

Re: [PATCH] selftests: gpio: update .gitignore

2021-02-24 Thread Kent Gibson
On Wed, Feb 24, 2021 at 07:53:16PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The executable that we build for GPIO selftests was renamed to > gpio-mockup-cdev. Let's update .gitignore so that we don't show it > as an untracked file. > > Fixes: 8bc395a6a2e2 ("selftests: gp

Re: [PATCH net-next] avoid fragmenting page memory with netdev_alloc_cache

2021-02-24 Thread Ronak Doshi
On 2/11/21, 4:18 PM, "Ronak Doshi" wrote: >From: Todd Sabin > >Linux network stack uses an allocation page cache for skbs. The > purpose is to reduce the number of page allocations that it needs to >make, and it works by allocating a group of pages, and then >sub-allocating s

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

2021-02-24 Thread Madhavan T. Venkataraman
On 2/24/21 6:17 AM, Mark Rutland wrote: > Hi Madhavan, > > As Mark Brown says, I think this needs to be split into several > patches. i have some comments on the general approach, but I'll save > in-depth review until this has been split. > OK. > On Tue, Feb 23, 2021 at 12:12:43PM -0600, mad

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

2021-02-24 Thread Rasmus Villemoes
On 24/02/2021 15.40, Masahiro Yamada wrote: > On Wed, Feb 24, 2021 at 5:33 PM Jessica Yu wrote: >> >> +++ Linus Torvalds [23/02/21 12:03 -0800]: >>> 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 chanc

Re: [GIT PULL] hwspinlock updated for v5.12

2021-02-24 Thread pr-tracker-bot
The pull request you sent on Wed, 24 Feb 2021 13:17:15 -0600: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/hwlock-v5.12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/890caa39a95933f6af3ed395f2a8a3db1fb0a85d Thank you! -- Deet-d

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

2021-02-24 Thread pr-tracker-bot
The pull request you sent on Wed, 24 Feb 2021 13:17:32 -0600: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/rproc-v5.12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/062c84fccc805738d76a2699c4d3c95184ec Thank you! -- Deet-do

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

2021-02-24 Thread pr-tracker-bot
The pull request you sent on Wed, 24 Feb 2021 13:17:23 -0600: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/rpmsg-v5.12 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e40242b9820817a7afe520228c6a6a535e40d222 Thank you! -- Deet-do

Re: [PATCH v2 1/2] phy/qualcomm: add hbr3_hbr2 voltage and premphasis swing table

2021-02-24 Thread Stephen Boyd
Quoting Stephen Boyd (2021-02-18 10:46:17) > Quoting Kuogee Hsieh (2021-02-18 08:51:10) > > Add hbr3_hbr2 voltage and premphasis swing table to support > > HBR3 link rate. > > > > Changes in V2: > > -- replaced upper case with lower case at hbr3_hbr2 table > > > > Signed-off-by: Kuogee Hsieh > >

Re: [PATCH v21 06/26] x86/cet: Add control-protection fault handler

2021-02-24 Thread Borislav Petkov
On Wed, Feb 24, 2021 at 11:30:34AM -0800, Andy Lutomirski wrote: > On Wed, Feb 24, 2021 at 11:20 AM Borislav Petkov wrote: > > > > On Wed, Feb 24, 2021 at 09:56:13AM -0800, Yu, Yu-cheng wrote: > > > No. Maybe I am doing too much. The GP fault sets si_addr to zero, for > > > example. So maybe do

Re: Why do kprobes and uprobes singlestep?

2021-02-24 Thread Andy Lutomirski
On Tue, Feb 23, 2021 at 5:18 PM Masami Hiramatsu wrote: > > On Tue, 23 Feb 2021 15:24:19 -0800 > Andy Lutomirski wrote: > > > A while back, I let myself be convinced that kprobes genuinely need to > > single-step the kernel on occasion, and I decided that this sucked but > > I could live with it.

Re: [RESEND PATCH v6 3/3] extcon: qcom-spmi: Add support for VBUS detection

2021-02-24 Thread Guru Das Srinagesh
On Sat, Feb 20, 2021 at 03:34:52PM +0900, Chanwoo Choi wrote: > Hi, > > Please use get_maintainer.pl script when you send the patches. > I didn't receive the patches. I'll review. > > Thanks, > Chanwoo Choi Thanks for reviewing and accepting the patches, Chanwoo. Sorry, I missed out on using th

Re: [PATCH v21 06/26] x86/cet: Add control-protection fault handler

2021-02-24 Thread Yu, Yu-cheng
On 2/24/2021 11:42 AM, Borislav Petkov wrote: On Wed, Feb 24, 2021 at 11:30:34AM -0800, Andy Lutomirski wrote: On Wed, Feb 24, 2021 at 11:20 AM Borislav Petkov wrote: On Wed, Feb 24, 2021 at 09:56:13AM -0800, Yu, Yu-cheng wrote: No. Maybe I am doing too much. The GP fault sets si_addr to z

Re: linux-next: Signed-off-by missing for commits in Linus' tree

2021-02-24 Thread Kees Cook
On Wed, Feb 24, 2021 at 11:31:08AM +1100, Stephen Rothwell wrote: > Hi all, > > Commits > > b33fff07e3e3 ("x86, build: allow LTO to be selected") > d2dcd3e37475 ("x86, cpu: disable LTO for cpu.c") > e242db40be27 ("x86, vdso: disable LTO only for vDSO") > b1a1a1a09b46 ("kbuild: lto: postpo

Re: [PATCH] mm: test page->flags directly in page_lru()

2021-02-24 Thread Yu Zhao
On Wed, Feb 24, 2021 at 05:15:58AM -0800, Andrew Morton wrote: > On Wed, 24 Feb 2021 01:48:07 -0700 Yu Zhao wrote: > > > Currently page_lru() uses Page{Active,Unevictable} to determine which > > lru list a page belongs to. Page{Active,Unevictable} contain > > compound_head() and therefore page_lr

[PATCH] perf buildid-cache: Add test for PE executable

2021-02-24 Thread Nicholas Fraser
>From 9fd0b3889f00ad13662879767d833309d8a035b6 Mon Sep 17 00:00:00 2001 From: Nicholas Fraser Date: Thu, 18 Feb 2021 13:24:03 -0500 Subject: [PATCH] perf buildid-cache: Add test for PE executable This builds on the previous changes to tests/shell/buildid.sh, adding tests for a PE file. It adds it

Re: [PATCH] fbdev: atyfb: add stubs for aty_{ld,st}_lcd()

2021-02-24 Thread Randy Dunlap
On 2/22/21 9:44 AM, Ville Syrjälä wrote: > On Sun, Feb 21, 2021 at 07:28:53PM -0800, Randy Dunlap wrote: >> Fix build errors when these functions are not defined. >> >> ../drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_power_mgmt': >> ../drivers/video/fbdev/aty/atyfb_base.c:2002:7: error: i

Re: [PATCH 01/13] staging: rtl8192e: remove blank line in bss_ht struct

2021-02-24 Thread William Durand
> All these patches have the same vague commit message. It's okay if the > commit message basically restates the commit one line summary. It > should say something like: > > Fix a checkpatch warning about a blank line after an open curly brace. > > Rename FooBar to foo_bar to silence a checkpat

[PATCH v2 01/13] staging: rtl8192e: remove blank line in bss_ht struct

2021-02-24 Thread William Durand
Fix a checkpatch warning about a blank line after an open curly brace. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 11269fe6b395..1bb

[PATCH v2 00/13] bss_ht struct cleanups

2021-02-24 Thread William Durand
This patchset fixes the checkpatch issues related to the `bss_ht` struct defined in `rtl8192e/rtl819x_HT.h` (avoid camelcase). The first patch removes a blank line and the last patch reformats the struct a bit to be more consistent with the other types defined in the same file. Changes in v2: Up

[PATCH v2 04/13] staging: rtl8192e: rename bdHTCapLen to bd_ht_cap_len in bss_ht struct

2021-02-24 Thread William Durand
Rename bdHTCapLen to bd_ht_cap_len to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 drivers/staging/rtl8192e/rtllib_rx.c | 12 ++-- drivers/s

[PATCH v2 02/13] staging: rtl8192e: rename bdSupportHT to bd_support_ht in bss_ht struct

2021-02-24 Thread William Durand
Rename bdSupportHT to bd_support_ht to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 14 +++--- drivers/st

[PATCH v2 03/13] staging: rtl8192e: rename bdHTCapBuf to bd_ht_cap_buf in bss_ht struct

2021-02-24 Thread William Durand
Rename bdHTCapBuf to bd_ht_cap_buf to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 17 + drivers/

udldrmfb: causes WARN in i915 on X60 (x86-32)

2021-02-24 Thread Pavel Machek
Hi! This is in -next, but I get same behaviour on 5.11; and no, udl does not work, but monitor is detected: pavel@amd:~/g/tui/crashled$ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 185

[PATCH v2 07/13] staging: rtl8192e: rename bdHTSpecVer to bd_ht_spec_ver in bss_ht struct

2021-02-24 Thread William Durand
Rename bdHTSpecVer to bd_ht_spec_ver to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 10 +- 3 files chang

[PATCH v2 10/13] staging: rtl8192e: rename bdRT2RTLongSlotTime to bd_rt2rt_long_slot_time in bss_ht struct

2021-02-24 Thread William Durand
Rename bdRT2RTLongSlotTime to bd_rt2rt_long_slot_time to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 3 +-- drivers/staging/rtl8192e/rtl819x_HT.h| 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c| 4 ++-

[PATCH v2 12/13] staging: rtl8192e: rename bdHT1R to bd_ht_1r in bss_ht struct

2021-02-24 Thread William Durand
Rename bdHT1R to bd_ht_1r to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/r

[PATCH v2 05/13] staging: rtl8192e: rename bdHTInfoBuf to bd_ht_info_buf in bss_ht struct

2021-02-24 Thread William Durand
Rename bdHTInfoBuf to bd_ht_info_buf to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib_rx.c | 13 +++-- drivers/

[PATCH v2 06/13] staging: rtl8192e: rename bdHTInfoLen to bd_ht_info_len in bss_ht struct

2021-02-24 Thread William Durand
Rename bdHTInfoLen to bd_ht_info_len to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 10 +- drivers/staging/rtl8192e/rtllib_rx.c | 14 +++--- dri

[PATCH v2 11/13] staging: rtl8192e: rename RT2RT_HT_Mode to rt2rt_ht_mode in bss_ht struct

2021-02-24 Thread William Durand
Rename RT2RT_HT_Mode to rt2rt_ht_mode to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl819x_HT.h| 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c| 8 drivers/st

[PATCH v2 08/13] staging: rtl8192e: rename bdBandWidth to bd_bandwidth in bss_ht struct

2021-02-24 Thread William Durand
Rename bdBandWidth to bd_bandwidth to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl81

[PATCH v2 09/13] staging: rtl8192e: rename bdRT2RTAggregation to bd_rt2rt_aggregation in bss_ht struct

2021-02-24 Thread William Durand
Rename bdRT2RTAggregation to bd_rt2rt_aggregation to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 10 +- drivers/staging/rtl8192e/rtllib_rx.c | 6 +++---

Re: [PATCH RFC net-next 1/3] net: page_pool: refactor dma_map into own function page_pool_dma_map

2021-02-24 Thread Ilias Apalodimas
On Wed, Feb 24, 2021 at 07:56:41PM +0100, Jesper Dangaard Brouer wrote: > In preparation for next patch, move the dma mapping into its own > function, as this will make it easier to follow the changes. > > Signed-off-by: Jesper Dangaard Brouer > --- > net/core/page_pool.c | 49

[PATCH v2 13/13] staging: rtl8192e: reformat bss_ht struct

2021-02-24 Thread William Durand
This change uses a space instead of tabs between the type and name of each member of the struct. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_HT.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b

[PATCH 2/2 V2] MFD: intel_pmt: Add support for DG1

2021-02-24 Thread David E. Box
Adds PMT Telemetry aggregator support for the DG1 graphics PCIe card. The device does not have the DVSEC region in its PCI config space so hard code the discovery table data in the driver. Also requires a fix for DG1 in the Telemetry driver for how the ACCESS_TYPE field is used. Signed-off-by: Dav

[PATCH V2 1/2] MFD: intel_pmt: Fix nuisance messages and handling of disabled capabilities

2021-02-24 Thread David E. Box
Some products will be available that have PMT capabilities that are not supported. Remove the warnings in this instance to avoid nuisance messages and confusion. Also return an error code for capabilities that are disabled by quirk to prevent them from keeping the driver loaded if only disabled ca

Re: [PATCH RFC net-next 2/3] net: page_pool: use alloc_pages_bulk in refill code path

2021-02-24 Thread Ilias Apalodimas
Hi Jesper, On Wed, Feb 24, 2021 at 07:56:46PM +0100, Jesper Dangaard Brouer wrote: > There are cases where the page_pool need to refill with pages from the > page allocator. Some workloads cause the page_pool to release pages > instead of recycling these pages. > > For these workload it can impr

Re: [PATCH v9 01/16] tracing: move function tracer options to Kconfig (causing parisc build failures)

2021-02-24 Thread Guenter Roeck
On Fri, Dec 11, 2020 at 10:46:18AM -0800, Sami Tolvanen wrote: > Move function tracer options to Kconfig to make it easier to add > new methods for generating __mcount_loc, and to make the options > available also when building kernel modules. > > Note that FTRACE_MCOUNT_USE_* options are updated

linux-next: Signed-off-by missing for commit in the pci tree

2021-02-24 Thread Stephen Rothwell
Hi all, Commits 557fb5faf4ca ("PCI: qcom: Add support for ddrss_sf_tbu clock") 3d0e5cf9c062 ("dt-bindings: PCI: qcom: Document ddrss_sf_tbu clock for sm8250") are missing a Signed-off-by from their committer. -- Cheers, Stephen Rothwell pgpBSOHTylBBZ.pgp Description: OpenPGP digital sig

Re: [PATCH V2 1/2] MFD: intel_pmt: Fix nuisance messages and handling of disabled capabilities

2021-02-24 Thread Hans de Goede
Hi, On 2/24/21 9:10 PM, David E. Box wrote: > Some products will be available that have PMT capabilities that are not > supported. Remove the warnings in this instance to avoid nuisance messages > and confusion. > > Also return an error code for capabilities that are disabled by quirk to > preven

[PATCH v6 2/2] ufs: sysfs: Resume the proper scsi device

2021-02-24 Thread Asutosh Das
Resumes the actual scsi device the unit descriptor of which is being accessed instead of the hba alone. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-sysfs.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/ufs/ufs-sysfs.c b/driv

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

2021-02-24 Thread Asutosh Das
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 suspended state. If so, it waits for the queue to re

Re: linux-next: Signed-off-by missing for commits in Linus' tree

2021-02-24 Thread Kees Cook
On Wed, Feb 24, 2021 at 11:49:42AM +1100, Stephen Rothwell wrote: > Hi Linus, > > On Tue, 23 Feb 2021 16:33:47 -0800 Linus Torvalds > wrote: > > > > On Tue, Feb 23, 2021 at 4:31 PM Stephen Rothwell > > wrote: > > > > > > are missing a Signed-off-by from their committer. > > > > Gaah. Maybe

Re: [PATCH] ipv6: Honor route mtu if it is within limit of dev mtu

2021-02-24 Thread David Ahern
On 2/22/21 9:32 AM, Kaustubh Pandey wrote: > When netdevice MTU is increased via sysfs, NETDEV_CHANGEMTU is raised. > > addrconf_notify -> rt6_mtu_change -> rt6_mtu_change_route -> > fib6_nh_mtu_change > > As part of handling NETDEV_CHANGEMTU notification we land up on a > condition where if rout

Re: [PATCH 03/16] media: i2c: rdacm20: Replace goto with a loop

2021-02-24 Thread Laurent Pinchart
Hi Jacopo, On Mon, Feb 22, 2021 at 04:06:43PM +0100, Jacopo Mondi wrote: > On Mon, Feb 22, 2021 at 03:05:03AM +0200, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Reviewed-by: Laurent Pinchart > > > > On Wed, Feb 17, 2021 at 01:01:26PM +, Kieran Bingham wrote: > > > On 16/02/2021 17:41, Jaco

Re: [PATCH 07/16] media: i2c: rdacm2x: Fix wake up delay

2021-02-24 Thread Laurent Pinchart
Hi Jacopo, On Mon, Feb 22, 2021 at 04:11:41PM +0100, Jacopo Mondi wrote: > On Mon, Feb 22, 2021 at 03:18:53AM +0200, Laurent Pinchart wrote: > > On Wed, Feb 17, 2021 at 01:33:01PM +, Kieran Bingham wrote: > > > On 16/02/2021 17:41, Jacopo Mondi wrote: > > > > The MAX9271 chip manual prescribes

Re: [PATCH 09/16] media: i2c: rdacm21: Re-work OV10640 initialization

2021-02-24 Thread Laurent Pinchart
Hi Jacopo, On Mon, Feb 22, 2021 at 04:19:13PM +0100, Jacopo Mondi wrote: > On Mon, Feb 22, 2021 at 03:27:25AM +0200, Laurent Pinchart wrote: > > On Tue, Feb 16, 2021 at 06:41:39PM +0100, Jacopo Mondi wrote: > > > The OV10640 image sensor reset and powerdown on signals are controlled > > > > s/ on/

Re: [PATCH] remoteproc: pru: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

2021-02-24 Thread Mathieu Poirier
On Wed, Feb 24, 2021 at 04:20:29PM +0800, Yang Li wrote: > Fix the following coccicheck warning: > ./drivers/remoteproc/pru_rproc.c:247:0-23: WARNING: > pru_rproc_debug_ss_fops should be defined with DEFINE_DEBUGFS_ATTRIBUTE > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/

Re: [PATCH v3 0/9] Add HANTRO G2/HEVC decoder support for IMX8MQ

2021-02-24 Thread Ezequiel Garcia
Hi Benjamin, On Mon, 2021-02-22 at 13:23 +0100, Benjamin Gaignard wrote: > The IMX8MQ got two VPUs but until now only G1 has been enabled. > This series aim to add the second VPU (aka G2) and provide basic > HEVC decoding support. > > To be able to decode HEVC it is needed to add/update some of

Re: [PATCH net v3 1/1] can: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership

2021-02-24 Thread Oliver Hartkopp
On 24.02.21 09:53, Eric Dumazet wrote: On Wed, Feb 24, 2021 at 8:59 AM Oleksij Rempel wrote: There are two ref count variables controlling the free()ing of a socket: - struct sock::sk_refcnt - which is changed by sock_hold()/sock_put() - struct sock::sk_wmem_alloc - which accounts the memor

Re: [PATCH] iommu/amd: Fix event counter availability check

2021-02-24 Thread Paul Menzel
Dear Suravee, Thank you for your reply. Am 22.02.21 um 18:59 schrieb Suravee Suthikulpanit: This fix has been accepted in the upstream recently. https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git/commit/?h=x86/amd Indeed. Linux pulled also pulled this [1]. Could you please g

Re: [PATCH 01/16] media: i2c: rdacm20: Enable noise immunity

2021-02-24 Thread Laurent Pinchart
Hi Jacopo, On Mon, Feb 22, 2021 at 03:59:05PM +0100, Jacopo Mondi wrote: > On Mon, Feb 22, 2021 at 02:49:34AM +0200, Laurent Pinchart wrote: > > On Wed, Feb 17, 2021 at 12:55:19PM +, Kieran Bingham wrote: > > > On 16/02/2021 17:41, Jacopo Mondi wrote: > > > > Enable the noise immunity threshol

Re: [PATCH] memcg: enable memcg oom-kill for __GFP_NOFAIL

2021-02-24 Thread Johannes Weiner
On Tue, Feb 23, 2021 at 12:43:37PM -0800, Shakeel Butt wrote: > In the era of async memcg oom-killer, the commit a0d8b00a3381 ("mm: > memcg: do not declare OOM from __GFP_NOFAIL allocations") added the code > to skip memcg oom-killer for __GFP_NOFAIL allocations. The reason was > that the __GFP_NOF

Re: [PATCH v9 01/16] tracing: move function tracer options to Kconfig (causing parisc build failures)

2021-02-24 Thread Kees Cook
On Wed, Feb 24, 2021 at 12:17:23PM -0800, Guenter Roeck wrote: > On Fri, Dec 11, 2020 at 10:46:18AM -0800, Sami Tolvanen wrote: > > Move function tracer options to Kconfig to make it easier to add > > new methods for generating __mcount_loc, and to make the options > > available also when building

Re: [PATCH RESEND] remoteproc: core: Remove casting to rproc_handle_resource_t

2021-02-24 Thread Mathieu Poirier
On Wed, Feb 24, 2021 at 01:58:25PM +0800, Jindong Yue wrote: > There are four different callback functions that are used for the > rproc_handle_resource_t callback that all have different second > parameter types. > > rproc_handle_vdev -> struct fw_rsc_vdev > rproc_handle_trace -> struct fw_rsc_tr

Re: [PATCH v3 2/9] media: hantro: Define HEVC codec profiles and supported features

2021-02-24 Thread Ezequiel Garcia
On Mon, 2021-02-22 at 13:23 +0100, Benjamin Gaignard wrote: > Define which HEVC profiles (up to level 5.1) and features > (no scaling, no 10 bits) are supported by the driver. > > Signed-off-by: Benjamin Gaignard > --- >  drivers/staging/media/hantro/hantro.h |  2 + >  drivers/staging/media/h

Re: [PATCH v1] kvm: x86: Revise guest_fpu xcomp_bv field

2021-02-24 Thread Sean Christopherson
On Tue, Feb 23, 2021, Liu, Jing2 wrote: > XCOMP_BV[63] field indicates that the save area is in the > compacted format and XCOMP_BV[62:0] indicates the states that > have space allocated in the save area, including both XCR0 > and XSS bits enable by the host kernel. Use xfeatures_mask_all > for cal

Re: [PATCH] memcg: cleanup root memcg checks

2021-02-24 Thread Johannes Weiner
On Tue, Feb 23, 2021 at 12:56:25PM -0800, Shakeel Butt wrote: > Replace the implicit checking of root memcg with explicit root memcg > checking i.e. !css->parent with mem_cgroup_is_root(). > > Signed-off-by: Shakeel Butt Acked-by: Johannes Weiner

Re: [PATCH 15/30] drm/dp: Add backpointer to drm_device in drm_dp_aux

2021-02-24 Thread Lyude Paul
On Sun, 2021-02-21 at 20:21 +0200, Laurent Pinchart wrote: > Hi Lyude, > > Thank you for the patch. > > On Fri, Feb 19, 2021 at 04:53:11PM -0500, Lyude Paul wrote: > > This is something that we've wanted for a while now: the ability to > > actually look up the respective drm_device for a given dr

Re: [PATCH v9 01/16] tracing: move function tracer options to Kconfig (causing parisc build failures)

2021-02-24 Thread Sami Tolvanen
On Wed, Feb 24, 2021 at 12:38 PM Kees Cook wrote: > > On Wed, Feb 24, 2021 at 12:17:23PM -0800, Guenter Roeck wrote: > > On Fri, Dec 11, 2020 at 10:46:18AM -0800, Sami Tolvanen wrote: > > > Move function tracer options to Kconfig to make it easier to add > > > new methods for generating __mcount_l

[PATCH] parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY

2021-02-24 Thread Sami Tolvanen
parisc uses -fpatchable-function-entry with dynamic ftrace, which means we don't need recordmcount. Select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY to tell that to the build system. Reported-by: Guenter Roeck Fixes: 3b15cdc15956 ("tracing: move function tracer options to Kconfig") Signed-off-by

Re: [PATCH v2] nand: brcmnand: fix OOB R/W with Hamming ECC

2021-02-24 Thread Brian Norris
On Wed, Feb 24, 2021 at 12:02 AM Álvaro Fernández Rojas wrote: > Fixes: 27c5b17cd1b1 ("mtd: nand: add NAND driver "library" for Broadcom STB > NAND controller") FWIW, I could believe this was broken. We weren't testing Hamming ECC (nor JFFS2) at the time, so it could easily have obvious bugs lik

Re: [PATCH] parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY

2021-02-24 Thread Kees Cook
On Wed, Feb 24, 2021 at 12:59:38PM -0800, Sami Tolvanen wrote: > parisc uses -fpatchable-function-entry with dynamic ftrace, which means we > don't need recordmcount. Select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY > to tell that to the build system. > > Reported-by: Guenter Roeck > Fixes: 3b15

Re: [PATCH v4 2/3] media: uapi: Add VP9 stateless decoder controls

2021-02-24 Thread Nicolas Dufresne
Le jeudi 10 septembre 2020 à 15:04 +0900, Alexandre Courbot a écrit : > Hi Ezequiel, sorry for the late review! > > On Tue, May 19, 2020 at 2:40 AM Ezequiel Garcia > wrote: > > > > From: Boris Brezillon > > > > Add the VP9 stateless decoder controls plus the documentation that goes > > with it

Re: [PATCH] fbdev: atyfb: add stubs for aty_{ld,st}_lcd()

2021-02-24 Thread Ville Syrjälä
On Wed, Feb 24, 2021 at 11:59:45AM -0800, Randy Dunlap wrote: > On 2/22/21 9:44 AM, Ville Syrjälä wrote: > > On Sun, Feb 21, 2021 at 07:28:53PM -0800, Randy Dunlap wrote: > >> Fix build errors when these functions are not defined. > >> > >> ../drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_

Re: [PATCH] nfsd: fix kconfig dependency warning for NFSD_V4

2021-02-24 Thread Chuck Lever
Hi Julian- > On Feb 19, 2021, at 4:56 PM, Julian Braha wrote: > > When NFSD_V4 is enabled and CRYPTO is disabled, > Kbuild gives the following warning: > > WARNING: unmet direct dependencies detected for CRYPTO_SHA256 > Depends on [n]: CRYPTO [=n] > Selected by [y]: > - NFSD_V4 [=y] && NETWO

Re: [PATCH net v3 1/1] can: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership

2021-02-24 Thread Marc Kleine-Budde
On 24.02.2021 21:32:29, Oliver Hartkopp wrote: > > > To fix this problem, only set skb ownership to sockets which have still > > > a ref count > 0. > > > > > > Cc: Oliver Hartkopp > > > Cc: Andre Naujoks > > > Suggested-by: Eric Dumazet > > > Fixes: 0ae89beb283a ("can: add destructor for self g

[PATCH 0/4] ASoC: rt*: Constify static structs

2021-02-24 Thread Rikard Falkeborn
Constify a number of static structs that are never modified in RealTek codecs. The most important patches are the first two, which constifies snd_soc_dai_ops and sdw_slave_ops, both which contain function pointers. The other two patches are for good measure, since I was already touching the code th

[PATCH 2/4] ASoC: rt*: Constify static struct snd_soc_dai_ops

2021-02-24 Thread Rikard Falkeborn
The only usage of them is to assign their address to the ops field in the snd_soc_dai_driver struct, which is a pointer to const. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- sound/soc/codecs/rt1015.c | 2 +- sound/soc/codecs/rt10

[PATCH 3/4] ASoC: rt*: Constify static struct acpi_device_id

2021-02-24 Thread Rikard Falkeborn
These are never modified, so make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- sound/soc/codecs/rt1011.c | 2 +- sound/soc/codecs/rt1015.c | 2 +- sound/soc/codecs/rt1016.c | 2 +- sound/soc/codecs/rt1305.c | 2 +- sound/soc/codecs/rt1308.

[PATCH 4/4] ASoc: rt5631: Constify static struct coeff_clk_div

2021-02-24 Thread Rikard Falkeborn
coeff_div is only read from, so make it const to show the intent. Signed-off-by: Rikard Falkeborn --- sound/soc/codecs/rt5631.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c index 653da3eaf355..afc1305a7fa5 100644 --- a/

[PATCH 1/4] ASoC: rt*: Constify static struct sdw_slave_ops

2021-02-24 Thread Rikard Falkeborn
The only usage of these is to assign their address to the ops field in the sdw_driver struct, which is a pointer to const. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- sound/soc/codecs/rt1308-sdw.c | 2 +- sound/soc/codecs/rt5682-sdw.

Re: linux-next: Signed-off-by missing for commits in Linus' tree

2021-02-24 Thread Kees Cook
On Wed, Feb 24, 2021 at 11:49:42AM +1100, Stephen Rothwell wrote: > Hi Linus, > > On Tue, 23 Feb 2021 16:33:47 -0800 Linus Torvalds > wrote: > > > > On Tue, Feb 23, 2021 at 4:31 PM Stephen Rothwell > > wrote: > > > > > > are missing a Signed-off-by from their committer. > > > > Gaah. Maybe

Re: linux-next: Signed-off-by missing for commit in the pci tree

2021-02-24 Thread Bjorn Helgaas
On Thu, Feb 25, 2021 at 07:21:31AM +1100, Stephen Rothwell wrote: > Hi all, > > Commits > > 557fb5faf4ca ("PCI: qcom: Add support for ddrss_sf_tbu clock") > 3d0e5cf9c062 ("dt-bindings: PCI: qcom: Document ddrss_sf_tbu clock for > sm8250") > > are missing a Signed-off-by from their committer

Re: next/master bisection: baseline.login on r8a77960-ulcb

2021-02-24 Thread Heiko Thiery
Hi Christoph and all, On 23.02.21 10:56, Guillaume Tucker wrote: Hi Christoph, Please see the bisection report below about a boot failure on r8a77960-ulcb on next-20210222. Reports aren't automatically sent to the public while we're trialing new bisection features on kernelci.org but this one

<    4   5   6   7   8   9   10   11   12   >