Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Greg KH
On Fri, Aug 07, 2020 at 05:33:53PM -0700, Chris Lew wrote: > Hi Greg, > > On 8/7/2020 12:59 AM, Greg KH wrote: > > On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: > > > From: Chris Lew > > > > > > In RPMSG GLINK the chrdev device will allocate an ept as part of the > > >

Re: [RFC PATCH 4/7] core/metricfs: expose softirq information through metricfs

2020-08-07 Thread Greg KH
On Fri, Aug 07, 2020 at 02:29:13PM -0700, Jonathan Adams wrote: > Add metricfs support for displaying percpu softirq counters. The > top directory is /sys/kernel/debug/metricfs/softirq. Then there > is a subdirectory for each softirq type. For example: > > cat

Re: [PATCH v1 1/2] kunit: tool: fix running kunit_tool from outside kernel tree

2020-08-07 Thread David Gow
On Sat, Aug 8, 2020 at 9:17 AM Brendan Higgins wrote: > > Currently kunit_tool does not work correctly when executed from a path > outside of the kernel tree, so make sure that the current working > directory is correct and the kunit_dir is properly initialized before > running. > >

Re: [RFC PATCH 3/7] core/metricfs: metric for kernel warnings

2020-08-07 Thread Greg KH
On Fri, Aug 07, 2020 at 02:29:12PM -0700, Jonathan Adams wrote: > Count kernel warnings by function name of the caller. > > Each time WARN() is called, which includes WARN_ON(), increment a counter > in a 256-entry hash table. The table key is the entry point of the calling > function, which is

Re: [RFC PATCH 2/7] core/metricfs: add support for percpu metricfs files

2020-08-07 Thread Greg KH
On Fri, Aug 07, 2020 at 02:29:11PM -0700, Jonathan Adams wrote: > Add a simple mechanism for exporting percpu data through metricfs. > The API follows the existing metricfs pattern. A percpu file is > defined with: > > METRIC_EXPORT_PERCPU_INT(name, desc, fn) >

Re: [RFC PATCH 1/7] core/metricfs: Create metricfs, standardized files under debugfs.

