Re: [PATCH 3/4] mm: /proc/sys/vm/stat_refresh skip checking known negative stats

2021-03-01 Thread Hugh Dickins
On Sun, 28 Feb 2021, Roman Gushchin wrote: > On Thu, Feb 25, 2021 at 03:14:03PM -0800, Hugh Dickins wrote: > > vmstat_refresh() can occasionally catch nr_zone_write_pending and > > nr_writeback when they are transiently negative. The reason is partly > > that the interrupt which decrements them

Re: [PATCH] crypto: expose needs_key in procfs

2021-03-01 Thread Eric Biggers
On Mon, Mar 01, 2021 at 09:51:56PM +0100, Christoph Böhmwalder wrote: > > Do you have a specific use case in mind for this information? Normally, > > users > > should already know which algorithm they want to use (or set of algorithms > > they > > might want to use). > > I have a pretty

Re: [PATCH v1] mm/page_alloc: drop pr_info_ratelimited() in alloc_contig_range()

2021-03-01 Thread Oscar Salvador
On Mon, Mar 01, 2021 at 04:09:45PM +0100, David Hildenbrand wrote: > The information that some PFNs are busy is: > a) not helpful for ordinary users: we don't even know *who* called >alloc_contig_range(). This is certainly not worth a pr_info.*(). > b) not really helpful for debugging: we

Re: [PATCH] docs: reporting-issues.rst: explain how to decode stack traces

2021-03-01 Thread Jonathan Corbet
Thorsten Leemhuis writes: > Replace placeholder text about decoding stack traces with a section that > properly describes what a typical user should do these days. To make > it works for them, add a paragraph in an earlier section to ensure > people build their kernels with everything that's

Re: [PATCH v1 01/15] powerpc/uaccess: Remove __get_user_allowed() and unsafe_op_wrap()

2021-03-01 Thread Daniel Axtens
Christophe Leroy writes: > Those two macros have only one user which is unsafe_get_user(). > > Put everything in one place and remove them. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/uaccess.h | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > >

Re: [PATCH] arch: mips: sibyte: Return -EFAULT if copy_to_user() fails

2021-03-01 Thread Maciej W. Rozycki
On Mon, 1 Mar 2021, Sergei Shtylyov wrote: > > The copy_to_user() function returns the number of bytes remaining to be > > copied, but we want to return -EFAULT if the copy doesn't complete. > >Then 'err' is hardly a good name for that variable. :-) Something like `left' might be better,

Re: [PATCH] mmc: Try power cycling card if command request times out

2021-03-01 Thread Marten Lindahl
Hi Ulf! Thank you for your comments! On Mon, Mar 01, 2021 at 09:50:56AM +0100, Ulf Hansson wrote: > + Adrian > > On Tue, 16 Feb 2021 at 23:43, Mårten Lindahl wrote: > > > > Sometimes SD cards that has been run for a long time enters a state > > where it cannot by itself be recovered, but needs

Re: [PATCH v8 0/3] checkpatch: add verbose mode

2021-03-01 Thread Jonathan Corbet
Joe Perches writes: > On Mon, 2021-03-01 at 14:22 -0700, Jonathan Corbet wrote: >> Dwaipayan Ray writes: >> >> > Add a new verbose mode to checkpatch. The verbose test >> > descriptions are read from the new checkpatch documentation >> > file at `Documentation/dev-tools/checkpatch.rst`, which

[PATCH 7/9] staging: rtl8192e: rename RxLastSeqNum to rx_last_seq_num in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxLastSeqNum to rx_last_seq_num to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 6/9] staging: rtl8192e: rename RxAdmittedBARecord to rx_admitted_ba_record in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxAdmittedBARecord to rx_admitted_ba_record to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 10 +- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 4 ++--

[PATCH 8/9] staging: rtl8192e: rename RxLastFragNum to rx_last_frag_num in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxLastFragNum to rx_last_frag_num to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 9/9] staging: rtl8192e: reformat rx_ts_record struct

2021-03-01 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_TS.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TS.h

[PATCH 5/9] staging: rtl8192e: rename RxPktPendingTimer to rx_pkt_pending_timer in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxPktPendingTimer to rx_pkt_pending_timer to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 +- drivers/staging/rtl8192e/rtllib_rx.c | 8

Re: [PATCH] kunit: fix checkpatch warning

2021-03-01 Thread Shuah Khan
On 2/26/21 2:05 PM, Brendan Higgins wrote: On Fri, Feb 26, 2021 at 12:54 PM Lucas Pires Stankus wrote: Tidy up code by fixing the following checkpatch warnings: CHECK: Alignment should match open parenthesis CHECK: Lines should not end with a '(' Signed-off-by: Lucas Stankus Reviewed-by:

Re: [PATCH] docs: watchdog: fix obsolete include file reference in pcwd

