[PATCH v4] page_alloc: consider highatomic reserve in watermark fast

2020-06-18 Thread Jaewon Kim
zone_watermark_fast was introduced by commit 48ee5f3696f6 ("mm, page_alloc: shortcut watermark checks for order-0 pages"). The commit simply checks if free pages is bigger than watermark without additional calculation such like reducing watermark. It considered free cma pages but it did not

Re: [PATCH] thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power

2020-06-18 Thread Viresh Kumar
On 19-06-20, 09:51, Finley Xiao wrote: > The function cpu_power_to_freq is used to find a frequency and set the > cooling device to consume at most the power to be converted. For example, > if the power to be converted is 80mW, and the em table is as follow. > struct em_cap_state table[] = { >

Re: [PATCH 3/5] f2fs: shrink node_write lock coverage

2020-06-18 Thread Jaegeuk Kim
On 06/18, Chao Yu wrote: > - to avoid race between checkpoint and quota file writeback, it > just needs to hold read lock of node_write in writeback path. > - node_write lock has covered all LFS data write paths, it's not > necessary, we only need to hold node_write lock at write path of > quota

Re: [PATCH] ASoC: fsl_spdif: Add pm runtime function

2020-06-18 Thread Nicolin Chen
On Thu, Jun 18, 2020 at 07:55:34PM +0800, Shengjiu Wang wrote: > Add pm runtime support and move clock handling there. > Close the clocks at suspend to reduce the power consumption. > > fsl_spdif_suspend is replaced by pm_runtime_force_suspend. > fsl_spdif_resume is replaced by

Re: [PATCH 1/5] f2fs: fix to wait page writeback before update

2020-06-18 Thread Jaegeuk Kim
On 06/19, Chao Yu wrote: > Hi Jaegeuk, > > On 2020/6/19 7:59, Jaegeuk Kim wrote: > > Hi Chao, > > > > On 06/18, Chao Yu wrote: > >> to make page content stable for special device like raid. > > > > Could you elaborate the problem a bit? > > Some devices like raid5 wants page content to be

KASAN: use-after-free Read in dev_uevent

2020-06-18 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=169fa04910 kernel config: https://syzkaller.appspot.com/x/.config?x=be4578b3f1083656

bpf test error: KASAN: use-after-free Write in afs_wake_up_async_call

2020-06-18 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:ef7232da ionic: export features for vlans to use git tree: bpf console output: https://syzkaller.appspot.com/x/log.txt?x=173214d110 kernel config: https://syzkaller.appspot.com/x/.config?x=b8ad29058cb749bc dashboard link:

[PATCH] ASoC: dt-bindings: ak4642: switch to yaml base Documentation

2020-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch switches from .txt base to .yaml base Document. Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/sound/ak4642.txt | 37 .../devicetree/bindings/sound/ak4642.yaml | 57 +++ 2 files changed, 57 insertions(+),

[PATCH] ASoC: dt-bindings: ak4613: switch to yaml base Documentation

2020-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch switches from .txt base to .yaml base Document. Signed-off-by: Kuninori Morimoto --- v1 -> v2 - use patternProperties .../devicetree/bindings/sound/ak4613.txt | 27 -- .../devicetree/bindings/sound/ak4613.yaml | 49

Re: [PATCH] f2fs: fix to document reserved special compression extension

2020-06-18 Thread Jaegeuk Kim
On 06/19, Chao Yu wrote: > There is one reserved special compression extension: '*', which > could be set via 'compress_extension="*"' mount option to enable > compression for all files. Thank you for the patch. :) > > Signed-off-by: Chao Yu > --- > Documentation/filesystems/f2fs.rst | 2 ++ >

[PATCH] ASoC: dt-bindings: renesas,fsi: use patternProperties for FSI-A/B

2020-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto FSI has FSI-A and FSI-B, and has fsia-xxx/fsib-xxx properties. This patch uses patternProperties, and reduce verbose settings. Signed-off-by: Kuninori Morimoto --- .../bindings/sound/renesas,fsi.yaml | 19 --- 1 file changed, 4 insertions(+),

include/linux/blk-mq.h:300:29: error: 'MQ_RQ_IN_FLIGHT' undeclared

