[PATCH 0/7] Some cleanups and improvements for blk-iocost

2020-11-23 Thread Baolin Wang
Hi, This patch set did some cleanups and improvements for blk-iocost, and no big functional changes. Please help to review. Thanks. Baolin Wang (7): blk-iocost: Fix some typos in comments blk-iocost: Remove unnecessary advance declaration blk-iocost: Just open code the q_name()

[PATCH 5/7] blk-iocost: Move the usage ratio calculation to the correct place

2020-11-23 Thread Baolin Wang
We only use the hweight based usage ratio to calculate the new hweight_inuse of the iocg to decide if this iocg can donate some surplus vtime. Thus move the usage ratio calculation to the correct place to avoid unnecessary calculation for some vtime shortage iocgs. Signed-off-by: Baolin Wang

[PATCH 3/7] blk-iocost: Just open code the q_name()

2020-11-23 Thread Baolin Wang
The simple q_name() function is only called from ioc_name(), just open code it to make code more readable. Signed-off-by: Baolin Wang --- block/blk-iocost.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/block/blk-iocost.c b/block/blk-iocost.c index

[PATCH 6/7] blk-iocost: Factor out the active iocgs' state check into a separate function

2020-11-23 Thread Baolin Wang
Factor out the iocgs' state check into a separate function to simplify the ioc_timer_fn(). No functional change. Signed-off-by: Baolin Wang --- block/blk-iocost.c | 91 ++ 1 file changed, 51 insertions(+), 40 deletions(-) diff --git

[PATCH 4/7] blk-iocost: Add a flag to indicate if need update hwi

2020-11-23 Thread Baolin Wang
We can get the hwa and hwi at one time if no debt need to pay off, thus add a flag to indicate if the hw_inuse has been changed and need to update, which can avoid calling current_hweight() twice for no debt iocgs. Signed-off-by: Baolin Wang --- block/blk-iocost.c | 7 +-- 1 file changed, 5

[PATCH 1/7] blk-iocost: Fix some typos in comments

2020-11-23 Thread Baolin Wang
Fix some typos in comments. Signed-off-by: Baolin Wang --- block/blk-iocost.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/block/blk-iocost.c b/block/blk-iocost.c index bbe86d1..4ffde36 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -39,7 +39,7

Re: [PATCH v2 4/4] iio: hid-sensors: Add hinge sensor driver

2020-11-23 Thread Ye, Xiang
On Sun, Nov 22, 2020 at 04:50:47PM +, Jonathan Cameron wrote: > On Sun, 22 Nov 2020 15:51:18 + > "Pandruvada, Srinivas" wrote: > > > On Sun, 2020-11-22 at 14:14 +, Jonathan Cameron wrote: > > > On Sun, 22 Nov 2020 02:14:16 + > > > "Pandruvada, Srinivas" wrote: > > > > > > >

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-11-23 Thread Jarkko Sakkinen
On Tue, Nov 24, 2020 at 05:27:30AM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 19, 2020 at 03:42:35PM +0100, Hans de Goede wrote: > > Hi, > > > > On 11/19/20 7:36 AM, Jerry Snitselaar wrote: > > > > > > Matthew Garrett @ 2020-10-15 15:39 MST: > > > > > >> On Thu, Oct 15, 2020 at 2:44 PM Jerry

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-11-23 Thread Jarkko Sakkinen
On Thu, Nov 19, 2020 at 03:42:35PM +0100, Hans de Goede wrote: > Hi, > > On 11/19/20 7:36 AM, Jerry Snitselaar wrote: > > > > Matthew Garrett @ 2020-10-15 15:39 MST: > > > >> On Thu, Oct 15, 2020 at 2:44 PM Jerry Snitselaar > >> wrote: > >>> > >>> There is a misconfiguration in the bios of

[PATCH v9] hwmon:Driver for Delta power supplies Q54SJ108A2

2020-11-23 Thread xiao.ma
From: "xiao.ma" The driver supports Q54SJ108A2 series modules of Delta. Standard attributes are in the sysfs, and other attributes are in the debugfs. Signed-off-by: xiao.ma --- Notes: Patch v2 changelog: Add delta.rst in Documentation/hwmon. Tristate "DELTA" in Kconfig is

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-11-23 Thread Jarkko Sakkinen
On Wed, Nov 18, 2020 at 11:36:20PM -0700, Jerry Snitselaar wrote: > > Matthew Garrett @ 2020-10-15 15:39 MST: > > > On Thu, Oct 15, 2020 at 2:44 PM Jerry Snitselaar > > wrote: > >> > >> There is a misconfiguration in the bios of the gpio pin used for the > >> interrupt in the T490s. When

Re: [PATCH 0/2] scsi: pm8001: logging neatening