2021-03-01 Thread Jonathan Corbet
Flavio Suligoi writes: > The file linux/pcwd.h is not more present in the kernel > sources. Its information is now moved into the file: > > include/uapi/linux/watchdog.h > > Signed-off-by: Flavio Suligoi > --- > Documentation/watchdog/pcwd-watchdog.rst | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH] docs: driver-model: Remove obsolete device class documentation

2021-03-01 Thread Jonathan Corbet
Geert Uytterhoeven writes: > None of this is valid since v2.5.69. > > Signed-off-by: Geert Uytterhoeven > --- > I started updating the document, until I realized that all of the > typedefs, structures, functions, defines, and sysfs layout have been > renamed, changed, or removed. So I think

[PATCH 1/9] staging: rtl8192e: rename TsCommonInfo to ts_common_info in rx_ts_record struct

2021-03-01 Thread William Durand
Rename TsCommonInfo to ts_common_info to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 +- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 +- 3 files

[PATCH 0/9] rx_ts_record struct cleanups

2021-03-01 Thread William Durand
This patchset fixes the checkpatch issues related to the `rx_ts_record` struct defined in `rtl8192e/rtl819x_TS.h` (avoid camelcase). The last patch reformats the struct a bit to be more consistent with structures defined in other header files. William Durand (9): staging: rtl8192e: rename

[PATCH 2/9] staging: rtl8192e: rename RxIndicateSeq to rx_indicate_seq in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxIndicateSeq to rx_indicate_seq to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 16 - drivers/staging/rtl8192e/rtllib_rx.c | 42

[PATCH 3/9] staging: rtl8192e: rename RxTimeoutIndicateSeq to rx_timeout_indicate_seq in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxTimeoutIndicateSeq to rx_timeout_indicate_seq to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 +- drivers/staging/rtl8192e/rtllib_rx.c | 6

[PATCH 4/9] staging: rtl8192e: rename RxPendingPktList to rx_pending_pkt_list in rx_ts_record struct

2021-03-01 Thread William Durand
Rename RxPendingPktList to rx_pending_pkt_list to silence a checkpatch warning about CamelCase. Signed-off-by: William Durand --- drivers/staging/rtl8192e/rtl819x_TS.h | 2 +- drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 +- drivers/staging/rtl8192e/rtllib_rx.c | 12

Re: [PATCH v8 0/3] checkpatch: add verbose mode

2021-03-01 Thread Joe Perches
On Mon, 2021-03-01 at 14:22 -0700, Jonathan Corbet wrote: > Dwaipayan Ray writes: > > > Add a new verbose mode to checkpatch. The verbose test > > descriptions are read from the new checkpatch documentation > > file at `Documentation/dev-tools/checkpatch.rst`, which > > is also added by this

Re: [PATCH v5 2/7] pwm: pca9685: Support hardware readout

2021-03-01 Thread Uwe Kleine-König
Hello, On Mon, Feb 01, 2021 at 06:24:02PM +0100, Clemens Gruber wrote: > Hi Sven, Thierry, Uwe, > > On Fri, Jan 29, 2021 at 05:16:51PM -0500, Sven Van Asbroeck wrote: > > Hi Clemens, > > > > On Fri, Jan 29, 2021 at 4:24 PM Sven Van Asbroeck > > wrote: > > > > > > LEN_ON = 409, LED_OFF = 1228

Re: [RFC v3] scripts: kernel-doc: fix typedef support for struct/union parsing

2021-03-01 Thread Jonathan Corbet
Aditya Srivastava writes: > Currently, there are ~1290 occurrences in 447 files in the kernel tree > 'typedef struct/union' syntax for defining some struct/union. However, > kernel-doc currently does not support that syntax. Of the ~1290 > occurrences, there are four occurrences in

[PATCH] docs: kvm: Fix a typo ("althought")

2021-03-01 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- Documentation/virt/kvm/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst index aed52b0fc16ec..3617a64e81fe2 100644 --- a/Documentation/virt/kvm/api.rst +++

Re: [PATCH v3 06/25] mm: Add get_folio

2021-03-01 Thread Zi Yan
On 28 Jan 2021, at 2:03, Matthew Wilcox (Oracle) wrote: > If we know we have a folio, we can call get_folio() instead of get_page() > and save the overhead of calling compound_head(). > > Signed-off-by: Matthew Wilcox (Oracle) > --- > include/linux/mm.h | 19 ++- > 1 file

Re: [PATCH 4.4 00/93] 4.4.259-rc1 review

2021-03-01 Thread Shuah Khan
On 3/1/21 9:12 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.259 release. There are 93 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v5 4/7] pwm: pca9685: Reset registers to POR state in probe