2020-06-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5e857ce6eae7ca21b2055cca4885545e29228fe2 commit: 0fc09f920983f61be625658c62cc40ac25a7b3a5 blk-mq: export setting request completion state config: powerpc64-randconfig-m031-20200618 (attached as .config

ARM: dts: motorola-mapphone-common: remove unneeded "simple-graph-card"

2020-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Audio Graph Card is using "audio-graph-card" prefix instead of "simple-graph-card", and moreover "widgets / routing" doesn't need it. This patch removes unsupported "simple-graph-card" prefix from motorola-mapphone-common.dtsi and vendor-prefixes.yaml. Signed-off-by:

Re: [PATCH v3 2/4] bus: mhi: core: Move MHI_MAX_MTU to external header file

2020-06-18 Thread Manivannan Sadhasivam
On Thu, Jun 11, 2020 at 11:13:42AM -0700, Hemant Kumar wrote: > Currently this macro is defined in internal MHI header as > a TRE length mask. Moving it to external header allows MHI > client drivers to set this upper bound for the transmit > buffer size. > So we have 2 definitions for

Re: [PATCH v3 1/4] bus: mhi: core: Add helper API to return number of free TREs

2020-06-18 Thread Manivannan Sadhasivam
On Thu, Jun 11, 2020 at 11:13:41AM -0700, Hemant Kumar wrote: > Introduce mhi_get_no_free_descriptors() API to return number > of TREs available to queue buffer. MHI clients can use this > API to know before hand if ring is full without calling queue > API. > > Signed-off-by: Hemant Kumar > ---

[PATCH] um: vector: Use GFP_ATOMIC under spin lock

2020-06-18 Thread Tiezhu Yang
Use GFP_ATOMIC instead of GFP_KERNEL under spin lock to fix possible sleep-in-atomic-context bugs. Fixes: 9807019a62dc ("um: Loadable BPF "Firmware" for vector drivers") Signed-off-by: Tiezhu Yang --- arch/um/drivers/vector_kern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH net-next v8 4/5] net: dp83869: Add RGMII internal delay configuration

2020-06-18 Thread kernel test robot
cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2 config: s390-randconfig-r014-20200618 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6c44) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp

Re: [PATCH v6 23/36] drm: vmwgfx: fix common struct sg_table related issues