2020-08-07 Thread Greg KH
debugfs interaction nits: On Fri, Aug 07, 2020 at 02:29:10PM -0700, Jonathan Adams wrote: > +static struct dentry *metricfs_init_dentry(void) > +{ > + static int once; > + > + if (d_metricfs) > + return d_metricfs; > + > + if (!debugfs_initialized()) > + return

Re: fs/init.c:72:8: warning: Variable 'error' is reassigned a value before the old one has been used.

2020-08-07 Thread Christoph Hellwig
On Sat, Aug 08, 2020 at 11:35:45AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 > commit: 4b7ca5014cbef51cdb99fd644eae4f3773747a05 init: add an init_chroot > helper > date:

drivers/usb/core/devio.c:1155 do_proc_control() error: copy_from_user() 'tbuf' too small (4096 vs 8192)

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049eb096da48db0421dd5e358b9b082a1a8a2025 commit: c17536d0abde2fd24afca542e3bb73b45a299633 usb: usbfs: stop using compat_alloc_user_space date: 2 weeks ago config: nds32-randconfig-m031-20200808 (attached

Re: [PATCH 1/1] kvm: mmu: zap pages when zapping only parent

2020-08-07 Thread Sean Christopherson
On Wed, Aug 05, 2020 at 08:48:03PM +0200, Paolo Bonzini wrote: > On 05/08/20 19:10, Ben Gardon wrote: > >> > >> Alternatively, what about moving this logic into mmu_page_zap_pte()? That > >> can be done with a little massaging of FNAME(invlpg) and would avoid what > >> is > >> effectively

Re: [PATCH] drivers: watchdog: rdc321x_wdt: Fix race condition bugs

2020-08-07 Thread Guenter Roeck
[ ... ] > The R8610-G datasheet is the one that I have had and used thus far. > Mine is draft version 0.2. Do you have a newer version, by any chance ? >> Unfortunately, none of those >> describes the use of bit(31) in the watchdog register, nor the meaning >> of bit(12) and bit(13). Bit(31) is

Re: [git pull] regression fix in syscalls-for-init series

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Aug 2020 00:23:53 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d57b2b5bc4301f37d1b07e3351d575bd634c7300 Thank you! -- Deet-doot-dot, I am a bot.

Re: [git pull] assorted vfs patches

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Aug 2020 00:26:27 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b79675e15a754ca51b9fc631e0961ccdd4ec3fc7 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] power-supply changes for 5.9

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Aug 2020 00:59:43 +0200: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git > tags/for-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e Thank you! --

[RFC][PATCH] pinctrl: Rework driver_deferred_probe_check_state() evaluation since default timeout has changed

2020-08-07 Thread John Stultz
In commit bec6c0ecb243 ("pinctrl: Remove use of driver_deferred_probe_check_state_continue()"), we removed the use of driver_deferred_probe_check_state_continue() which effectively never returned -ETIMED_OUT, with the driver_deferred_probe_check_state() function that had been reworked to properly

Teo En Ming’s Guide to Upgrading Firmware and Performing Basic Configuration of Fortigate 60D Firewall Appliance

2020-08-07 Thread Turritopsis Dohrnii Teo En Ming
Subject: Teo En Ming’s Guide to Upgrading Firmware and Performing Basic Configuration of Fortigate 60D Firewall Appliance Author: Mr. Turritopsis Dohrnii Teo En Ming (Targeted Individual) Country: Singapore Date: 8th August 2020 Saturday Singapore Time Version: 20200808.01 INTRODUCTION

[Linux-kernel-mentees] [PATCH net] Bluetooth: Fix NULL pointer dereference in amp_read_loc_assoc_final_data()

2020-08-07 Thread Peilin Ye
Prevent amp_read_loc_assoc_final_data() from dereferencing `mgr` as NULL. Reported-and-tested-by: syzbot+f4fb0eaafdb51c32a...@syzkaller.appspotmail.com Fixes: 9495b2ee757f ("Bluetooth: AMP: Process Chan Selected event") Signed-off-by: Peilin Ye --- net/bluetooth/amp.c | 3 +++ 1 file changed, 3

Re: [PATCH v2] i2c: iproc: fix race between client unreg and isr

2020-08-07 Thread Dhananjay Phadke
On 8/7/2020, Florian Fainelli wrote: > > When i2c client unregisters, synchronize irq before setting > > iproc_i2c->slave to NULL. > > > > (1) disable_irq() > > (2) Mask event enable bits in control reg > > (3) Erase slave address (avoid further writes to rx fifo) > > (4) Flush tx and rx FIFOs >

drivers/usb/gadget/legacy/hid.c:196:11-12: ERROR: invalid reference to the index variable of the iterator on line 145

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: df8df5e4bc37e39010cfdf5d50cf726fe08aae5b usb: get rid of 'choice' for legacy gadget drivers date: 5 months ago config: i386-randconfig-c003-20200807

Re: [PATCH net-next v1] hinic: fix strncpy output truncated compile warnings

2020-08-07 Thread David Miller
From: "luobin (L)" Date: Sat, 8 Aug 2020 11:36:42 +0800 > On 2020/8/7 17:32, David Laight wrote: >>> diff --git a/drivers/net/ethernet/huawei/hinic/hinic_devlink.c >>> b/drivers/net/ethernet/huawei/hinic/hinic_devlink.c >>> index c6adc776f3c8..1ec88ebf81d6 100644 >>> ---

[PATCH v2 1/2] leds: is31fl319x: Add sdb pin and generate a 5ms low pulse when startup

2020-08-07 Thread Grant Feng
generate a 5ms low pulse on sdb pin when startup, then the chip becomes more stable in the complex EM environment. Signed-off-by: Grant Feng --- drivers/leds/leds-is31fl319x.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/leds/leds-is31fl319x.c

[PATCH v2 2/2] leds: Add an optional property named 'sdb-gpios'

2020-08-07 Thread Grant Feng
The chip enters hardware shutdown when the SDB pin is pulled low. The chip releases hardware shutdown when the SDB pin is pulled high. Signed-off-by: Grant Feng --- Documentation/devicetree/bindings/leds/leds-is31fl319x.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH net-next v1] hinic: fix strncpy output truncated compile warnings

2020-08-07 Thread luobin (L)
On 2020/8/7 17:32, David Laight wrote: > From: Luo bin >> Sent: 07 August 2020 03:09 >> >> fix the compile warnings of 'strncpy' output truncated before >> terminating nul copying N bytes from a string of the same length >> >> Signed-off-by: Luo bin >> Reported-by: kernel test robot >> --- >>

fs/init.c:72:8: warning: Variable 'error' is reassigned a value before the old one has been used.

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: 4b7ca5014cbef51cdb99fd644eae4f3773747a05 init: add an init_chroot helper date: 8 days ago compiler: hppa-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly

Hello

2020-08-07 Thread Jennifer
Hello My name is Jenifer Alex Please reply, so that we can know more better and share photos, Thank you.

Re: [PATCH v11 0/6] KASAN-KUnit Integration

2020-08-07 Thread David Gow
On Fri, Aug 7, 2020 at 9:15 PM 'Andrey Konovalov' via kasan-dev wrote: > > On Wed, Aug 5, 2020 at 6:29 AM David Gow wrote: > > > > This patchset contains everything needed to integrate KASAN and KUnit. > > > > KUnit will be able to: > > (1) Fail tests when an unexpected KASAN error occurs > >

Re: [PATCH] ubi: check kthread_should_stop() after the setting of task state