2020-11-23 Thread Martin K. Petersen
Joe, > Reduce code duplication and generic neatening of logging macros Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v2 9/9] misc: xilinx-ai-engine: Add support for servicing error interrupts

2020-11-23 Thread Wendy Liang
On 11/19/20 12:36 AM, Hillf Danton wrote: On Wed, 18 Nov 2020 15:48:09 -0800 Wendy Liang wrote: +/** + * aie_interrupt() - interrupt handler for AIE. + * @irq: Interrupt number. + * @data: AI engine device structure. + * @return: IRQ_HANDLED. + * + * This thread function disables level 2

Re: [PATCH -next] panic: complete the flush of the hard deadlock log messages to the serial port

2020-11-23 Thread xuqiang (M)
在 2020/11/24 3:52, Andrew Morton 写道: On Mon, 23 Nov 2020 13:13:59 + Xu Qiang wrote: when hardlockup_all_cpu_backtrace is on, and there are a large number of cores in the system, it takes a long time to output the hard deadlock logs of all cores to the serial port. When the

Re: arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping'

2020-11-23 Thread Dan Williams
hys_to_target_node() and memory_add_physaddr_to_nid() exports > date: 31 hours ago > config: powerpc-randconfig-r024-20201123 (attached as .config) > compiler: powerpc64le-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget > https://raw.githubusercontent.com/intel/lkp-test

Re: Patch "powerpc/64s: flush L1D after user accesses" has been added to the 4.4-stable tree

2020-11-23 Thread yangerkun
在 2020/11/20 15:30, gre...@linuxfoundation.org 写道: This is a note to let you know that I've just added the patch titled powerpc/64s: flush L1D after user accesses to the 4.4-stable tree which can be found at:

Re: [PATCH] scsi/NCR5380: Reduce NCR5380_maybe_release_dma_irq() call sites

2020-11-23 Thread Martin K. Petersen
Finn, > Refactor to avoid needless calls to NCR5380_maybe_release_dma_irq(). > This makes the machine code smaller and the source more readable. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi/atari_scsi: Fix race condition between .queuecommand and EH

2020-11-23 Thread Martin K. Petersen
Finn, > It is possible that bus_reset_cleanup() or .eh_abort_handler could be > invoked during NCR5380_queuecommand(). If that takes place before the > new command is enqueued and after the ST-DMA "lock" has been acquired, > the ST-DMA "lock" will be released again. This will result in a lost >

Re: [PATCH] scsi: pm8001: remove casting kcalloc

2020-11-23 Thread Martin K. Petersen
Xu, > Remove casting the values returned by kcalloc. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4] checkpatch: add fix and improve warning msg for Non-standard signature

2020-11-23 Thread Aditya
On 23/11/20 11:03 pm, Joe Perches wrote: > On Mon, 2020-11-23 at 22:54 +0530, Aditya Srivastava wrote: >> Currently, checkpatch.pl warns for BAD_SIGN_OFF on non-standard signature >> styles. > > I think this proposed change is unnecessary. > >> This warning occurs because of incorrect use of

Re: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-23 Thread Chao Yu
On 2020/11/24 1:05, David Laight wrote: From: Sahitya Tummala Sent: 23 November 2020 05:29 Use rwsem to ensure serialization of the callers and to avoid starvation of high priority tasks, when the system is under heavy IO workload. I can't see any read lock requests. So why the change? Hi

Re: [Regression]: Commit 74d905d2 breaks the touchpad and touchscreen of Google Chromebook "samus"

2020-11-23 Thread Wang, Jiada
Hello Andre Thanks for the log, can you add more debug information like following diff, and get full log? diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 98f17fa3a892..60bccd5c42f6 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++

Re: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-23 Thread Chao Yu
On 2020/11/23 13:28, Sahitya Tummala wrote: Use rwsem to ensure serialization of the callers and to avoid starvation of high priority tasks, when the system is under heavy IO workload. Signed-off-by: Sahitya Tummala Reviewed-by: Chao Yu Thanks,

Re: [f2fs-dev] [PATCH 2/2] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-11-23 Thread Chao Yu
On 2020/11/23 11:17, Daeho Jeong wrote: From: Daeho Jeong Added two ioctl to decompress/compress explicitly the compression enabled file in "compress_mode=user-based" mount option. Using these two ioctls, the users can make a control of compression and decompression of their files.

Re: [PATCH] kfence: Avoid stalling work queue task without allocations

2020-11-23 Thread Boqun Feng
Hi Steven, On Mon, Nov 23, 2020 at 01:42:27PM -0500, Steven Rostedt wrote: > On Mon, 23 Nov 2020 11:28:12 -0500 > Steven Rostedt wrote: > > > I noticed: > > > > > > [ 237.650900] enabling event benchmark_event > > > > In both traces. Could you disable CONFIG_TRACEPOINT_BENCHMARK and see if

Re: [PATCH] sctp: Fix some typo

2020-11-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Sun, 22 Nov 2020 19:07:04 +0100 you wrote: > s/tranport/transport/ > > Signed-off-by: Christophe JAILLET > --- > net/sctp/transport.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Here is the summary

Re: [PATCH v2 15/19] x86/vdso: Migrate to generic vdso_base

2020-11-23 Thread kernel test robot
:62918e6fd7b5751c1285c7f8c6cbd27eb6600c02 config: i386-randconfig-s001-20201123 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-134-gb59dbdaf-dirty # https://github.com/0day-ci/linux/commit/bef228ec5535f5941e842ca57e7bd54d23427cde

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Finn Thain
On Mon, 23 Nov 2020, Joe Perches wrote: > On Tue, 2020-11-24 at 11:58 +1100, Finn Thain wrote: > > it's not for me to prove that such patches don't affect code > > generation. That's for the patch author and (unfortunately) for > > reviewers. > > Ideally, that proof would be provided by the

Re: [PATCH] Documentation: Chinese translation of Documentation/arm64/elf_hwcaps.rst

2020-11-23 Thread Alex Shi
Thanks Bailu! Reviewed-by: Alex Shi 在 2020/11/24 上午10:38, Bailu Lin 写道: > This is a Chinese translated version of > Documentation/arm64/elf_hwcaps.rst > > Signed-off-by: Bailu Lin > --- > Changes in v2: > - Modify five translation issues as Alex sugguested. > --- >

[no subject]

2020-11-23 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

[no subject]

2020-11-23 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Re: [Patch v2 0/6] Enable Qualcomm Crypto Engine on sdm845

2020-11-23 Thread Thara Gopinath
On 11/19/20 5:44 PM, Eric Biggers wrote: On Thu, Nov 19, 2020 at 10:52:27AM -0500, Thara Gopinath wrote: Qualcomm crypto engine supports hardware accelerated algorithms for encryption and authentication. Enable support for aes,des,3des encryption algorithms and sha1,sha256,

[no subject]

2020-11-23 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

[PATCH] Documentation: Chinese translation of Documentation/arm64/elf_hwcaps.rst

2020-11-23 Thread Bailu Lin
This is a Chinese translated version of Documentation/arm64/elf_hwcaps.rst Signed-off-by: Bailu Lin --- Changes in v2: - Modify five translation issues as Alex sugguested. --- Documentation/arm64/elf_hwcaps.rst| 2 + .../translations/zh_CN/arm64/elf_hwcaps.rst | 240

Re: [PATCH v24 12/12] landlock: Add user and kernel documentation

2020-11-23 Thread James Morris
On Sat, 21 Nov 2020, Jann Horn wrote: > On Thu, Nov 12, 2020 at 9:52 PM Mickaël Salaün wrote: > > This documentation can be built with the Sphinx framework. > > > > Cc: James Morris > > Cc: Jann Horn > > Cc: Kees Cook > > Cc: Serge E. Hallyn > > Signed-off-by: Mickaël Salaün > >

[no subject]

2020-11-23 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Joe Perches
On Mon, 2020-11-23 at 18:05 -0800, Nick Desaulniers wrote: > (minus all of these lists, except LKML, CBL, and ACPI) > > On Mon, Nov 23, 2020 at 5:46 PM Jakub Kicinski wrote: > > > On Mon, 23 Nov 2020 17:32:51 -0800 Nick Desaulniers wrote: > > > On Sun, Nov 22, 2020 at 8:17 AM Kees Cook wrote:

Re: [PATCH 2/2] mm/vmalloc: rework the drain logic

2020-11-23 Thread Huang, Ying
Uladzislau Rezki writes: >> >> >> And I found the long latency avoidance logic in >> >> >> __purge_vmap_area_lazy() appears problematic, >> >> >> >> >> >> if (atomic_long_read(_lazy_nr) < resched_threshold) >> >> >> cond_resched_lock(_vmap_area_lock); >> >> >> >> >> >>

Re: [f2fs-dev] [PATCH 1/2] f2fs: add compress_mode mount option

2020-11-23 Thread Chao Yu
On 2020/11/23 11:17, Daeho Jeong wrote: From: Daeho Jeong We will add a new "compress_mode" mount option to control file compression mode. This supports "fs-based" and "user-based". In "fs-based" mode (default), f2fs does automatic compression on the compression enabled files. In "user-based"

[PATCH] tools/power turbostat: Support Ice Lake D

2020-11-23 Thread Chen Yu
Ice Lake D is low-end server version of Ice Lake X, reuse the code accordingly. Tested-by: Wendy Wang Signed-off-by: Chen Yu --- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/power/x86/turbostat/turbostat.c

Re: [PATCH 5.4 000/158] 5.4.80-rc1 review

2020-11-23 Thread Guenter Roeck
On Mon, Nov 23, 2020 at 01:20:28PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.80 release. > There are 158 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

arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping'

2020-11-23 Thread kernel test robot
-randconfig-r024-20201123 (attached as .config) compiler: powerpc64le-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm

Re: [PATCH v4 2/3] fscrypt: Have filesystems handle their d_ops

2020-11-23 Thread Gao Xiang
On Mon, Nov 23, 2020 at 02:51:44PM -0800, Eric Biggers wrote: > On Sun, Nov 22, 2020 at 01:12:18PM +0800, Gao Xiang wrote: > > Hi all, > > > > On Thu, Nov 19, 2020 at 06:09:03AM +, Daniel Rosenberg wrote: > > > This shifts the responsibility of setting up dentry operations from > > > fscrypt

Re: [PATCH v2] brmcfmac: fix compile when DEBUG is defined

2020-11-23 Thread hby
I am sorry for the HTML email, and I change the email client. The patch update. From b87d429158b4efc3f6835828f495a261e17d5af4 Mon Sep 17 00:00:00 2001 From: hby Date: Tue, 24 Nov 2020 09:16:24 +0800 Subject: [PATCH] brmcfmac: fix compile when DEBUG is defined The steps: 1. add "#define DEBUG"

[PATCH v6 4/4] soc: imx8m: change to use platform driver

2020-11-23 Thread Alice Guo
Directly reading ocotp register depends on that bootloader enables ocotp clk, which is not always effective, so change to use nvmem API. Using nvmem API requires to support driver defer probe and thus change soc-imx8m.c to use platform driver. The other reason is that directly reading ocotp

[PATCH v6 3/4] arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID

2020-11-23 Thread Alice Guo
In order to be able to use NVMEM APIs to read soc unique ID, add the nvmem data cell and name for nvmem-cells to the "soc" node, and add a nvmem node which provides soc unique ID to efuse@3035. Signed-off-by: Alice Guo --- v2: remove the subject prefix "LF-2571-3" v3: convert register

[PATCH v6 2/4] arm64: dts: imx8m: add SoC ID compatible

2020-11-23 Thread Alice Guo
Add compatible string to .dtsi files for binding of imx8_soc_info and device. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alice Guo --- v2: remove the subject prefix "LF-2571-2" v3: none v4: change subject and commit message, add Reviewed-by v5: none v6: leave only the changelog under

Re: [drm/fb] 6a1b34c0a3: WARNING:at_drivers/gpu/drm/drm_fb_helper.c:#drm_fb_helper_damage_work

2020-11-23 Thread Xing Zhengjun
On 11/23/2020 4:04 PM, Thomas Zimmermann wrote: Hi Am 22.11.20 um 15:18 schrieb kernel test robot: Greeting, FYI, we noticed the following commit (built with gcc-9): commit: 6a1b34c0a339fdc75d7932ad5702f2177c9d7a1c ("drm/fb-helper: Move damage blit code and its setup into separate

[PATCH v6 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-23 Thread Alice Guo
Add DT Binding doc for the Unique ID of i.MX 8M series. Signed-off-by: Alice Guo --- v2: remove the subject prefix "LF-2571-1" v3: put it into Documentation/devicetree/bindings/arm/fsl.yaml modify the description of nvmem-cells use "make ARCH=arm64 dtbs_check" to test it and fix errors

Re: [PATCH 1/3] spi: Loongson: Add Loongson 3A+7A SPI controller driver support

2020-11-23 Thread zhangqing
Hi Mark, Thank you for your suggestion, I will do it and send the v2 in the future. Thanks, Qing On 11/23/2020 09:10 PM, Mark Brown wrote: On Mon, Nov 23, 2020 at 05:19:06PM +0800, Qing Zhang wrote: This module is integrated into the Loongson-3A SoC and the LS7A bridge chip. It looks

Re: [EXT] Re: [v2 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-11-23 Thread Li Yang
On Thu, Nov 5, 2020 at 5:04 PM Leo Li wrote: > > > > > -Original Message- > > From: Rasmus Villemoes > > Sent: Tuesday, November 3, 2020 2:03 AM > > To: Leo Li ; Biwen Li (OSS) ; > > shawn...@kernel.org; robh...@kernel.org; mark.rutl...@arm.com; Z.q. > > Hou ; t...@linutronix.de;

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Nick Desaulniers
On Sun, Nov 22, 2020 at 8:17 AM Kees Cook wrote: > > On Fri, Nov 20, 2020 at 11:51:42AM -0800, Jakub Kicinski wrote: > > If none of the 140 patches here fix a real bug, and there is no change > > to machine code then it sounds to me like a W=2 kind of a warning. > > FWIW, this series has found at

Re: [PATCH] scsi: fnic: Validate io_req before others

2020-11-23 Thread Arulprabhu Ponnusamy (arulponn)
Looks good. Reviewed-by: Arulprabhu Ponnusamy On 11/20/20, 6:33 PM, "Karan Tilak Kumar" wrote: We need to check for a valid io_req before we check other data. Also, removing redundant checks. Signed-off-by: Karan Tilak Kumar Signed-off-by: Satish Kharat ---

[PATCH] cpuidle: arm: qcom: fix Kconfig problems

2020-11-23 Thread Randy Dunlap
on --- drivers/cpuidle/Kconfig.arm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-next-20201123.orig/drivers/cpuidle/Kconfig.arm +++ linux-next-20201123/drivers/cpuidle/Kconfig.arm @@ -108,10 +108,11 @@ config ARM_TEGRA_CPUIDLE config ARM_QCOM_SPM_CPUIDLE boo

Re: [PATCH] scsi: fnic: set scsi_set_resid only for underflow

2020-11-23 Thread Arulprabhu Ponnusamy (arulponn)
Looks good. Reviewed-by: Arulprabhu Ponnusamy On 11/20/20, 5:51 PM, "Karan Tilak Kumar" wrote: Fix to set scsi_set_resid() only if FCPIO_ICMND_CMPL_RESID_UNDER is set. Signed-off-by: Karan Tilak Kumar Signed-off-by: Satish Kharat --- drivers/scsi/fnic/fnic.h |

Re: [PATCH v3] soc: fsl: dpio: Get the cpumask through cpumask_of(cpu)

2020-11-23 Thread Li Yang
On Mon, Oct 19, 2020 at 9:15 PM Yi Wang wrote: > > From: Hao Si > > The local variable 'cpumask_t mask' is in the stack memory, and its address > is assigned to 'desc->affinity' in 'irq_set_affinity_hint()'. > But the memory area where this variable is located is at risk of being > modified. > >

Re: [PATCH net] ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init

2020-11-23 Thread Jakub Kicinski
On Sun, 22 Nov 2020 10:34:56 +0800 Wang Hai wrote: > kmemleak report a memory leak as follows: > > unreferenced object 0x8880059c6a00 (size 64): > comm "ip", pid 23696, jiffies 4296590183 (age 1755.384s) > hex dump (first 32 bytes): > 20 01 00 10 00 00 00 00 00 00 00 00 00 00 00 00

Re: [PATCH v2 net] ptp: clockmatrix: bug fix for idtcm_strverscmp

2020-11-23 Thread Richard Cochran
On Mon, Nov 23, 2020 at 03:20:06PM -0500, min.li...@renesas.com wrote: > From: Min Li > > Feed kstrtou8 with NULL terminated string. > > Changes since v1: > -Use strscpy instead of strncpy for safety. > > Signed-off-by: Min Li > --- > drivers/ptp/ptp_clockmatrix.c | 60 >

Re: [PATCH v2 2/4] arm64: dts: ti: k3: squelch warnings regarding no #address-cells for interrupt-controller

2020-11-23 Thread Nishanth Menon
On 09:45-20201123, Sekhar Nori wrote: > >> The main reason I commented - is hope to get some clarification from DT > >> maintainers. > >> 90% of interrupt-controller nodes do not have #address-cells and I never > >> seen in in GPIO nodes > >>

Re: [PATCH] scsi: fnic: Change shost_printk with FNIC_FCS_DBG

2020-11-23 Thread Arulprabhu Ponnusamy (arulponn)
Changes look good. Reviewed-by: Arulprabhu Ponnusamy On 11/20/20, 2:08 PM, "Karan Tilak Kumar" wrote: Replacing shost_printk with FNIC_FCS_DBG so that these log messages are controlled by fnic_log_level flag in fnic_fip_handler_timer. Bumping up version number from 47 to 49

drivers/leds/leds-lp55xx-common.c:204:4: warning: Variable 'j' is modified but its new value is never used.

2020-11-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 418baf2c28f3473039f2f7377760bd8f6897ae18 commit: 92a81562e695628086acb92f95090ab09d9b9ec0 leds: lp55xx: Add multicolor framework support to lp55xx compiler: c6x-elf-gcc (GCC) 9.3.0 If you fix the issue,

Re: [PATCH] scsi: fnic: Avoid looping in TRANS ETH on unload

2020-11-23 Thread Arulprabhu Ponnusamy (arulponn)
Changes look good. Reviewed-by: Arulprabhu Ponnusamy On 11/20/20, 5:22 PM, "Karan Tilak Kumar" wrote: This change is to avoid looping in fnic_scsi_abort_io before sending fw reset when fnic is in TRANS ETH state and when we have not received any link events.

Re: [PATCH] scsi: fnic: Change shost_printk to FNIC_MAIN_DBG

2020-11-23 Thread Arulprabhu Ponnusamy (arulponn)
Looks good. Reviewed-by: Arulprabhu Ponnusamy On 11/20/20, 5:38 PM, "Karan Tilak Kumar" wrote: Replacing shost_printk with FNIC_MAIN_DBG so that these log messages are controlled by fnic_log_level flag in fnic_handle_link. Signed-off-by: Karan Tilak Kumar Signed-off-by:

Re: [PATCH 6/6] mm: proc: Avoid fullmm flush for young/dirty bit toggling

2020-11-23 Thread Yu Zhao
On Mon, Nov 23, 2020 at 09:17:51PM +, Will Deacon wrote: > On Mon, Nov 23, 2020 at 01:04:03PM -0700, Yu Zhao wrote: > > On Mon, Nov 23, 2020 at 06:35:55PM +, Will Deacon wrote: > > > On Fri, Nov 20, 2020 at 01:40:05PM -0700, Yu Zhao wrote: > > > > On Fri, Nov 20, 2020 at 02:35:57PM +,

Re: [PATCH v4 1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2020-11-23 Thread Li Yang
On Mon, Nov 2, 2020 at 1:37 AM Ran Wang wrote: > > From: Biwen Li > > Hardware issue: > - Reading register RCPM_IPPDEXPCR1 always return zero, this causes > system firmware could not get correct information and wrongly do > clock gating for all wakeup source IP during system suspend. Then >

Re: [PATCH 1/2] scsi: pm8001: Neaten debug logging macros and uses

2020-11-23 Thread kernel test robot
Hi Joe, I love your patch! Perhaps something to improve: [auto build test WARNING on scsi/for-next] [also build test WARNING on mkp-scsi/for-next next-20201123] [cannot apply to v5.10-rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH 1/2] net: pch_gbe: Use dma_set_mask_and_coherent to simplify code

2020-11-23 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Sat, 21 Nov 2020 10:03:02 +0100 you wrote: > 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by > an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. > > Signed-off-by:

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Joe Perches
On Tue, 2020-11-24 at 11:58 +1100, Finn Thain wrote: > it's not for me to prove that such patches don't affect code > generation. That's for the patch author and (unfortunately) for reviewers. Ideally, that proof would be provided by the compilation system itself and not patch authors nor

[PATCH] dmaengine: mv_xor_v2: Fix error return code in mv_xor_v2_probe()

2020-11-23 Thread Zhihao Cheng
Return the corresponding error code when first_msi_entry() returns NULL in mv_xor_v2_probe(). Fixes: 19a340b1a820430 ("dmaengine: mv_xor_v2: new driver") Reported-by: Hulk Robot Signed-off-by: Zhihao Cheng --- drivers/dma/mv_xor_v2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: [f2fs-dev] [PATCH 2/2] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE

2020-11-23 Thread Daeho Jeong
2020년 11월 24일 (화) 오전 8:29, Eric Biggers 님이 작성: > > On Tue, Nov 24, 2020 at 08:02:21AM +0900, Daeho Jeong wrote: > > Jaegeuk, > > > > My mistake~ > > > > Eric, > > > > What I want is like do_page_cache_ra(), but I used > > page_cache_ra_unbounded() directly, because we already checked that > > read

Re: [PATCH] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-11-23 Thread kernel test robot
Hi Qi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10-rc5 next-20201123] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH 000/141] Fix fall-through warnings for Clang

2020-11-23 Thread Finn Thain
On Mon, 23 Nov 2020, Miguel Ojeda wrote: > On Mon, 23 Nov 2020, Finn Thain wrote: > > > On Sun, 22 Nov 2020, Miguel Ojeda wrote: > > > > > > > > It isn't that much effort, isn't it? Plus we need to take into > > > account the future mistakes that it might prevent, too. > > > > We should

[PATCH] firmware/psci: psci_checker: fix application of sizeof to pointer

2020-11-23 Thread Tian Tao
sizeof when applied to a pointer typed expression gives the size of the pointer. The proper fix in this particular case is to code sizeof(*cpu_groups) instead of sizeof(cpu_groups). This issue was detected with the help of Coccinelle. Signed-off-by: Tian Tao ---

Re: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection

2020-11-23 Thread Doug Anderson
Hi, On Thu, Nov 12, 2020 at 12:09 PM Abhishek Kumar wrote: > > In some devices difference in chip-id should be enough to pick > the right BDF. Add another support for chip-id based BDF selection. > With this new option, ath10k supports 2 fallback options. > > The board name with chip-id as

Re: [PATCH 3/3] remoteproc: k3-r5: Adjust TCM sizes in Split-mode on J7200 SoCs

2020-11-23 Thread Mathieu Poirier
On Mon, 23 Nov 2020 at 16:51, Mathieu Poirier wrote: > > Good afternoon Suman, > > On Wed, Nov 18, 2020 at 07:05:31PM -0600, Suman Anna wrote: > > The J7200 SoCs have a revised R5FSS IP that adds a unique feature w.r.t > > TCM sizing. Each R5F core in a cluster typically has 32 KB each of ATCM >

Re: [PATCH v3 2/2] powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too

2020-11-23 Thread Michael Ellerman
Oleg Nesterov writes: > Christophe, et al, > > So what? > > Are you going to push your change or should I re-send 1-2 without > whitespace cleanups? I'll take your 1 & 2 and fixup the whitespace issues when applying. cheers > On 11/19, Oleg Nesterov wrote: >> >> On 11/19, Christophe Leroy

[GIT PULL] ARC fixes for 5.10-rc6

2020-11-23 Thread Vineet Gupta
Hi Linus, A couple more stack unwinder related fixes. Please pull ! Thx, -Vineet ---> The following changes since commit 3b57533b460c8dc22a432684b7e8d22571f34d2e: ARC: [plat-hsdk] Remap CCMs super early in asm boot trampoline (2020-11-02 11:45:09 -0800) are available in the Git

Re: [PATCH 00/25] Rid W=1 warnings in SoC

2020-11-23 Thread Li Yang
On Tue, Nov 3, 2020 at 9:29 AM Lee Jones wrote: > > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > Lee Jones (25): > soc: fsl: dpio: qbman-portal: Fix a bunch of kernel-doc

Re: [PATCH net] vsock/virtio: discard packets only when socket is really closed

2020-11-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 20 Nov 2020 11:47:36 +0100 you wrote: > Starting from commit 8692cefc433f ("virtio_vsock: Fix race condition > in virtio_transport_recv_pkt"), we discard packets in > virtio_transport_recv_pkt() if the socket has been

Re: [PATCH 25/25] soc: fsl: qbman: qman: Remove unused variable 'dequeue_wq'

2020-11-23 Thread Li Yang
Hi Roy, On Tue, Nov 3, 2020 at 9:31 AM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/soc/fsl/qbman/qman.c: In function ‘qman_shutdown_fq’: > drivers/soc/fsl/qbman/qman.c:2700:8: warning: variable ‘dequeue_wq’ set but > not used [-Wunused-but-set-variable] >

Re: [PATCH v8] tcp: fix race condition when creating child sockets from syncookies

2020-11-23 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 20 Nov 2020 11:11:33 + you wrote: > When the TCP stack is in SYN flood mode, the server child socket is > created from the SYN cookie received in a TCP packet with the ACK flag > set. > > The child socket is

[PATCH 1/2] tty: Export redirect release

2020-11-23 Thread minyard
From: Corey Minyard This will be required by the pty code when it removes tty_vhangup() on master close. Signed-off-by: Corey Minyard --- drivers/tty/tty_io.c | 32 include/linux/tty.h | 1 + 2 files changed, 25 insertions(+), 8 deletions(-) diff --git

[PATCH 2/2] drivers:tty:pty: Fix a race causing data loss on close

2020-11-23 Thread minyard
From: Corey Minyard Remove the tty_vhangup() from the pty code and just release the redirect. The tty_vhangup() results in data loss and data out of order issues. If you write to a pty master an immediately close the pty master, the receiver might get a chunk of data dropped, but then receive

[PATCH 0/2] drivers:tty:pty: Fix a race causing data loss on close

2020-11-23 Thread minyard
I finally got some time to spend with this issue, and I think I have a good fix. Not really a v2, this is a completely different fix. Basically, calling tty_vhangup() on the slave when closing a pty master is just a bad idea. >From what I can tell, the tty_vhangup() is there in case there was a

Re: [PATCH v2 3/6] bus: mhi: core: Add support to stop or start channel data transfers

2020-11-23 Thread Bhaumik Bhatt
On 2020-11-21 09:05 AM, Manivannan Sadhasivam wrote: On Mon, Nov 16, 2020 at 12:56:16PM -0800, Bhaumik Bhatt wrote: Hi Mani, On 2020-11-16 04:43, Manivannan Sadhasivam wrote: > On Wed, Nov 11, 2020 at 11:21:10AM -0800, Bhaumik Bhatt wrote: > > Some MHI client drivers may want to request a

RE: [PATCH] drm/amd/powerplay: fix spelling mistake "smu_state_memroy_block" -> "smu_state_memory_block"

2020-11-23 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Evan Quan -Original Message- From: Colin King Sent: Monday, November 23, 2020 6:54 PM To: Deucher, Alexander ; Koenig, Christian ; David Airlie ; Daniel Vetter ; Quan, Evan ; Wang, Kevin(Yang) ; Gui, Jack ;

Re: [PATCH v4 20/25] coresight: etm4x: Detect system instructions support

2020-11-23 Thread Tingwei Zhang
On Mon, Nov 23, 2020 at 05:39:43PM +0800, Suzuki K Poulose wrote: > On 11/23/20 7:58 AM, Tingwei Zhang wrote: > >Hi Suzuki, > > > >On Fri, Nov 20, 2020 at 12:45:42AM +0800, Suzuki K Poulose wrote: > >>ETM v4.4 onwards adds support for system instruction access > >>to the ETM. Detect the support on

Re: [PATCH v2 3/4] Kbuild: make DWARF version a choice

2020-11-23 Thread Segher Boessenkool
On Mon, Nov 23, 2020 at 06:22:10PM -0500, Arvind Sankar wrote: > Btw, is -gsplit-dwarf at all useful for assembler files? If you invoke the assembler via the compiler, with that flag it still creates separate .o and .dwo files (via objcopy invocations as usual). Whether that is useful depends on

Re: [PATCH 4.4 00/38] 4.4.246-rc1 review

2020-11-23 Thread Shuah Khan
On 11/23/20 5:21 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.246 release. There are 38 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 00/47] 4.9.246-rc1 review

2020-11-23 Thread Shuah Khan
On 11/23/20 5:21 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.246 release. There are 47 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: undefined reference to `cpu_sa110_suspend_size'

2020-11-23 Thread Randy Dunlap
On 11/11/20 3:57 AM, kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eccc876724927ff3b9ff91f36f7b6b159e948f0c commit: a871be6b8eee13a35a3e8e56c62770ef17ee9220 cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver

Re: [PATCH -tip 13/32] sched: Trivial forced-newidle balancer

2020-11-23 Thread Li, Aubrey
On 2020/11/24 7:35, Balbir Singh wrote: > On Mon, Nov 23, 2020 at 11:07:27PM +0800, Li, Aubrey wrote: >> On 2020/11/23 12:38, Balbir Singh wrote: >>> On Tue, Nov 17, 2020 at 06:19:43PM -0500, Joel Fernandes (Google) wrote: From: Peter Zijlstra When a sibling is forced-idle to match

Re: [PATCH 4.19 00/91] 4.19.160-rc1 review

2020-11-23 Thread Shuah Khan
On 11/23/20 5:21 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.160 release. There are 91 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 5.9 000/252] 5.9.11-rc1 review

2020-11-23 Thread Shuah Khan
On 11/23/20 5:19 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.9.11 release. There are 252 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 5.4 000/158] 5.4.80-rc1 review

2020-11-23 Thread Shuah Khan
On 11/23/20 5:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.80 release. There are 158 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

[PATCH v2 02/19] elf: Move arch_setup_additional_pages() to generic elf.h

2020-11-23 Thread Dmitry Safonov
Ifdef the function in the header, not in the code. Following kernel style, move it to Kconfig. All it makes it easier to follow when the option is enabled/disabled. Remove re-definition from compat_binfmt_elf, as it's always defined under compat_arch_setup_additional_pages (to be reworked).

[PATCH v2 08/19] arm/vdso: Remove vdso pointer from mm->context

2020-11-23 Thread Dmitry Safonov
Not used any more. Signed-off-by: Dmitry Safonov --- arch/arm/include/asm/mmu.h | 3 --- arch/arm/kernel/vdso.c | 12 2 files changed, 15 deletions(-) diff --git a/arch/arm/include/asm/mmu.h b/arch/arm/include/asm/mmu.h index 1592a4264488..2397b0a19f59 100644 ---

[PATCH v2 06/19] elf/vdso: Reuse arch_setup_additional_pages() parameters

2020-11-23 Thread Dmitry Safonov
Both parameters of arch_setup_additional_pages() are currently unused. commit fc5243d98ac2 ("[S390] arch_setup_additional_pages arguments") tried to introduce useful arguments, but they still are not used. Remove old parameters and introduce sysinfo_ehdr argument that will be used to return vdso

[PATCH v2 13/19] x86/signal: Check if vdso_image_32 is mapped before trying to land on it

2020-11-23 Thread Dmitry Safonov
Provide current_has_vdso_image_32() helper and check it apriory landing attempt on vdso vma. The helper is a macro, not a static inline funciton to avoid linux/sched/task_stack.h inclusion in asm/vdso.h. Signed-off-by: Dmitry Safonov --- arch/x86/entry/common.c | 7 ++-

[PATCH v2 15/19] x86/vdso: Migrate to generic vdso_base

2020-11-23 Thread Dmitry Safonov
Generic way to track the landing vma area. As a bonus, after unmapping vdso, kernel won't try to land on its previous position (due to UNMAPPED_VDSO_BASE check instead of context.vdso ?= 0 check). Signed-off-by: Dmitry Safonov --- arch/x86/Kconfig | 1 + arch/x86/entry/common.c

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