2020-06-18 Thread kernel test robot
Hi Marek, I love your patch! Yet something to improve: [auto build test ERROR on next-20200618] [also build test ERROR on v5.8-rc1] [cannot apply to linuxtv-media/master staging/staging-testing drm-exynos/exynos-drm-next drm-intel/for-linux-next linus/master v5.8-rc1 v5.7 v5.7-rc7] [If your

Re: kprobe: __blkdev_put probe is missed

2020-06-18 Thread Masami Hiramatsu
Hi Ming, On Fri, 19 Jun 2020 07:19:01 +0800 Ming Lei wrote: > > I'm using 5.4 on ubuntu and can not reproduce it with kprobe_event. > > > > root@devnote2:/sys/kernel/tracing# uname -a > > Linux devnote2 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 > > x86_64 x86_64 x86_64

Re: [LKP] [sched/fair] 070f5e860e: reaim.jobs_per_min -10.5% regression

2020-06-18 Thread Xing Zhengjun
On 6/18/2020 4:24 PM, Hillf Danton wrote: On Thu, 18 Jun 2020 10:45:01 +0800 Xing Zhengjun wrote: On 6/18/2020 12:25 AM, Vincent Guittot wrote: Le mercredi 17 juin 2020 à 16:57:25 (+0200), Vincent Guittot a écrit : Le mercredi 17 juin 2020 à 08:30:21 (+0800), Xing Zhengjun a écrit : On

[PATCH 4/4] powerpc/pseries/iommu: Remove default DMA window before creating DDW

2020-06-18 Thread Leonardo Bras
On LoPAR "DMA Window Manipulation Calls", it's recommended to remove the default DMA window for the device, before attempting to configure a DDW, in order to make the maximum resources available for the next DDW to be created. This is a requirement for some devices to use DDW, given they only

[PATCH 0/4] Remove default DMA window before creating DDW

2020-06-18 Thread Leonardo Bras
There are some devices that only allow 1 DMA window to exist at a time, and in those cases, a DDW is never created to them, since the default DMA window keeps using this resource. LoPAR recommends this procedure: 1. Remove the default DMA window, 2. Query for which configs the DDW can be created,

[PATCH 3/4] powerpc/pseries/iommu: Move window-removing part of remove_ddw into remove_dma_window

2020-06-18 Thread Leonardo Bras
Move the window-removing part of remove_ddw into a new function (remove_dma_window), so it can be used to remove other DMA windows. It's useful for removing DMA windows that don't create DIRECT64_PROPNAME property, like the default DMA window from the device, which uses "ibm,dma-window".

[PATCH 1/4] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-06-18 Thread Leonardo Bras
>From LoPAR level 2.8, "ibm,ddw-extensions" index 3 can make the number of outputs from "ibm,query-pe-dma-windows" go from 5 to 6. This change of output size is meant to expand the address size of largest_available_block PE TCE from 32-bit to 64-bit, which ends up shifting page_size and

[PATCH 2/4] powerpc/pseries/iommu: Implement ibm,reset-pe-dma-windows rtas call

2020-06-18 Thread Leonardo Bras
Platforms supporting the DDW option starting with LoPAR level 2.7 implement ibm,ddw-extensions. The first extension available (index 2) carries the token for ibm,reset-pe-dma-windows rtas call, which is used to restore the default DMA window for a device, if it has been deleted. It does so by

Re: [PATCH v5 2/3] dt-bindings: net: mscc-vsc8531: add optional clock properties

2020-06-18 Thread Florian Fainelli
On 6/18/2020 5:11 AM, Heiko Stuebner wrote: > From: Heiko Stuebner > > Some mscc ethernet phys have a configurable clock output, so describe the > generic properties to access them in devicetrees. > > Signed-off-by: Heiko Stuebner > --- >

Re: [LKP] [sched/fair] 070f5e860e: reaim.jobs_per_min -10.5% regression

2020-06-18 Thread Xing Zhengjun
On 6/18/2020 8:35 PM, Vincent Guittot wrote: On Thu, 18 Jun 2020 at 04:45, Xing Zhengjun wrote: This bench forks a new thread for each and every new step. But a newly forked threads start with a load_avg and a runnable_avg set to max whereas the threads are running shortly before

Re: [PATCH 2/2] Revert "checkpatch: kconfig: prefer 'help' over '---help---'"

2020-06-18 Thread Masahiro Yamada
On Wed, Jun 17, 2020 at 1:37 PM Joe Perches wrote: > > On Wed, 2020-06-17 at 12:02 +0900, Masahiro Yamada wrote: > > This reverts commit 84af7a6194e493fae312a2b7fa5a3b51f76d9282. > > Also: https://lore.kernel.org/patchwork/patch/1255848/ > --- Yes, I removed --help-- support in 1/2.

Re: BUG: unable to handle kernel paging request in sys_imageblit

2020-06-18 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:435faf5c Merge tag 'riscv-for-linus-5.8-mw0' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1768c72510 kernel config:

Re: [LKP] [sched/fair] 070f5e860e: reaim.jobs_per_min -10.5% regression

2020-06-18 Thread Xing Zhengjun
On 6/17/2020 10:57 PM, Vincent Guittot wrote: Le mercredi 17 juin 2020 à 08:30:21 (+0800), Xing Zhengjun a écrit : On 6/16/2020 2:54 PM, Vincent Guittot wrote: Hi Xing, Le mardi 16 juin 2020 à 11:17:16 (+0800), Xing Zhengjun a écrit : On 6/15/2020 4:10 PM, Vincent Guittot wrote: Hi

[PATCH 3/3] ALSA: compress: fix partial_drain completion state

2020-06-18 Thread Vinod Koul
On partial_drain completion we should be in SNDRV_PCM_STATE_RUNNING state, so set that for partially draining streams in snd_compr_drain_notify() and use a flag for partially draining streams While at it, add locks for stream state change in snd_compr_drain_notify() as well. Fixes: f44f2a5417b2

[PATCH 0/3] ALSA: compress: Document stream states and fix gaplless SM

2020-06-18 Thread Vinod Koul
Srini found issue with gapless implementation which prompted to look deeper into SM for compressed stream. So documenting SM was first step, so first two patches add that. Last patch fixes the issue by keeping track on partial_drain and then moving state to 'running' in snd_compr_drain_notify()

[PATCH 1/3] ALSA: compress: document the compress audio state machine

2020-06-18 Thread Vinod Koul
So we had some discussions of the stream states, so I thought it is a good idea to document the state transitions, so add it documentation Signed-off-by: Vinod Koul --- .../sound/designs/compress-offload.rst| 52 +++ 1 file changed, 52 insertions(+) diff --git

[PATCH 2/3] ALSA: compress: document the compress gapless audio state machine

2020-06-18 Thread Vinod Koul
Also documented the galpess transitions. Please note that these are not really stream states, but show how the stream steps in gapless mode Signed-off-by: Vinod Koul --- .../sound/designs/compress-offload.rst| 32 +++ 1 file changed, 32 insertions(+) diff --git

[PATCH] Revert "Makefile: install modules.builtin even if CONFIG_MODULES=n"

2020-06-18 Thread Masahiro Yamada
This reverts commit e0b250b57dcf403529081e5898a9de717f96b76b. Now that "make install" copies modules.builtin to $(INSTALL_MOD_PATH), it breaks systems that do not set INSTALL_MOD_PATH for "make install". While modules.builtin is useful for CONFIG_MODULES=n, this way gives unexpected impact to

[PATCH net 1/2] of: of_mdio: Correct loop scanning logic

2020-06-18 Thread Florian Fainelli
Commit 209c65b61d94 ("drivers/of/of_mdio.c:fix of_mdiobus_register()") introduced a break of the loop on the premise that a successful registration should exit the loop. The premise is correct but not to code, because rc && rc != -ENODEV is just a special error condition, that means we would exit

[PATCH net 0/2] net: phy: MDIO bus scanning fixes

2020-06-18 Thread Florian Fainelli
Hi all, This patch series fixes two problems with the current MDIO bus scanning logic which was identified while moving from 4.9 to 5.4 on devices that do rely on scanning the MDIO bus at runtime because they use pluggable cards. Florian Fainelli (2): of: of_mdio: Correct loop scanning logic

[PATCH net 2/2] net: phy: Check harder for errors in get_phy_id()

2020-06-18 Thread Florian Fainelli
Commit 02a6efcab675 ("net: phy: allow scanning busses with missing phys") added a special condition to return -ENODEV in case -ENODEV or -EIO was returned from the first read of the MII_PHYSID1 register. In case the MDIO bus data line pull-up is not strong enough, the MDIO bus controller will not

Re: treewide: replace '---help---' in Kconfig files with 'help'

2020-06-18 Thread Masahiro Yamada
On Mon, Jun 15, 2020 at 5:06 PM Geert Uytterhoeven wrote: > > Hi Yamada-san, > > On Sat, 13 Jun 2020, Linux Kernel Mailing List wrote: > > Commit: a7f7f6248d9740d710fd6bd190293fe5e16410ac > > Parent: e4a42c82e943b97ce124539fcd7a47445b43fa0d > > Refname:refs/heads/master > >

[PATCH v2 03/10] perf pmu: Add bison debug build flag

2020-06-18 Thread Ian Rogers
Allow pmu parser to be debugged as the parse-events and expr currently are. Enabling this requires the C code to set perf_pmu_debug. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/Build

[PATCH v2 08/10] perf expr: Avoid implicit lex function declaration

2020-06-18 Thread Ian Rogers
Add include and a dependency. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 2 ++ tools/perf/util/expr.y | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 53383bd6f4e2..43a9ae712544 100644 --- a/tools/perf/util/Build +++

[PATCH v2 10/10] perf parse-events: Disable a subset of bison warnings

2020-06-18 Thread Ian Rogers
Rather than disable all warnings with -w, disable specific warnings. Predicate enabling the warnings on a recent version of bison. Tested with GCC 9.3.0 and clang 9.0.1. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-)