2020-08-07 Thread Zhihao Cheng
在 2020/8/8 3:29, Richard Weinberger 写道: On Fri, Aug 7, 2020 at 4:18 AM Zhihao Cheng wrote: Maybe it's just me being dense and in need for a vacation. ;-) I have quite a few ubi/ubifs patches in pending list, may you comment/check them before 5.9 ending please? thanks. \( ̄▽ ̄) For example:

Re: [GIT PULL] tracing: Updates for 5.9

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Aug 2020 17:28:04 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > trace-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/32663c78c10f80df90b832de0428a6cb98a64e9a Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] PCI changes for v5.9

2020-08-07 Thread pr-tracker-bot
The pull request you sent on Fri, 7 Aug 2020 17:04:53 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.9-changes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/049eb096da48db0421dd5e358b9b082a1a8a2025 Thank you! --

drivers/dma/pl330.c:2981:9: warning: Identical condition 'ret', second condition is always false

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: a39cddc9e3775100100a4272feed64faac831be9 dmaengine: pl330: Drop boilerplate code for suspend/resume date: 8 months ago compiler: aarch64-linux-gcc (GCC)

[RESEND v7, PATCH 0/7] add drm support for MT8183

2020-08-07 Thread Yongqiang Niu
This series are based on 5.8-rc1 and provide 7 patch to support mediatek SOC MT8183 Change since v6 - move ddp component define into mtk_mmsys.h - add mmsys private data to support different ic path connection - add mt8183-mmsys.c to support 8183 path connection - fix reviewed issue in v6 Change

[RESEND v7, PATCH 3/7] mtk-mmsys: add mmsys private data

2020-08-07 Thread Yongqiang Niu
the reason why split out display connection function: 1. there will more and more Mediatek Soc upstream, and the display path connection function mtk_mmsys_ddp_mout_en, mtk_mmsys_ddp_sel_in and mtk_mmsys_ddp_sout_sel will complicated more and more 2. many of the connection are only used in some

[RESEND v7, PATCH 4/7] mtk-mmsys: add mt8183 mmsys support

2020-08-07 Thread Yongqiang Niu
add mt8183 mmsys support Signed-off-by: Yongqiang Niu --- drivers/soc/mediatek/mmsys/Makefile | 1 + drivers/soc/mediatek/mmsys/mt8183-mmsys.c | 154 ++ drivers/soc/mediatek/mtk-mmsys.c | 1 + 3 files changed, 156 insertions(+) create mode 100644

[RESEND v7, PATCH 6/7] drm/mediatek: add support for mediatek SOC MT8183

2020-08-07 Thread Yongqiang Niu
This patch add support for mediatek SOC MT8183 1. add ovl private data 2. add rdma private data 3. add mutes private data 4. add main and external path module for crtc create Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 18

[RESEND v7, PATCH 1/7] dt-bindings: mediatek: add rdma_fifo_size description for mt8183 display

2020-08-07 Thread Yongqiang Niu
rdma fifo size may be different even in same SOC, add this property to the corresponding rdma Change-Id: I67635ec7f3f59cf4cbc7737285e5e28ff0ab71c9 Signed-off-by: Yongqiang Niu --- .../devicetree/bindings/display/mediatek/mediatek,disp.txt | 14 ++ 1 file changed, 14 insertions(+)

[RESEND v7, PATCH 2/7] drm/mediatek: move ddp component define into mtk_mmsys.h

2020-08-07 Thread Yongqiang Niu
mmsys is the driver which control the routing of these ddp component, so the definition of mtk_ddp_comp_id should be placed in mtk-mmsys.h Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 34 + drivers/soc/mediatek/mtk-mmsys.c

[RESEND v7, PATCH 7/7] arm64: dts: add display nodes for mt8183

2020-08-07 Thread Yongqiang Niu
This patch add display nodes for mt8183 Signed-off-by: Yongqiang Niu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 98 1 file changed, 98 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index

[RESEND v7, PATCH 5/7] drm/mediatek: add fifo_size into rdma private data

2020-08-07 Thread Yongqiang Niu
Get the fifo size from device tree because each rdma in the same SoC may have different fifo size Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] KVM: SVM: Mark SEV launch secret pages as dirty.

2020-08-07 Thread Krish Sadhukhan
On 8/6/20 6:23 PM, Cfir Cohen wrote: The LAUNCH_SECRET command performs encryption of the launch secret memory contents. Mark pinned pages as dirty, before unpinning them. This matches the logic in sev_launch_update(). sev_launch_update_data() instead of sev_launch_update() ? Signed-off-by:

RE: drivers/usb/chipidea/core.c:657 ci_usb_role_switch_set() error: double unlocked 'ci->lock' (orig line 638)

2020-08-07 Thread Jun Li
7C686ea1d3bc2b4c6fa92cd9 > 9c5c301635%7C0%7C0%7C637323912694699319sdata=ioDexF9tIACz%2BlnZC%2BzZsiFz > iOeeLembxqr9PwE%2Fpgg%3Dreserved=0 master > head: 86cfccb66937dd6cbf26ed619958b9e587e6a115 > commit: 05559f10ed797b79f7fa47313682c48919a2b111 usb: chipidea: add role > switch > class support &g