2021-03-01 Thread Uwe Kleine-König
Hello Clemens, On Tue, Dec 15, 2020 at 10:22:25PM +0100, Clemens Gruber wrote: > Reset the prescale and ON/OFF registers to their POR default state in > the probe function. Otherwise, the PWMs could still be active after a > watchdog reset and reboot, etc. My memories are swapped out because

Re: [PATCH 4.19 000/247] 4.19.178-rc1 review

2021-03-01 Thread Shuah Khan
On 3/1/21 9:10 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.178 release. There are 247 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.9 000/134] 4.9.259-rc1 review

2021-03-01 Thread Shuah Khan
On 3/1/21 9:11 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.259 release. There are 134 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 5.10 000/661] 5.10.20-rc2 review

2021-03-01 Thread Shuah Khan
On 3/1/21 12:37 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.20 release. There are 661 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API

2021-03-01 Thread Uwe Kleine-König
Hello Clemens, On Tue, Dec 15, 2020 at 10:22:22PM +0100, Clemens Gruber wrote: > + if (state->polarity != PWM_POLARITY_NORMAL) > + return -EOPNOTSUPP; We agreed on -EINVAL for that one since 2b1c1a5d5148. Other than that the patch looks ok (but note I only looked quickly). Best

[PATCH v2 13/13] arm64: dts: qcom: Add sc7180-trogdor-coachz skus

2021-03-01 Thread Douglas Anderson
This is a trogdor variant. This is mostly a grab from the downstream tree with notable exceptions: - I skip -rev0. This was a super early build and there's no advantage of long term support. - I remove sound node since sound hasn't landed upstream yet. Cc: Gwendal Grignou Cc: Matthias

Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API

2021-03-01 Thread Uwe Kleine-König
On Thu, Dec 17, 2020 at 12:10:10PM -0500, Sven Van Asbroeck wrote: > On Thu, Dec 17, 2020 at 11:48 AM Clemens Gruber > wrote: > > > > I can initialize the values to 0 of course and check the file for other > > places with missing initializations. > > > > Or would it be better to check the return

[PATCH v2 11/13] arm64: dts: qcom: Add sc7180-lazor-limozeen skus

2021-03-01 Thread Douglas Anderson
This is a SKU variant of lazor. Add it. This squashes the downstream patches to support this hardware. NOTES: - The non-touch SKU actually has "innolux,n116bca-ea1" but that driver is still pending in simple-panel. The bindings have been Acked though [1]. Things work well enough with the

[PATCH v2 12/13] arm64: dts: qcom: Add sc7180-trogdor-pompom skus

2021-03-01 Thread Douglas Anderson
This is a trogdor variant. This is mostly a grab from the downstream tree with notable exceptions: - I skip -rev0. This was a super early build and there's no advantage of long term support. - In -rev1 I translate the handling of the USB hub like is done for similar boards. See the

Re: Question about the "EXPERIMENTAL" tag for dax in XFS

2021-03-01 Thread Dan Williams
On Sun, Feb 28, 2021 at 11:27 PM Yasunori Goto wrote: > > Hello, Dan-san, > > On 2021/02/27 4:24, Dan Williams wrote: > > On Fri, Feb 26, 2021 at 11:05 AM Darrick J. Wong wrote: > >> > >> On Fri, Feb 26, 2021 at 09:45:45AM +, ruansy.f...@fujitsu.com wrote: > >>> Hi, guys > >>> > >>> Beside

[PATCH v2 10/13] arm64: dts: qcom: sc7180: Set up lazor r3+ as sc7180-lite SKUs

2021-03-01 Thread Douglas Anderson
From: Matthias Kaehlcke Lazor rev3 and later use the 'lite' version of the SC7180 SoC. Cc: Stephen Boyd Signed-off-by: Matthias Kaehlcke [dianders: Adjust commit message which referred to downstream history] Signed-off-by: Douglas Anderson --- (no changes since v1)

Re: [PATCH v3 05/25] mm: Add put_folio

2021-03-01 Thread Zi Yan
On 28 Jan 2021, at 2:03, Matthew Wilcox (Oracle) wrote: > If we know we have a folio, we can call put_folio() instead of put_page() > and save the overhead of calling compound_head(). Also skips the > devmap checks. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > include/linux/mm.h | 15

[PATCH v2 08/13] arm64: dts: qcom: sc7180: Remove clock for bluetooth on Trogdor