[PATCH v2 09/10] perf parse-events: Avoid implicit lex function declaration

2020-06-18 Thread Ian Rogers
Add include and a dependency. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 2 ++ tools/perf/util/parse-events.y | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 43a9ae712544..935ba132614c 100644 ---

[PATCH v2 02/10] perf parse-events: Use automatic variable for yacc input

2020-06-18 Thread Ian Rogers
This reduces the command line size slightly. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 66cf009f78d8..4e1aa52d75a8 100644 --- a/tools/perf/util/Build +++

[PATCH v2 04/10] perf pmu: Add flex debug build flag

2020-06-18 Thread Ian Rogers
Allow pmu parser's flex to be debugged as the parse-events and expr currently are. Enabling this requires the C code to call perf_pmu__flex_debug. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/Build

[PATCH v2 06/10] perf parse-events: Declare bison header file output

2020-06-18 Thread Ian Rogers
Declare bison header file output so that C files can depend upon them. As there are multiple output targets $@ is replaced by the target name. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git

[PATCH v2 01/10] perf parse-events: Use automatic variable for flex input

2020-06-18 Thread Ian Rogers
This reduces the command line size slightly. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/Build b/tools/perf/util/Build index 8d18380ecd10..66cf009f78d8 100644 --- a/tools/perf/util/Build +++

[PATCH v2 07/10] perf parse-events: Disable a subset of flex warnings

2020-06-18 Thread Ian Rogers
Rather than disable all warnings with -w, disable specific warnings. Predicate enabling the warnings on more recent flex versions. Tested with GCC 9.3.0 and clang 9.0.1. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff

[PATCH v2 05/10] perf parse-events: Declare flex header file output

2020-06-18 Thread Ian Rogers
Declare flex header file output so that bison C files can depend upon them. As there are multiple output targets $@ is replaced by the target name. Signed-off-by: Ian Rogers --- tools/perf/util/Build | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git

Re: linux-next: Fixes tag needs some work in the pinctrl tree

