[PATCH] ALSA: usb-audio: Add prevent wakeup from s3 state trig by Lenovo ThinkCentre TI024Gen3 USB-audio

2020-08-18 Thread penghao
TI024Gen3 USB-audio is controlled by TI024Gen3,when TI024Gens enter sleep mode, USB-audio will disconnect from USB bus port, wakup form s3 state Signed-off-by: penghao --- sound/usb/card.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/usb/card.c b/sound/usb/card.c index 696e788

Re: [PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Linus Torvalds
On Tue, Aug 18, 2020 at 8:04 PM Arvind Sankar wrote: > > On Tue, Aug 18, 2020 at 05:44:03PM -0700, Linus Torvalds wrote: > > Using -fno-tree-loop-distribute-patterns seems to really be a bit too > > incestuous with internal compiler knowledge. > > Fair enough -- you ok with just the -ffreestanding

Re: [PATCH] mm/slub: sysfs cleanup on cpu partial when !SLUB_CPU_PARTIAL

2020-08-18 Thread Andrew Morton
On Thu, 13 Aug 2020 16:48:54 +0800 wrote: > Hide cpu partial related sysfs entries when !CONFIG_SLUB_CPU_PARTIAL to > avoid confusion. > But it changes the userspace interface in ways which might cause existing code to misbehave? We just had to revert a different commit for this reason :( htt

回复: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group

2020-08-18 Thread Zhang, Qiang
cc: Dan Williams Please review. 发件人: linux-kernel-ow...@vger.kernel.org 代表 qiang.zh...@windriver.com 发送时间: 2020年8月12日 16:55 收件人: dan.j.willi...@intel.com; vishal.l.ve...@intel.com; dave.ji...@intel.com; ira.we...@intel.com 抄送: linux-nvd...@lists.01.org;

Re: [PATCH] [PATCH] hwmon/pmbus/Q54SJ108A2: new driver for Delta modules Q54SJ108A2

2020-08-18 Thread Guenter Roeck
On 8/18/20 7:21 PM, xiao.mx.ma wrote: > The driver is used for Q54SJ108A2 series. > > Signed-off-by: xiao.mx.ma <734056...@qq.com> there is a gazillion of unnecessary empty lines. Please drop all those. checkpatch --strict might help. Other comments inline. > --- > drivers/hwmon/pmbus/Kconfig

[PATCH][v2] ACPI: processor: Print more information when acpi_processor_evaluate_cst() failed

2020-08-18 Thread Chen Yu
Some platforms have bogus _CST which might cause expectd behavior in the cpu idle driver. Some bogus _CST might be unable to be disassembled by acpica-tools due to broken format. Print extra log if the _CST extraction/verification failed. This can be used to help the user narrow down why the cpu id

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Feng Tang
On Wed, Aug 19, 2020 at 10:23:11AM +0800, Luck, Tony wrote: > 00019260 D pqr_state > > Do you have /sys/fs/resctrl mounted? This variable is read on every context > switch. > If your benchmark does a lot of context switching and this now shares a cache > line > with something diff

[PATCH] perf record: Correct the help info of option "--no-bpf-event"

2020-08-18 Thread Wei Li
The help info of option "--no-bpf-event" is wrongly described as "record bpf events", correct it. Fixes: 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event") Signed-off-by: Wei Li --- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [RFC/RFT PATCH 1/6] numa: Move numa implementation to common code

2020-08-18 Thread Anshuman Khandual
On 08/15/2020 03:17 AM, Atish Patra wrote: > ARM64 numa implementation is generic enough that RISC-V can reuse that > implementation with very minor cosmetic changes. This will help both > ARM64 and RISC-V in terms of maintanace and feature improvement > > Move the numa implementation code to c

Re: [PATCH v2] mm: include CMA pages in lowmem_reserve at boot

2020-08-18 Thread Andrew Morton
On Fri, 14 Aug 2020 09:49:26 -0700 Doug Berger wrote: > The lowmem_reserve arrays provide a means of applying pressure > against allocations from lower zones that were targeted at > higher zones. Its values are a function of the number of pages > managed by higher zones and are assigned by a call

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Feng Tang
On Wed, Aug 19, 2020 at 10:23:11AM +0800, Luck, Tony wrote: > 00019260 D pqr_state > > Do you have /sys/fs/resctrl mounted? This variable is read on every context > switch. > If your benchmark does a lot of context switching and this now shares a cache > line > with something diff

Re: [PATCH] squashfs: avoid bio_alloc() failure with 1Mbyte blocks

2020-08-18 Thread Andrew Morton
On Fri, 14 Aug 2020 21:30:33 -0700 Guenter Roeck wrote: > On Fri, Aug 14, 2020 at 8:57 PM Phillip Lougher > wrote: > > > > This is a regression introduced by the "migrate from ll_rw_block usage > > to BIO" patch. > > > > Bio_alloc() is limited to 256 pages (1 Mbyte). This can cause a > > fail

Re: [clk] a2499eff4b: BUG:kernel_NULL_pointer_dereference,address

2020-08-18 Thread Stephen Boyd
Quoting kernel test robot (2020-08-11 01:49:44) > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: a2499eff4b30a85d56e4466e6ca4746c72a347c6 ("[PATCH v2] clk: samsung: > Keep top BPLL mux on Exynos542x enabled") > url: > https://github.com/0day-ci/linux/commits/

RE: [PATCH v3 5/9] dt-bindings: pinctrl: realtek: Add Realtek DHC SoC rtd1295

2020-08-18 Thread TY_Chang [張子逸]
Hi Rob, Andreas, Thanks for the review. > -Original Message- > From: Andreas Färber > Sent: Tuesday, August 18, 2020 6:12 PM > To: Rob Herring ; TY_Chang[張子逸] > > Cc: linux-realtek-...@lists.infradead.org; linux-g...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kerne

Re: [PATCH] clk: rockchip: Fix initialization of mux_pll_src_4plls_p

2020-08-18 Thread Stephen Boyd
Quoting Nathan Chancellor (2020-08-09 21:40:20) > A new warning in Clang points out that the initialization of > mux_pll_src_4plls_p appears incorrect: > > ../drivers/clk/rockchip/clk-rk3228.c:140:58: warning: suspicious > concatenation of string literals in an array initialization; did you > mean

Re: [PATCH] clk: davinci: Use the correct size when allocating memory

2020-08-18 Thread Stephen Boyd
Quoting Christophe JAILLET (2020-08-09 07:49:59) > 'sizeof(*pllen)' should be used in place of 'sizeof(*pllout)' to avoid a > small over-allocation. > > Fixes: 2d1726915159 ("clk: davinci: New driver for davinci PLL clocks") > Signed-off-by: Christophe JAILLET > --- Applied to clk-fixes

[PATCH -next] drm/nouveau/nvenc: remove duplicate include

2020-08-18 Thread Wang Hai
Remove priv.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/ba

[PATCH] video: backlight: sky81452-backlight: Fix refcount imbalance on error

2020-08-18 Thread Dinghao Liu
When of_property_read_u32_array() returns an error code, a pairing refcount decrement is needed to keep np's refcount balanced. Fixes: f705806c9f355 ("backlight: Add support Skyworks SKY81452 backlight driver") Signed-off-by: Dinghao Liu --- drivers/video/backlight/sky81452-backlight.c | 1 + 1

[PATCH 1/1] sh: add support for cmpxchg on u8 and u16 pointers

2020-08-18 Thread Liam Beguin
The kernel test bot reported[1] that using set_mask_bits on a u8 causes the following issue on SuperH: >> ERROR: modpost: "__cmpxchg_called_with_bad_pointer" [drivers/phy/ti/phy-tusb1210.ko] undefined! Add support for cmpxchg on u8 and u16 pointers. [1] https://lore.kernel.org/patchwork/pat

Re: [PATCH v3] perf parse-events: Set exclude_guest=1 for user-space counting

2020-08-18 Thread Like Xu
Hi Arnaldo, On 2020/8/17 10:32, Jin, Yao wrote: Hi Arnaldo, On 8/14/2020 8:47 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 14, 2020 at 09:21:20AM +0800, Jin Yao escreveu: Currently if we run 'perf record -e cycles:u', exclude_guest=0. But it doesn't make sense in most cases that we reques

Re: [PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Arvind Sankar
On Tue, Aug 18, 2020 at 05:44:03PM -0700, Linus Torvalds wrote: > On Tue, Aug 18, 2020 at 4:43 PM Arvind Sankar wrote: > > > > This by itself is insufficient for gcc if the optimization was > > explicitly enabled by CFLAGS, so also add a flag to explicitly disable > > it. > > Using -fno-tree-loop

[PATCH -next] drm/nouveau/svm: remove duplicate include

2020-08-18 Thread Wang Hai
Remove nvif/if000c.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/gpu/drm/nouveau/nouveau_dmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dmem.c b/drivers/gpu/drm/nouveau/nouveau_dmem.c index 4e8112fde3e6

Re: [PATCH v2 0/3] Build ORC fast lookup table in scripts/sorttable tool

2020-08-18 Thread changhuaixin
Hi,Ingo This patchset reverts the hacks from patchset v1. Also it includes some other fixes upon v1 as suggested. Will you please have a look at this? The previous links are: https://lore.kernel.org/lkml/20200724135531.gb648...@gmail.com/ Thanks, huaixin > On Aug 7, 2020, at 12:17 PM, Huaixin

回复: [PATCH] rcu: shrink each possible cpu krcp

2020-08-18 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 Joel Fernandes 发送时间: 2020年8月19日 8:04 收件人: Paul E. McKenney 抄送: Uladzislau Rezki; Zhang, Qiang; Josh Triplett; Steven Rostedt; Mathieu Desnoyers; Lai Jiangshan; rcu; LKML 主题: Re: [PATCH] rcu: shrink each possib

[PATCH -next] drm/mediatek: remove duplicate include

2020-08-18 Thread Wang Hai
Remove mtk_drm_ddp.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index 040a8f393fe2

[tip:perf-urgent-for-linus] BUILD SUCCESS bcfd218b66790243ef303c1b35ce59f786ded225

2020-08-18 Thread kernel test robot
defconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

[PATCH bpf-next] libbpf: simplify the return expression of build_map_pin_path()

2020-08-18 Thread Xu Wang
Simplify the return expression. Signed-off-by: Xu Wang --- tools/lib/bpf/libbpf.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 5d20b2da4427..cd59e237ca96 100644 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/l

[tip:auto-latest] BUILD SUCCESS d8211042f91d87737619154f17d94b73598422d8

2020-08-18 Thread kernel test robot
00817 i386 randconfig-a006-20200817 i386 randconfig-a004-20200817 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randc

[PATCH -next] ext2: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/fiemap.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- fs/ext2/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 80662e1f7889..de6b97612410 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c @@

[tip:x86/cpu] BUILD SUCCESS 86109813990b5d6d6cfb8072382ee69d11ea9460

2020-08-18 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

Re: [PATCH -next] vdpa: Remove duplicate include

2020-08-18 Thread Jason Wang
On 2020/8/18 下午7:49, YueHaibing wrote: Remove duplicate include file Signed-off-by: YueHaibing --- drivers/vhost/vdpa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c index 3fab94f88894..95e2b8307a2a 100644 --- a/drivers/vhost/vdpa.c +++ b/dr

Re: [PATCH -next] vdpa/mlx5: Remove duplicate include

2020-08-18 Thread Jason Wang
On 2020/8/18 下午7:46, YueHaibing wrote: Remove duplicate include file Signed-off-by: YueHaibing --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/vdpa/mlx5/net/mlx5_vnet.c b/drivers/vdpa/mlx5/net/mlx5_vnet.c index 9df69d5efe8c..12fb83dc1de9 10

Re: Kernel build system broken in 5.8?

2020-08-18 Thread Masahiro Yamada
Hi. On Wed, Aug 19, 2020 at 5:50 AM Martin Burnicki wrote: > > Hello Masahiro, > > Masahiro Yamada wrote: > > On Wed, Aug 19, 2020 at 1:14 AM Martin Burnicki > > wrote: > [...] > >> I usually build the kernel module as standard user, and only install the > >> new module as root, e.g.: > >> > >>

[PATCH net-next] SUNRPC: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/sunrpc/auth_gss.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- net/sunrpc/auth_gss/trace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/sunrpc/auth_gss/trace.c b/net/sunrpc/auth_gss/trace.c index d26036a57443..76685abba60f 100644 --

[PATCH net-next] net: ipa: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/notifier.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/net/ipa/ipa.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ipa/ipa.h b/drivers/net/ipa/ipa.h index 55115cfb2972..407fee841a9a 100644 --- a/drivers/net/ipa/ipa.h

Re: [PATCH v1 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-08-18 Thread Shyh-In Hwang
Dear maintainers: These two patches are to expose the WBS sco packet length to the user space. Since different vendors may choose different USB alternate settings which result in different packet lengths, we need the kernel to expose the lengths to the user space to handle the packets properly. T

Re: [PATCH][RFC] ACPI: processor: Print more information when acpi_processor_evaluate_cst() failed

2020-08-18 Thread Chen Yu
On Tue, Aug 18, 2020 at 12:46:12PM +0200, Rafael J. Wysocki wrote: > On Sun, Aug 16, 2020 at 5:12 PM Chen Yu wrote: > > > > Some platforms have bogus _CST which might cause expectd behavior > > in the cpu idle driver. Some bogus _CST might be unable to be > > disassembled by acpica-tools due to br

[PATCH -next] bus: bt1-apb: remove duplicate include

2020-08-18 Thread Wang Hai
Remove linux/clk.h which is included more than once Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/bus/bt1-apb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c index b25ff941e7c7..74b1b712ef3a 100644 --- a/drivers/bus/bt1-apb.c +++

Re: [PATCH net] net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()

2020-08-18 Thread wanghai (M)
在 2020/8/19 3:54, David Miller 写道: From: Wang Hai Date: Tue, 18 Aug 2020 21:44:04 +0800 Fix the missing free_netdev() before return from gemini_ethernet_port_probe() in the error handling case. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Reported-by: Hulk

[PATCH net v2] net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()

2020-08-18 Thread Wang Hai
Replace alloc_etherdev_mq with devm_alloc_etherdev_mqs. In this way, when probe fails, netdev can be freed automatically. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Reported-by: Hulk Robot Signed-off-by: Wang Hai --- v1->v2: Make use of devm_alloc_etherdev_mq

Re: file metadata via fs API

2020-08-18 Thread Al Viro
On Tue, Aug 18, 2020 at 11:51:25AM -0700, Linus Torvalds wrote: > I think people who have problems parsing plain ASCII text are just > wrong. It's not that expensive. The thing that makes /proc/mounts > expensive is not the individual lines - it's that there are a lot of > them. It is exp

Re: [PATCH] MAINTAINERS: Add entries for CoreSight and Arm SPE

2020-08-18 Thread Leo Yan
On Tue, Aug 18, 2020 at 06:54:28PM +0100, John Garry wrote: > On 17/08/2020 20:31, Mathieu Poirier wrote: > > Add entries for perf tools elements related to the support of > > Arm CoreSight and Arm SPE. > > Thanks for doing this... > > > > > Signed-off-by: Mathieu Poirier > > --- > > MAINTAIN

RE: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Luck, Tony
00019260 D pqr_state Do you have /sys/fs/resctrl mounted? This variable is read on every context switch. If your benchmark does a lot of context switching and this now shares a cache line with something different (especially something that is sometimes modified from another CPU

[PATCH] irqchip/stm32-exti: avoid interrupts losing due to clearing pending bit by mistake

2020-08-18 Thread qiuguorui1
In the previous code, when the eoi handle of the exti clears the pending bit of the current interrupt, it will first read the values of fpr and rpr, then logically OR the corresponding bit of the interrupt number, and finally write back to fpr and rpr. We found through experiments that if two exti

Re: [RFC PATCH 08/17] gpio: Drop uses of pci_read_config_*() return value

2020-08-18 Thread Bjorn Helgaas
On Tue, Aug 18, 2020 at 09:59:50PM +0200, Bartosz Golaszewski wrote: > On Sat, Aug 1, 2020 at 2:24 PM Saheed O. Bolarinwa > wrote: > > > > The return value of pci_read_config_*() may not indicate a device error. > > However, the value read by these functions is more likely to indicate > > this kin

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 05:10:06PM +0100, Christoph Hellwig wrote: > On Tue, Aug 18, 2020 at 11:07:57AM +0100, Will Deacon wrote: > > > > so I'm not sure > > > > that we should be complicating the implementation like this to try to > > > > make it "fast". > > > > > > > I agree that this patch make

[PATCH v2] scsi: libfc: Fix passing zero to 'PTR_ERR' warning

2020-08-18 Thread YueHaibing
drivers/scsi/libfc/fc_disc.c:304 fc_disc_error() warn: passing zero to 'PTR_ERR' fp maybe NULL in fc_disc_error(), use IS_ERR to handle this. Signed-off-by: YueHaibing --- v2: use IS_ERR in fc_disc_error() --- drivers/scsi/libfc/fc_disc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2 1/4] libnvdimm: fix memmory leaks in of_pmem.c

2020-08-18 Thread Zhen Lei
The memory priv->bus_desc.provider_name allocated by kstrdup() is not freed correctly. Fixes: 49bddc73d15c ("libnvdimm/of_pmem: Provide a unique name for bus provider") Signed-off-by: Zhen Lei --- drivers/nvdimm/of_pmem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/nvdimm/of_p

[PATCH v2 4/4] libnvdimm/region: reduce an unnecessary if branch in nd_region_create()

2020-08-18 Thread Zhen Lei
The "else" branch can only be entered when ndr_desc->flush is NULL. After replaced "NULL" with "ndr_desc->flush", we will find that the statements in "if..else.." are the same. No functional change. Signed-off-by: Zhen Lei --- drivers/nvdimm/region_devs.c | 5 + 1 file changed, 1 insertion(

[PATCH v2 3/4] libnvdimm/bus: simplify walk_to_nvdimm_bus()

2020-08-18 Thread Zhen Lei
I first want to move dev_WARN_ONCE() after "if (dev)" branch, but further I find the "if (dev)" can only be true when is_nvdimm_bus(dev) successed. No functional change. In fact, the compiler can optimize it correctly. I run "size drivers/nvdimm/bus.o" and find nothing has changed. So it's just so

[PATCH v2 0/4] bugfix and optimize for drivers/nvdimm

2020-08-18 Thread Zhen Lei
v1 --> v2: 1. Add Fixes for Patch 1-2 2. Slightly change the subject and description of Patch 1 3. Add a new trivial Patch 4, I just found that yesterday. v1: I found a memleak when I learned the drivers/nvdimm code today. And I also added a sanity check for priv->bus_desc.provider_name, because s

[PATCH v2 2/4] libnvdimm: add sanity check for provider_name in of_pmem_region_probe()

2020-08-18 Thread Zhen Lei
kstrdup() may return NULL because of no memory, check it. Fixes: 49bddc73d15c ("libnvdimm/of_pmem: Provide a unique name for bus provider") Signed-off-by: Zhen Lei --- drivers/nvdimm/of_pmem.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/nvdimm/of_pmem.c b/drivers/nvdimm/of_

Re: [LKP] Re: [x86/mce] 1de08dccd3: will-it-scale.per_process_ops -14.1% regression

2020-08-18 Thread Feng Tang
On Tue, Aug 18, 2020 at 01:06:54PM -0700, Luck, Tony wrote: > On Tue, Aug 18, 2020 at 04:29:43PM +0800, Feng Tang wrote: > > Hi Borislav, > > > > On Sat, Apr 25, 2020 at 03:01:36PM +0200, Borislav Petkov wrote: > > > On Sat, Apr 25, 2020 at 07:44:14PM +0800, kernel test robot wrote: > > > > Greeti

[PATCH 7/7] soundwire: cadence: add parity error injection through debugfs

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart The Cadence IP can inject errors, let's make use of this capability to test Slave parity error checks. See e.g. example log where both the master and slave detect the parity error injected on a dummy read command. cd /sys/kernel/debug/soundwire/master-1/intel-sdw/ ech

[PATCH 5/7] ASoC: codecs: realtek-soundwire: ignore initial PARITY errors

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart The parity calculation is not reset on a Severe Reset, which leads to misleading/harmless errors reported on startup. The addition of a quirk helps filter out such errors while leaving the error checks on in steady-state. Signed-off-by: Pierre-Louis Bossart Reviewed-b

[PATCH 3/7] soundwire: slave: add first_interrupt_done status

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart Some Slaves report incorrect information in their interrupt status registers after a master/bus reset, track the initial interrupt handling so that quirks can be introduced to filter out incorrect information while keeping interrupts enabled in steady state. Signed-off

[PATCH 6/7] soundwire: bus: export broadcast read/write capability for tests

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart Provide prototype and export symbol to enable tests. The bus lock is handled externally to avoid conflicts e.g. between kernel-generated traffic and test traffic. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Kai Vehmanen Reviewed-by: Guennadi Liakhovetski Signed

[PATCH 1/7] soundwire: bus: use property to set interrupt masks

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart Add a slave-level property and program the SCP_INT1_MASK as desired by the codec driver. Since there is no DisCo property this has to be an implementation-specific firmware property or hard-coded in the driver. The only functionality change is that implementation-defin

[PATCH 2/7] soundwire: bus: filter-out unwanted interrupt reports

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart Unlike the traditional usage, in the SoundWire specification the interrupt masks only gate the propagation of an interrupt condition to the PING frame status. They do not gate the changes of the INT_STAT registers, which will happen regardless of the mask settings. See

[PATCH 4/7] soundwire: bus: use quirk to filter out invalid parity errors

2020-08-18 Thread Bard Liao
From: Pierre-Louis Bossart If a Slave device reports with a quirk that its initial parity check may be incorrect, filter it but keep the parity checks active in steady state. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Kai Vehmanen Reviewed-by: Guennadi Liakhovetski Signed-off-by: Bard L

[PATCH bpf-next] net-veth: add type safety to veth_xdp_to_ptr() and veth_ptr_to_xdp()

2020-08-18 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This reduces likelihood of incorrect use. Test: builds Signed-off-by: Maciej Żenczykowski --- drivers/net/veth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index e56cd562a664..b80cbffeb88e 100644 -

[PATCH 0/7] soundwire: filter out invalid PARITY errors

2020-08-18 Thread Bard Liao
Some codecs may report fake PARITY errors in the initial state. This series will filter them out. Pierre-Louis Bossart (7): soundwire: bus: use property to set interrupt masks soundwire: bus: filter-out unwanted interrupt reports soundwire: slave: add first_interrupt_done status soundwire:

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-18 Thread Linus Torvalds
On Tue, Aug 18, 2020 at 6:13 PM Dave Airlie wrote: > > I think there's been some discussion about reverting that change for > other reasons, but it's quite likely the culprit. Hmm. It reverts cleanly, but the end result doesn't work, because of other changes. Reverting all of 763fedd6a216 ("

[PATCH] gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY

2020-08-18 Thread Mark Tomlinson
When receiving an IPv4 packet inside an IPv6 GRE packet, and the IP6_TNL_F_RCV_DSCP_COPY flag is set on the tunnel, the IPv4 header would get corrupted. This is due to the common ip6_tnl_rcv() function assuming that the inner header is always IPv6. This patch checks the tunnel protocol for IPv4 inn

Re: [LKP] Re: [ext4] d3b6f23f71: stress-ng.fiemap.ops_per_sec -60.5% regression

2020-08-18 Thread Xing Zhengjun
On 7/22/2020 2:17 PM, Xing Zhengjun wrote: On 7/15/2020 7:04 PM, Ritesh Harjani wrote: Hello Xing, On 4/7/20 1:30 PM, kernel test robot wrote: Greeting, FYI, we noticed a -60.5% regression of stress-ng.fiemap.ops_per_sec due to commit: commit: d3b6f23f71670007817a5d59f3fbafab2b794e8c

Re: [PATCH] uart:8250: change lock order in serial8250_do_startup()

2020-08-18 Thread Sergey Senozhatsky
On (20/08/18 14:52), Petr Mladek wrote: > > I guess we may add some tags here > > > > Fixes: 768aec0b5bcc ("serial: 8250: fix shared interrupts issues with SMP > > and RT kernels") > > Reported-by: Guenter Roeck > > Reported-by: Raul Rangel > > BugLink: https://bugs.chromium.org/p/chromium/issu

Re: [PATCH] net: Avoid strcmp current->comm with warncomm when warned >= 5

2020-08-18 Thread linmiaohe
David Miller wrote: >From: Miaohe Lin >Date: Tue, 18 Aug 2020 07:41:32 -0400 > >> @@ -417,7 +417,7 @@ static void sock_warn_obsolete_bsdism(const char >> *name) { >> static int warned; >> static char warncomm[TASK_COMM_LEN]; >> -if (strcmp(warncomm, current->comm) && warned < 5) {

Re: [PATCH] net: Relax the npages test against MAX_SKB_FRAGS

2020-08-18 Thread linmiaohe
Eric Dumazet wrote: >On Tue, Aug 18, 2020 at 4:58 AM Miaohe Lin wrote: >> >> The npages test against MAX_SKB_FRAGS can be relaxed if we succeed to >> allocate high order pages as the note in comment said. >> > > >We do not want this change. > >This interface is used by datagram providers, we do

[rcu:rcu/next] BUILD SUCCESS 398b53b5b3751726c05f14a4331b0de258c0453a

2020-08-18 Thread kernel test robot
allyesconfig mips allmodconfig powerpc defconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20200818 i386

Re: [PATCH] hugetlb_cgroup: convert comma to semicolon

2020-08-18 Thread Andrew Morton
On Tue, 18 Aug 2020 06:43:33 + Xu Wang wrote: > Replace a comma between expression statements by a semicolon. > > ... > > --- a/mm/hugetlb_cgroup.c > +++ b/mm/hugetlb_cgroup.c > @@ -655,7 +655,7 @@ static void __init __hugetlb_cgroup_file_dfl_init(int idx) > snprintf(cft->name, MAX_CFT

Re: [PATCH v2] f2fs: fix indefinite loop scanning for free nid

2020-08-18 Thread Chao Yu
On 2020/8/18 18:10, Sahitya Tummala wrote: If the sbi->ckpt->next_free_nid is not NAT block aligned and if there are free nids in that NAT block between the start of the block and next_free_nid, then those free nids will not be scanned in scan_nat_page(). This results into mismatch between nm_i->

linux-next: build warning after merge of the sound-asoc tree

2020-08-18 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) produced this warning: sound/soc/sunxi/sun8i-codec.c:532:12: warning: 'sun8i_codec_component_probe' defined but not used [-Wunused-function] 532 | static int sun8i_codec_component_probe(struct snd_soc_com

Re: [PATCH 1/2] dma-mapping: introduce relaxed version of dma sync

2020-08-18 Thread Cho KyongHo
On Tue, Aug 18, 2020 at 11:07:57AM +0100, Will Deacon wrote: > On Tue, Aug 18, 2020 at 06:37:39PM +0900, Cho KyongHo wrote: > > On Tue, Aug 18, 2020 at 09:28:53AM +0100, Will Deacon wrote: > > > On Tue, Aug 18, 2020 at 04:43:10PM +0900, Cho KyongHo wrote: > > > > Cache maintenance operations in the

[PATCH] checkpatch: Move repeated word test

2020-08-18 Thread Joe Perches
Currently this test only works on .[ch] files. Move the test to check more file types and the commit log. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 72 +-- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/scripts/checkp

Re: Protecting uvcvideo againt USB device disconnect [Was: Re: Protecting usb_set_interface() against device removal]

2020-08-18 Thread Laurent Pinchart
Hi Hans, On Mon, Aug 17, 2020 at 01:00:49PM +0200, Hans Verkuil wrote: > On 17/08/2020 01:51, Laurent Pinchart wrote: > > On Sun, Aug 16, 2020 at 08:54:18AM -0700, Guenter Roeck wrote: > >> On 8/16/20 5:18 AM, Laurent Pinchart wrote: > >>> CC'ing Hans Verkuil and Sakari Ailus for the discussion ab

[PATCH] USB: usblcd: Remove the superfluous break

2020-08-18 Thread Jing Xiangfeng
Remove the superfuous break, as there is a 'return' before it. Signed-off-by: Jing Xiangfeng --- drivers/usb/misc/usblcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c index 61e9e987fe4a..bb546f624a45 100644 --- a/drivers/usb/misc/usblc

Re: [PATCH v2 11/25] powerpc/signal: Refactor bad frame logging

2020-08-18 Thread Joe Perches
On Tue, 2020-08-18 at 17:19 +, Christophe Leroy wrote: > The logging of bad frame appears half a dozen of times > and is pretty similar. [] > diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c [] > @@ -355,3 +355,14 @@ static unsigned long get_tm_stackpointer(struct > tas

linux-next: manual merge of the wireless-drivers-next tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the wireless-drivers-next tree got a conflict in: drivers/net/wireless/ath/ath11k/dp_rx.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: 0b294aebb6a0 ("ath11k: Use fallthrough pseudo-ke

[PATCH bpf] bpf: verifier: check for packet data access based on target prog

2020-08-18 Thread Udip Pant
While using dynamic program extension (of type BPF_PROG_TYPE_EXT), we need to check the program type of the target program to grant the read / write access to the packet data. The BPF_PROG_TYPE_EXT type can be used to extend types such as XDP, SKB and others. Since the BPF_PROG_TYPE_EXT program ty

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-18 Thread Dave Airlie
On Wed, 19 Aug 2020 at 10:38, Linus Torvalds wrote: > > Ping on this? > > The code disassembles to > > 24: 8b 85 d0 fd ff ffmov-0x230(%ebp),%eax > 2a:* c7 03 01 00 40 10movl $0x1041,(%ebx) <-- trapping instruction > 30: 89 43 04 mov%eax,0x4(%ebx) > 33: 8b

linux-next: manual merge of the net-next tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: lib/nlattr.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: 8aa26c575fb3 ("netlink: make NLA_BINARY validation more flexible") from the net-next tr

Re: [PATCH 1/3] libnvdimm: Fix memory leaks in of_pmem.c

2020-08-18 Thread Leizhen (ThunderTown)
On 8/19/2020 3:00 AM, Markus Elfring wrote: >> The memory priv->bus_desc.provider_name allocated by kstrdup() should be >> freed. > > * Would an imperative wording be preferred for the change description? > > * I propose to add the tag “Fixes” to the commit message. Thanks for your suggestion,

[PATCH bpf-next 1/2] net-tun: add type safety to tun_xdp_to_ptr() and tun_ptr_to_xdp()

2020-08-18 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This reduces likelihood of incorrect use. Test: builds Signed-off-by: Maciej Żenczykowski --- drivers/net/tun.c | 6 +++--- include/linux/if_tun.h | 8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c i

[PATCH bpf-next 2/2] net-tun: eliminate two tun/xdp related function calls from vhost-net

2020-08-18 Thread Maciej Żenczykowski
From: Maciej Żenczykowski This provides a minor performance boost by virtue of inlining instead of cross module function calls. Test: builds Signed-off-by: Maciej Żenczykowski --- drivers/net/tun.c | 18 -- include/linux/if_tun.h | 15 --- 2 files changed, 12 i

[PATCH v2] scsi: ufs: Remove an unpaired ufshcd_scsi_unblock_requests() in err_handler()

2020-08-18 Thread Can Guo
Commit 5586dd8ea250 ("scsi: ufs: Fix a race condition between error handler and runtime PM ops") moves the ufshcd_scsi_block_requests() inside err_handler(), but forgets to remove the ufshcd_scsi_unblock_requests() in the early return path. Correct the coding mistake. Fixes: 5586dd8ea250 ("scsi: u

linux-next: manual merge of the v4l-dvb tree with the kspp-gustavo tree

2020-08-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the v4l-dvb tree got a conflict in: drivers/media/platform/pxa_camera.c between commit: 58e813cceabd ("treewide: Use fallthrough pseudo-keyword") from the kspp-gustavo tree and commit: ebb965acddac ("media: pxa_camera: Use the new set_mbus_config op")

Re: [PATCH] x86/cpu: Fix typos and improve the comments in sync_core()

2020-08-18 Thread Ricardo Neri
On Tue, Aug 18, 2020 at 07:31:30AM +0200, Ingo Molnar wrote: > > * tip-bot2 for Ricardo Neri wrote: > > > --- a/arch/x86/include/asm/sync_core.h > > +++ b/arch/x86/include/asm/sync_core.h > > @@ -5,6 +5,7 @@ > > #include > > #include > > #include > > +#include > > > > #ifdef CONFIG_X86

Re: [PATCH] Revert "seqlock: lockdep assert non-preemptibility on seqcount_t write"

2020-08-18 Thread Guenter Roeck
On 8/18/20 3:51 PM, Valdis Klētnieks wrote: > On Mon, 10 Aug 2020 07:10:32 -0700, Guenter Roeck said: >>> ERROR: modpost: "__bad_udelay" >>> [drivers/net/ethernet/aquantia/atlantic/atlantic.ko] undefined! >>> >> >> I don't think that is new. If anything, it is surprising that builds don't >>

RE: [PATCH 04/10] remoteproc: imx_rproc: make syscon optional

2020-08-18 Thread Peng Fan
> Subject: Re: [PATCH 04/10] remoteproc: imx_rproc: make syscon optional > > Hi Peng, > > On Fri, Jul 24, 2020 at 04:08:07PM +0800, Peng Fan wrote: > > Make syscon optional, since i.MX8QM/QXP/7ULP not have SRC to control > M4. > > But currently i.MX8QM/QXP/7ULP not added, so still check regmap wh

[tip:perf/urgent] BUILD SUCCESS 24633d901ea44fe99bc9a2d01a3881fa097b78b3

2020-08-18 Thread kernel test robot
randconfig-a002-20200816 i386 randconfig-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig

[tip:x86/paravirt] BUILD SUCCESS 7c9f80cb76ec9f14c3b25509168b1a2f7942e418

2020-08-18 Thread kernel test robot
-a005-20200816 i386 randconfig-a001-20200816 i386 randconfig-a002-20200816 i386 randconfig-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386

[tip:sched/urgent] BUILD SUCCESS cc172ff301d8079e941a6eb31758951a6d764084

2020-08-18 Thread kernel test robot
randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a003-20200818 i386 randconfig

[tip:master] BUILD SUCCESS 2b82b6dff5472a551e897f4bac2a68190870ced1

2020-08-18 Thread kernel test robot
onfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64 randconfig-a01

[tip:x86/boot] BUILD SUCCESS 527afc212231ea9d585b7709c0ab73263ecf0c85

2020-08-18 Thread kernel test robot
-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386

[tip:x86/mm] BUILD SUCCESS 7a27ef5e83089090f3a4073a9157c862ef00acfc

2020-08-18 Thread kernel test robot
-a002-20200816 i386 randconfig-a003-20200816 i386 randconfig-a006-20200816 i386 randconfig-a004-20200816 i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386

[tip:ras/core] BUILD SUCCESS 5f2c67bd0f8a470a12c38a8786c42c043e100014

2020-08-18 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

[tip:WIP.x86/cpu] BUILD SUCCESS 1a1e485a4d447cbc4139e023f3177c38b46cb09a

2020-08-18 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200818 i386 randconfig-a002-20200818 i386 randconfig-a001-20200818 i386 randconfig-a006-20200818 i386 randconfig-a003-20200818 i386 randconfig-a004-20200818 x86_64

Re: [PATCH] lib/string.c: Disable tree-loop-distribute-patterns

2020-08-18 Thread Linus Torvalds
On Tue, Aug 18, 2020 at 4:43 PM Arvind Sankar wrote: > > This by itself is insufficient for gcc if the optimization was > explicitly enabled by CFLAGS, so also add a flag to explicitly disable > it. Using -fno-tree-loop-distribute-patterns seems to really be a bit too incestuous with internal com

Re: 5.9-rc1: graphics regression moved from -next to mainline

2020-08-18 Thread Linus Torvalds
Ping on this? The code disassembles to 24: 8b 85 d0 fd ff ffmov-0x230(%ebp),%eax 2a:* c7 03 01 00 40 10movl $0x1041,(%ebx) <-- trapping instruction 30: 89 43 04 mov%eax,0x4(%ebx) 33: 8b 85 b4 fd ff ffmov-0x24c(%ebp),%eax 39: 89 43 08

Re: [PATCH 0/2] x86/resctrl: Enable user to view thread or core throttling mode

2020-08-18 Thread Fenghua Yu
Hi, X86 maintainers, On Thu, Jul 16, 2020 at 10:53:12AM -0700, Fenghua Yu wrote: > This series enumerates Memory Bandwidth Allocation (MBA) per-thread > feature and introduces a new resctrl file "thread_throttle_mode". > The file shows either "per-thread" on newer systems that implement the MBA >

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