2021-03-01 Thread Douglas Anderson
From: Venkata Lakshmi Narayana Gubba Removed voting for RPMH_RF_CLK2 which is not required as it is getting managed by BT SoC through SW_CTRL line. Cc: Matthias Kaehlcke Signed-off-by: Venkata Lakshmi Narayana Gubba Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- (no

Re: Linux 5.12-rc1

2021-03-01 Thread Linus Torvalds
On Mon, Mar 1, 2021 at 12:35 AM Sedat Dilek wrote: > > I wondered why there was approx. for 6 days no commits and got an > answer from an LWN posting "5.12 Merge window delayed". > Unsure, if there was a posting to LKML? There was no posting to lkml because lkml doesn't take html emails, and I

[PATCH v2 09/13] arm64: dts: qcom: sc7180: add GO_LAZOR variant property for lazor

2021-03-01 Thread Douglas Anderson
From: Abhishek Kumar For trogdor, in the latest board-2.bin file, new BDF with variant name GO_LAZOR has been introduced, so we need this property set, for GO_LAZOR BDF to be picked. Cc: Philip Chen Signed-off-by: Abhishek Kumar [dianders: adjusted subject line and sort order] Signed-off-by:

Re: [PATCH] inetpeer: use div64_ul() and clamp_val() calculate inet_peer_threshold

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 1 Mar 2021 14:05:48 +0800 you wrote: > In inet_initpeers(), struct inet_peer on IA32 uses 128 bytes in nowdays. > Get rid of the cascade and use div64_ul() and clamp_val() calculate that > will not need to be adjusted

[PATCH v2 06/13] arm64: dts: qcom: Disable camera clk on sc7180-trogdor devices by default

2021-03-01 Thread Douglas Anderson
From: Stephen Boyd We only want to use this clk driver on CoachZ devices. Disable it for all other Trogdor boards. NOTE: CoachZ devices aren't yet supported upstream so until it is this is just disabled for all trogdor. Cc: Tomasz Figa Signed-off-by: Stephen Boyd [dianders:adjusted since no

[PATCH v2 07/13] arm64: dts: qcom: sc7180-trogdor: Remove fp control pins in prep for coachz

2021-03-01 Thread Douglas Anderson
From: Alexandru M Stan Removed the pinctrl and pin{mux,conf} for the control pins because: 1. The only need for them is for userspace control via flash_fp_mcu 2. cros-ec doesn't know what to do with them, and even if it did, it would interfere with flash_fp_mcu at the most inopportune times

[PATCH v2 05/13] arm64: dts: qcom: trogdor: Only wakeup from pen eject

2021-03-01 Thread Douglas Anderson
From: Stephen Boyd Configure the pen to be a wakeup source only when the pen is ejected instead of both when the pen is ejected and inserted. This corresponds to wake source requirements. Signed-off-by: Stephen Boyd Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- (no

[PATCH v2 04/13] arm64: dts: qcom: Unify the sc7180-trogdor panel nodes

2021-03-01 Thread Douglas Anderson
Let's avoid a bit of duplication by pushing this up to the trogdor.dtsi file. Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke --- (no changes since v1) .../boot/dts/qcom/sc7180-trogdor-lazor.dtsi | 21 --- .../arm64/boot/dts/qcom/sc7180-trogdor-r1.dts | 19

[PATCH v2 02/13] arm64: dts: qcom: Move sc7180 MI2S config to board files and make pulldown

2021-03-01 Thread Douglas Anderson
In general pinconf belongs in board files, not SoC files. Move it to the only current user (trogdor). Also adjust the drive strengths and pulls. Cc: V Sujith Kumar Reddy Cc: Srinivasa Rao Mandadapu Cc: Tzung-Bi Shih Cc: Judy Hsiao Signed-off-by: Douglas Anderson Reviewed-by: Matthias

[PATCH v2 01/13] arm64: dts: qcom: sc7180: Update dts for DP phy inside QMP phy

2021-03-01 Thread Douglas Anderson
From: Stephen Boyd Drop the old node and add the new one in its place. Cc: Stephen Boyd Cc: Jeykumar Sankaran Cc: Chandan Uddaraju Cc: Vara Reddy Cc: Tanmay Shah Cc: Rob Clark Signed-off-by: Stephen Boyd [dianders: Adjusted due to DP not itself not in upstream dts yet] Signed-off-by:

[PATCH v2 03/13] arm64: dts: qcom: Prep sc7180-trogdor trackpad IRQ for new boards

2021-03-01 Thread Douglas Anderson
The trackpad interrupt got renamed and also moved to a new GPIO on newer boards. Let's do the move in the "trogdor.dtsi" file and then undo it in the two old boards. NOTE: since none of the new boards have device trees yet, this change looks silly on its own but it will make sense after more

Re: hppa64-linux-ld: kernel/rcu/refscale.o(.init.text+0x228): cannot reach schedule_timeout_uninterruptible

2021-03-01 Thread Helge Deller
On 2/28/21 11:33 PM, Paul E. McKenney wrote: On Sun, Feb 28, 2021 at 09:51:35PM +0100, Helge Deller wrote: Adding parisc-parisc mailing list... On 2/28/21 6:05 AM, Paul E. McKenney wrote: On Sun, Feb 28, 2021 at 12:08:08PM +0800, kernel test robot wrote: Hi Paul, First bad commit (maybe !=

[PATCH v2 00/13] arm64: dts: qcom: Update sc7180-trogdor variants from downstream

2021-03-01 Thread Douglas Anderson
The point of this series is to catch upstream up to what we have downstream in terms of sc7180-trogdor variants. Notably: - It incorporates minor changes that snuck into the trogdor and lazor device tree files since they were posted upstream. - It adds the "Limozeen" SKU variant of Lazor. - It

Re: [PATCH 0/8] USB Audio Gadget part 2: Feedback endpoint, Volume/Mute support

2021-03-01 Thread Ruslan Bilovol
Hi Johannes, On Mon, Mar 1, 2021 at 6:49 PM Johannes Freyberger wrote: > > Hi Ruslan, > > thanks for all your efforts to make the USB Audio Gadget work in Win10 using > UAC2. Meanwhile I managed to apply and compile your previous modifications > and now my Raspberry PI shows up in the Windows

Re: [PATCH v3 1/2] mtd: spi-nor: add OTP support

2021-03-01 Thread Michael Walle
Am 2021-03-01 18:32, schrieb Michael Walle: Am 2021-02-28 13:00, schrieb tudor.amba...@microchip.com: On 2/16/21 6:28 PM, Michael Walle wrote: Does the otp memory organization matter for the end user? Can't we lock/read/write past region size, for example 2 or 3 regions in a row, depending on

Re: [PATCH v9 2/4] KEYS: trusted: Introduce TEE based Trusted Keys

2021-03-01 Thread Jarkko Sakkinen
On Mon, Mar 01, 2021 at 06:41:25PM +0530, Sumit Garg wrote: > Add support for TEE based trusted keys where TEE provides the functionality > to seal and unseal trusted keys using hardware unique key. > > Refer to Documentation/staging/tee.rst for detailed information about TEE. > > Signed-off-by:

Re: [PATCH v4] net/qrtr: fix __netdev_alloc_skb call

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 1 Mar 2021 02:22:40 +0300 you wrote: > syzbot found WARNING in __alloc_pages_nodemask()[1] when order >= MAX_ORDER. > It was caused by a huge length value passed from userspace to > qrtr_tun_write_iter(), > which

Re: [PATCH] atm: lanai: dont run lanai_dev_close if not open

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 27 Feb 2021 22:55:50 -0500 you wrote: > lanai_dev_open() can fail. When it fail, lanai->base is unmapped and the > pci device is disabled. The caller, lanai_init_one(), then tries to run > atm_dev_deregister(). This

Re: [PATCH v9 1/4] KEYS: trusted: Add generic trusted keys framework

2021-03-01 Thread Jarkko Sakkinen
On Mon, Mar 01, 2021 at 06:41:24PM +0530, Sumit Garg wrote: > Current trusted keys framework is tightly coupled to use TPM device as > an underlying implementation which makes it difficult for implementations > like Trusted Execution Environment (TEE) etc. to provide trusted keys > support in case

Re: [PATCH 4.9 000/134] 4.9.259-rc1 review

2021-03-01 Thread Florian Fainelli
On 3/1/21 8:11 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.259 release. > There are 134 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v8 0/3] checkpatch: add verbose mode

2021-03-01 Thread Jonathan Corbet
Dwaipayan Ray writes: > Add a new verbose mode to checkpatch. The verbose test > descriptions are read from the new checkpatch documentation > file at `Documentation/dev-tools/checkpatch.rst`, which > is also added by this series. So I can certainly take the doc change, as requested. Remind

[PATCH 3/5] powercap/drivers/dtpm: Simplify the dtpm table

2021-03-01 Thread Daniel Lezcano
The dtpm table is an array of pointers, that forces the user of the table to define initdata along with the declaration of the table entry. It is more efficient to create an array of dtpm structure, so the declaration of the table entry can be done by initializing the different fields.

[PATCH 4/5] powercap/drivers/dtpm: Use container_of instead of a private data field

2021-03-01 Thread Daniel Lezcano
The dtpm framework provides an API to allocate a dtpm node. However when a backend dtpm driver needs to allocate a dtpm node it must define its own structure and store the pointer of this structure in the private field of the dtpm structure. It is more elegant to use the container_of macro and

Re: [PATCH 5.11 000/774] 5.11.3-rc2 review

2021-03-01 Thread Shuah Khan
On 3/1/21 2:23 PM, Shuah Khan wrote: On 3/1/21 12:38 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.11.3 release. There are 774 patches in this series, all will be posted as a response to this one.  If anyone has any issues with these being applied, please

Re: [PATCH 5.11 000/774] 5.11.3-rc2 review

2021-03-01 Thread Shuah Khan
On 3/1/21 12:38 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.11.3 release. There are 774 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH 5/5] powercap/drivers/dtpm: Scale the power with the load

2021-03-01 Thread Daniel Lezcano
Currently the power consumption is based on the current OPP power assuming the entire performance domain is fully loaded. That gives very gross power estimation and we can do much better by using the load to scale the power consumption. Use the utilization to normalize and scale the power usage

[PATCH] tpm: Remove unintentional dump_stack() call

2021-03-01 Thread Jarkko Sakkinen
Somewhere along the line, probably during a rebase, an unintentional dump_stack() got included. Revert this change. Reported-by: Rikard Falkeborn Fixes: 90cba8d20f8b ("tpm/ppi: Constify static struct attribute_group") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 2 -- 1

Re: [PATCH v3 04/25] mm/debug: Add VM_BUG_ON_FOLIO and VM_WARN_ON_ONCE_FOLIO

2021-03-01 Thread Zi Yan
On 28 Jan 2021, at 2:03, Matthew Wilcox (Oracle) wrote: > These are the folio equivalents of VM_BUG_ON_PAGE and VM_WARN_ON_ONCE_PAGE. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > include/linux/mmdebug.h | 20 > 1 file changed, 20 insertions(+) > > diff --git

[PATCH 2/5] powercap/drivers/dtpm: Create a registering system

2021-03-01 Thread Daniel Lezcano
A SoC can be differently structured depending on the platform and the kernel can not be aware of all the combinations, as well as the specific tweaks for a particular board. The creation of the hierarchy must be delegated to userspace. These changes provide a registering mechanism where the

[PATCH 1/5] powercap/drivers/dtpm: Encapsulate even more the code

2021-03-01 Thread Daniel Lezcano
In order to increase the self-encapsulation of the dtpm generic code, the following changes are adding a power update ops to the dtpm ops. That allows the generic code to call directly the dtpm backend function to update the power values. The power update function does compute the power

Re: [PATCH v9 9/9] certs: Add support for using elliptic curve keys for signing modules

2021-03-01 Thread Stefan Berger
On 2/26/21 10:35 PM, yumeng wrote: 在 2021/2/26 0:08, Stefan Berger 写道: From: Stefan Berger diff --git a/certs/Makefile b/certs/Makefile index 3fe6b73786fa..c487d7021c54 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -69,6 +69,18 @@ else   SIGNER = -signkey $(obj)/signing_key.key  

Re: [PATCH V2 net] net: phy: fix save wrong speed and duplex problem if autoneg is on

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 27 Feb 2021 11:05:58 +0800 you wrote: > From: Guangbin Huang > > If phy uses generic driver and autoneg is on, enter command > "ethtool -s eth0 speed 50" will not change phy speed actually, but > command "ethtool

Re: [PATCH] atm: eni: dont release is never initialized

2021-03-01 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sat, 27 Feb 2021 16:15:06 -0500 you wrote: > label err_eni_release is reachable when eni_start() fail. > In eni_start() it calls dev->phy->start() in the last step, if start() > fail we don't need to call phy->stop(), if

Re: [PATCH] doc: memcontrol: add description for oom_kill

2021-03-01 Thread Jonathan Corbet
Yang Shi writes: > When debugging an oom issue, I found the oom_kill counter of memcg is > confusing. At the first glance without checking document, I thought it > just counts for memcg oom, but it turns out it counts both global and > memcg oom. > > The cgroup v2 documents it, but the

Re: [PATCH 5.10 000/661] 5.10.20-rc2 review

2021-03-01 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 5.10.20 release. > There are 661 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. CIP testing did not find any problems here (failures are

Re: [PATCH v3 03/25] mm/vmstat: Add folio stat wrappers

2021-03-01 Thread Zi Yan
On 28 Jan 2021, at 2:03, Matthew Wilcox (Oracle) wrote: > Allow page counters to be more readily modified by callers which have > a folio. Name these wrappers with 'stat' instead of 'state' as requested > by Linus here: >

Re: [PATCH] PATCH Documentation translations:translate sound/hd-audio/controls to chinese

2021-03-01 Thread Jonathan Corbet
hjh writes: > Signed-off-by: hjh > --- > Documentation/translations/zh_CN/index.rst| 1 + > .../zh_CN/sound/hd-audio/controls.rst | 102 ++ > .../zh_CN/sound/hd-audio/index.rst| 17 +++ > .../translations/zh_CN/sound/index.rst| 26 + > 4

Re: [PATCH 4.4 00/93] 4.4.259-rc1 review

2021-03-01 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.4.259 release. > There are 93 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Wed, 03 Mar 2021 16:09:49

Re: [PATCH 4.19 000/246] 4.19.178-rc2 review

2021-03-01 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.178 release. > There are 246 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be made by Wed, 03 Mar 2021 19:35:01

Re: Lockdep warning in iwl_pcie_rx_handle()

2021-03-01 Thread Johannes Berg
Hi Jiri, > I am getting the splat below with Linus' tree as of today (5.11-rc1, > fe07bfda2fb). I haven't started to look into the code yet, but apparently > this has been already reported by Heiner here: > > https://www.spinics.net/lists/linux-wireless/msg208353.html > > so before I

Re: [PATCH] tpm: Remove unintentional dump_stack() call

2021-03-01 Thread Rikard Falkeborn
On Mon, Mar 01, 2021 at 11:44:09AM +0200, jar...@kernel.org wrote: > From: Jarkko Sakkinen > > Somewhere along the line, probably during a rebase, an unintentional > dump_stack() got included. Revert this change. > > Reported-by: Rikard Falkeborn > Fixes: 90cba8d20f8b ("tpm/ppi: Constify

Re: [PATCH 1/3] mfd: gateworks-gsc: Constify static struct attribute_group

2021-03-01 Thread Rikard Falkeborn
On Mon, Mar 01, 2021 at 09:56:45AM +, Lee Jones wrote: > On Sun, 31 Jan 2021, Rikard Falkeborn wrote: > > > The only usage of attr_group is to pass its address to > > sysfs_create_group() and sysfs_remove_group(), both which takes pointers > > to const attribute_group structs. Make it const

Re: Lockdep warning in iwl_pcie_rx_handle()

2021-03-01 Thread Jiri Kosina
On Mon, 1 Mar 2021, Jiri Kosina wrote: > I am getting the splat below with Linus' tree as of today (5.11-rc1, > fe07bfda2fb). I haven't started to look into the code yet, but apparently > this has been already reported by Heiner here: > >

Re: [PATCH V2] docs: sphinx: Fix couple of spellings in the file rstFlatTable.py

2021-03-01 Thread Jonathan Corbet
Bhaskar Chowdhury writes: > s/automaticly/automatically/ > s/buidler/builder/ > > ..and a sentence construction fix. > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V1: > Incorporating Randy's observations ...i.e sentence construction > > Documentation/sphinx/rstFlatTable.py | 4

Re: [PATCH v3 02/25] mm: Add folio_pgdat

2021-03-01 Thread Zi Yan
On 28 Jan 2021, at 2:03, Matthew Wilcox (Oracle) wrote: > This is just a convenience wrapper for callers with folios; pgdat can > be reached from tail pages as well as head pages. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > include/linux/mm.h | 5 + > 1 file changed, 5 insertions(+)

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

2021-03-01 Thread Josh Don
On Fri, Feb 26, 2021 at 12:08 PM Chris Hyser wrote: > > Update: > > The clone syscall stress test I have is causing a deadlock with this patchset > when > compiled with CONFIG_PROVE_RAW_LOCK_NESTING=y. I am able to get stacktraces > with > nmi_watchdog and am looking through those. Josh was not

Re: [PATCH] nvme-tcp: Check if request has started before processing it

2021-03-01 Thread Keith Busch
On Mon, Mar 01, 2021 at 05:53:25PM +0100, Hannes Reinecke wrote: > On 3/1/21 5:05 PM, Keith Busch wrote: > > On Mon, Mar 01, 2021 at 02:55:30PM +0100, Hannes Reinecke wrote: > > > On 3/1/21 2:26 PM, Daniel Wagner wrote: > > > > On Sat, Feb 27, 2021 at 02:19:01AM +0900, Keith Busch wrote: > > > > >

Re: [PATCH v3 01/25] mm: Introduce struct folio

2021-03-01 Thread Zi Yan
On 1 Mar 2021, at 15:53, Matthew Wilcox wrote: > On Mon, Mar 01, 2021 at 03:26:11PM -0500, Zi Yan wrote: >>> +static inline struct folio *next_folio(struct folio *folio) >>> +{ >>> + return folio + folio_nr_pages(folio); >> >> Are you planning to make hugetlb use folio too? > > Eventually,

Re: #pragma once (was Re: incoming)

2021-03-01 Thread Al Viro
On Sat, Feb 27, 2021 at 02:02:21AM +0300, Alexey Dobriyan wrote: > There are rules and schemes about how to create guard macro. > > Should it be prefixed by underscore? > Should it be prefixed by two underscores? > Should it be full path uppercased or just last path component? > Should the guard

Re: Question about the "EXPERIMENTAL" tag for dax in XFS

2021-03-01 Thread Dan Williams
On Sun, Feb 28, 2021 at 2:39 PM Dave Chinner wrote: > > On Sat, Feb 27, 2021 at 03:40:24PM -0800, Dan Williams wrote: > > On Sat, Feb 27, 2021 at 2:36 PM Dave Chinner wrote: > > > On Fri, Feb 26, 2021 at 02:41:34PM -0800, Dan Williams wrote: > > > > On Fri, Feb 26, 2021 at 1:28 PM Dave Chinner

Lockdep warning in iwl_pcie_rx_handle()

2021-03-01 Thread Jiri Kosina
Hi, I am getting the splat below with Linus' tree as of today (5.11-rc1, fe07bfda2fb). I haven't started to look into the code yet, but apparently this has been already reported by Heiner here: https://www.spinics.net/lists/linux-wireless/msg208353.html so before I start digging deep

Re: Linux 5.12-rc1

2021-03-01 Thread Guenter Roeck
On Sun, Feb 28, 2021 at 04:29:34PM -0800, Linus Torvalds wrote: > So two weeks have passed since the 5.11 release, and so - like > clockwork - the merge window for 5.12 has closed, and 5.12-rc1 is out > there for your perusal. > Basic test results look pretty good. Build results: total:

Re: [PATCH V2] docs: sphinx: Fix couple of spellings in the file rstFlatTable.py

2021-03-01 Thread Randy Dunlap
On 3/1/21 12:10 PM, Bhaskar Chowdhury wrote: > s/automaticly/automatically/ > s/buidler/builder/ > > ..and a sentence construction fix. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Changes from V1: > Incorporating Randy's observations ...i.e sentence construction >

Re: [PATCH v3 01/25] mm: Introduce struct folio

2021-03-01 Thread Matthew Wilcox
On Mon, Mar 01, 2021 at 03:26:11PM -0500, Zi Yan wrote: > > +static inline struct folio *next_folio(struct folio *folio) > > +{ > > + return folio + folio_nr_pages(folio); > > Are you planning to make hugetlb use folio too? Eventually, probably. It's not my focus. > If yes, this might not

Re: RFC: sysfs node for Secondary PCI bus reset (PCIe Hot Reset)

2021-03-01 Thread Bjorn Helgaas
[+cc Alex, reset expert] On Mon, Mar 01, 2021 at 06:12:21PM +0100, Pali Rohár wrote: > Hello! > > PCIe card can be reset via in-band Hot Reset signal which can be > triggered by PCIe bridge via Secondary Bus Reset bit in PCI config > space. > > Kernel already exports sysfs node "reset" for

Re: [PATCH] scsi: ufs: Fix incorrect ufshcd_state after ufshcd_reset_and_restore()

2021-03-01 Thread Bean Huo
On Mon, 2021-03-01 at 21:19 +0200, Adrian Hunter wrote: > If ufshcd_probe_hba() fails it sets ufshcd_state to > UFSHCD_STATE_ERROR, > however, if it is called again, as it is within a loop in > ufshcd_reset_and_restore(), and succeeds, then it will not set the > state > back to

Re: [PATCH] crypto: expose needs_key in procfs

2021-03-01 Thread Christoph Böhmwalder
On 01.03.21 19:47, Eric Biggers wrote: On Mon, Mar 01, 2021 at 05:59:17PM +0100, Christoph Böhmwalder wrote: Currently, it is not apparent for userspace users which hash algorithms require a key and which don't. We have /proc/crypto, so add a field with this information there. Signed-off-by:

Re: [PATCH v2] eeprom/optoe: driver to read/write SFP/QSFP/CMIS EEPROMS

2021-03-01 Thread Andrew Lunn
> To be more specific, optoe is only replacing the functionality of > drivers/net/phy/sfp.c, the functions of sfp_i2c_read() and sfp_i2c_write(). > These are the routines at the very bottom of the ethtool stack that actually > execute the i2c calls to get the data. The existing routines are very

Re: [PATCH v2 3/3] kernel/smp: add more data to CSD lock debugging

2021-03-01 Thread Peter Zijlstra
On Mon, Mar 01, 2021 at 08:16:12PM +0100, Jürgen Groß wrote: > >https://lkml.kernel.org/r/20210220231712.2475218-2-na...@vmware.com > > They are already in tip locking/core (Ingo applied them). I'm very tempted to undo that :-(

Re: exec error: BUG: Bad rss-counter

2021-03-01 Thread Eric W. Biederman
Ilya Lipnitskiy writes: > Eric, All, > > The following error appears when running Linux 5.10.18 on an embedded > MIPS mt7621 target: > [0.301219] BUG: Bad rss-counter state mm:(ptrval) type:MM_ANONPAGES val:1 > > Being a very generic error, I started digging and added a stack dump > before

Re: memory leak in bpf

2021-03-01 Thread Dmitry Vyukov
On Mon, Mar 1, 2021 at 9:39 PM Rustam Kovhaev wrote: > > On Mon, Mar 01, 2021 at 08:05:42PM +0100, Dmitry Vyukov wrote: > > On Mon, Mar 1, 2021 at 5:21 PM Rustam Kovhaev wrote: > > > > > > On Wed, Dec 09, 2020 at 10:58:10PM -0800, syzbot wrote: > > > > syzbot has found a reproducer for the

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