Re: [PATCH 2/3] remoteproc: qcom: Add capability to collect minidumps

2020-08-07 Thread kernel test robot
Hi Gurbir, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20200807] [cannot apply to linux/master linus/master v5.8 v5.8-rc7 v5.8-rc6 v5.8] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Jiaxun Yang
在 2020/8/8 上午12:45, Paul Cercueil 写道: Hi Zhou, Le sam. 8 août 2020 à 0:23, Zhou Yanjie a écrit : Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different from

[PATCH v8 18/18] perf ftrace: add change log

2020-08-07 Thread Changbin Du
Add a change log after previous enhancements. Signed-off-by: Changbin Du --- tools/perf/builtin-ftrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-ftrace.c b/tools/perf/builtin-ftrace.c index 9da38dc8b542..167f1f57aba3 100644 --- a/tools/perf/builtin-ftrace.c +++

[PATCH v8 15/18] perf ftrace: add option -D/--delay to delay tracing

2020-08-07 Thread Changbin Du
This adds an option '-D/--delay' to allow us to start tracing some times later after workload is launched. Signed-off-by: Changbin Du --- tools/perf/Documentation/perf-ftrace.txt | 4 tools/perf/builtin-ftrace.c | 19 --- 2 files changed, 20 insertions(+), 3

[PATCH v8 17/18] perf: ftrace: Add set_tracing_options() to set all trace options

2020-08-07 Thread Changbin Du
Now the __cmd_ftrace() becomes a bit long. This moves the trace option setting code to a separate function set_tracing_options(). Suggested-by: Namhyung Kim Signed-off-by: Changbin Du --- tools/perf/builtin-ftrace.c | 118 +++- 1 file changed, 63 insertions(+),

[PATCH v8 09/18] perf ftrace: add support for trace option sleep-time

2020-08-07 Thread Changbin Du
This adds an option '--graph-opts nosleep-time' which allow us only to measure on-CPU time. This option is function_graph tracer only. Signed-off-by: Changbin Du --- v3: switch to uniform option --graph-opts. v2: option name '--nosleep-time' -> '--graph-nosleep-time'. ---

[PATCH v8 13/18] perf ftrace: add support for trace option tracing_thresh

2020-08-07 Thread Changbin Du
This adds an option '--graph-opts thresh' to setup trace duration threshold for funcgraph tracer. $ sudo ./perf ftrace -G '*' --graph-opts thresh=100 3) ! 184.060 us |} /* schedule */ 3) ! 185.600 us | } /* exit_to_usermode_loop */ 2) ! 225.989 us |} /* schedule_idle */ 2) #

[PATCH v8 14/18] perf: ftrace: allow set graph depth by '--graph-opts'

2020-08-07 Thread Changbin Du
This is to have a consistent view of all graph tracer options. The original option '--graph-depth' is marked as deprecated. Signed-off-by: Changbin Du --- tools/perf/Documentation/perf-ftrace.txt | 5 + tools/perf/builtin-ftrace.c | 5 ++--- 2 files changed, 3 insertions(+), 7

[PATCH v8 11/18] perf ftrace: add support for tracing option 'irq-info'

2020-08-07 Thread Changbin Du
This adds support to display irq context info for function tracer. To do this, just specify a '--func-opts irq-info' option. Signed-off-by: Changbin Du --- tools/perf/Documentation/perf-ftrace.txt | 1 + tools/perf/builtin-ftrace.c | 21 - 2 files changed, 21

[PATCH v8 12/18] perf ftrace: add option 'verbose' to show more info for graph tracer

2020-08-07 Thread Changbin Du
Sometimes we want ftrace display more and longer information about the trace. $ sudo perf ftrace -G '*' 2) 0.979 us| mutex_unlock(); 2) 1.540 us| __fsnotify_parent(); 2) 0.433 us| fsnotify(); $ sudo perf ftrace -G '*' --graph-opts verbose 14160.770883 | 0) <...>-47814

[PATCH v8 07/18] perf: util: add general function to parse sublevel options

2020-08-07 Thread Changbin Du
This factors out a general function perf_parse_sublevel_options() to parse sublevel options. The 'sublevel' options is something like the '--debug' options which allow more sublevel options. Signed-off-by: Changbin Du --- v2: add util/parse-sublevel-options.c --- tools/perf/util/Build

[PATCH v8 10/18] perf ftrace: add support for trace option funcgraph-irqs

2020-08-07 Thread Changbin Du
This adds an option '--graph-opts noirqs' to filter out functions executed in irq context. Signed-off-by: Changbin Du --- v2: option name '--nofuncgraph-irqs' -> '--graph-noirqs'. --- tools/perf/Documentation/perf-ftrace.txt | 1 + tools/perf/builtin-ftrace.c | 21

