Re: [PATCH 2/4] clk: qcom: Add SDX55 GCC support

2020-11-12 Thread Stephen Boyd
Quoting Manivannan Sadhasivam (2020-11-05 00:51:48) > On Wed, Nov 04, 2020 at 06:23:37PM -0800, Stephen Boyd wrote: > > > diff --git a/drivers/clk/qcom/gcc-sdx55.c b/drivers/clk/qcom/gcc-sdx55.c > > > new file mode 100644 > > > index ..75831c829202 > > > --- /dev/null > > > +++ b/driver

Re: [PATCH 07/15] input: touchscreen: usbtouchscreen: Remove unused variable 'ret'

2020-11-12 Thread Lee Jones
On Thu, 12 Nov 2020, Dmitry Torokhov wrote: > On Thu, Nov 12, 2020 at 11:01:56AM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/input/touchscreen/usbtouchscreen.c: In function ‘nexio_read_data’: > > drivers/input/touchscreen/usbtouchscreen.c:1052:50

Re: [PATCH 06/15] input: touchscreen: melfas_mip4: Remove a bunch of unused variables

2020-11-12 Thread Lee Jones
On Thu, 12 Nov 2020, Dmitry Torokhov wrote: > On Thu, Nov 12, 2020 at 11:01:55AM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/input/touchscreen/melfas_mip4.c: In function ‘mip4_report_touch’: > > drivers/input/touchscreen/melfas_mip4.c:474:5: warn

Re: [PATCH v2 2/2] arm: lib: xor-neon: move pragma options to makefile

2020-11-12 Thread Ard Biesheuvel
On Thu, 12 Nov 2020 at 22:23, Adrian Ratiu wrote: > > Using a pragma like GCC optimize is a bad idea because it tags > all functions with an __attribute__((optimize)) which replaces > optimization options rather than appending so could result in > dropping important flags. Not recommended for prod

Re: [PATCH v2 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2020-11-12 Thread Ard Biesheuvel
On Thu, 12 Nov 2020 at 22:23, Adrian Ratiu wrote: > > From: Nathan Chancellor > > Drop warning because kernel now requires GCC >= v4.9 after > commit 6ec4476ac825 ("Raise gcc version requirement to 4.9"). > > Reported-by: Nick Desaulniers > Signed-off-by: Nathan Chancellor > Signed-off-by: Adri

Re: [PATCH 1/3] net: mac80211: use core API for updating TX stats

2020-11-12 Thread Heiner Kallweit
Am 12.11.2020 um 12:09 schrieb Lev Stipakov: > Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") > has added function "dev_sw_netstats_tx_add()" to update > net device per-cpu TX stats. > > Use this function instead of ieee80211_tx_stats(). > I think you can do the same with ieee8021

Re: [PATCH 1/3] net: mac80211: use core API for updating TX stats

2020-11-12 Thread Heiner Kallweit
Am 13.11.2020 um 00:30 schrieb Jakub Kicinski: > On Thu, 12 Nov 2020 13:09:53 +0200 Lev Stipakov wrote: >> Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") >> has added function "dev_sw_netstats_tx_add()" to update >> net device per-cpu TX stats. >> >> Use this function instead of iee

Re: [PATCH 2/3] net: openvswitch: use core API for updating TX stats

2020-11-12 Thread Heiner Kallweit
Am 12.11.2020 um 12:11 schrieb Lev Stipakov: > Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added > function "dev_sw_netstats_tx_add()" to update net device per-cpu TX > stats. > > Use this function instead of own code. While on it, replace > "len" variable with "skb->len". >

Re: [PATCH 3/3] net: xfrm: use core API for updating TX stats

2020-11-12 Thread Heiner Kallweit
Am 12.11.2020 um 12:13 schrieb Lev Stipakov: > Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added > function "dev_sw_netstats_tx_add()" to update net device per-cpu TX > stats. > > Use this function instead of own code. > LGTM. In addition you can replace xfrmi_get_stats64()

Re: [LINUX PATCH V3 0/9] gpio-xilinx: Update on xilinx gpio driver

2020-11-12 Thread Michal Simek
On 12. 11. 20 18:12, Srinivas Neeli wrote: > This patch series does the following: > -Add clock support > -Add interrupt support > -Add support for suspend and resume > -Add remove support > -Add MAINTAINERS fragment > --- > Changes in V3: > -Created separate patch to arrange headers in sorting

[PATCH] rtc: brcmstb-waketimer: Remove redundant null check before clk_disable_unprepare

2020-11-12 Thread Xu Wang
Because clk_disable_unprepare() already checked NULL clock parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- drivers/rtc/rtc-brcmstb-waketimer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c

Re: [PATCH] drivers: staging: retire drivers/staging/goldfish

2020-11-12 Thread Greg KH
On Thu, Nov 12, 2020 at 03:49:07PM -0800, r...@google.com wrote: > From: Roman Kiryanov > > Android Studio Emulator (goldfish) migrated > to Intel HDA. When was that? > > Signed-off-by: Roman Kiryanov > --- > arch/mips/configs/generic/board-ranchu.config | 1 - > drivers/staging/Kconfig

Re: [PATCH V3] arm64/mm: Validate hotplug range before creating linear mapping

2020-11-12 Thread Ard Biesheuvel
On Fri, 13 Nov 2020 at 08:31, Anshuman Khandual wrote: > > During memory hotplug process, the linear mapping should not be created for > a given memory range if that would fall outside the maximum allowed linear > range. Else it might cause memory corruption in the kernel virtual space. > > Maximu

Re: [PATCH v2 5/6] regulator: mcp16502: add support for ramp delay

2020-11-12 Thread kernel test robot
Hi Claudiu, I love your patch! Yet something to improve: [auto build test ERROR on regulator/for-next] [also build test ERROR on linus/master linux/master v5.10-rc3 next-20201112] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH 08/15] input: touchscreen: surface3_spi: Remove set but unused variable 'timestamp'

