[PATCH] perf/tools/pmu-events/powerpc: Added nest imc metric events

2020-07-02 Thread Kajol Jain
Added nest imc metric events. Signed-off-by: Kajol Jain --- .../arch/powerpc/power9/nest_metrics.json | 35 +++ 1 file changed, 35 insertions(+) diff --git a/tools/perf/pmu-events/arch/powerpc/power9/nest_metrics.json b/tools/perf/pmu-events/arch/powerpc/power9/nest_metrics

Re: [PATCH 2/2] block: enable zone-append for iov_iter of bvec type

2020-07-02 Thread Kanchan Joshi
On Fri, Jul 03, 2020 at 05:32:56AM +, Damien Le Moal wrote: On 2020/07/03 0:42, Kanchan Joshi wrote: zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. Add new helper to process such iov_iter and add pages in bio honoring zone-append specific constraints. Signed-off-by: Kanc

Re: [PATCH 8/9] media: rkvdec: Add validate_fmt ops for pixelformat validation

2020-07-02 Thread Jonas Karlman
On 2020-07-03 05:14, Ezequiel Garcia wrote: > Hi Jonas, > > Thanks for working on this. > > On Wed, 2020-07-01 at 21:56 +, Jonas Karlman wrote: >> Add an optional validate_fmt operation that is used to validate the >> pixelformat of CAPTURE buffers. >> >> This is used in next patch to ensure

[PATCH v3] f2fs: add symbolic link to kobject in sysfs

2020-07-02 Thread Daeho Jeong
From: Daeho Jeong Added a symbolic link to directory of sysfs. It will create a symbolic link such as "mount_0" and "mount_1" to each f2fs mount in the order of mounting filesystem. But once one mount point was umounted, that sequential number @x in "mount_@x" could be reused by later newly mount

Re: [PATCH RESEND] net/cisco: Fix a sleep-in-atomic-context bug in enic_init_affinity_hint()

2020-07-02 Thread Kaige Li
On 06/25/2020 12:59 AM, Jakub Kicinski wrote: On Wed, 24 Jun 2020 06:32:36 + Christian Benvenuti (benve) wrote: We/Cisco will also look into it, hopefully a small code reorg will be sufficient. Hi, Christian: I have seen some submissions and codes, and feel that spin_lock is unnecessar