[PATCH v8 08/18] perf ftrace: add support for tracing option 'func_stack_trace'

2020-08-07 Thread Changbin Du
This adds support to display call trace for function tracer. To do this, just specify a '--func-opts call-graph' option. $ sudo perf ftrace -T vfs_read --func-opts call-graph iio-sensor-prox-855 [003] 6168.369657: vfs_read <-ksys_read iio-sensor-prox-855 [003] 6168.369677: => vfs_read

[PATCH v8 16/18] perf ftrace: add option --tid to filter by thread id

2020-08-07 Thread Changbin Du
This allows us to trace single thread instead of the whole process. Signed-off-by: Changbin Du --- tools/perf/Documentation/perf-ftrace.txt | 3 +++ tools/perf/builtin-ftrace.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tools/perf/Documentation/perf-ftrace.txt

[PATCH v8 06/18] perf ftrace: add option '--inherit' to trace children processes

2020-08-07 Thread Changbin Du
This adds an option '--inherit' to allow us trace children processes spawned by our target. Signed-off-by: Changbin Du --- v2: option name '--trace-children' -> '--inherit'. --- tools/perf/Documentation/perf-ftrace.txt | 3 ++ tools/perf/builtin-ftrace.c | 38

[PATCH v8 04/18] perf ftrace: add option '-m/--buffer-size' to set per-cpu buffer size

2020-08-07 Thread Changbin Du
This adds an option '-m/--buffer-size' to allow us set the size of per-cpu tracing buffer. Signed-off-by: Changbin Du --- v2: support units as a suffix. --- tools/perf/Documentation/perf-ftrace.txt | 5 +++ tools/perf/builtin-ftrace.c | 55 2 files

[PATCH v8 03/18] perf ftrace: factor out function write_tracing_file_int()

2020-08-07 Thread Changbin Du
We will reuse this function later. Signed-off-by: Changbin Du --- tools/perf/builtin-ftrace.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/perf/builtin-ftrace.c b/tools/perf/builtin-ftrace.c index 1ebf71ecc1a8..4b3fcee5725a 100644 ---

[PATCH v8 05/18] perf ftrace: show trace column header

2020-08-07 Thread Changbin Du
This makes perf-ftrace display column header before printing trace. $ sudo perf ftrace # tracer: function # # entries-in-buffer/entries-written: 0/0 #P:8 # #TASK-PID CPU# TIMESTAMP FUNCTION # | | | | | <...>-9246

[PATCH v8 01/18] perf ftrace: select function/function_graph tracer automatically

2020-08-07 Thread Changbin Du
The '-g/-G' options have already implied function_graph tracer should be used instead of function tracer. So we don't need extra option '--tracer' in this case. This patch changes the behavior as below: - If '-g' or '-G' option is on, then function_graph tracer is used. - If '-T' or '-N'

[PATCH v8 00/18] [PATCH v7 00/18] perf: ftrace enhancement

2020-08-07 Thread Changbin Du
The perf has basic kernel ftrace support but lack support of most tracing options. This serias is target to enhance the perf ftrace functionality so that we can make full use of kernel ftrace with perf. In general, this serias be cataloged into two main changes: 1) Improve usability of existing

[PATCH v8 02/18] perf ftrace: add option '-F/--funcs' to list available functions

2020-08-07 Thread Changbin Du
This adds an option '-F/--funcs' to list all available functions to trace, which is read from tracing file 'available_filter_functions'. $ sudo ./perf ftrace -F | head trace_initcall_finish_cb initcall_blacklisted do_one_initcall do_one_initcall trace_initcall_start_cb run_init_process

Re: [PATCH 2/3] remoteproc: qcom: Add capability to collect minidumps

2020-08-07 Thread kernel test robot
Hi Gurbir, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20200807] [cannot apply to linux/master linus/master v5.8 v5.8-rc7 v5.8-rc6 v5.8] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically

2020-08-07 Thread Changbin Du
On Wed, Aug 05, 2020 at 10:05:03PM -0300, Arnaldo Carvalho de Melo wrote: > > > On August 5, 2020 9:14:48 PM GMT-03:00, Changbin Du > wrote: > >On Tue, Aug 04, 2020 at 09:51:15AM -0300, Arnaldo Carvalho de Melo > >wrote: > >> Em Sat, Jul 18, 2020 at 02:48:09PM +0800, Changbin Du escreveu: > >>

Re: [PATCH v4 5/5] docs: Update RCU's hotplug requirements with a bit about design

2020-08-07 Thread Randy Dunlap
Hi-- On 8/7/20 10:07 AM, Joel Fernandes (Google) wrote: > RCU's hotplug design will help understand the requirements an RCU > implementation needs to fullfill, such as dead-lock avoidance. > > The rcu_barrier() section of the "Hotplug CPU" section already talks > about deadlocks, however the

