[rcu:dev.2020.11.06a] BUILD REGRESSION 5cec02881428f10c4a1632c3aebb666b12888958

2020-11-09 Thread kernel test robot
@intel.com Error/Warning in current branch: rdtgroup.c:(.text+0xad8a): undefined reference to `cpulist_parse' Error/Warning ids grouped by kconfigs: gcc_recent_errors `-- x86_64-randconfig-m001-20201109 `-- rdtgroup.c:(.text):undefined-reference-to-cpulist_parse elapsed time: 722m configs

RE: [PATCH v2] scsi: ufshcd: fix missing destroy_workqueue()

2020-11-09 Thread Avri Altman
> > > Add the missing destroy_workqueue() before return from > ufshcd_init in the error handling case as well as in > ufshcd_remove. > > Fixes: 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other > error recovery paths") > Suggested-by: Avri Altman > Signed-off-by: Qinglang

Re: binder: add transaction latency tracer

2020-11-09 Thread Greg Kroah-Hartman
On Tue, Nov 10, 2020 at 08:52:09AM +0100, Greg Kroah-Hartman wrote: > On Tue, Nov 10, 2020 at 03:33:00PM +0800, Frankie Chang wrote: > > On Mon, 2020-11-09 at 18:46 +0100, Greg Kroah-Hartman wrote: > > > On Fri, Oct 30, 2020 at 12:08:54AM +0800, Frankie Chang wrote: > > > > Change from v11: > > >

Re: binder: add transaction latency tracer

2020-11-09 Thread Greg Kroah-Hartman
On Tue, Nov 10, 2020 at 03:33:00PM +0800, Frankie Chang wrote: > On Mon, 2020-11-09 at 18:46 +0100, Greg Kroah-Hartman wrote: > > On Fri, Oct 30, 2020 at 12:08:54AM +0800, Frankie Chang wrote: > > > Change from v11: > > > - rebase. > > > > This whole patch set is sent with DOS line-ends, which

Re: linux-next: Tree for Nov 5

2020-11-09 Thread Anders Roxell
y, here's my .config file [2]. Any idea what may happen? it happens on next-20201109 also, but it takes longer until we get the "Call trace:". Cheers, Anders [1] http://ix.io/2Ddv [2] https://people.linaro.org/~anders.roxell/allmodconfig-next-20201105.config

[PATCH] mfd: kempld-core: Check for DMI definition before ACPI

2020-11-09 Thread Michael Brunner
Change the detection order to priorize DMI table entries over available ACPI entries. This makes it more easy for product developers to patch product specific handling into the driver. Furthermore it allows to simplify the implementation a bit and especially to remove the need to force

WARNING in put_i2c_dev

2020-11-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:521b619a Merge tag 'linux-kselftest-kunit-fixes-5.10-rc3' .. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10760a3450 kernel config: https://syzkaller.appspot.com/x/.config?x=61033507391c77ff

Re: [PATCH v1] ARM: vfp: Use long jump to fix THUMB2 kernel compilation error

2020-11-09 Thread Ard Biesheuvel
On Tue, 10 Nov 2020 at 08:44, Dmitry Osipenko wrote: > > 09.11.2020 10:25, Ard Biesheuvel пишет: > ... > >>> So the options are > >>> > >>> a) merge my patch that adds 2 bytes of opcode to the Thumb2 build > >>> b) merge Dmitry's patch that adds an unconditional literal load to all > >>> builds

Re: [PATCH v1] ARM: vfp: Use long jump to fix THUMB2 kernel compilation error

2020-11-09 Thread Dmitry Osipenko
09.11.2020 10:25, Ard Biesheuvel пишет: ... >>> So the options are >>> >>> a) merge my patch that adds 2 bytes of opcode to the Thumb2 build >>> b) merge Dmitry's patch that adds an unconditional literal load to all >>> builds >>> c) remove kernel mode handling from vfp_support_entry() [my other

Re: [PATCH 4.19 00/71] 4.19.156-rc1 review

2020-11-09 Thread Naresh Kamboju
On Mon, 9 Nov 2020 at 18:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.156 release. > There are 71 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. > >

WARNING: CPU: 2 at kernel/workqueue.c:4762 workqueue_online_cpu

2020-11-09 Thread Naresh Kamboju
While running CPU hotplug testing on arm64 db410c device the following kernel warning noticed on linux stable-rc 4.19 branch. I did not bisect this problem yet. Kernel Warning log: -- [ 290.463053] CPU1: shutdown [ 290.463107] psci: CPU1 killed (polled 0 ms) [

[PATCH v2] firmware: arm_scmi: fix missing destroy_workqueue()

2020-11-09 Thread Qinglang Miao
destroy_workqueue seems necessary before return from scmi_notification_init in the error handling case when fails to do devm_kcalloc(). Fix this by simply moving devm_kcalloc to the front. Fixes: bd31b249692e ("firmware: arm_scmi: Add notification dispatch and delivery") Suggested-by: Cristian

[PATCH v2] scsi: ufshcd: fix missing destroy_workqueue()

2020-11-09 Thread Qinglang Miao
Add the missing destroy_workqueue() before return from ufshcd_init in the error handling case as well as in ufshcd_remove. Fixes: 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other error recovery paths") Suggested-by: Avri Altman Signed-off-by: Qinglang Miao --- v2: consider

[PATCH net/next] net: ipconfig: Avoid spurious blank lines in boot log

2020-11-09 Thread Thierry Reding
From: Thierry Reding When dumping the name and NTP servers advertised by DHCP, a blank line is emitted if either of the lists is empty. This can lead to confusing issues such as the blank line getting flagged as warning. This happens because the blank line is the result of pr_cont("\n") and that

Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler

2020-11-09 Thread Ard Biesheuvel
On Tue, 10 Nov 2020 at 02:55, Nick Desaulniers wrote: > > On Sat, Nov 7, 2020 at 12:29 AM Ard Biesheuvel wrote: > > > > On Sat, 7 Nov 2020 at 01:11, Jian Cai wrote: > > > > > > This patch replaces 6 IWMMXT instructions Clang's integrated assembler > > > does not support in iwmmxt.S using

Re: [PATCH net v5] net: Update window_clamp if SOCK_RCVBUF is set

2020-11-09 Thread Eric Dumazet
On Tue, Nov 10, 2020 at 1:16 AM Mao Wenan wrote: > > When net.ipv4.tcp_syncookies=1 and syn flood is happened, > cookie_v4_check or cookie_v6_check tries to redo what > tcp_v4_send_synack or tcp_v6_send_synack did, > rsk_window_clamp will be changed if SOCK_RCVBUF is set, > which will make

Re: binder: add transaction latency tracer

2020-11-09 Thread Frankie Chang
On Mon, 2020-11-09 at 18:46 +0100, Greg Kroah-Hartman wrote: > On Fri, Oct 30, 2020 at 12:08:54AM +0800, Frankie Chang wrote: > > Change from v11: > > - rebase. > > This whole patch set is sent with DOS line-ends, which makes git really > unhappy when it tries to apply it, as rightfully, it

[PATCH] kunit: kunit_tool: Correctly parse diagnostic messages

2020-11-09 Thread David Gow
Currently, kunit_tool expects all diagnostic lines in test results to contain ": " somewhere, as both the subtest header and the crash report do. Fix this to accept any line starting with (minus indent) "# " as being a valid diagnostic line. This matches what the TAP spec[1] and the draft KTAP

[PATCH v2 2/3] clk: sifive: Use common name for prci configuration

2020-11-09 Thread Zong Li
Use generic name CLK_SIFIVE_PRCI instead of CLK_SIFIVE_FU540_PRCI. This patch is prepared for fu740 support. Signed-off-by: Zong Li Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt --- arch/riscv/Kconfig.socs | 2 +- drivers/clk/sifive/Kconfig | 6 +++--- drivers/clk/sifive/Makefile

[PATCH v2 3/3] clk: sifive: Add a driver for the SiFive FU740 PRCI IP block

2020-11-09 Thread Zong Li
Add driver code for the SiFive FU740 PRCI IP block. This IP block handles reset and clock control for the SiFive FU740 device and implements SoC-level clock tree controls and dividers. This driver contains bug fixes and contributions from Henry Styles and Erik Danie . Signed-off-by: Zong Li

[PATCH v2 0/3] clk: add driver for the SiFive FU740

2020-11-09 Thread Zong Li
Add a driver for the SiFive FU740 PRCI IP block, which handles more clocks than FU540. These patches also refactor the original implementation by spliting the dependent-code of fu540 and fu740 respectively. Changed in v2: - Remove the macro definition for __prci_clock_array. - Indicate the

[PATCH v2 1/3] clk: sifive: Extract prci core to common base

2020-11-09 Thread Zong Li
Extract common core of prci driver to an independent file, it could allow other chips to reuse it. Separate SoCs-dependent code 'fu540' from prci core, then we can easily add 'fu740' later. Almost these changes are code movement. The different is adding the private data for each SoC use, so it

Duplicated ABI entries - Was: Re: [PATCH v2 20/39] docs: ABI: testing: make the files compatible with ReST output

2020-11-09 Thread Mauro Carvalho Chehab
Hi Jonathan, Em Sun, 8 Nov 2020 16:56:21 + Jonathan Cameron escreveu: > > PS.: the IIO subsystem is the one that currently has more duplicated > > ABI entries: > > $ ./scripts/get_abi.pl validate 2>&1|grep iio > > Warning: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias is defined 2

[PATCH] ARM: dts: aspeed: minipack: Fixup I2C tree

2020-11-09 Thread rentao . bupt
From: Tao Ren Create all the i2c switches in device tree and use aliases to assign child channels with consistent bus numbers. Besides, "i2c-mux-idle-disconnect" is set for all the i2c switches to avoid potential conflicts when multiple devices (beind the switches) use the same device address.

[tip:auto-latest] BUILD SUCCESS 904d67c2f61adcd28726693245e094a273184b95

2020-11-09 Thread kernel test robot
randconfig-a005-20201110 i386 randconfig-a002-20201110 i386 randconfig-a001-20201110 i386 randconfig-a003-20201110 i386 randconfig-a004-20201110 i386 randconfig-a004-20201109 i386

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-09 Thread Oded Gabbay
On Fri, Nov 06, 2020 at 07:35:37PM +, Mark Brown wrote: > On Thu, Nov 05, 2020 at 08:37:14PM +, Parav Pandit wrote: > > > > > This example describes the mlx5 PCI subfunction use case. > > > > I didn't follow your question about 'explicit example'. > > > > What part is missing to identify

Re: [PATCH 15/20] drm/radeon/r600d: Move 'rc600_*' prototypes into shared header

2020-11-09 Thread Lee Jones
On Mon, 09 Nov 2020, Alex Deucher wrote: > On Mon, Nov 9, 2020 at 4:19 PM Lee Jones wrote: > > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/gpu/drm/radeon/r600_hdmi.c:177:6: warning: no previous prototype > > for ‘r600_hdmi_update_acr’ [-Wmissing-prototypes] > > 177 |

[PATCH] ARM: dts: aspeed: wedge400: Fix FMC flash0 layout

2020-11-09 Thread rentao . bupt
From: Tao Ren Update "data0" partition's size from 8MB to 4MB to fix "partition data0 extends beyond the end of device" warning at bootup time. Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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

2020-11-09 Thread David Gow
On Mon, Nov 9, 2020 at 2:49 PM Arpitha Raghunandan <98.a...@gmail.com> wrote: > > On 07/11/20 3:36 pm, Marco Elver wrote: > > On Sat, 7 Nov 2020 at 05:58, David Gow wrote: > >> On Sat, Nov 7, 2020 at 3:22 AM Arpitha Raghunandan <98.a...@gmail.com> > >> wrote: > >>> > >>> Implementation of

Re: [PATCH 00/20] [Set 3] Rid W=1 warnings from GPU

2020-11-09 Thread Lee Jones
On Mon, 09 Nov 2020, Alex Deucher wrote: > On Mon, Nov 9, 2020 at 4:19 PM 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. > > > > This set takes the running

[PATCH v2] iommu/vt-d: avoid unnecessory panic if iommu init fail in tboot system

2020-11-09 Thread Zhenzhong Duan
"intel_iommu=off" command line is used to disable iommu but iommu is force enabled in a tboot system for security reason. However for better performance on high speed network device, a new option "intel_iommu=tboot_noforce" is introduced to disable the force on. By default kernel should panic if

[PATCH net-next] MAINTAINERS: Add entry for Hirschmann Hellcreek Switch Driver

2020-11-09 Thread Kurt Kanzenbach
Add myself to cover the Hirschmann Hellcreek TSN Ethernet Switch Driver. Suggested-by: Andrew Lunn Signed-off-by: Kurt Kanzenbach --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2a0fde12b650..7fe936fc7e76 100644 --- a/MAINTAINERS +++

RE: [RFC PATCH v3.1 03/27] mmc: core: UHS-II support, skip set_chip_select()

2020-11-09 Thread Bough Chen
> -Original Message- > From: AKASHI Takahiro [mailto:takahiro.aka...@linaro.org] > Sent: 2020年11月6日 10:27 > To: ulf.hans...@linaro.org; adrian.hun...@intel.com > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ben.chu...@genesyslogic.com.tw; greg...@genesyslogic.com.tw;

arch/sh/mm/cache-sh2.c:65:15: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 407ab579637ced6dc32cfb2295afb7259cca4b22 commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 months ago config: sh-randconfig-s032-20201109

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

2020-11-09 Thread Muchun Song
On Tue, Nov 10, 2020 at 2:33 PM Oscar Salvador wrote: > > On Tue, Nov 10, 2020 at 02:08:46PM +0800, Muchun Song wrote: > > The check should be added here. > > > >if (!pgtable) > >return NULL; > > > > Just like my previous v2 patch does. In this case, we can drop

Re: [PATCH 0/4] Add KRYO2XX Errata / mitigations data

2020-11-09 Thread Sai Prakash Ranjan
On 2020-11-05 15:03, Will Deacon wrote: Hi Konrad, [+Jeffrey] On Thu, Nov 05, 2020 at 12:22:09AM +0100, Konrad Dybcio wrote: This series adds Spectre mitigations and errata data for Qualcomm KRYO2XX Gold (big) and Silver (LITTLE) series of CPU cores, used for example in MSM8998 and

Re: [kbuild] drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c:1300 create_engine_group() error: we previously assumed 'mirrored_eng_grp' could be null (see line 1256)

2020-11-09 Thread Herbert Xu
On Mon, Nov 09, 2020 at 03:29:19PM +0300, Dan Carpenter wrote: > > Possibly the "eng_grp->mirror.is_ena" means this is a false positive. > Too hard to tell without more context. Yes I think this is a false positive for this reason as is_ena is set to true by setup_eng_grp_mirroring. Thanks, --

Re: [PATCH] ASoC: pcm512x: Add support for data formats RJ and LJ

2020-11-09 Thread Peter Ujfalusi
On 09/11/2020 23.21, Kirill Marinushkin wrote: > Currently, pcm512x driver supports only I2S data format. > This commit adds RJ and LJ as well. > > I don't expect regression WRT existing sound cards, because: > > * default value in corresponding register of pcm512x codec is 0 == I2S > *

[PATCH] MAINTAINERS: Add myself as arm sunxi soc maintainer

2020-11-09 Thread Frank Lee
From: Yangtao Li Add myself to sunxi maintainer so the mail can cc me. Signed-off-by: Yangtao Li --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 94ac10a153c7..0ddaf9641546 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1545,6 +1545,7 @@ F:

linux-next: build warnings after merge of the rcu tree

2020-11-09 Thread Stephen Rothwell
Hi all, After merging the rcu tree, today's linux-next build (htmldocs) produced these warnings: Documentation/RCU/Design/Requirements/Requirements.rst:119: WARNING: Malformed table. +---+ | **Quick Quiz**:

Re: [PATCH 1/2] cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP table

2020-11-09 Thread Viresh Kumar
On 10-11-20, 07:57, Marek Szyprowski wrote: > Hi Viresh, > > On 10.11.2020 07:00, Viresh Kumar wrote: > > On 09-11-20, 13:42, Marek Szyprowski wrote: > >> This patch landed in linux next-20201109 as commit e8f7703f8fe5 > >> ("cpufreq: dt: Don't (ab)use de

[PATCH] Replace a set of atomic_add()

2020-11-09 Thread Yejune Deng
a set of atomic_inc() looks more readable Signed-off-by: Yejune Deng --- drivers/net/wireless/st/cw1200/bh.c | 10 +- drivers/net/wireless/st/cw1200/wsm.c | 8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/bh.c

Re: [PATCH 1/2] cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP table

2020-11-09 Thread Marek Szyprowski
Hi Viresh, On 10.11.2020 07:00, Viresh Kumar wrote: > On 09-11-20, 13:42, Marek Szyprowski wrote: >> This patch landed in linux next-20201109 as commit e8f7703f8fe5 >> ("cpufreq: dt: Don't (ab)use dev_pm_opp_get_opp_table() to create OPP >> table"). Sadly it ca

Re: [PATCH v22 06/23] LSM: Use lsmblob in security_secid_to_secctx

2020-11-09 Thread James Morris
On Wed, 4 Nov 2020, Casey Schaufler wrote: > Change security_secid_to_secctx() to take a lsmblob as input > instead of a u32 secid. It will then call the LSM hooks > using the lsmblob element allocated for that module. The > callers have been updated as well. This allows for the > possibility

linux-next: build warnings after merge of the arm64 tree

2020-11-09 Thread Stephen Rothwell
Hi all, After merging the arm64 tree, today's linux-next build (htmldocs) produced these warnings: Documentation/arm64/memory.rst:35: WARNING: Literal block ends without a blank line; unexpected unindent. Documentation/arm64/memory.rst:53: WARNING: Literal block ends without a blank line;

Re: [PATCH v22 05/23] LSM: Use lsmblob in security_secctx_to_secid

2020-11-09 Thread James Morris
On Wed, 4 Nov 2020, Casey Schaufler wrote: > Change the security_secctx_to_secid interface to use a lsmblob > structure in place of the single u32 secid in support of > module stacking. Change its callers to do the same. > > The security module hook is unchanged, still passing back a secid. >

[RESEND PATCH 18/19] arm64: allwinner: a100: Add MMC related nodes

2020-11-09 Thread Frank Lee
From: Yangtao Li The A100 has 3 MMC controllers, one of them being especially targeted to eMMC. Let's add nodes on dts. Signed-off-by: Yangtao Li --- .../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 71 +++ 1 file changed, 71 insertions(+) diff --git

[RESEND PATCH 19/19] arm64: dts: allwinner: a100: perf1: Add eMMC and MMC node

2020-11-09 Thread Frank Lee
From: Yangtao Li A100 perf1 hava MicroSD slot and on-board eMMC module, add support for them. Signed-off-by: Yangtao Li --- .../allwinner/sun50i-a100-allwinner-perf1.dts| 16 1 file changed, 16 insertions(+) diff --git

Re: [PATCH v23 00/12] Landlock LSM

2020-11-09 Thread James Morris
On Tue, 3 Nov 2020, Mickaël Salaün wrote: > Hi, > > Can you please consider to merge this into the tree? > I've added this to my tree: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git landlock_lsm and merged into next-testing (which is pulled into linux-next).

[PATCH] venus: guard load_scale

2020-11-09 Thread Fritz Koenig
load_scale can only be safely called after the encoder has been initialized. Signed-off-by: Fritz Koenig --- drivers/media/platform/qcom/venus/pm_helpers.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/qcom/venus/pm_helpers.h

[RESEND PATCH 17/19] mmc: sunxi: add support for A100 mmc controller

2020-11-09 Thread Frank Lee
From: Yangtao Li This patch adds support for A100 MMC controller, which use word address for internal dma. Signed-off-by: Yangtao Li --- drivers/mmc/host/sunxi-mmc.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c

[RESEND PATCH 16/19] dt-bindings: mmc: sunxi: Add A100 compatibles

2020-11-09 Thread Frank Lee
From: Yangtao Li Add binding for A100's mmc and emmc controller. Signed-off-by: Yangtao Li --- .../devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml| 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/allwinner,sun4i-a10-mmc.yaml

Re: [PATCH AUTOSEL 4.19 18/21] kprobes: Tell lockdep about kprobe nesting

2020-11-09 Thread Masami Hiramatsu
Hi, On Mon, 9 Nov 2020 22:55:38 -0500 Sasha Levin wrote: > From: "Steven Rostedt (VMware)" > > [ Upstream commit 645f224e7ba2f4200bf163153d384ceb0de5462e ] > > Since the kprobe handlers have protection that prohibits other handlers from > executing in other contexts (like if an NMI comes in

[RESEND PATCH 15/19] arm64: allwinner: A100: enable EHCI, OHCI and USB PHY nodes in Perf1

2020-11-09 Thread Frank Lee
From: Yangtao Li Add USB support on A100 perf1 board, which include two USB2.0 port. Signed-off-by: Yangtao Li --- .../allwinner/sun50i-a100-allwinner-perf1.dts | 38 +++ 1 file changed, 38 insertions(+) diff --git

[RESEND PATCH 14/19] arm64: dts: allwinner: a100: add usb related nodes

2020-11-09 Thread Frank Lee
From: Yangtao Li Allwinner A64 have two HCI USB controllers, a OTG controller and a USB PHY device, let's add nodes on dts. Signed-off-by: Yangtao Li --- .../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 91 +++ 1 file changed, 91 insertions(+) diff --git

linux-next: Tree for Nov 10

2020-11-09 Thread Stephen Rothwell
Hi all, Changes since 20201109: The drivers-memory tree still had its build failure. The drm-misc tree gained a build failure for which I disabled a driver. Non-merge commits (relative to Linus' tree): 3992 4383 files changed, 417149 insertions(+), 70805 deletions

Re: [External] Re: [PATCH v3 09/21] mm/hugetlb: Free the vmemmap pages associated with each hugetlb page

2020-11-09 Thread Muchun Song
On Tue, Nov 10, 2020 at 2:51 AM Oscar Salvador wrote: > > On Sun, Nov 08, 2020 at 10:11:01PM +0800, Muchun Song wrote: > > +static inline int freed_vmemmap_hpage(struct page *page) > > +{ > > + return atomic_read(>_mapcount) + 1; > > +} > > + > > +static inline int

[RESEND PATCH 13/19] phy: sun4i-usb: add support for A100 USB PHY

2020-11-09 Thread Frank Lee
From: Yangtao Li Add support for a100's usb phy, which with 2 PHYs. Signed-off-by: Yangtao Li --- drivers/phy/allwinner/phy-sun4i-usb.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index

[RESEND PATCH 12/19] dt-bindings: Add bindings for USB phy on Allwinner A100

2020-11-09 Thread Frank Lee
From: Yangtao Li Add a device tree binding for the A100's USB PHY. Signed-off-by: Yangtao Li --- .../phy/allwinner,sun50i-a100-usb-phy.yaml| 105 ++ 1 file changed, 105 insertions(+) create mode 100644

[RESEND PATCH 11/19] arm64: dts: allwinner: a100: add watchdog node

2020-11-09 Thread Frank Lee
From: Yangtao Li Declare A100's watchdog in the device-tree. Signed-off-by: Yangtao Li --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi

[RESEND PATCH 10/19] dt-bindings: watchdog: sun4i: Add A100 compatible

2020-11-09 Thread Frank Lee
From: Yangtao Li Add a binding for A100's watchdog controller. Signed-off-by: Yangtao Li --- .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml

Re: [PATCH v2 0/3] xfrm/compat: syzbot-found fixes

2020-11-09 Thread Steffen Klassert
On Mon, Nov 02, 2020 at 04:14:44PM +, Dmitry Safonov wrote: > v2: Added "Fixes" tags to the patches. > > WARN_ON() for XFRMA_UNSPEC translation which likely no-one except > syzkaller uses; properly zerofy tail-padding for 64-bit attribute; > don't use __GFP_ZERO as the memory is initialized

[RESEND PATCH 09/19] phy: allwinner: Convert to devm_platform_ioremap_* API

2020-11-09 Thread Frank Lee
From: Yangtao Li Use the devm_platform_ioremap_resource_byname() and devm_platform_ioremap_resource helper to simplify the code. Signed-off-by: Yangtao Li --- drivers/phy/allwinner/phy-sun4i-usb.c | 9 +++-- drivers/phy/allwinner/phy-sun50i-usb3.c | 4 +---

[PATCH RESEND 2/2] perf test: Update branch sample parttern for cs-etm

2020-11-09 Thread Leo Yan
Since the commit 943b69ac1884 ("perf parse-events: Set exclude_guest=1 for user-space counting"), 'exclude_guest=1' is set for user-space counting; and the branch sample's modifier has been altered, the sample event name has been changed from "branches:u:" to "branches:uH:", which gives out info

[PATCH RESEND 1/2] perf test: Fix a typo in cs-etm testing

2020-11-09 Thread Leo Yan
Fix a typo: s/devce_name/device_name. Fixes: fe0aed19b266 ("perf test: Introduce script for Arm CoreSight testing") Signed-off-by: Leo Yan --- Resend patches for adding "Fixes" tags. tools/perf/tests/shell/test_arm_coresight.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

2020-11-09 Thread Oscar Salvador
On Tue, Nov 10, 2020 at 02:08:46PM +0800, Muchun Song wrote: > The check should be added here. > >if (!pgtable) >return NULL; > > Just like my previous v2 patch does. In this case, we can drop those > checks. What do you think? It is too early for me, so bear

[RESEND PATCH 08/19] phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg

2020-11-09 Thread Frank Lee
From: Yangtao Li For the current code, enable_pmu_unk1 only works in non-a83t and non-h6 types. So let's delete it from the sun50i_h6_cfg. Signed-off-by: Yangtao Li --- drivers/phy/allwinner/phy-sun4i-usb.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH] x86/mce: Check for hypervisor before enabling additional error logging

2020-11-09 Thread Borislav Petkov
On Mon, Nov 09, 2020 at 03:24:02PM -0800, Luck, Tony wrote: > Booting as a guest under KVM results in error messages about > unchecked MSR access: > > [6.814328][T0] unchecked MSR access error: RDMSR from 0x17f at rIP: > 0x84483f16 (mce_intel_feature_init+0x156/0x270) > >

Re: [PATCH 1/2] MIPS: Ingenic: Add missing nodes for Ingenic SoCs and boards.

2020-11-09 Thread Zhou Yanjie
Hi Paul, On 2020/11/10 上午7:37, Paul Cercueil wrote: Le sam. 7 nov. 2020 à 19:52, 周琰杰 (Zhou Yanjie) a écrit : 1.Add OTG/OTG PHY/RNG nodes for JZ4780, CGU/OTG nodes for CI20. 2.Add OTG/OTG PHY/RNG/OST nodes for X1000, SSI/CGU/OST/OTG/SC16IS752   nodes for CU1000-Neo. 3.Add OTG/OTG

Re: [PATCH v3 19/35] x86/io_apic: Cleanup trigger/polarity helpers

2020-11-09 Thread Qian Cai
| 10 +- > drivers/iommu/intel/irq_remapping.c | 9 +- > 5 files changed, 130 insertions(+), 147 deletions(-) Reverting the rest of patchset up to this commit on next-20201109 fixed an endless soft-lockups issue booting an AMD server below. I noticed that the failed boots a

[RESEND PATCH 07/19] arm64: dts: allwinner: A100: Add PMU mode

2020-11-09 Thread Frank Lee
From: Yangtao Li Add the Performance Monitoring Unit (PMU) device tree node to the A100 .dtsi, which tells DT users which interrupts are triggered by PMU overflow events on each core. Signed-off-by: Yangtao Li --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 15 --- 1 file

Re: [PATCH AUTOSEL 5.9 53/55] seq_file: add seq_read_iter

2020-11-09 Thread Greg Kroah-Hartman
On Mon, Nov 09, 2020 at 10:53:16PM -0500, Sasha Levin wrote: > From: Christoph Hellwig > > [ Upstream commit d4d50710a8b46082224376ef119a4dbb75b25c56 ] > > iov_iter based variant for reading a seq_file. seq_read is > reimplemented on top of the iter variant. > > Signed-off-by: Christoph

[RESEND PATCH 06/19] arm64: allwinner: a100: Add device node for DMA controller

2020-11-09 Thread Frank Lee
From: Yangtao Li The A100 SoC has a DMA controller that supports 8 DMA channels to and from various peripherals. Add a device node for it. Signed-off-by: Yangtao Li --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12 1 file changed, 12 insertions(+) diff --git

Re: [f2fs-dev] [PATCH] f2fs: compress: support chksum

2020-11-09 Thread Chao Yu
On 2020/11/10 12:23, Jaegeuk Kim wrote: On 11/10, Chao Yu wrote: On 2020/11/10 1:06, Jaegeuk Kim wrote: On 11/09, Chao Yu wrote: On 2020/11/7 5:12, Jaegeuk Kim wrote: On 11/03, Chao Yu wrote: On 2020/11/3 10:02, Chao Yu wrote: On 2020/11/3 0:31, Jaegeuk Kim wrote: On 11/02, Chao Yu wrote:

[RESEND PATCH 05/19] dmaengine: sun6i: Add support for A100 DMA

2020-11-09 Thread Frank Lee
From: Yangtao Li The dma of a100 is similar to h6, with some minor changes to support greater addressing capabilities. Add support for it. Signed-off-by: Yangtao Li --- drivers/dma/sun6i-dma.c | 25 + 1 file changed, 25 insertions(+) diff --git

Re: [PATCH 1/8] epoll: check for events when removing a timed out thread from the wait queue

2020-11-09 Thread Davidlohr Bueso
On Fri, 06 Nov 2020, Soheil Hassas Yeganeh wrote: From: Soheil Hassas Yeganeh After abc610e01c66 ("fs/epoll: avoid barrier after an epoll_wait(2) timeout"), we break out of the ep_poll loop upon timeout, without checking whether there is any new events available. Prior to that patch-series

[RESEND PATCH 04/19] dt-bindings: dma: allwinner,sun50i-a64-dma: Add A100 compatible

2020-11-09 Thread Frank Lee
From: Yangtao Li Add a binding for A100's dma controller. Signed-off-by: Yangtao Li --- .../devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml| 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml

Re:Re: [PATCH] sched/rt, powerpc: Prepare for PREEMPT_RT

2020-11-09 Thread 王擎
>Quoting Wang Qing : > >> Add PREEMPT_RT output to die(). >> >> Signed-off-by: Wang Qing >> --- >> arch/powerpc/kernel/traps.c | 10 +- >> 1 file changed, 9 insertions(+), 1 deletion(-) >> >> diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c >> index 5006dcb..6dfe567

[RESEND PATCH 03/19] pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler

2020-11-09 Thread Frank Lee
From: Yangtao Li It is found on many allwinner soc that there is a low probability that the interrupt status cannot be read in sunxi_pinctrl_irq_handler. This will cause the interrupt status of a gpio bank to always be active on gic, preventing gic from responding to other spi interrupts

[RESEND PATCH 02/19] pinctrl: sunxi: Mark the irq bank not found in sunxi_pinctrl_irq_handler() with WARN_ON

2020-11-09 Thread Frank Lee
From: Yangtao Li The interrupt descriptor cannot be found in the interrupt processing function, and this situation cannot happen when the system is running normally. It doesn't seem right to return directly to the status of not handling gic. In this case, it must be a bug, let's mark it with

[PATCH 1/2] perf test: Fix a typo in cs-etm testing

2020-11-09 Thread Leo Yan
Fix a typo: s/devce_name/device_name. Signed-off-by: Leo Yan --- tools/perf/tests/shell/test_arm_coresight.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/shell/test_arm_coresight.sh b/tools/perf/tests/shell/test_arm_coresight.sh index

[PATCH 2/2] perf test: Update branch sample parttern for cs-etm

2020-11-09 Thread Leo Yan
Since the commit 943b69ac1884 ("perf parse-events: Set exclude_guest=1 for user-space counting"), 'exclude_guest=1' is set for user-space counting; and the branch sample's modifier has been altered, the sample event name has been changed from "branches:u:" to "branches:uH:", which gives out info

[RESEND PATCH 01/19] pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller

2020-11-09 Thread Frank Lee
From: Yangtao Li A100's pin starts with PB, so it should start with 1. Fixes: 473436e7647d6 ("pinctrl: sunxi: add support for the Allwinner A100 pin controller") Signed-off-by: Yangtao Li --- drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v5 0/4] HWpoison: further fixes and cleanups

2020-11-09 Thread Oscar Salvador
On Tue, Oct 13, 2020 at 04:44:43PM +0200, Oscar Salvador wrote: > This patchset includes some more fixes and a cleanup. > > Patch#2 and patch#3 are both fixes for taking a HWpoison page off a buddy > freelist, since having them there has proved to be bad (see [1] and > pathch#2's commit log). >

[RESEND PATCH 00/19] Second step support for A100

2020-11-09 Thread Frank Lee
Let's add watchdog, arm-pmu, dma, usb, mmc. support for allwinner a100 soc. Yangtao Li (19): pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller pinctrl: sunxi: Mark the irq bank not found in sunxi_pinctrl_irq_handler() with WARN_ON pinctrl: sunxi: Always call

[PATCH] ALSA: usb-audio : Add support for the Pioneer DJ DDJ-RR controller.

2020-11-09 Thread Daniel
--- sound/usb/quirks-table.h | 56 +++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 3c1697f6b60c..a39233cb4d72 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@

[PATCH v2 2/2] platform/chrome: cros_ec_typec: Set partner num_altmodes

2020-11-09 Thread Prashant Malani
Set the number of altmodes available for a registered partner using the Type C connector class framework routine. Cc: Heikki Krogerus Signed-off-by: Prashant Malani --- Changes in v2: - Patch introduced for the first time in v2. drivers/platform/chrome/cros_ec_typec.c | 8 1 file

[PATCH v2 1/2] usb: typec: Add number of altmodes partner attr

2020-11-09 Thread Prashant Malani
Add a user-visible attribute for the number of alternate modes available in a partner. This allows userspace to determine whether there are any remaining alternate modes left to be registered by the kernel driver. It can begin executing any policy state machine after all available alternate modes

Re: [PATCH] sched/rt, powerpc: Prepare for PREEMPT_RT

2020-11-09 Thread Christophe Leroy
Quoting Wang Qing : Add PREEMPT_RT output to die(). Signed-off-by: Wang Qing --- arch/powerpc/kernel/traps.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 5006dcb..6dfe567 ---

Re: [tip: x86/apic] x86/io_apic: Cleanup trigger/polarity helpers

2020-11-09 Thread Borislav Petkov
On Mon, Nov 09, 2020 at 05:15:03PM -0600, Tom Lendacky wrote: > [ 105.325371] hpet: Lost 9601 RTC interrupts > [ 105.485766] hpet: Lost 9600 RTC interrupts > [ 105.639182] hpet: Lost 9601 RTC interrupts > [ 105.792155] hpet: Lost 9601 RTC interrupts > [ 105.947076] hpet: Lost 9601 RTC

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

2020-11-09 Thread Muchun Song
On Tue, Nov 10, 2020 at 1:42 PM Oscar Salvador wrote: > > On Tue, Nov 10, 2020 at 11:49:27AM +0800, Muchun Song wrote: > > On Tue, Nov 10, 2020 at 1:21 AM Oscar Salvador wrote: > > > > > > On Sun, Nov 08, 2020 at 10:10:57PM +0800, Muchun Song wrote: > > > > +static inline unsigned int

Re: [PATCH] powerpc/mm: Fix comparing pointer to 0 warning

2020-11-09 Thread Christophe Leroy
Le 10/11/2020 à 03:56, xiakaixu1...@gmail.com a écrit : From: Kaixu Xia Fixes coccicheck warning: ./arch/powerpc/mm/pgtable_32.c:87:11-12: WARNING comparing pointer to 0 Avoid pointer type value compared to 0. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia Reviewed-by: Christophe

RE: [v9 1/2] i2c: imx: support slave mode for imx I2C driver

2020-11-09 Thread Biwen Li
Hi Oleksij, Wolfram, Any comments? Regards, Biwen Li > From: Biwen Li > > The patch supports slave mode for imx I2C driver > > Signed-off-by: Biwen Li > --- > Change in v9: > - remove #ifdef after select I2C_SLAVE by default > > Change in v8: > - fix build issue > > Change in

Re: [f2fs-dev] [PATCH] f2fs: avoid race condition for shinker count

2020-11-09 Thread Chao Yu
On 2020/11/10 12:19, Jaegeuk Kim wrote: On 11/10, Chao Yu wrote: On 2020/11/10 1:00, Jaegeuk Kim wrote: Light reported sometimes shinker gets nat_cnt < dirty_nat_cnt resulting in I didn't get the problem clearly, did you mean __count_nat_entries() will give the wrong shrink count due to race

RE: [PATCH net-next] net: emaclite: Add error handling for of_address_ and phy read functions

2020-11-09 Thread Radhey Shyam Pandey
> -Original Message- > From: Jakub Kicinski > Sent: Sunday, November 8, 2020 1:05 AM > To: Radhey Shyam Pandey > Cc: da...@davemloft.net; Michal Simek ; > net...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; git ; Shravya Kumbham > > Subject:

[PATCH v5.9-v4.19] perf scripting python: Avoid declaring function pointers with a visibility attribute

2020-11-09 Thread Tapas Kundu
From: Arnaldo Carvalho de Melo commit d0e7b0c71fbb653de90a7163ef46912a96f0bdaf upstream. To avoid this: util/scripting-engines/trace-event-python.c: In function 'python_start_script': util/scripting-engines/trace-event-python.c:1595:2: error: 'visibility' attribute ignored

[PATCH -V3 2/2] autonuma: Migrate on fault among multiple bound nodes

2020-11-09 Thread Huang Ying
Now, AutoNUMA can only optimize the page placement among the NUMA nodes if the default memory policy is used. Because the memory policy specified explicitly should take precedence. But this seems too strict in some situations. For example, on a system with 4 NUMA nodes, if the memory of an

[PATCH -V3 0/2] autonuma: Migrate on fault among multiple bound nodes

2020-11-09 Thread Huang Ying
To make it possible to optimize cross-socket memory accessing with AutoNUMA even if the memory of the application is bound to multiple NUMA nodes. Changes: v3: - Rebased on latest upstream (v5.10-rc3) - Revised the change log. v2: - Rebased on latest upstream (v5.10-rc1) Huang Ying (2):

[PATCH -V3 1/2] mempolicy: Rename MPOL_F_MORON to MPOL_F_MOPRON

2020-11-09 Thread Huang Ying
To follow code-of-conduct better. Although the patch changes a user visible flag definition in uapi, the flag isn't used by the user space at all. The flag is only used internally by kernel in struct mempolicy flags field. It is defined in uapi just to avoid to conflict with MPOL_MODE_FLAGS.

Re: [PATCH 00/19] Second step support for A100

2020-11-09 Thread Frank Lee
It seems that sending too many e-mails at one time will cause some emails to fail to be sent out. I will try again. BR / Yangtao

  1   2   3   4   5   6   7   8   9   10   >