2020-06-18 Thread Sivaprakash Murugesan
Hi Linus, I just sent version2 of this patch with correct fixes tag. please pick it up. Thanks, Siva On 6/16/2020 4:42 PM, Stephen Rothwell wrote: Hi all, In commit 912f25eca000 ("pinctrl: qcom: ipq6018 Add missing pins in qpic pin group") Fixes tag Fixes: ef1ea54 (pinctrl: qcom:

[PATCH v2 00/10] perf parse-events: enable more flex/bison warnings

2020-06-18 Thread Ian Rogers
All C compiler warnings are disabled are disabled by -w. This change removes the -w from flex and bison targets. To avoid implicit declarations header files are declared as targets and included. Tested with GCC 9.3.0 and clang 9.0.1. v2. predicates disabling the warnings on more recent bison and

[PATCH V2] pinctrl: qcom: ipq6018 Add missing pins in qpic pin group

2020-06-18 Thread Sivaprakash Murugesan
The patch adds missing qpic data pins to qpic pingroup. These pins are necessary for the qpic nand to work. Fixes: ef1ea54eab0e ("pinctrl: qcom: Add ipq6018 pinctrl driver") Signed-off-by: Sivaprakash Murugesan --- [V2] * Corrected Fixes tag drivers/pinctrl/qcom/pinctrl-ipq6018.c | 3 ++- 1

Re: [PATCH 2/2] riscv: Use PUD/PGDIR entries for linear mapping when possible

2020-06-18 Thread Alex Ghiti
Hi Atish, Le 6/18/20 à 8:47 PM, Atish Patra a écrit : On Wed, Jun 3, 2020 at 8:38 AM Alexandre Ghiti wrote: Improve best_map_size so that PUD or PGDIR entries are used for linear mapping when possible as it allows better TLB utilization. Signed-off-by: Alexandre Ghiti ---

Re: [PATCH] soc: qcom: rpmh: Remove serialization of TCS commands

2020-06-18 Thread Doug Anderson
Hi, On Fri, May 29, 2020 at 3:52 AM Maulik Shah wrote: > > From: Lina Iyer > > Requests sent to RPMH can be sent as fire-n-forget or response required, > with the latter ensuring the command has been completed by the hardware > accelerator. Commands in a request with tcs_cmd::wait set, would

Re: [PATCH v3] exfat: remove EXFAT_SB_DIRTY flag

2020-06-18 Thread Tetsuhiro Kohada
I mentioned rmdir as an example. However, this problem is not only with rmdirs. VOL_DIRTY remains when some functions abort with an error. In original, VOL_DIRTY is not cleared even if performe 'sync'. With this patch, it ensures that VOL_DIRTY will be cleared by 'sync'. Is my description

Re: [PATCH v3] HID: i2c-hid: Enable touchpad wakeup from Suspend-to-Idle

2020-06-18 Thread Kai-Heng Feng
Hi, > On Jun 18, 2020, at 23:28, Hans de Goede wrote: > > Hi, > > On 6/18/20 4:55 PM, Kai-Heng Feng wrote: >> Many laptops can be woken up from Suspend-to-Idle by touchpad. This is >> also the default behavior on other OSes. >> So let's enable the wakeup support if the system defaults to >>

Re: [kbuild-all] security/integrity/ima/ima_crypto.c:575:12: warning: stack frame size of 1152 bytes in function 'ima_calc_field_array_hash_tfm'

2020-06-18 Thread Herbert Xu
On Fri, Jun 19, 2020 at 10:43:22AM +0800, Rong Chen wrote: > > Could you take a look at this warning? Roberto mentioned you in previous > report: > https://lore.kernel.org/linux-integrity/9dbec9465bda4f8995a42593eb0db...@huawei.com/ Well having a shash descriptor on the stack is always pushing

[rcu:rcu/next] BUILD SUCCESS 2cb3e01520e4c6cd28ac8301e4616c62c313a833

2020-06-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: 2cb3e01520e4c6cd28ac8301e4616c62c313a833 lib/test_vmalloc.c: Add test cases for kvfree_rcu() elapsed time: 721m configs tested: 80 configs skipped: 1 The following configs have been

Re: [PATCH net] net: dsa: bcm_sf2: Fix node reference count

2020-06-18 Thread David Miller
From: Florian Fainelli Date: Wed, 17 Jun 2020 20:42:44 -0700 > of_find_node_by_name() will do an of_node_put() on the "from" argument. > With CONFIG_OF_DYNAMIC enabled which checks for device_node reference > counts, we would be getting a warning like this: ... > Fix this by adding a

Re: [PATCH 0/5] net: hns3: a bundle of minor cleanup and fixes

2020-06-18 Thread David Miller
From: Barry Song Date: Thu, 18 Jun 2020 13:02:06 +1200 > some minor changes to either improve the readability or make the code align > with linux APIs better. Series applied, thanks.

Re: [PATCHv2] tpm: ibmvtpm: Wait for ready buffer before probing for TPM2 attributes

2020-06-18 Thread Jerry Snitselaar
On Fri Jun 19 20, David Gibson wrote: The tpm2_get_cc_attrs_tbl() call will result in TPM commands being issued, which will need the use of the internal command/response buffer. But, we're issuing this *before* we've waited to make sure that buffer is allocated. This can result in intermittent

Re: common KUnit Kconfig and file naming (was: Re: [PATCH] lib: kunit_test_overflow: add KUnit test of check_*_overflow functions)

2020-06-18 Thread Kees Cook
On Thu, Jun 18, 2020 at 01:27:55PM -0700, Brendan Higgins wrote: > I am cool with changing *-test.c to *-kunit.c. The *-test.c was a hold I am fine with basically any decision as long as there's a single naming convention, *except* for this part. Dashes in source files creates confusion for

Re: [PATCH][next] mISDN: hfcsusb: Use struct_size() helper

2020-06-18 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 17 Jun 2020 18:15:57 -0500 > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes. > > This code was detected with the help of Coccinelle and, audited and > fixed manually. > >

Re: [PATCH] lan743x: allow mac address to come from dt

2020-06-18 Thread David Miller
From: Tim Harvey Date: Wed, 17 Jun 2020 15:59:10 -0700 > If a valid mac address is present in dt, use that before using > CSR's or a random mac address. > > Signed-off-by: Tim Harvey Applied to net-next, thanks.

Re: [PATCH resend net] net: ethtool: add missing NETIF_F_GSO_FRAGLIST feature string

2020-06-18 Thread David Miller
From: Alexander Lobakin Date: Wed, 17 Jun 2020 20:42:47 + > Commit 3b33583265ed ("net: Add fraglist GRO/GSO feature flags") missed > an entry for NETIF_F_GSO_FRAGLIST in netdev_features_strings array. As > a result, fraglist GSO feature is not shown in 'ethtool -k' output and > can't be

Re: [PATCH][next] enetc: Use struct_size() helper in kzalloc()

2020-06-18 Thread David Miller
From: "Gustavo A. R. Silva" Date: Wed, 17 Jun 2020 13:53:17 -0500 > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes. > > This code was detected with the help of Coccinelle and, audited and > fixed manually. > >

Re: [PATCH v2] tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes

2020-06-18 Thread David Miller
From: David Christensen Date: Wed, 17 Jun 2020 11:51:17 -0700 > The driver function tg3_io_error_detected() calls napi_disable twice, > without an intervening napi_enable, when the number of EEH errors exceeds > eeh_max_freezes, resulting in an indefinite sleep while holding rtnl_lock. > > Add

Re: severe proc dentry lock contention

2020-06-18 Thread Eric W. Biederman
Junxiao Bi writes: > On 6/18/20 5:02 PM, ebied...@xmission.com wrote: > >> Matthew Wilcox writes: >> >>> On Thu, Jun 18, 2020 at 03:17:33PM -0700, Junxiao Bi wrote: When debugging some performance issue, i found that thousands of threads exit around same time could cause a severe spin

Re: [PATCH net-next v8 5/5] net: phy: DP83822: Add setting the fixed internal delay

2020-06-18 Thread kernel test robot
Hi Dan, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Dan-Murphy/RGMII-Internal-delay-common-property/20200619-051238 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

[PATCHv2] tpm: ibmvtpm: Wait for ready buffer before probing for TPM2 attributes

2020-06-18 Thread David Gibson
The tpm2_get_cc_attrs_tbl() call will result in TPM commands being issued, which will need the use of the internal command/response buffer. But, we're issuing this *before* we've waited to make sure that buffer is allocated. This can result in intermittent failures to probe if the hypervisor /

RE: [PATCH v2 1/3] docs: IOMMU user API

2020-06-18 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, June 19, 2020 10:55 AM > > On Fri, 19 Jun 2020 02:15:36 + > "Liu, Yi L" wrote: > > > Hi Alex, > > > > > From: Alex Williamson > > > Sent: Friday, June 19, 2020 5:48 AM > > > > > > On Wed, 17 Jun 2020 08:28:24 + > > > "Tian, Kevin"

Re: [PATCH] clk: imx: vf610: add CAAM clock

2020-06-18 Thread Chris Healy
On a Vybrid VF610 based platform I tested this with 5.8-rc1. With the necessary DTS patch, the CAAM worked correctly for me. Tested-by: Chris Healy On Mon, Jun 1, 2020 at 4:06 PM Andrey Smirnov wrote: > > According to Vybrid Security RM, CCM_CCGR11[CG176] can be used to gate > CAAM ipg clock.

Re: [PATCH 0/3] kcsan: Re-add GCC support, and compiler flags improvements

2020-06-18 Thread Paul E. McKenney
On Thu, Jun 18, 2020 at 11:31:15AM +0200, Marco Elver wrote: > Re-add GCC as a supported compiler and clean up compiler flags. > > To use KCSAN with GCC before GCC 11 is released, the following will get > a stable GCC 10 and cherry-pick the patches required for KCSAN support: > > git clone

Re: [PATCH 6/7] rcutorture: Add support to get the number of wakeups of main GP kthread

2020-06-18 Thread Paul E. McKenney
On Thu, Jun 18, 2020 at 09:00:12PM -0400, Joel Fernandes wrote: > On Thu, Jun 18, 2020 at 05:12:44PM -0700, Paul E. McKenney wrote: > > On Thu, Jun 18, 2020 at 08:01:56PM -0400, Joel Fernandes wrote: > > > On Thu, Jun 18, 2020 at 03:40:58PM -0700, Paul E. McKenney wrote: > > > > On Thu, Jun 18,

[PATCH v3 1/2] fs: Break generic_file_buffered_read up into multiple functions

2020-06-18 Thread Kent Overstreet
This is prep work for changing generic_file_buffered_read() to use find_get_pages_contig() to batch up all the pagecache lookups. This patch should be functionally identical to the existing code and changes as little as of the flow control as possible. More refactoring could be done, this patch

Re: [PATCH V3 0/5] Enable USB support in IPQ8074

2020-06-18 Thread Sivaprakash Murugesan
Hi Vinod, Bjorn This series is completely reviewed and acked now, can you take this for merging? On 6/16/2020 3:57 PM, Sivaprakash Murugesan wrote: Ping! Hi Vinod, can you please review this patch series? On 6/8/2020 7:41 PM, Sivaprakash Murugesan wrote: IPQ8074 has two super speed USB

[PATCH v3 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-06-18 Thread Kent Overstreet
Convert generic_file_buffered_read() to get pages to read from in batches, and then copy data to userspace from many pages at once - in particular, we now don't touch any cachelines that might be contended while we're in the loop to copy data to userspace. This is is a performance improvement on

[PATCH v3 0/2] generic_file_buffered_read() refactoring & optimization

2020-06-18 Thread Kent Overstreet
Ok - here's a new version, I fixed the checkpatch stuff and the thing with ret should be more readable now: Kent Overstreet (2): fs: Break generic_file_buffered_read up into multiple functions fs: generic_file_buffered_read() now uses find_get_pages_contig mm/filemap.c | 497

[PATCH] f2fs: fix to document reserved special compression extension

2020-06-18 Thread Chao Yu
There is one reserved special compression extension: '*', which could be set via 'compress_extension="*"' mount option to enable compression for all files. Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH][next] net: stmmac: selftests: Use struct_size() helper in kzalloc()

2020-06-18 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 16 Jun 2020 18:03:28 -0500 > Make use of the struct_size() helper instead of an open-coded version > in order to avoid any potential type mistakes. > > This code was detected with the help of Coccinelle and, audited and > fixed manually. > >

Re: [PATCH v1 6/6] console: Fix trivia typo 'change' -> 'chance'

2020-06-18 Thread Benjamin Herrenschmidt
On Thu, 2020-06-18 at 19:47 +0300, Andy Shevchenko wrote: > I bet the word 'chance' has to be used in 'had a chance to be called', > but, alas, I'm not native speaker... Yup, typo :) > Signed-off-by: Andy Shevchenko > Acked-by: Benjamin Herrenschmidt > --- > kernel/printk/printk.c | 2 +- >

Re: [PATCH v1 5/6] console: Propagate error code from console ->setup()

2020-06-18 Thread Benjamin Herrenschmidt
On Thu, 2020-06-18 at 19:47 +0300, Andy Shevchenko wrote: > Since console ->setup() hook returns meaningful error codes, > propagate it to the caller of try_enable_new_console(). > > Signed-off-by: Andy Shevchenko > Acked-by: Benjamin Herrenschmidt > ---A > kernel/printk/printk.c | 6 +++---

RE: [RESEND v5 2/2] phy: intel: Add Keem Bay eMMC PHY support

2020-06-18 Thread Wan Mohamad, Wan Ahmad Zainie
> -Original Message- > From: Shevchenko, Andriy > Sent: Wednesday, June 17, 2020 10:01 PM > To: Wan Mohamad, Wan Ahmad Zainie > > Cc: kis...@ti.com; vk...@kernel.org; robh...@kernel.org; linux- > ker...@vger.kernel.org; devicet...@vger.kernel.org; Hunter, Adrian > > Subject: Re:

Re: [PATCH V3 0/5] Enable USB support in IPQ8074

2020-06-18 Thread Sricharan Ramabadhran
Hi Siva, On 6/8/2020 7:41 PM, Sivaprakash Murugesan wrote: IPQ8074 has two super speed USB ports, with QMP and QUSB2 PHYs. This patch set enables the USB PHYs and USB dwc3 in IPQ8074. [V3] * Rebased patch 3 on 5.7 and linux-next tag next-20200608 [V2] * Added new device compatible

[PATCH v3] ASoC: qcom: Kconfig: Tweak dependencies on SND_SOC_SDM845

2020-06-18 Thread John Stultz
CROS_EC isn't strictly required for audio to work on other SDM845 platforms (like the Dragonboard 845c). So lets remove the dependency and select the related CROS_EC options via imply. Cc: Srinivas Kandagatla Cc: Rohit kumar Cc: Patrick Lai Cc: Banajit Goswami Cc: Liam Girdwood Cc: Mark

Re: [PATCH V3 4/5] phy: qcom-qusb2: Add ipq8074 device compatible

2020-06-18 Thread Sricharan Ramabadhran
On 6/8/2020 7:41 PM, Sivaprakash Murugesan wrote: Add ipq8074 qusb2 device compatible for high speed usb support. Signed-off-by: Sivaprakash Murugesan --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c

Re: [RFC PATCH] xen/privcmd: Convert get_user_pages*() to pin_user_pages*()

2020-06-18 Thread Souptick Joarder
On Wed, Jun 17, 2020 at 11:29 PM Boris Ostrovsky wrote: > > On 6/16/20 11:14 PM, Souptick Joarder wrote: > > In 2019, we introduced pin_user_pages*() and now we are converting > > get_user_pages*() to the new API as appropriate. [1] & [2] could > > be referred for more information. > > > > [1]

Re: [kbuild-all] security/integrity/ima/ima_crypto.c:575:12: warning: stack frame size of 1152 bytes in function 'ima_calc_field_array_hash_tfm'

2020-06-18 Thread Rong Chen
Hi Herbert, Could you take a look at this warning? Roberto mentioned you in previous report: https://lore.kernel.org/linux-integrity/9dbec9465bda4f8995a42593eb0db...@huawei.com/ Best Regards, Rong Chen On 6/17/20 9:35 PM, kernel test robot wrote: Hi Roberto, FYI, the error/warning still

Re: [PATCH v2 net 0/2] Reapply DSA fix for dpaa-eth with proper Fixes: tag

2020-06-18 Thread David Miller
From: Vladimir Oltean Date: Tue, 16 Jun 2020 18:19:08 +0300 > From: Vladimir Oltean > > Joakim notified me that this fix breaks stable trees. > It turns out that my assessment about who-broke-who was wrong. > The real Fixes: tag should have been: > > Fixes: 060ad66f9795 ("dpaa_eth: change DMA

Re: [PATCH 4/7] x86/entry: Increase entry_stack size to a full page

2020-06-18 Thread Lai Jiangshan
On Fri, Jun 19, 2020 at 4:37 AM Peter Zijlstra wrote: > > Marco crashed in bad_iret with a Clang11/KCSAN build due to > overflowing the stack. Now that we run C code on it, expand it to a > full page. Some of my experimental code also once got crashed due to overflowing the stack. I'm glad to

Re: [PATCH 0/3] zone-append support in aio and io-uring

2020-06-18 Thread Damien Le Moal
On 2020/06/19 2:55, Kanchan Joshi wrote: > On Wed, Jun 17, 2020 at 11:56:34PM -0700, Christoph Hellwig wrote: >> On Wed, Jun 17, 2020 at 10:53:36PM +0530, Kanchan Joshi wrote: >>> This patchset enables issuing zone-append using aio and io-uring direct-io >>> interface. >>> >>> For aio, this

Re: [PATCH v6 23/36] drm: vmwgfx: fix common struct sg_table related issues

2020-06-18 Thread kernel test robot
Hi Marek, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20200618] [also build test WARNING on v5.8-rc1] [cannot apply to linuxtv-media/master staging/staging-testing drm-exynos/exynos-drm-next drm-intel/for-linux-next linus/master v5.8-rc1 v5.7 v5.7-rc7

Re: [RESEND, PATCH v2] lib: overflow-test: add KUnit test of check_*_overflow functions

2020-06-18 Thread Kees Cook
On Thu, Jun 18, 2020 at 11:08:14AM -0300, Vitor Massaru Iha wrote: > This adds the conversion of the runtime tests of check_*_overflow functions, > from `lib/test_overflow.c`to KUnit tests. > > The log similar to the one seen in dmesg running test_overflow.c can be > seen in `test.log`. > >

Re: PC speaker

2020-06-18 Thread Randy Dunlap
On 6/18/20 10:49 AM, R.F. Burns wrote: > Is it possible to write a kernel module which, when loaded, will blow > the PC speaker? > Are you still having problems with those school students? https://marc.info/?l=linux-kernel=118167999520788=2 -- ~Randy

Re: [PATCH v3 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-06-18 Thread Chen-Yu Tsai
On Thu, Jun 18, 2020 at 6:07 PM Lee Jones wrote: > > On Thu, 18 Jun 2020, Arnd Bergmann wrote: > > > On Thu, Jun 18, 2020 at 10:03 AM Lee Jones wrote: > > > > > > The existing SYSCON implementation only supports MMIO (memory mapped) > > > accesses, facilitated by Regmap. This extends support

[PATCH v3] driver core: platform: expose numa_node to users in sysfs

2020-06-18 Thread Barry Song
Some platform devices like ARM SMMU are memory-mapped and populated by ACPI/IORT. In this case, NUMA topology of those platform devices are exported by firmware as well. Software might care about the numa_node of those devices in order to achieve NUMA locality. This patch will show the

[git pull] drm fixes for 5.7-rc2

2020-06-18 Thread Dave Airlie
Hi Linus, rc2 fixes, just i915 and amd here, i915 has some workaround movement so they get applied at the right times, and a timeslicing fix, along with some display fixes. AMD has a few display floating point fix and a devcgroup fix for amdkfd. drm-fixes-2020-06-19: drm fixes for 5.8-rc2 i915:

Re: [PATCH 2/2] net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy

2020-06-18 Thread David Miller
From: Sascha Hauer Date: Tue, 16 Jun 2020 10:31:40 +0200 > The older SoCs like Armada XP support a 2500BaseX mode in the datasheets > referred to as DR-SGMII (Double rated SGMII) or HS-SGMII (High Speed > SGMII). This is an upclocked 1000BaseX mode, thus > PHY_INTERFACE_MODE_2500BASEX is the

Re: [PATCH 1/2] net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy

2020-06-18 Thread David Miller
From: Sascha Hauer Date: Tue, 16 Jun 2020 10:31:39 +0200 > The MVNETA_SERDES_CFG register is only available on older SoCs like the > Armada XP. On newer SoCs like the Armada 38x the fields are moved to > comphy. This patch moves the writes to this register next to the comphy > initialization, so

Re: [PATCH v2 1/3] docs: IOMMU user API

2020-06-18 Thread Alex Williamson
On Fri, 19 Jun 2020 02:15:36 + "Liu, Yi L" wrote: > Hi Alex, > > > From: Alex Williamson > > Sent: Friday, June 19, 2020 5:48 AM > > > > On Wed, 17 Jun 2020 08:28:24 + > > "Tian, Kevin" wrote: > > > > > > From: Liu, Yi L > > > > Sent: Wednesday, June 17, 2020 2:20 PM > > > > >

  1   2   3   4   5   6   7   8   9   10   >