Re: [RFC PATCH 0/7] metricfs metric file system and examples

2020-08-07 Thread Andrew Lunn
> net/dev/stats/tx_bytes/annotations > DESCRIPTION net\ device\ transmited\ bytes\ count > CUMULATIVE > net/dev/stats/tx_bytes/fields > interface value > str int > net/dev/stats/tx_bytes/values > lo 4394430608 > eth0 33353183843 > eth1 16228847091 This is a rather small system. Have

[PATCH v2 1/2] leds: is31fl32xx: Add sdb pin and generate a 5ms low pulse when startup

2020-08-07 Thread Grant Feng
generate a 5ms low pulse on sdb pin when startup, then the chip becomes more stable in the complex EM environment. Signed-off-by: Grant Feng --- drivers/leds/leds-is31fl32xx.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git

[PATCH v2 2/2] leds: Add an optional property named 'sdb-gpios'

2020-08-07 Thread Grant Feng
The chip enters hardware shutdown when the SDB pin is pulled low. The chip releases hardware shutdown when the SDB pin is pulled high. Signed-off-by: Grant Feng --- Documentation/devicetree/bindings/leds/leds-is31fl32xx.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 2/3] remoteproc: qcom: Add capability to collect minidumps

2020-08-07 Thread kernel test robot
Hi Gurbir, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20200807] [cannot apply to linux/master linus/master v5.8 v5.8-rc7 v5.8-rc6 v5.8] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH] x86/boot: avoid relaxable symbols with Clang