Re: [PATCH] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-02 Thread kernel test robot
Hi Abhishek, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/auto-latest] [also build test WARNING on linux/master tip/x86/core kvm/linux-next linus/master v5.8-rc3 next-20200702] [If your patch is applied to the wrong git tree, kindly drop us a note. And

RE: [PATCH v15 3/3] Input: new da7280 haptic driver

2020-07-02 Thread Roy Im
On Fri, July 3, 2020 3:02 AM, Jes Sorensen wrote: > On 6/29/20 9:01 AM, Roy Im wrote: > > Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple > > mode and integrated waveform memory and wideband support. > > It communicates via an I2C bus to the device. > > > > Signed-off-by: Ro

RE: [PATCH v1 6/9] dt-bindings: dma: add fsl-edma3 yaml

2020-07-02 Thread Robin Gong
On 2020/07/03 5:01 Rob Herring > > Please check and re-submit. Thanks, will fix it in v2.

RE: [PATCH v3 09/14] vfio/type1: Support binding guest page tables to PASID

2020-07-02 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, July 3, 2020 5:20 AM > > On Wed, 24 Jun 2020 01:55:22 -0700 > Liu Yi L wrote: > > > Nesting translation allows two-levels/stages page tables, with 1st > > level for guest translations (e.g. GVA->GPA), 2nd level for host > > translations (e.g. GP

Re: [PATCH] drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable

2020-07-02 Thread Thomas Zimmermann
Hi thanks for improving the driver. Am 02.07.20 um 14:54 schrieb Tian Tao: > fixed the following warning: > hibmc_drm_drv.c:296:1-18:WARNING: Assignment of 0/1 to bool variable. > hibmc_drm_drv.c:301:2-19: WARNING: Assignment of 0/1 to bool variable. > > Signed-off-by: Tian Tao > --- > drivers

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-02 Thread Abhishek Bhardwaj
We have tried to steer away from kernel command line args for a few reasons. I am paraphrasing my colleague Doug's argument here (CC'ed him as well) - - The command line args are getting unwieldy. Kernel command line parameters are not a scalable way to set kernel config. It's intended as a super

Re: [PATCH v2 11/15] perf ftrace: add support for trace option funcgraph-irqs

2020-07-02 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '--graph-noirqs' to filter out functions executed > in irq context. Ditto. > > Signed-off-by: Changbin Du > > --- > v2: option name '--nofuncgraph-irqs' -> '--graph-noirqs'. > --- > tools/perf/Documentation/perf-ftrace

Re: [PATCH 1/2] mm/memcontrol: Fix OOPS inside mem_cgroup_get_nr_swap_pages()

2020-07-02 Thread Michal Hocko
[Cc Andrew - the patch is http://lkml.kernel.org/r/1593641660-13254-2-git-send-email-bhsha...@redhat.com] On Thu 02-07-20 08:00:27, Michal Hocko wrote: > On Thu 02-07-20 03:44:19, Bhupesh Sharma wrote: > > Prabhakar reported an OOPS inside mem_cgroup_get_nr_swap_pages() > > function in a corner c

Re: [PATCH v2 10/15] perf ftrace: add support for trace option sleep-time

2020-07-02 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '--graph-nosleep-time' which allow us only to measure > on-CPU time. This option is function_graph tracer only. I'd suggest --graph-sleep-time instead and set it by default. Then we can have --no-graph-sleep-time as well.

[PATCH 1/1] MAINTAINERS: add freescale USB PHY driver entry

2020-07-02 Thread Peter Chen
Add freescale USB PHY driver entry Signed-off-by: Peter Chen --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 496fd4eafb68..3d3779a5ef9d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6970,6 +6970,13 @@ L: linuxppc-...@lists.ozlabs.

Re: [PATCH] Replace HTTP links with HTTPS ones: BPF (Safe dynamic programs and tools)

2020-07-02 Thread Alexander A. Klimov
Am 03.07.20 um 00:08 schrieb Alexei Starovoitov: On Thu, Jul 2, 2020 at 1:05 PM Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg:

[PATCH] kthread: work could not be queued when worker being destroyed

2020-07-02 Thread qiang.zhang
From: Zhang Qiang The queuing_blocked func should returns true when the worker being destroyed. Signed-off-by: Zhang Qiang --- kernel/kthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kthread.c b/kernel/kthread.c index 1166f2043e67..2ca711d0e78a 100644 --- a/

Re: [RFC PROPOSAL] memcg: per-memcg user space reclaim interface

2020-07-02 Thread Michal Hocko
On Thu 02-07-20 08:22:22, Shakeel Butt wrote: [...] > Interface options: > -- > > 1) memcg interface e.g. 'echo 10M > memory.reclaim' > > + simple > + can be extended to target specific type of memory (anon, file, kmem). > - most probably restricted to cgroup v2. > > 2) fadvise(P

Re: [PATCH RESEND] mm/page_alloc: skip setting nodemask when we are in interrupt

2020-07-02 Thread Pekka Enberg
On Fri, Jul 3, 2020 at 9:14 AM Muchun Song wrote: > > When we are in the interrupt context, it is irrelevant to the > current task context. If we use current task's mems_allowed, we > can fair to alloc pages in the fast path and fall back to slow > path memory allocation when the current node(whic

Re: [PATCH V3 (RESEND) 2/3] mm/sparsemem: Enable vmem_altmap support in vmemmap_alloc_block_buf()

2020-07-02 Thread Anshuman Khandual
On 07/02/2020 07:37 PM, Catalin Marinas wrote: > On Thu, Jun 18, 2020 at 06:45:29AM +0530, Anshuman Khandual wrote: >> There are many instances where vmemap allocation is often switched between >> regular memory and device memory just based on whether altmap is available >> or not. vmemmap_alloc

[PATCH] kthread: Don't cancel a work that is being cancelled

2020-07-02 Thread qiang.zhang
From: Zhang Qiang When canceling a work, if it is found that the work is in the cancelling state, we should directly exit the cancelled operation. Signed-off-by: Zhang Qiang --- kernel/kthread.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/kthread.c b/kernel/kthread.c index bf

Re: [PATCH v2 09/15] perf ftrace: add support for tracing option 'func_stack_trace'

2020-07-02 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds support to display call trace for function tracer. To do this, > just specify a '--func-call-graph' option. What if it's used with -G option? Also it might be used only with the -T option.. How about showing a warning if it's mis

Re: [PATCH v3 6/6] staging: greybus: audio: Enable GB codec, audio module compilation.

2020-07-02 Thread Vaibhav Agarwal
On Wed, Jul 01, 2020 at 03:36:55PM +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 19, 2020 at 04:50:26PM +0530, Vaibhav Agarwal wrote: > > Currently you can't enable the Gey Bus Audio Codec because there is no > > entry for it in the Kconfig file. Originally the config name was going > > to be AUDI

RE: [PATCH v3 06/14] vfio/type1: Add VFIO_IOMMU_PASID_REQUEST (alloc/free)

2020-07-02 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, July 3, 2020 5:19 AM > > On Wed, 24 Jun 2020 01:55:19 -0700 > Liu Yi L wrote: > > > This patch allows user space to request PASID allocation/free, e.g. > > when serving the request from the guest. > > > > PASIDs that are not freed by userspace a

Re: [PATCH v2 5/6] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-07-02 Thread Leonardo Bras
On Thu, 2020-07-02 at 10:31 +1000, Alexey Kardashevskiy wrote: > > On 02/07/2020 09:48, Leonardo Bras wrote: > > On Wed, 2020-07-01 at 16:57 -0300, Leonardo Bras wrote: > > > > It is not necessarily "direct" anymore as the name suggests, you may > > > > want to change that. DMA64_PROPNAME, may be.

Re: [PATCH 1/2] block: fix error code for zone-append

2020-07-02 Thread Kanchan Joshi
On Fri, Jul 03, 2020 at 05:29:50AM +, Damien Le Moal wrote: On 2020/07/03 0:42, Kanchan Joshi wrote: avoid returning success when it should report failure, preventing odd behavior in caller. You can be more precise here: the odd behavior is an infinite loop in bio_iov_iter_get_pages() whci

Re: [RFC 1/3] perf jevents: Add support for parsing perchip/percore events

2020-07-02 Thread kajoljain
On 6/25/20 7:38 PM, Ian Rogers wrote: > On Thu, Jun 25, 2020 at 4:47 AM Kajol Jain wrote: >> >> Set up the "PerChip" field so that perf knows they are >> per chip events. >> >> Set up the "PerCore" field so that perf knows they are >> per core events and add these fields to pmu_event structur

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

2020-07-02 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 using DDW on devices in which hypervisor allo

Re: [PATCH v2 07/15] perf ftrace: show trace column header

2020-07-02 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > 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 > \#

[PATCH v3 5/6] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-07-02 Thread Leonardo Bras
As of today, if the biggest DDW that can be created can't map the whole partition, it's creation is skipped and the default DMA window "ibm,dma-window" is used instead. Usually this DDW is bigger than the default DMA window, and it performs better, so it would be nice to use it instead. The ddw c

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

2020-07-02 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 v3 6/6] powerpc/pseries/iommu: Rename "direct window" to "dma window"