2020-11-12 Thread Benjamin Tissoires
On Fri, Nov 13, 2020 at 8:40 AM Dmitry Torokhov wrote: > > On Thu, Nov 12, 2020 at 11:01:57AM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/input/touchscreen/surface3_spi.c: In function > > ‘surface3_spi_process_touch’: > > drivers/input/touchscree

Re: [PATCH][next] drm/ttm: fix spelling mistake "swaput" -> "swapout"

2020-11-12 Thread Christian König
Am 12.11.20 um 10:50 schrieb Colin King: From: Colin Ian King There is a spelling mistake in a warning message, fix it. Signed-off-by: Colin Ian King Reviewed-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive

Re: [PATCH 06/15] input: touchscreen: melfas_mip4: Remove a bunch of unused variables

2020-11-12 Thread Dmitry Torokhov
On Thu, Nov 12, 2020 at 11:01:55AM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/touchscreen/melfas_mip4.c: In function ‘mip4_report_touch’: > drivers/input/touchscreen/melfas_mip4.c:474:5: warning: variable ‘size’ set > but not used [-Wunused-but-

Re: [PATCH 08/15] input: touchscreen: surface3_spi: Remove set but unused variable 'timestamp'

2020-11-12 Thread Dmitry Torokhov
On Thu, Nov 12, 2020 at 11:01:57AM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/touchscreen/surface3_spi.c: In function > ‘surface3_spi_process_touch’: > drivers/input/touchscreen/surface3_spi.c:97:6: warning: variable ‘timestamp’ > set but not u

[PATCH] drm/tilcdc: Remove unnecessary THIS_MODULE

2020-11-12 Thread Tian Tao
As THIS_MODULE has been set in platform_driver_register(), so remove it. Signed-off-by: Tian Tao --- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c b/drivers/gpu/drm/tilcdc/tilcdc_panel.c index 00efc30..4235780 1006

Re: [LKP] Re: [mm/memcg] bd0b230fe1: will-it-scale.per_process_ops -22.7% regression

2020-11-12 Thread Feng Tang
On Thu, Nov 12, 2020 at 11:43:45AM -0500, Waiman Long wrote: > >>We tried below patch to make the 'page_counter' aligned. > >> diff --git a/include/linux/page_counter.h b/include/linux/page_counter.h > >> index bab7e57..9efa6f7 100644 > >> --- a/include/linux/page_counter.h > >> +++ b/inclu

Re: [PATCH] arm64: mm: account for hotplug memory when randomizing the linear region

2020-11-12 Thread Anshuman Khandual
On 11/13/20 12:36 PM, Ard Biesheuvel wrote: > On Fri, 13 Nov 2020 at 08:03, Anshuman Khandual > wrote: >> >> >> >> On 11/13/20 11:44 AM, Ard Biesheuvel wrote: >>> On Fri, 13 Nov 2020 at 04:16, Anshuman Khandual >>> wrote: On 11/12/20 2:55 PM, Catalin Marinas wrote: > Hi

Re: [PATCH 05/15] input: touchscreen: imx6ul_tsc: Remove set but unused variable 'value'

2020-11-12 Thread Dmitry Torokhov
On Thu, Nov 12, 2020 at 11:01:54AM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/touchscreen/imx6ul_tsc.c: In function ‘adc_irq_fn’: > drivers/input/touchscreen/imx6ul_tsc.c:307:6: warning: variable ‘value’ set > but not used [-Wunused-but-set-vari

Re: [PATCH 02/15] input: keyboard: samsung-keypad: Remove set but unused variable 'var'

2020-11-12 Thread Dmitry Torokhov
On Thu, Nov 12, 2020 at 11:01:51AM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/keyboard/samsung-keypad.c: In function ‘samsung_keypad_irq’: > drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable ‘val’ set > but not used [-Wunused-but

Re: [PATCH 07/15] input: touchscreen: usbtouchscreen: Remove unused variable 'ret'

2020-11-12 Thread Dmitry Torokhov
On Thu, Nov 12, 2020 at 11:01:56AM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/touchscreen/usbtouchscreen.c: In function ‘nexio_read_data’: > drivers/input/touchscreen/usbtouchscreen.c:1052:50: warning: variable ‘ret’ > set but not used [-Wunused

Re: [PATCH v4] clk: samsung: Prevent potential endless loop in the PLL set_rate ops

2020-11-12 Thread Krzysztof Kozlowski
On Tue, Nov 10, 2020 at 08:32:26PM +0100, Sylwester Nawrocki wrote: > The PLL status polling loops in the set_rate callbacks of some PLLs > have no timeout detection and may become endless loops when something > goes wrong with the PLL. > > For some PLLs there is already the ktime API based timeou

Re: [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU

2020-11-12 Thread Lee Jones
On Fri, 13 Nov 2020, Alex Deucher wrote: > On Fri, Nov 13, 2020 at 2:19 AM Lee Jones wrote: > > > > On Fri, 06 Nov 2020, 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 litt

Re: [LKP] Re: [mm/memcg] bd0b230fe1: will-it-scale.per_process_ops -22.7% regression

2020-11-12 Thread Feng Tang
On Thu, Nov 12, 2020 at 03:16:54PM +0100, Michal Hocko wrote: > On Thu 12-11-20 20:28:44, Feng Tang wrote: > > Hi Michal, > > > > On Wed, Nov 04, 2020 at 09:15:46AM +0100, Michal Hocko wrote: > > > > > > Hi Michal, > > > > > > > > > > > > We used the default configure of cgroups, not sure what >

[PATCH] macintosh: windfarm: Use NULL to compare with pointer-typed value rather than 0

2020-11-12 Thread Xu Wang
Compare pointer-typed values to NULL rather than 0. Signed-off-by: Xu Wang --- drivers/macintosh/windfarm_pm121.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/macintosh/windfarm_pm121.c b/drivers/macintosh/windfarm_pm121.c index ab467b9c31be..62826844b584 1006

[PATCH] tracing: remove the unused value assignment in test_create_synth_event

2020-11-12 Thread xiakaixu1987
From: Kaixu Xia The value of variable ret is overwritten on the delete branch in the test_create_synth_event(), so here the value assignment is useless. Remove it. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- kernel/trace/synth_event_gen_test.c | 4 +--- 1 file changed, 1 insertion(+)

[PATCH V3] arm64/mm: Validate hotplug range before creating linear mapping

2020-11-12 Thread Anshuman Khandual
During memory hotplug process, the linear mapping should not be created for a given memory range if that would fall outside the maximum allowed linear range. Else it might cause memory corruption in the kernel virtual space. Maximum linear mapping region is [PAGE_OFFSET..(PAGE_END -1)] accommodati

RE: [v3 4/4] spi: aspeed: Add ASPEED FMC/SPI memory controller driver

2020-11-12 Thread Chin-Ting Kuo
Hi Vignesh, Thanks for your information. > -Original Message- > From: Vignesh Raghavendra > Sent: Wednesday, November 11, 2020 1:44 PM > To: Chin-Ting Kuo ; Boris Brezillon > > Subject: Re: [v3 4/4] spi: aspeed: Add ASPEED FMC/SPI memory controller > driver > > Hi Chin-Ting, > > On 11

Re: [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU

2020-11-12 Thread Alex Deucher
On Fri, Nov 13, 2020 at 2:19 AM Lee Jones wrote: > > On Fri, 06 Nov 2020, 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. > > > > There are 5000 warnings to work thr

[PATCH] Smack: fix kernel-doc interface on functions

2020-11-12 Thread Alex Shi
The are some kernel-doc interface issues: security/smack/smackfs.c:1950: warning: Function parameter or member 'list' not described in 'smk_parse_label_list' security/smack/smackfs.c:1950: warning: Excess function parameter 'private' description in 'smk_parse_label_list' security/smack/smackfs.c:19

Re: [PATCH v4 01/11] firmware: raspberrypi: Keep count of all consumers

2020-11-12 Thread Dmitry Torokhov
On Thu, Nov 12, 2020 at 07:52:14PM +0200, Andy Shevchenko wrote: > On Thu, Nov 12, 2020 at 6:40 PM Nicolas Saenz Julienne > wrote: > > > > When unbinding the firmware device we need to make sure it has no > > consumers left. Otherwise we'd leave them with a firmware handle > > pointing at freed me

Re: [PATCH v2 2/4] docs: hwmon: (ltc2945): change type of val to ULL in ltc2945_val_to_reg()

2020-11-12 Thread kernel test robot
Hi Alexandru, I love your patch! Yet something to improve: [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v5.10-rc3 next-20201112] [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 doc

[PATCH] gcov: fix kernel-doc markup issue

2020-11-12 Thread Alex Shi
Fix the following kernel-doc issue in gcov: kernel/gcov/gcc_4_7.c:238: warning: Function parameter or member 'dst' not described in 'gcov_info_add' kernel/gcov/gcc_4_7.c:238: warning: Function parameter or member 'src' not described in 'gcov_info_add' kernel/gcov/gcc_4_7.c:238: warning: Excess func

[PATCH 4/6] timekeeping: remove static functions from kernel-doc markup

2020-11-12 Thread Alex Shi
There are couple of functions are 'static' without correct kernel-doc marks. Since they are not likely be used by others, moving them out of kernel-doc is better. Signed-off-by: Alex Shi Cc: John Stultz Cc: Thomas Gleixner Cc: Stephen Boyd Cc: linux-kernel@vger.kernel.org --- kernel/time/time

[PATCH 1/6] time: fix kernel-doc markup

2020-11-12 Thread Alex Shi
The kernel-doc interface error cause some warning: kernel/time/timeconv.c:79: warning: Function parameter or member 'totalsecs' not described in 'time64_to_tm' kernel/time/timeconv.c:79: warning: Function parameter or member 'offset' not described in 'time64_to_tm' kernel/time/timeconv.c:79: warnin

[PATCH 6/6] timekeeping: fix kernel-doc mark issue on read_persistent_clock64

2020-11-12 Thread Alex Shi
Fix the kernel-doc markup: kernel/time/timekeeping.c:1563: warning: Function parameter or member 'wall_time' not described in 'read_persistent_wall_and_boot_offset' kernel/time/timekeeping.c:1563: warning: Function parameter or member 'boot_offset' not described in 'read_persistent_wall_and_boot_of

[PATCH 3/6] timekeeping: add kernel-doc markup for pvclock notifier

2020-11-12 Thread Alex Shi
Add the missed parameter explaination for kernel-doc markup to remove warning: kernel/time/timekeeping.c:651: warning: Function parameter or member 'nb' not described in 'pvclock_gtod_register_notifier' kernel/time/timekeeping.c:670: warning: Function parameter or member 'nb' not described in 'pvcl

[PATCH 5/6] timekeeping: add ts/tk explaination for kernel-doc

2020-11-12 Thread Alex Shi
this patch fixed kernel-doc mark incorrection: kernel/time/timekeeping.c:1543: warning: Function parameter or member 'ts' not described in 'read_persistent_clock64' kernel/time/timekeeping.c:764: warning: Function parameter or member 'tk' not described in 'timekeeping_forward_now' kernel/time/timek

[PATCH 2/6] timekeeping: add missed kernel-doc marks for 'tkf'

2020-11-12 Thread Alex Shi
Fix the kernel-doc markup and remove the following warning: kernel/time/timekeeping.c:415: warning: Function parameter or member 'tkf' not described in 'update_fast_timekeeper' kernel/time/timekeeping.c:464: warning: Function parameter or member 'tkf' not described in '__ktime_get_fast_ns' Signed-

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

2020-11-12 Thread Stephen Rothwell
Hi all, Commit 50d7e084c48d ("crypto: hisilicon/hpre - add initial settings adapt to 'Kunpeng 930'") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpivFRefcauo.pgp Description: OpenPGP digital signature

general protection fault in tomoyo_socket_sendmsg_permission

2020-11-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:9dbc1c03 Merge tag 'xfs-5.10-fixes-3' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1045303450 kernel config: https://syzkaller.appspot.com/x/.config?x=1735b7978b1c3721 das

[PATCH] media: cx88: use ARRAY_SIZE

2020-11-12 Thread Xu Wang
Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element Signed-off-by: Xu Wang --- drivers/media/pci/cx88/cx88-mpeg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/pci/cx88/cx88-mpeg.c b/drivers/media/pci/cx88/cx88-mpeg.c index a57c991b165b..

Re: iommu/vt-d: Cure VF irqdomain hickup

2020-11-12 Thread Lu Baolu
Hi Thomas, On 2020/11/13 3:15, Thomas Gleixner wrote: The recent changes to store the MSI irqdomain pointer in struct device missed that Intel DMAR does not register virtual function devices. Due to that a VF device gets the plain PCI-MSI domain assigned and then issues compat MSI messages whic

Re: [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU

2020-11-12 Thread Lee Jones
On Fri, 06 Nov 2020, 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. > > There are 5000 warnings to work through. It will take a couple more > sets. Although, ("drm/amd/d

[PATCH net-next RFC v2] MAINTAINERS: Add Martin Schiller as a maintainer for the X.25 stack

2020-11-12 Thread Xie He
Martin Schiller is an active developer and reviewer for the X.25 code. His company is providing products based on the Linux X.25 stack. So he is a good candidate for maintainers of the X.25 code. The original maintainer of the X.25 network layer (Andrew Hendry) has not sent any email to the netdev

Re: [PATCH 11/25] soc: fsl: qe: qe_common: Fix misnamed function attribute 'addr'

2020-11-12 Thread Lee Jones
On Thu, 12 Nov 2020, Leo Li wrote: > > > > -Original Message- > > From: Lee Jones > > Sent: Thursday, November 12, 2020 4:33 AM > > To: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > > Qiang Zhao ; Leo Li ; Scott > > Wood ; act ; Dan Malek > > ; Software, Inc ; Vi

Re: [Fonts] 9522750c66: fio.read_iops 7.5% improvement

2020-11-12 Thread Lee Jones
On Fri, 13 Nov 2020, Greg Kroah-Hartman wrote: > On Thu, Nov 12, 2020 at 10:06:25PM +0800, kernel test robot wrote: > > > > Greeting, > > > > FYI, we noticed a 7.5% improvement of fio.read_iops due to commit: > > > > > > commit: 9522750c66c689b739e151fcdf895420dc81efc0 ("Fonts: Replace discard

Re: [PATCH] net: dsa: sja1105: Fix return value check in sja1105_ptp_clock_register()

2020-11-12 Thread Kurt Kanzenbach
On Thu Nov 12 2020, YueHaibing wrote: > drivers/net/dsa/sja1105/sja1105_ptp.c:869 sja1105_ptp_clock_register() warn: > passing zero to 'PTR_ERR' > > ptp_clock_register() returns ERR_PTR() and never returns > NULL. The NULL test should be removed. Which is not true. From the documentation: * Ret

linux-next: Tree for Nov 13

2020-11-12 Thread Stephen Rothwell
Hi all, Changes since 20201112: The drivers-memory tree still had its build failure. The ext3 tree gained a build failure so I used the version from next-20201112. The usb-chipidea-next tree gained a build failure for which I reverted a commit. The akpm tree gained a build failure for which I

Re: [PATCH] arm64: mm: account for hotplug memory when randomizing the linear region

2020-11-12 Thread Ard Biesheuvel
On Fri, 13 Nov 2020 at 08:03, Anshuman Khandual wrote: > > > > On 11/13/20 11:44 AM, Ard Biesheuvel wrote: > > On Fri, 13 Nov 2020 at 04:16, Anshuman Khandual > > wrote: > >> > >> > >> > >> On 11/12/20 2:55 PM, Catalin Marinas wrote: > >>> Hi Anshuman, > >>> > >>> On Wed, Nov 11, 2020 at 09:18:56

About devm_platform_ioremap_resource [Was: Re: [PATCH 01/32] pwm: sun4i: convert to devm_platform_ioremap_resource]

2020-11-12 Thread Uwe Kleine-König
Hello, [Added lkml and the people involved in commit 7945f929f1a7 ("drivers: provide devm_platform_ioremap_resource()") to Cc:. For the new readers: This is about patches making use of devm_platform_ioremap_resource() instead of open coding it. Full context at https://lore.kernel.org/r/20201112190

Re: [PATCH 1/1] kasan: fix object remain in offline per-cpu quarantine

2020-11-12 Thread Dmitry Vyukov
On Fri, Nov 13, 2020 at 3:32 AM Kuan-Ying Lee wrote: > > On Thu, 2020-11-12 at 09:39 +0100, Dmitry Vyukov wrote: > > On Thu, Nov 12, 2020 at 7:25 AM Kuan-Ying Lee > > wrote: > > > > > > We hit this issue in our internal test. > > > When enabling generic kasan, a kfree()'d object is put into per-c

Re: [PATCH] arm64: mm: account for hotplug memory when randomizing the linear region

2020-11-12 Thread Anshuman Khandual
On 11/13/20 11:44 AM, Ard Biesheuvel wrote: > On Fri, 13 Nov 2020 at 04:16, Anshuman Khandual > wrote: >> >> >> >> On 11/12/20 2:55 PM, Catalin Marinas wrote: >>> Hi Anshuman, >>> >>> On Wed, Nov 11, 2020 at 09:18:56AM +0530, Anshuman Khandual wrote: On 11/11/20 12:44 AM, Catalin Marinas w

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

2020-11-12 Thread Stephen Rothwell
Hi all, After merging the akpm tree, today's linux-next build (i386 defconfig) failed like this: mm/secretmem.c: In function 'secretmem_memcg_charge': mm/secretmem.c:72:4: error: 'struct page' has no member named 'memcg_data' 72 | p->memcg_data = page->memcg_data; |^~ mm/secretmem.

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

2020-11-12 Thread kernel test robot
Hi Dmitry, Thank you for the patch! Yet something to improve: [auto build test ERROR on c34f157421f6905e6b4a79a312e9175dce2bc607] url: https://github.com/0day-ci/linux/commits/Dmitry-Safonov/Add-generic-user_landing-tracking/20201109-090354 base:c34f157421f6905e6b4a79a312e9175dce2bc607 c

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

2020-11-12 Thread kernel test robot
Hi Dmitry, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on c34f157421f6905e6b4a79a312e9175dce2bc607] url: https://github.com/0day-ci/linux/commits/Dmitry-Safonov/Add-generic-user_landing-tracking/20201109-090354 base:c34f157421f6905e6b4a79a312e9175dce2b

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

2020-11-12 Thread kernel test robot
Hi Dmitry, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on c34f157421f6905e6b4a79a312e9175dce2bc607] url: https://github.com/0day-ci/linux/commits/Dmitry-Safonov/Add-generic-user_landing-tracking/20201109-090354 base:c34f157421f6905e6b4a79a312e9175dce2b

Re: [PATCH] panic: Avoid dump_stack() twice

2020-11-12 Thread Kefeng Wang
On 2020/11/13 14:39, Alexey Kardashevskiy wrote: Fixed already https://ozlabs.org/~akpm/mmots/broken-out/panic-dont-dump-stack-twice-on-warn.patch Sorry for breaking this :( OK.

[PATCH net] net: ethernet: ti: cpsw: fix error return code in cpsw_probe()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 83a8471ba255 ("net: ethernet: ti: cpsw: refactor probe to group common hw initialization") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/

Re: [Fonts] 9522750c66: fio.read_iops 7.5% improvement

2020-11-12 Thread Greg Kroah-Hartman
On Thu, Nov 12, 2020 at 10:06:25PM +0800, kernel test robot wrote: > > Greeting, > > FYI, we noticed a 7.5% improvement of fio.read_iops due to commit: > > > commit: 9522750c66c689b739e151fcdf895420dc81efc0 ("Fonts: Replace discarded > const qualifier") > https://git.kernel.org/cgit/linux/kern

[PATCH] IB/hfi1: fix error return code in hfi1_init_dd()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 4730f4a6c6b2 ("IB/hfi1: Activate the dummy netdev") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/infiniband/hw/hfi1/chip.c | 3 ++- 1 file changed, 2

[git pull] drm fixes for 5.10-rc4

2020-11-12 Thread Dave Airlie
Hi Linus, Nearly didn't send you a PR this week at all, but a few things trickled in over the day, not a huge amount here, some i915, amdgpu and a bunch of misc fixes. I have a couple of nouveau fixes outstanding due to the PR having the wrong base, I'll figure it out next week. Dave. drm-fixes-

Re: [PATCH] panic: Avoid dump_stack() twice

2020-11-12 Thread Alexey Kardashevskiy
Fixed already https://ozlabs.org/~akpm/mmots/broken-out/panic-dont-dump-stack-twice-on-warn.patch Sorry for breaking this :( On 13/11/2020 16:47, Kefeng Wang wrote: stacktrace will be dumped twice on ARM64 after commit 3f388f28639f ("panic: dump registers on panic_on_warn"), will not dump_sta

Re: mmotm 2020-11-12-20-01 uploaded (mm/secretmem.c)

2020-11-12 Thread Randy Dunlap
On 11/12/20 8:02 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-11-12-20-01 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

[PATCH net] net: stmmac: dwmac-intel-plat: fix error return code in intel_eth_plat_probe()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 9efc9b2b04c7 ("net: stmmac: Add dwmac-intel-plat for GBE driver") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel

[PATCH RFC v1 1/1] scsi: pm: Leave runtime resume along if block layer PM is enabled

2020-11-12 Thread Can Guo
If block layer runtime PM is enabled for one SCSI device, then there is no need to forcibly change the SCSI device and its request queue's runtime PM status to active in scsi_dev_type_resume(), since block layer PM shall resume the SCSI device on the demand of bios. Cc: Stanley Chu Cc: Bart Van A

[PATCH] brcmfmac: fix error return code in brcmf_cfg80211_connect()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 3b1e0a7bdfee ("brcmfmac: add support for SAE authentication offload") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/wireless/broadcom/brcm80211/brc

Re: [PATCH] arm64: mm: account for hotplug memory when randomizing the linear region

2020-11-12 Thread Ard Biesheuvel
On Fri, 13 Nov 2020 at 04:16, Anshuman Khandual wrote: > > > > On 11/12/20 2:55 PM, Catalin Marinas wrote: > > Hi Anshuman, > > > > On Wed, Nov 11, 2020 at 09:18:56AM +0530, Anshuman Khandual wrote: > >> On 11/11/20 12:44 AM, Catalin Marinas wrote: > >>> On Wed, 14 Oct 2020 10:18:57 +0200, Ard Bie

[PATCH net] qlcnic: fix error return code in qlcnic_83xx_restart_hw()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 3ced0a88cd4c ("qlcnic: Add support to run firmware POST") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c |

[PATCH] crypto: lib/curve25519 - Move selftest prototype into header file

2020-11-12 Thread Herbert Xu
On Fri, Nov 13, 2020 at 01:56:46PM +0800, kernel test robot wrote: > > All warnings (new ones prefixed by >>): > > >> lib/crypto/curve25519-selftest.c:1283:13: warning: no previous prototype > >> for 'curve25519_selftest' [-Wmissing-prototypes] > 1283 | bool __init curve25519_selftest(void) >

Re: [PATCH] kbuild: Always link with '-z norelro'

2020-11-12 Thread Ard Biesheuvel
On Fri, 13 Nov 2020 at 01:53, Nathan Chancellor wrote: > > On Thu, Nov 12, 2020 at 04:44:46PM -0800, Nick Desaulniers wrote: > > On Thu, Nov 12, 2020 at 10:41 AM Nathan Chancellor > > wrote: > > > > > > Commit 3bbd3db86470 ("arm64: relocatable: fix inconsistencies in linker > > > script and optio

[PATCH net] cx82310_eth: fix error return code in cx82310_bind()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: ca139d76b0d9 ("cx82310_eth: re-enable ethernet mode after router reboot") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/usb/cx82310_eth.c | 3 ++-

Re: [PATCH v4 01/18] dt-bindings: usb: usb-hcd: Detach generic USB controller properties

2020-11-12 Thread Chunfeng Yun
On Wed, 2020-11-11 at 12:08 +0300, Serge Semin wrote: > There can be three distinctive types of the USB controllers: USB hosts, > USB peripherals/gadgets and USB OTG, which can switch from one role to > another. In order to have that hierarchy handled in the DT binding files, > we need to collect c

linux-next: build warning after merge of the akpm-current tree

2020-11-12 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: modpost: missing MODULE_LICENSE() in lib/cmdline_kunit.o Introduced by commit f1a15df76475 ("lib/cmdline_kunit: add a new test suite for cmdline API") -- Cheers, Steph

Re: [PATCH v3 00/14] iommu/amd: Add Generic IO Page Table Framework Support

2020-11-12 Thread Suravee Suthikulpanit
Joerg, Please ignore to include the V3. I am working on V4 to resubmit. Thank you, Suravee On 11/11/20 10:10 AM, Suravee Suthikulpanit wrote: Hi Joerg, Do you have any update on this series? Thanks, Suravee On 11/2/20 10:16 AM, Suravee Suthikulpanit wrote: Joerg, You mentioned to remind y

lib/crypto/curve25519-selftest.c:1283:13: warning: no previous prototype for 'curve25519_selftest'

2020-11-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba commit: aa127963f1cab2b93c74c9b128a84610203fb674 crypto: lib/curve25519 - re-add selftests date: 11 months ago config: nios2-randconfig-r033-20201113 (attached as .

Re: [PATCH] dt-bindings: mfd: mediatek: Add bindings for MT6360 PMIC

2020-11-12 Thread Gene Chen
Dear Reviewers, Please let me know if there is anything need to be revised. Gene Chen 於 2020年8月20日 週四 下午4:36寫道: > > From: Gene Chen > > Add bindings for MT6360 PMIC > > Signed-off-by: Gene Chen > --- > Documentation/devicetree/bindings/mfd/mt6360.yaml | 142 > ++ > 1 f

Re: [RESEND PATCH] arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support

2020-11-12 Thread Sekhar Nori
On 29/10/20 10:39 AM, Vignesh Raghavendra wrote: > J7200 has a single instance of 8 channel ADC in MCU domain. Add DT node > for the same. > > Signed-off-by: Vignesh Raghavendra Reviewed-by: Sekhar Nori Thanks, Sekhar

Re: KASAN: vmalloc-out-of-bounds Read in bpf_trace_run3

2020-11-12 Thread Matt Mullins
On Wed, Nov 11, 2020 at 03:57:50PM +0100, Dmitry Vyukov wrote: > On Mon, Nov 2, 2020 at 12:54 PM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:080b6f40 bpf: Don't rely on GCC __attribute__((optimize)) .. > > git tree: bpf > > console outp

[PATCH] panic: Avoid dump_stack() twice

2020-11-12 Thread Kefeng Wang
stacktrace will be dumped twice on ARM64 after commit 3f388f28639f ("panic: dump registers on panic_on_warn"), will not dump_stack when no regs as before. Fixes: 3f388f28639f ("panic: dump registers on panic_on_warn") Signed-off-by: Kefeng Wang --- kernel/panic.c | 3 ++- 1 file changed, 2 inser

linux-next: build failure after merge of the usb-chipidea-next tree

2020-11-12 Thread Stephen Rothwell
Hi all, After merging the usb-chipidea-next tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/usb/chipidea/trace.h:18, from drivers/usb/chipidea/trace.c:11: drivers/usb/chipidea/ci.h: In function 'ci_otg_is_fsm_mode': drivers/us

Re: [PATCH] hugetlbfs: fix anon huge page migration race

2020-11-12 Thread 堀口 直也
On Thu, Nov 05, 2020 at 11:50:58AM -0800, Mike Kravetz wrote: > Qian Cai reported the following BUG in [1] > > [ 6147.019063][T45242] LTP: starting move_pages12 > [ 6147.475680][T64921] BUG: unable to handle page fault for address: > ffe0 > ... > [ 6147.525866][T64921] RIP: 0010:anon_

Re: [PATCH 0/7] MIPS: ralink: add CPU clock detection and clock gate driver for MT7621

2020-11-12 Thread Sergio Paracuellos
On Fri, Nov 13, 2020 at 1:40 AM Chuanhong Guo wrote: > > On Thu, Nov 12, 2020 at 1:23 PM Sergio Paracuellos > wrote: > > > > To avoid weird behaviour because of some drivers are > > not using properly clocks we have the CLK_IGNORED_UNUSED, which as you > > can see is currently being used in my co

Re: [PATCH] scsi: ufs: Add retry flow for failed hba enabling

2020-11-12 Thread Can Guo
On 2020-11-12 13:45, Stanley Chu wrote: Once hba enabling is failed, add retry mechanism and in the meanwhile allow vendors to apply specific handlings before the next retry. For example, vendors can do vendor-specific host reset flow in variant function "ufshcd_vops_hce_enable_notify()". Signed

Re: linux-x25 mail list not working

2020-11-12 Thread Martin Schiller
On 2020-11-13 03:17, John 'Warthog9' Hawley wrote: Give it a try now, there was a little wonkiness with the alias setup for it, and I have no historical context for a 'why', but I adjusted a couple of things and I was able to subscribe myself. - John 'Warthog9' Hawley Thanks a lot John! Now it

Re: [PATCH v6 1/2] kunit: Support for Parameterized Testing

2020-11-12 Thread David Gow
On Thu, Nov 12, 2020 at 8:37 PM Marco Elver wrote: > > On Thu, Nov 12, 2020 at 04:18PM +0800, David Gow wrote: > > On Thu, Nov 12, 2020 at 12:55 AM Bird, Tim wrote: > [...] > > > > kunit_tool has a bug when parsing the comments / diagnostic lines, > > > > which requires a ": " to be present. This

Re: [PATCH 3/3] powerpc: rewrite atomics to use ARCH_ATOMIC

2020-11-12 Thread kernel test robot
Hi Nicholas, I love your patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on asm-generic/master linus/master v5.10-rc3 next-20201112] [cannot apply to scottwood/next] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH] scsi: ufs: Fix a bug in ufshcd_system_resume()

2020-11-12 Thread Can Guo
On 2020-11-10 16:55, Yang Yang wrote: During system resume, ufshcd_system_resume() won't resume UFS host if runtime suspended. After that, scsi_bus_resume() try to set SCSI host's RPM status to RPM_ACTIVE, this will fail because UFS host's RPM status is still RPM_SUSPENDED. So fix it. scsi h

[PATCH] perf stat: Use proper cpu for shadow stats

2020-11-12 Thread Namhyung Kim
Currently perf stat shows some metrics (like IPC) for defined events. But when no aggregation mode is used (-A option), it shows incorrect values since it used a value from a different cpu. Before: $ perf stat -aA -e cycles,instructions sleep 1 Performance counter stats for 'system wide':

[GIT PULL] more ext4 fixes for v5.10-rc4

2020-11-12 Thread Theodore Y. Ts'o
The following changes since commit 52d1998d09af92d44ffce7454637dd3fd1afdc7d: Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt (2020-11-10 10:05:37 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tag

Re: [PATCH 24/24] perf record: Add --buildid-mmap option to enable mmap's build id

2020-11-12 Thread Namhyung Kim
On Mon, Nov 09, 2020 at 10:54:15PM +0100, Jiri Olsa wrote: > Adding --buildid-mmap option to enable build id in mmap2 events. > It will only work if there's kernel support for that and it disables > build id cache (implies --no-buildid). > > It's also possible to enable it permanently via config o

Re: [PATCH 15/24] perf tools: Synthesize build id for kernel/modules/tasks

2020-11-12 Thread Namhyung Kim
On Mon, Nov 09, 2020 at 10:54:06PM +0100, Jiri Olsa wrote: > Adding build id to synthesized mmap2 events for > everything - kernel/modules/tasks. > > Signed-off-by: Jiri Olsa > --- > tools/perf/util/synthetic-events.c | 33 ++ > 1 file changed, 33 insertions(+) > > d

Re: [PATCH 03/24] perf: Add build id data in mmap2 event

2020-11-12 Thread Namhyung Kim
Hi Jiri, On Mon, Nov 09, 2020 at 10:53:54PM +0100, Jiri Olsa wrote: > Adding support to carry build id data in mmap2 event. > > The build id data replaces maj/min/ino/ino_generation > fields, whichc are also used to identify map's binary, > so it's ok to replace them with build id data: > > un

Re: [PATCH] bpf: Expose a bpf_sock_from_file helper to tracing programs

2020-11-12 Thread kernel test robot
Hi Florent, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] [also build test WARNING on next-20201112] [cannot apply to bpf/master linus/master v5.10-rc3] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

[RFC PATCH] bpf: bpf_sock_from_file_proto can be static

2020-11-12 Thread kernel test robot
Reported-by: kernel test robot Signed-off-by: kernel test robot --- bpf_trace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c index 4749575b81b2d1..c34c81095d61c1 100644 --- a/kernel/trace/bpf_trace.c +++ b/kernel/tra

Re: [External] Re: [PATCH v3 05/21] mm/hugetlb: Introduce pgtable allocation/freeing helpers

2020-11-12 Thread Muchun Song
On Fri, Nov 13, 2020 at 8:38 AM Mike Kravetz wrote: > > On 11/10/20 7:41 PM, Muchun Song wrote: > > On Wed, Nov 11, 2020 at 8:47 AM Mike Kravetz > > wrote: > >> > >> On 11/8/20 6:10 AM, Muchun Song wrote: > >> I am reading the code incorrectly it does not appear page->lru (of the huge > >> page)

Re: [PATCH] drm/i915/gvt: return error when failing to take the module reference

2020-11-12 Thread Zhenyu Wang
On 2020.11.12 21:22:32 +0800, Xiongfeng Wang wrote: > When we fail to take the module reference, we go to the 'undo*' branch and > return. But the returned variable 'ret' has been set as zero by the > above code. Change 'ret' to '-ENODEV' in this situation. > > Fixes: 9bdb073464d6 ("drm/i915/gvt:

  1   2   3   4   5   6   7   8   9   10   >