2020-08-07 Thread Arvind Sankar
On Fri, Aug 07, 2020 at 02:54:39PM -0700, Nick Desaulniers wrote: > On Fri, Aug 7, 2020 at 2:29 PM Arvind Sankar wrote: > > > > On Fri, Aug 07, 2020 at 12:41:00PM -0700, Nick Desaulniers wrote: > > > A recent change to a default value of configuration variable > > > (ENABLE_X86_RELAX_RELOCATIONS

[PATCH] ASoC: various vendors: delete repeated words in comments

2020-08-07 Thread Randy Dunlap
+- sound/soc/sprd/sprd-pcm-compress.c |2 +- sound/soc/sunxi/sun4i-codec.c |2 +- sound/soc/ti/davinci-mcasp.c|2 +- 6 files changed, 6 insertions(+), 6 deletions(-) --- linux-next-20200807.orig/sound/soc/fsl/fsl_dma.c +++ linux-next-20200807/sound/soc/fsl/fsl_dma.c

[PATCH] ASoC: codecs: delete repeated words in comments

2020-08-07 Thread Randy Dunlap
insertions(+), 3 deletions(-) --- linux-next-20200807.orig/sound/soc/codecs/nau8825.c +++ linux-next-20200807/sound/soc/codecs/nau8825.c @@ -251,7 +251,7 @@ static const unsigned short logtable[256 * * Acquires the semaphore without jiffies. Try to acquire the semaphore * atomically. Returns 0

[PATCH] ASoC: SOF: delete repeated words in comments

2020-08-07 Thread Randy Dunlap
Drop the repeated words {that, the} in comments. Signed-off-by: Randy Dunlap Cc: Liam Girdwood Cc: Mark Brown Cc: alsa-de...@alsa-project.org --- sound/soc/sof/intel/cnl.c |2 +- sound/soc/sof/sof-audio.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200807

HELLO

2020-08-07 Thread Miss Ayesha Gaddafi
Assalamu Alaikum Wa Rahmatullahi Wa Barakatuh, My name is Aisha Gaddafi the only biological Daughter of Late Colonel Muammar Gaddafi, Libyan formal President. I'm a Widow with three Children, presently living in Oman as a refugee with my three children, i have been under political asylum

[PATCH v1 2/2] kunit: tool: allow generating test results in JSON

2020-08-07 Thread Brendan Higgins
From: Heidi Fahim Add a --json flag, which when specified when kunit_tool is run, generates JSON formatted test results conforming to the KernelCI API test_group spec[1]. The user can the new flag to specify a filename as the value to json in order to store the JSON results under linux/.

[PATCH v1 1/2] kunit: tool: fix running kunit_tool from outside kernel tree

2020-08-07 Thread Brendan Higgins
Currently kunit_tool does not work correctly when executed from a path outside of the kernel tree, so make sure that the current working directory is correct and the kunit_dir is properly initialized before running. Signed-off-by: Brendan Higgins --- tools/testing/kunit/kunit.py | 8 1

Re: INFO: task hung in pipe_read (2)

2020-08-07 Thread Tetsuo Handa
On 2020/08/07 14:31, Andrea Arcangeli wrote: >> Andrea? Comments? As mentioned, this is probably much too aggressive, >> but I do think we need to limit the time that the kernel will wait for >> page faults. > > Why is pipe preventing to SIGKILL the task that is blocked on the > mutex_lock? Is

Re: [v2] i2c: mediatek: Fix i2c_spec_values description

2020-08-07 Thread Qii Wang
On Fri, 2020-08-07 at 15:19 +0200, matthias@kernel.org wrote: > From: Matthias Brugger > > The struct i2c_spec_values have it's members documented but is > missing the starting '@', which leads to warings like: > > drivers/i2c/busses/i2c-mt65xx.c:267: warning: Function parameter or member

Re: [PATCH V2 4/9] PCI/AER: Extend AER error handling to RCECs

2020-08-07 Thread Sean V Kelley
On 7 Aug 2020, at 15:53, Bjorn Helgaas wrote: On Tue, Aug 04, 2020 at 12:40:47PM -0700, Sean V Kelley wrote: From: Jonathan Cameron Currently the kernel does not handle AER errors for Root Complex integrated End Points (RCiEPs)[0]. These devices sit on a root bus within the Root Complex

Re: [PATCH 1/2] leds: is31fl319x: Add sdb pin and generate a 5ms low pulse when startup

2020-08-07 Thread Grant Feng
Thanks for the review, I will rewrit it. Grant On 2020-08-06 23:00, Dan Murphy wrote: Grant On 8/6/20 1:21 AM, Grant Feng wrote: generate a 5ms low pulse on sdb pin when startup, then the chip becomes more stable in the complex EM environment. Signed-off-by: Grant Feng ---  

drivers/net/ethernet/natsemi/sonic.h:356:55: sparse: sparse: incorrect type in argument 2 (different address spaces)

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: xtensa-randconfig-s031-20200808

arch/mips/kvm/vz.c:32:10: fatal error: loongson_regs.h: No such file or directory

2020-08-07 Thread kernel test robot
Hi Huacai, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG emulation for Loongson-3 date: 9 weeks

Re: [PATCH] seg6: using DSCP of inner IPv4 packets

2020-08-07 Thread David Miller
From: Ahmed Abdelsalam Date: Thu, 6 Aug 2020 08:43:06 +0200 > SRv6 as defined in [1][2] does not mandate that the hop_limit of the > outer IPv6 header has to be copied from the inner packet. This is not an issue of seg6 RFCs, but rather generic ip6 in ip6 tunnel encapsulation. Therefore, what

Re: [PATCH] drivers: watchdog: rdc321x_wdt: Fix race condition bugs

2020-08-07 Thread Florian Fainelli
On 8/7/2020 4:23 PM, Guenter Roeck wrote: > Hi Florian, > > On 8/7/20 1:09 PM, Florian Fainelli wrote: >> >> On 8/7/2020 12:08 PM, Guenter Roeck wrote: >>> On 8/7/20 11:08 AM, Florian Fainelli wrote: On 8/7/2020 9:21 AM, Guenter Roeck wrote: > On Fri, Aug 07, 2020 at

Re: [PATCH v2 net-next] net/tls: allow MSG_CMSG_COMPAT in sendmsg

2020-08-07 Thread David Miller
From: Rouven Czerwinski Date: Thu, 6 Aug 2020 08:49:06 +0200 > Trying to use ktls on a system with 32-bit userspace and 64-bit kernel > results in a EOPNOTSUPP message during sendmsg: > > setsockopt(3, SOL_TLS, TLS_TX, …, 40) = 0 > sendmsg(3, …, msg_flags=0}, 0) = -1 EOPNOTSUPP (Operation

[PATCH v2] KVM: SVM: Mark SEV launch secret pages as dirty.

2020-08-07 Thread Cfir Cohen
The LAUNCH_SECRET command performs encryption of the launch secret memory contents. Mark pinned pages as dirty, before unpinning them. This matches the logic in sev_launch_update_data(). Signed-off-by: Cfir Cohen --- Changelog since v1: - Updated commit message. arch/x86/kvm/svm/sev.c | 15

Re: [PATCH v2] i2c: iproc: fix race between client unreg and isr

2020-08-07 Thread Florian Fainelli
On 8/7/2020 3:02 PM, Dhananjay Phadke wrote: > When i2c client unregisters, synchronize irq before setting > iproc_i2c->slave to NULL. > > (1) disable_irq() > (2) Mask event enable bits in control reg > (3) Erase slave address (avoid further writes to rx fifo) > (4) Flush tx and rx FIFOs > (5)

drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include ini

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: e3885f576196ddfc670b3d53e745de96ffcb49ab net/sonic: Use MMIO accessors date: 7 months ago config: xtensa-randconfig-s031-20200808 (attached as .config)

Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Chris Lew
Hi Greg, On 8/7/2020 12:59 AM, Greg KH wrote: On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: From: Chris Lew In RPMSG GLINK the chrdev device will allocate an ept as part of the rpdev creation. This device will not register endpoint ops even though it has an allocated

include/linux/bits.h:25:21: error: first argument to '__builtin_choose_expr' not a constant

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: 295bcca84916cb5079140a89fccb472bb8d1f6e2 linux/bits.h: add compile time sanity check of GENMASK inputs date: 4 months ago config:

Re: [PATCH v5 0/2] Add 802.1AD protocol support for dsa switch and ocelot driver

2020-08-07 Thread David Miller
From: hongbo.w...@nxp.com Date: Fri, 7 Aug 2020 19:13:47 +0800 > From: "hongbo.wang" > > 1. the patch 0001* is for setting single port into 802.1AD(QinQ) mode, > before this patch, the function dsa_slave_vlan_rx_add_vid didn't pass > the parameter "proto" to next port level, so switch's port

Re: [GIT PULL] sound updates for 5.9

2020-08-07 Thread John Stultz
On Thu, Aug 6, 2020 at 3:33 AM Takashi Iwai wrote: > > Linus, > > please pull sound updates for v5.9 from: > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git > tags/sound-5.9-rc1 > > The topmost commit is c7fabbc51352f50cc58242a6dc3b9c1a3599849b > >

Re: [PATCH v7 3/9] net/scm: Regularize compat handling of scm_detach_fds()

2020-08-07 Thread John Stultz
On Fri, Aug 7, 2020 at 3:18 PM Kees Cook wrote: > > On Fri, Aug 07, 2020 at 01:29:24PM -0700, John Stultz wrote: > > On Thu, Jul 9, 2020 at 11:28 AM Kees Cook wrote: > > > > > > Duplicate the cleanups from commit 2618d530dd8b ("net/scm: cleanup > > > scm_detach_fds") into the compat code. > > >

Re: [PATCH v4 05/10] sched/topology: Define and assign sched_domain flag metadata

2020-08-07 Thread Valentin Schneider
On 06/08/20 17:18, Valentin Schneider wrote: > In the grand scheme of things I'd actually like to have this file output > the names of the flags rather than their values (since I now save them when > SCHED_DEBUG=y), but I didn't find a simple way to hack the existing SD ctl > table

arch/powerpc/kexec/crash.c:200 crash_kexec_secondary() warn: inconsistent returns 'flags'.

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: 793b08e2efff3ec020c5c5861d00ed394fcdd488 powerpc/kexec: Move kexec files into a dedicated subdir. date: 9 months ago config:

drivers/usb/gadget/udc/max3420_udc.c:1065:5-6: ERROR: invalid reference to the index variable of the iterator on line 1057

2020-08-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 commit: 48ba02b2e2b1a1c80718e93fefe99c8319597c4a usb: gadget: add udc driver for max3420 date: 5 months ago config: i386-randconfig-c003-20200807 (attached

Re: [PATCH 5/7] dyndbg: WIP replace __dyndbg_callsite section with a zs-pool copy.

2020-08-07 Thread kernel test robot
Hi Jim, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on next-20200807] [cannot apply to linux/master asm-generic/master v5.8] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

[RFC PATCH v2 2/2] dt-bindings: cpufreq: Document Krait CPU Cache scaling

2020-08-07 Thread Ansuel Smith
Document dedicated Krait CPU Cache Scaling driver. Signed-off-by: Ansuel Smith --- .../bindings/cpufreq/krait-cache-scale.yaml | 92 +++ 1 file changed, 92 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/krait-cache-scale.yaml diff --git

[RFC PATCH v2 0/2] Add Krait Cache Scaling support

2020-08-07 Thread Ansuel Smith
This adds Krait Cache scaling support using the cpufreq notifier. I have some doubt about where this should be actually placed (clk or cpufreq)? Also the original idea was to create a dedicated cpufreq driver (like it's done in the codeaurora qcom repo) by copying the cpufreq-dt driver and adding

[RFC PATCH v2 1/2] cpufreq: qcom: Add Krait Cache Scaling support

2020-08-07 Thread Ansuel Smith
Qcom Krait CPUs use the generic cpufreq-dt driver and doesn't actually scale the Cache frequency when the CPU frequency is changed. This companion driver register with the cpu notifier and scale the Cache based on the max Freq across all core as the CPU cache is shared across all of them. If

Re: KASAN: use-after-free Read in rc_dev_uevent

2020-08-07 Thread Ezequiel Garcia
Hello Sean, On Fri, 7 Aug 2020 at 06:15, Sean Young wrote: > > On Fri, Aug 07, 2020 at 12:26:29AM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:7b4ea945 Revert "x86/mm/64: Do not sync vmalloc/ioremap ma.. > > git tree: > >

[PATCH 3/3] remoteproc: qcom: Add minidump id for sm8150 modem remoteproc

2020-08-07 Thread Gurbir Arora
Add minidump id for modem in sm8150 chipset. Signed-off-by: Rishabh Bhatnagar Signed-off-by: Gurbir Arora --- drivers/remoteproc/qcom_q6v5_pas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index 270c640..ce2a83d

  1   2   3   4   5   6   7   8   9   10   >