2020-07-02 Thread Leonardo Bras
A previous change introduced the usage of DDW as a bigger indirect DMA mapping when the DDW available size does not map the whole partition. As most of the code that manipulates direct mappings was reused for indirect mappings, it's necessary to rename all names and debug/info messages to reflect

Re: [f2fs-dev] [PATCH v2] f2fs: add symbolic link to kobject in sysfs

2020-07-02 Thread Chao Yu
On 2020/7/3 12:19, Daeho Jeong wrote: > From: Daeho Jeong > > Added a symbolic link to directory of sysfs. It will > create a symbolic link such as "mount_0" and "mount_1" to > each f2fs mount in the order of mounting filesystem. But > once one mount point was umounted, that sequential number > @

[PATCH v3 2/6] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-07-02 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 v3 0/6] Remove default DMA window before creating DDW

2020-07-02 Thread Leonardo Bras
There are some devices in which a hypervisor may 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

[PATCH v3 1/6] powerpc/pseries/iommu: Create defines for operations in ibm,ddw-applicable

2020-07-02 Thread Leonardo Bras
Create defines to help handling ibm,ddw-applicable values, avoiding confusion about the index of given operations. Signed-off-by: Leonardo Bras --- arch/powerpc/platforms/pseries/iommu.c | 43 -- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/arch/powerpc

