Re: [PATCH v4 1/3] virtio: add dma-buf support for exported objects

2020-06-18 Thread Guennadi Liakhovetski
Hi David, On Fri, Jun 19, 2020 at 10:57:37AM +0900, David Stevens wrote: > On Thu, Jun 18, 2020 at 9:29 PM Guennadi Liakhovetski > wrote: > > > > Hi Michael, > > > > On Thu, Jun 04, 2020 at 03:05:23PM -0400, Michael S. Tsirkin wrote: > > > On Tue, May 26, 2020 at 07:58:09PM +0900, David Stevens w

Re: [RFC PATCH] printk: _printk_rb_static_dict can be static

2020-06-18 Thread John Ogness
On 2020-06-18, kernel test robot wrote: > Signed-off-by: kernel test robot > --- > printk.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index 7642ef634956f..d812ada06735f 100644 > --- a/kernel/printk/printk.c > +++

Re: Commit 25f12ae45fc1 ("maccess: rename probe_kernel_address to get_kernel_nofault") causing several OOPSes

2020-06-18 Thread Christoph Hellwig
That is indeed really strange, as that commit is just a rename. Well, Linus also added swapping of the argument order, but again it shouldn't change much. Do you see any compiler warnings or something odd in the kernel log before the actual crash? On Thu, Jun 18, 2020 at 06:21:37PM -0700, Kenneth

Re: [PATCH 1/2] video: ssd1307fb: Print PWM period using 64-bit format specifier

2020-06-18 Thread Geert Uytterhoeven
Hi Guru, On Thu, Jun 18, 2020 at 10:05 PM Guru Das Srinagesh wrote: > On Wed, Jun 17, 2020 at 09:18:34AM +0200, Geert Uytterhoeven wrote: > > On Mon, Jun 15, 2020 at 4:17 PM Thierry Reding > > wrote: > > > The PWM core will soon change the duty cycle and period of PWMs to 64 > > > bits to allow

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

2020-06-18 Thread Heiko Stuebner
Am Freitag, 19. Juni 2020, 07:01:58 CEST schrieb 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-

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

2020-06-18 Thread Chao Yu
On 2020/6/19 13:49, Jaegeuk Kim wrote: > 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

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

2020-06-18 Thread Lee Jones
On Fri, 19 Jun 2020, Chen-Yu Tsai wrote: > 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) > > > >

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 David Gow
I'm in the process of writing up some documentation for this now. I hope to post a draft soon, but here's the overview of what's going in it: - Test filenames should be _kunit.c - (If the suite name is too long/namespaced, the source filename may have prefixes removed, so long as the module name

Re: [PATCH v3 3/4] docs: Add documentation for user space client interface

2020-06-18 Thread Manivannan Sadhasivam
On Thu, Jun 11, 2020 at 11:13:43AM -0700, Hemant Kumar wrote: > MHI user space client driver is creating device file node > for user application to perform file operations. File > operations are handled by MHI core driver. Currently > Loopback MHI channel is supported by this driver. > > Signed-of

[PATCH v2] f2fs-tools: introduce set_node_footer to initialize node footer

2020-06-18 Thread zhaowuyun
From: Wuyun Zhao the filesystem will use the cold flag, so deal with it to avoid potential issue of inconsistency Signed-off-by: Wuyun Zhao --- fsck/dir.c | 6 +- fsck/node.c| 9 + include/f2fs_fs.h | 20 mkfs/f2fs_format.c | 14 +

Re: [PATCH v2 2/2] Add PWM fan controller driver for LGM SoC

2020-06-18 Thread Uwe Kleine-König
Hello again, On Fri, Jun 19, 2020 at 08:02:13AM +0200, Uwe Kleine-König wrote: > You had concerns about my review feedback that I don't like the fan > stuff in the PWM driver. I still think that the fan part doesn't belong > here. I suggest splitting the patch. First introduce a generic PWM drive

[PATCH] ntfs: delete extraneous semicolons

2020-06-18 Thread Randy Dunlap
From: Randy Dunlap Coccinelle scripts report: fs/ntfs/lcnalloc.c:902:2-3: Unneeded semicolon fs/ntfs/super.c:1615:2-3: Unneeded semicolon fs/ntfs/super.c:1684:2-3: Unneeded semicolon so remove the extraneous semicolons. Signed-off-by: Randy Dunlap Cc: Anton Altaparmakov Cc: linux-ntfs-...@li

RE: [PATCH] soc: imx-scu: Support module build

2020-06-18 Thread Aisheng Dong
> From: Arnd Bergmann > Sent: Thursday, June 18, 2020 3:21 PM > > On Wed, Jun 17, 2020 at 11:41 AM Anson Huang > wrote: > > > > > > > > > I'm ok with the change. But I'm curious how can this module be > > > > autoloaded without MODULE_DEVICE_TABLE. > > > > Have you tested if it can work? > > >

Re: rename probe_kernel_* and probe_user_*

2020-06-18 Thread Michael Ellerman
Linus Torvalds writes: > [ Explicitly added architecture lists and developers to the cc to make > this more visible ] > > On Wed, Jun 17, 2020 at 12:38 AM Christoph Hellwig wrote: >> >> Andrew and I decided to drop the patches implementing your suggested >> rename of the probe_kernel_* and probe_

Re: [PATCH v2 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-06-18 Thread Uwe Kleine-König
Hello, On Thu, Jun 18, 2020 at 08:05:12PM +0800, Rahul Tanwar wrote: > Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller > which is only used to control the fan attached to the system. This > PWM controller does not have any other consumer other than fan. > Add DT bindings document

Re: [PATCH v2 2/2] Add PWM fan controller driver for LGM SoC

2020-06-18 Thread Uwe Kleine-König
Hello Rahul, On Thu, Jun 18, 2020 at 08:05:13PM +0800, Rahul Tanwar wrote: > Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. > This PWM controller does not have any other consumer, it is a > dedicated PWM controller for fan attached to the system. Add > driver for this PWM fan con

[v2,net-next] net: qos offload add flow status with dropped count

2020-06-18 Thread Po Liu
From: Po Liu This patch adds a drop frames counter to tc flower offloading. Reporting h/w dropped frames is necessary for some actions. Some actions like police action and the coming introduced stream gate action would produce dropped frames which is necessary for user. Status update shows how ma

[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 consid

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 fi

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 pm_runtime_force_re

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 stabl

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 das

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: http

[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(+), 37

[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(+), 1

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: Kuni

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 MHI_MAX_MT

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 GNU/Li

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 allo

[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". Signed-o

[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 migration_

[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 rese

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 > --- > Documentation/devicetree/bindings/net/mscc-phy-vsc85

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 exit

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. https://patc

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: https://syzkaller.appspot.com/x/.config?x=3dbb617

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 X

[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() fo

[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 a/Document

[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 a/Documen

[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 exi

[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 t

[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 > > Web

[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 b/tools/perf/util/Bui

[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 +++ b/tools/p

[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(-) dif

[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 --- a/tools/perf/util/Buil

[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 +++ b/tools

[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 b/tools

[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 a/tools/perf/util/B

[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 +++ b/tools

[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 a/tools/perf/u

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 fil

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 --- arch/riscv/mm/ini

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 ens

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 insuffi

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 >> Sus

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 th

[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 built

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 of_node_get

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 module

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. > > Signed-off-by:

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 toggl

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. > > Signed-off-by:

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 c

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 cb8e

[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 / TP

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" wrot

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, 202

[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 is

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 por

[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 w

[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 a/Documentation/filesystem

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. > > Signed-off-by:

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: [RESE

  1   2   3   4   5   6   7   8   9   10   >