Re: [RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
+Alan, Haotian On 7/2/2020 11:01 PM, Mathieu Poirier wrote: > On Thu, 2 Jul 2020 at 03:51, Michael S. Tsirkin wrote: >> >> On Thu, Jul 02, 2020 at 01:51:21PM +0530, Kishon Vijay Abraham I wrote: >>> This series enhances Linux Vhost support to enable SoC-to-SoC >>> communication over MMIO. This se

Re: [PATCH v2 06/15] perf ftrace: add option '-m/--buffer-size' to set per-cpu buffer size

2020-07-02 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > This adds an option '-m/--buffer-size' to allow us set the size of per-cpu > tracing buffer. > > Signed-off-by: Changbin Du > --- [SNIP] > @@ -555,6 +575,8 @@ int cmd_ftrace(int argc, const char **argv) > "Max depth for f

[RFC PATCH 1/2] PM / devfreq: Add support delayed timer for polling mode

2020-07-02 Thread Chanwoo Choi
Until now, the devfreq driver using polling mode like simple_ondemand governor have used only deferrable timer for reduing the redundant power consumption. It reduces the CPU wake-up from idle due to polling mode which check the status of Non-CPU device. But, it has a problem for Non-CPU device li

[RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling

2020-07-02 Thread Chanwoo Choi
Add the delayed timer to devfreq framework in order to support the periodical polling mode without stop caused by CPU idle state. Some Non-CPU device must need to monitor the device status like utilization regardless of CPU state. - patch1 explains the detailed reason why the delayed timer is requ

[RFC PATCH 2/2] memory: samsung: exynos5422-dmc: Use delayed timer as default

2020-07-02 Thread Chanwoo Choi
Use delayed timer as default instead of deferrable timer in order to monitor the DMC status regardless of CPU idle. Signed-off-by: Chanwoo Choi --- drivers/memory/samsung/exynos5422-dmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memor

[PATCH RESEND] mm/page_alloc: skip setting nodemask when we are in interrupt

2020-07-02 Thread Muchun Song
When we are in the interrupt context, it is irrelevant to the current task context. If we use current task's mems_allowed, we can fair to alloc pages in the fast path and fall back to slow path memory allocation when the current node(which is the current task mems_allowed) does not have enough memo

Re: [GIT PULL] fixes for v5.8-rc4

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 22:47:33 +0200: > g...@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux > tags/for-linus-2020-07-02 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/45564bcd57046ebe8c9309527c114dcd042cb7e5 Thank you! -- Deet-do

Re: [GIT PULL] Devicetree fixes for 5.8, v2

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 15:39:24 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > tags/devicetree-fixes-for-5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/684c8ccc40d7e5408d597a43712bad3827d3fb94 Thank you! -- Deet-

Re: [git pull] m68knommu changes for v5.8-rc4

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Jul 2020 08:21:59 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git > tags/m68knommu-for-v5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cdd3bb54332f82295ed90cd0c09c78cd0c0ee822 Thank you! -- Deet-

Re: [GIT PULL] tpmdd updates for Linux v5.8-rc4

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 21:58:13 +0300: > git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-v5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0c7415c31ea9482c4377287af5f459778bf64d2a Thank you! -- Deet-doot-dot, I am a bot.

Re: How do you investigate the cause of total hang? Is there some information that I should pay attention to in order to get some hint?

2020-07-02 Thread 孙世龙 sunshilong
Hi, Cong Wang Thank you for taking the time to respond to me. Do you think the message(i.e. "RCU detect a stall on CPU 2") indicates there is a lockup. Cong Wang 于2020年7月1日周三 下午2:07写道: > > On Tue, Jun 30, 2020 at 7:49 PM 孙世龙 sunshilong > wrote: > > > > Hi, list > > > > My x86 machine(linux4.

RE: [PATCH v3 04/14] vfio: Add PASID allocation/free support

2020-07-02 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson > Sent: Friday, July 3, 2020 5:17 AM > > On Wed, 24 Jun 2020 01:55:17 -0700 > Liu Yi L wrote: > > > Shared Virtual Addressing (a.k.a Shared Virtual Memory) allows sharing > > multiple process virtual address spaces with the device for simplified > > programming

Re: [PATCH 2/2] arm64: dts: ti: j721e-common-proc-board: Analog audio support

2020-07-02 Thread Peter Ujfalusi
On 02/07/2020 16.14, Peter Ujfalusi wrote: > The codec is wired in multi DIN/DOUT setup (DIN1/2/3/4/DOUT1/2/3 is > connected to McASP serializer). > > To support wide range of audio features a generic sound card can not be > used since we need to use different reference clock source for 44.1 an

RE: [PATCH v3 03/14] vfio/type1: Report iommu nesting info to userspace

2020-07-02 Thread Liu, Yi L
Hi Alex, > From: Alex Williamson < alex.william...@redhat.com > > Sent: Friday, July 3, 2020 2:39 AM > > On Wed, 24 Jun 2020 01:55:16 -0700 > Liu Yi L wrote: > > > This patch exports iommu nesting capability info to user space through > > VFIO. User space is expected to check this info for supp

Re: [PATCH 4.19 119/131] tracing: Fix event trigger to accept redundant spaces

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 11:17:28PM +0200, Pavel Machek wrote: > Hi! > > > commit 6784beada631800f2c5afd567e5628c843362cee upstream. > > > > Fix the event trigger to accept redundant spaces in > > the trigger input. > > > > For example, these return -EINVAL > > > > echo " traceon" > events/ftrac

Re: [PATCH 2/5] module: Refactor section attr into bin attribute

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 04:26:35PM -0700, Kees Cook wrote: > In order to gain access to the open file's f_cred for kallsym visibility > permission checks, refactor the module section attributes to use the > bin_attribute instead of attribute interface. Additionally removes the > redundant "name" st

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread James Jones
On 7/2/20 2:14 PM, James Jones wrote: On 7/2/20 1:22 AM, Daniel Stone wrote: Hi, On Wed, 1 Jul 2020 at 20:45, James Jones wrote: OK, I think I see what's going on.  In the Xorg modesetting driver, the logic is basically: if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) {     drmModeAd

Re: [PATCH v2 02/15] perf ftrace: add option '-F/--funcs' to list available functions

2020-07-02 Thread Namhyung Kim
On Sat, Jun 27, 2020 at 10:37 PM Changbin Du wrote: > > 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

Re: [PATCH 16/23] seq_file: switch over direct seq_read method calls to seq_read_iter

2020-07-02 Thread Miguel Ojeda
On Thu, Jul 2, 2020 at 3:50 PM Christoph Hellwig wrote: > > Do you have a suggestion for an automated replacement which does? > I'll happily switch over to that. I guess I'd simply find the unique set of cases that occur and create a replacement for each manually. A handful of them or so may alre

Re: [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu

2020-07-02 Thread LABBE Corentin
On Thu, Jul 02, 2020 at 08:58:40PM +0100, Mark Cave-Ayland wrote: > On 02/07/2020 14:02, Corentin Labbe wrote: > > > The sparc64 qemu machines uses pcnet32 network hardware by default, so for > > simple boot testing using qemu, having PCNET32 is useful. > > Same for its storage which is a PATA_CMD

Re: [bpf] af7ec13833: will-it-scale.per_process_ops -2.5% regression

2020-07-02 Thread Rong Chen
On 6/29/20 11:10 PM, Yonghong Song wrote: On 6/28/20 1:50 AM, kernel test robot wrote: Greeting, FYI, we noticed a -2.5% regression of will-it-scale.per_process_ops due to commit: commit: af7ec13833619e17f03aa73a785a2f871da6d66b ("bpf: Add bpf_skc_to_tcp6_sock() helper") https://git.

RE: [PATCH 0/3] Dynamic CPU frequency switching for the HiFive

2020-07-02 Thread Yash Shah
> -Original Message- > From: David Abdurachmanov > Sent: 01 July 2020 17:34 > To: Andreas Schwab > Cc: Yash Shah ; devicet...@vger.kernel.org; Albert > Ou ; Atish Patra ; Anup > Patel ; lolliv...@baylibre.com; linux- > ker...@vger.kernel.org List ; Green Wan > ; Sachin Ghadi ; > robh...@k

Re: [PATCH 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-02 Thread Guenter Roeck
On 7/2/20 8:48 PM, Chris Ruehl wrote: > Add documentation for the newly added DTS support in the shtc1 driver. > > Signed-off-by: Chris Ruehl > --- > .../bindings/hwmon/sensirion,shtc1.yaml | 53 +++ > 1 file changed, 53 insertions(+) > create mode 100644 > Documentation/

Re: [PATCH RFT] iio: adc: xilinx-xadc: use devm_krealloc()

2020-07-02 Thread kernel test robot
Hi Bartosz, I love your patch! Yet something to improve: [auto build test ERROR on iio/togreg] [also build test ERROR on staging/staging-testing v5.8-rc3 next-20200702] [cannot apply to xlnx/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH v11 2/2] phy: samsung-ufs: add UFS PHY driver for samsung SoC

2020-07-02 Thread kernel test robot
Hi Alim, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on soc/for-next linus/master v5.8-rc3 next-20200702] [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 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-02 Thread Guenter Roeck
On 7/2/20 8:48 PM, Chris Ruehl wrote: > Add support for DTS bindings to the shtc driver, use CONFIG_OF > to compile in the code if needed. > Ah, here it is. The introducing patch should say something like "[PATCH 0/2]". > Signed-off-by: Chris Ruehl > --- > drivers/hwmon/shtc1.c | 30 ++

Re: [PATCH v2 01/15] perf ftrace: select function/function_graph tracer automatically

2020-07-02 Thread Namhyung Kim
Hello, On Sat, Jun 27, 2020 at 10:37 PM Changbin Du wrote: > > The '-g/-G' options have already implied function_graph tracer should be > used instead of function tracer. So the extra option '--tracer' can be > killed. > > This patch changes the behavior as below: > - By default, function trace

Re: [GIT PULL] fixes for v5.8-rc4

2020-07-02 Thread Linus Torvalds
On Thu, Jul 2, 2020 at 1:51 PM Christian Brauner wrote: > > A few comments on this since doing a grep data_race() reveals that currently > only kernel/rcu/* is making use of this new annotation and this seems to be > the > first annotation in core kernel: when this was first sent to me I was > o

Re: [PATCH 24/30] usb: mtu3: mtu3_trace: Supply missing mtu3_debug.h include file

2020-07-02 Thread kernel test robot
Hi Lee, I love your patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on balbi-usb/testing/next char-misc/char-misc-testing v5.8-rc3 next-20200702] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [GIT PULL] Kselftest fixes update for Linux 5.8-rc4

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 10:26:58 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-fixes-5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0dce88451f9c1cc5f1b73818e0608d5f84499e9a Thank you!

Re: [GIT PULL] Kunit fixes update for Linux 5.8-rc4

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 09:23:55 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-kunit-fixes-5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/55844741a1e74bd41b4cea57502c2efedc99bf47 Thank

Re: [GIT PULL] nfsd bugfixes for 5.8

2020-07-02 Thread pr-tracker-bot
The pull request you sent on Thu, 2 Jul 2020 11:10:39 -0400: > git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.8-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/083176c86ffae8c9b467358eca5ba05a54a27898 Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.k

mainline/master bisection: baseline.dmesg.crit on qemu_arm-vexpress-a15

2020-07-02 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem

Re: [PATCH] editorconfig: Add automatic editor configuration file

2020-07-02 Thread Miguel Ojeda
Hi Danny, On Fri, Jul 3, 2020 at 2:16 AM Danny Lin wrote: > > +[*] > +charset = utf-8 > +end_of_line = lf While UTF-8 and LF are probably OK for all files, I am not 100% sure about: > +insert_final_newline = true > +indent_style = tab > +indent_size = 8 for other languages and non-code files w

Re: [PATCH] shtc1: add support for device tree bindings

2020-07-02 Thread Guenter Roeck
On 7/2/20 8:48 PM, Chris Ruehl wrote: > Add support for DTS bindings to the shtc driver > The patches add the compatible table and of_property_read* to the > shtc1.c. Newly created Yaml document has been released to the > Documentation/devicetree/hwmon/sensirion,shtc1.yaml > > Signed-off-by: Chris

Re: [PATCH] ASoC: cros_ec_codec: Log results when EC commands fail

2020-07-02 Thread Guenter Roeck
On Thu, Jul 2, 2020 at 8:30 PM Yu-Hsuan Hsu wrote: > > Log results of failed EC commands to identify a problem more easily. > > Signed-off-by: Yu-Hsuan Hsu > --- > sound/soc/codecs/cros_ec_codec.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/c

Re: [PATCH 2/2] block: enable zone-append for iov_iter of bvec type

2020-07-02 Thread Damien Le Moal
On 2020/07/03 0:42, Kanchan Joshi wrote: > zone-append with bvec iov_iter gives WARN_ON, and returns -EINVAL. > Add new helper to process such iov_iter and add pages in bio honoring > zone-append specific constraints. > > Signed-off-by: Kanchan Joshi > Signed-off-by: Selvakumar S > Signed-off-by

Re: [PATCH v5 01/12] iommu: Change type of pasid to u32

2020-07-02 Thread Felix Kuehling
Am 2020-07-02 um 3:10 p.m. schrieb Fenghua Yu: > Hi, Felix, Thomas, Joerg and maintainers, > > On Tue, Jun 30, 2020 at 10:12:38PM -0400, Felix Kuehling wrote: >> Am 2020-06-30 um 7:44 p.m. schrieb Fenghua Yu: >> You didn't change the return types of amdgpu_pasid_alloc and >> kfd_pasid_alloc. amdgpu

Re: [PATCH 1/9] media: rkvdec: h264: Support profile and level controls

2020-07-02 Thread Jonas Karlman
On 2020-07-03 04:54, Ezequiel Garcia wrote: > On Wed, 2020-07-01 at 21:56 +, Jonas Karlman wrote: >> The Rockchip Video Decoder used in RK3399 supports H.264 profiles from >> Baseline to High 4:2:2 up to Level 5.1, except for the Extended profile. >> >> Expose the V4L2_CID_MPEG_VIDEO_H264_PROFI

Re: [PATCH 1/2] block: fix error code for zone-append

2020-07-02 Thread Damien Le Moal
On 2020/07/03 0:42, Kanchan Joshi wrote: > avoid returning success when it should report failure, preventing > odd behavior in caller. You can be more precise here: the odd behavior is an infinite loop in bio_iov_iter_get_pages() whcih is is the only user of __bio_iov_append_get_pages(). > > Si

Re: objtool clac/stac handling change..

2020-07-02 Thread Christophe Leroy
Le 03/07/2020 à 05:17, Michael Ellerman a écrit : Christophe Leroy writes: Le 02/07/2020 à 15:34, Michael Ellerman a écrit : Linus Torvalds writes: On Wed, Jul 1, 2020 at 12:59 PM Al Viro wrote: On Wed, Jul 01, 2020 at 12:04:36PM -0700, Linus Torvalds wrote: That's actually for the ac

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-02 Thread chenzhou
Hi Bhupesh, On 2020/7/3 3:22, Bhupesh Sharma wrote: > Hi Will, > > On Thu, Jul 2, 2020 at 1:20 PM Will Deacon wrote: >> On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: >>> commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in >>> ZONE_DMA32") allocates crashkernel for a

Re: [PATCH v2 0/8] Introduce sv48 support

2020-07-02 Thread Alex Ghiti
Hi Palmer, Le 7/1/20 à 2:27 PM, Palmer Dabbelt a écrit : On Wed, 03 Jun 2020 01:10:56 PDT (-0700), a...@ghiti.fr wrote: This patchset implements sv48 support at runtime. The kernel will try to boot with 4-level page table and will fallback to 3-level if the HW does not support it. The bigges

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

2020-07-02 Thread Song Bao Hua (Barry Song)
> > However, it is still much more clear and credible to users by exposing the > data > directly from ACPI table. > Except ARM64 iort, numa_node is actually also applicable to x86 and other architectures through general acpi_create_platform_device() API: drivers/acpi/scan.c: static void acpi

Re: [PATCH v2 1/4] x86/xen: remove 32-bit Xen PV guest support

2020-07-02 Thread Jürgen Groß
On 03.07.20 00:59, Boris Ostrovsky wrote: On 7/1/20 7:06 AM, Juergen Gross wrote: Xen is requiring 64-bit machines today and since Xen 4.14 it can be built without 32-bit PV guest support. There is no need to carry the burden of 32-bit PV guest support in the kernel any longer, as new guests can

Re: [PATCH v7 02/13] dt-bindings: panel: Convert rocktech, jh057n00900 to yaml

2020-07-02 Thread Sam Ravnborg
Hi Ondrej. > > My bot found errors running 'make dt_binding_check' on your patch: > > > > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/display/bridge/nwl-dsi.example.dt.yaml: > > panel@0: '#address-cells', '#size-cells', 'port@0' do not match any of the > > regexes: 'pin

[PATCH v14 02/20] mm/page_idle: no unlikely double check for idle page counting

2020-07-02 Thread Alex Shi
As func comments mentioned, few isolated page missing be tolerated. So why not do further to drop the unlikely double check. That won't cause more idle pages, but reduce a lock contention. This is also a preparation for later new page isolation feature. Signed-off-by: Alex Shi Cc: Andrew Morton

[PATCH v14 15/20] mm/swap: serialize memcg changes during pagevec_lru_move_fn

2020-07-02 Thread Alex Shi
Hugh Dickins' found a memcg change bug on original version: If we want to change the pgdat->lru_lock to memcg's lruvec lock, we have to serialize mem_cgroup_move_account during pagevec_lru_move_fn. The possible bad scenario would like: cpu 0 cpu 1 lruvec =

[PATCH v14 16/20] mm/lru: replace pgdat lru_lock with lruvec lock

2020-07-02 Thread Alex Shi
This patch moves per node lru_lock into lruvec, thus bring a lru_lock for each of memcg per node. So on a large machine, each of memcg don't have to suffer from per node pgdat->lru_lock competition. They could go fast with their self lru_lock. After move memcg charge before lru inserting, page iso

[PATCH v14 20/20] mm/lru: revise the comments of lru_lock

2020-07-02 Thread Alex Shi
From: Hugh Dickins Since we changed the pgdat->lru_lock to lruvec->lru_lock, it's time to fix the incorrect comments in code. Also fixed some zone->lru_lock comment error from ancient time. etc. Signed-off-by: Hugh Dickins Signed-off-by: Alex Shi Cc: Andrew Morton Cc: Tejun Heo Cc: Andrey Ry

[PATCH v14 14/20] mm/mlock: reorder isolation sequence during munlock

2020-07-02 Thread Alex Shi
This patch reorder the isolation steps during munlock, move the lru lock to guard each pages, unfold __munlock_isolate_lru_page func, to do the preparation for lru lock change. __split_huge_page_refcount doesn't exist, but we still have to guard PageMlocked and PageLRU in __split_huge_page_tail, t

[PATCH v14 04/20] mm/compaction: rename compact_deferred as compact_should_defer

2020-07-02 Thread Alex Shi
The compact_deferred is a defer suggestion check, deferring action does in defer_compaction not here. so, better rename it to avoid confusing. Signed-off-by: Alex Shi Cc: Steven Rostedt Cc: Ingo Molnar Cc: Andrew Morton Cc: Vlastimil Babka Cc: Mike Kravetz Cc: linux-kernel@vger.kernel.org Cc

[PATCH v14 00/20] per memcg lru lock

2020-07-02 Thread Alex Shi
This is a new version which bases on v5.8-rc3. Current lru_lock is one for each of node, pgdat->lru_lock, that guard for lru lists, but now we had moved the lru lists into memcg for long time. Still using per node lru_lock is clearly unscalable, pages on each of memcgs have to compete each others

[PATCH v14 09/20] mm/swap: fold vm event PGROTATED into pagevec_move_tail_fn

2020-07-02 Thread Alex Shi
Fold the PGROTATED event collection into pagevec_move_tail_fn call back func like other funcs does in pagevec_lru_move_fn. Now all usage of pagevec_lru_move_fn are same and no needs of the 3rd parameter. It's simply the calling. [l...@intel.com: found a build issue in the original patch, thanks]

[PATCH v14 11/20] mm/lru: move lock into lru_note_cost

2020-07-02 Thread Alex Shi
This patch move lru_lock into lru_note_cost. It's a bit ugly and may cost more locking, but it's necessary for later per pgdat lru_lock to per memcg lru_lock change. Signed-off-by: Alex Shi Cc: Johannes Weiner Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/swa

[PATCH v14 18/20] mm/vmscan: use relock for move_pages_to_lru

2020-07-02 Thread Alex Shi
From: Hugh Dickins Use the relock function to replace relocking action. And try to save few lock times. Signed-off-by: Hugh Dickins Signed-off-by: Alex Shi Cc: Andrew Morton Cc: Tejun Heo Cc: Andrey Ryabinin Cc: Jann Horn Cc: Mel Gorman Cc: Johannes Weiner Cc: Matthew Wilcox Cc: Hugh Di

[PATCH v14 19/20] mm/pgdat: remove pgdat lru_lock

2020-07-02 Thread Alex Shi
Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. Signed-off-by: Alex Shi Cc: Andrew Morton Cc: Konstantin Khlebnikov Cc: Hugh Dickins Cc: Johannes Weiner Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org Cc: cgro...@vger.kernel.org --- include/linux/mmzone.h | 1 -

[PATCH v14 08/20] mm/memcg: add debug checking in lock_page_memcg

2020-07-02 Thread Alex Shi
Add a debug checking in lock_page_memcg, then we could get alarm if anything wrong here. Suggested-by: Johannes Weiner Signed-off-by: Alex Shi Cc: Johannes Weiner Cc: Michal Hocko Cc: Vladimir Davydov Cc: Andrew Morton Cc: cgro...@vger.kernel.org Cc: linux...@kvack.org Cc: linux-kernel@vger.

[PATCH v14 10/20] mm/lru: move lru_lock holding in func lru_note_cost_page

2020-07-02 Thread Alex Shi
It's a clean up patch w/o function changes. Signed-off-by: Alex Shi Cc: Johannes Weiner Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/memory.c | 3 --- mm/swap.c | 2 ++ mm/swap_state.c | 2 -- mm/workingset.c | 2 -- 4 files changed, 2 insertions(+

[PATCH v14 17/20] mm/lru: introduce the relock_page_lruvec function

2020-07-02 Thread Alex Shi
Use this new function to replace repeated same code. Signed-off-by: Alex Shi Cc: Johannes Weiner Cc: Andrew Morton Cc: Thomas Gleixner Cc: Andrey Ryabinin Cc: Matthew Wilcox Cc: Mel Gorman Cc: Konstantin Khlebnikov Cc: Hugh Dickins Cc: Tejun Heo Cc: linux-kernel@vger.kernel.org Cc: cgro.

[PATCH v14 13/20] mm/compaction: do page isolation first in compaction

2020-07-02 Thread Alex Shi
Johannes Weiner has suggested: "So here is a crazy idea that may be worth exploring: Right now, pgdat->lru_lock protects both PageLRU *and* the lruvec's linked list. Can we make PageLRU atomic and use it to stabilize the lru_lock instead, and then use the lru_lock only serialize list operations?

[PATCH v14 12/20] mm/lru: introduce TestClearPageLRU

2020-07-02 Thread Alex Shi
Combine PageLRU check and ClearPageLRU into a function by new introduced func TestClearPageLRU. This function will be used as page isolation precondition to prevent other isolations some where else. Then there are may non PageLRU page on lru list, need to remove BUG checking accordingly. Hugh Dick

[PATCH v14 01/20] mm/vmscan: remove unnecessary lruvec adding

2020-07-02 Thread Alex Shi
We don't have to add a freeable page into lru and then remove from it. This change saves a couple of actions and makes the moving more clear. The SetPageLRU needs to be kept here for list intergrity. Otherwise: #0 mave_pages_to_lru #1 release_pages

[PATCH v14 05/20] mm/thp: move lru_add_page_tail func to huge_memory.c

2020-07-02 Thread Alex Shi
The func is only used in huge_memory.c, defining it in other file with a CONFIG_TRANSPARENT_HUGEPAGE macro restrict just looks weird. Let's move it THP. And make it static as Hugh Dickin suggested. Signed-off-by: Alex Shi Cc: Andrew Morton Cc: Johannes Weiner Cc: Matthew Wilcox Cc: Hugh Dicki

  1   2   3   4   5   6   7   8   9   10   >