Re: [PATCH] greybus: remove excessive check in gb_connection_hd_cport_quiesce()

2019-09-25 Thread Johan Hovold
On Thu, Sep 26, 2019 at 12:36:56AM +0300, Denis Efremov wrote: > Function pointer "hd->driver->cport_quiesce" is already checked > at the beginning of gb_connection_hd_cport_quiesce(). Thus, the > second check can be removed. > > Signed-off-by: Denis Efremov > --- > drivers/greybus/connection.c

Re: [GIT PULL] perf/core improvements and fixes

2019-09-25 Thread Ingo Molnar
b9: > > Merge tag 'perf-urgent-for-mingo-5.4-20190921' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent > (2019-09-22 12:45:11 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.

RE: [PATCH -next 3/8] dmaengine: xilinx_dma: Introduce xilinx_dma_get_residue

2019-09-25 Thread Radhey Shyam Pandey
> -Original Message- > From: Vinod Koul > Sent: Thursday, September 26, 2019 2:31 AM > To: Radhey Shyam Pandey > Cc: dan.j.willi...@intel.com; Michal Simek ; > nick.graum...@gmail.com; andrea.mere...@gmail.com; Appana Durga > Kedareswara Rao ; mcg...@kernel.org; >

[PATCH 1/2] regulator: da9062: Simplify da9062_buck_set_mode for BUCK_MODE_MANUAL case

2019-09-25 Thread Axel Lin
The sleep flag bit decides the mode for BUCK_MODE_MANUAL case, simplify the logic as the result is the same. Signed-off-by: Axel Lin --- drivers/regulator/da9062-regulator.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/da9062-regulator.c

[PATCH 2/2] regulator: da9063: Simplify da9063_buck_set_mode for BUCK_MODE_MANUAL case

2019-09-25 Thread Axel Lin
The sleep flag bit decides the mode for BUCK_MODE_MANUAL case, simplify the logic as the result is the same. Signed-off-by: Axel Lin --- drivers/regulator/da9063-regulator.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/da9063-regulator.c

Re: [PATCH v2 1/4] lib: introduce copy_struct_from_user() helper

2019-09-25 Thread kbuild test robot
Hi Aleksa, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190924] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to

Re: [PATCH v2 3/3] platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning

2019-09-25 Thread Andy Shevchenko
On Thu, Sep 26, 2019 at 4:29 AM Kefeng Wang wrote: > On 2019/9/25 23:04, Andy Shevchenko wrote: > > On Fri, Sep 20, 2019 at 1:55 PM Kefeng Wang > > wrote: > > You have to send to proper mailing lists and people. > > Used get_maintainer.pl to find the people, and all already in the CC, will >

Re: [RFC PATCHv2 1/3] dt-bindings: misc: Add dt bindings for flex noc Performance Monitor

2019-09-25 Thread Greg KH
On Thu, Sep 26, 2019 at 10:46:24AM +0530, Shubhrajyoti Datta wrote: > Add dt bindings for flexnoc Performance Monitor. > The flexnoc counters for read and write response and requests are > supported. > > Signed-off-by: Shubhrajyoti Datta > --- > .../devicetree/bindings/misc/xlnx,flexnoc.txt

[PATCH v2] scsi: core: Log SCSI command age with errors

2019-09-25 Thread Milan P. Gandhi
Couple of users had requested to print the SCSI command age along with command failure errors. This is a small change, but allows users to get more important information about the command that was failed, it would help the users in debugging the command failures: Signed-off-by: Milan P. Gandhi

[RFC PATCHv2 1/3] dt-bindings: misc: Add dt bindings for flex noc Performance Monitor

2019-09-25 Thread Shubhrajyoti Datta
Add dt bindings for flexnoc Performance Monitor. The flexnoc counters for read and write response and requests are supported. Signed-off-by: Shubhrajyoti Datta --- .../devicetree/bindings/misc/xlnx,flexnoc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode

[RFC PATCHv2 3/3] Documentation: short descriptions for Flexnoc Performance Monitor driver

2019-09-25 Thread Shubhrajyoti Datta
Add short documentation for FlexNoc Performance Monitor driver. Signed-off-by: Shubhrajyoti Datta --- v2: patch added Documentation/misc-devices/xilinx_flex.txt | 66 ++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/misc-devices/xilinx_flex.txt

[RFC PATCHv2 2/3] misc: xilinx_flex: Add support for the flex noc Performance Monitor

2019-09-25 Thread Shubhrajyoti Datta
Add support for the FlexNoc Performance Monitor. Adds support for various port setting and monitoring the packets transactions. It supports LPD and FPD monitoring counters for read and write transaction requests and responses. Signed-off-by: Shubhrajyoti Datta --- v2: Add a mutex to prevent race

Re: [PATCH] scsi: core: Log SCSI command age with errors

2019-09-25 Thread Milan P. Gandhi
On 9/25/19 9:15 PM, Bart Van Assche wrote: > On 9/22/19 11:01 PM, Milan P. Gandhi wrote: >> +    off += scnprintf(logbuf + off, logbuf_len - off, >> + "cmd-age=%lus", cmd_age); > > Have you considered to change cmd-age into cmd_age? I'm afraid otherwise > someone might interpret the

[PATCH] vhost: introduce mdev based hardware backend

2019-09-25 Thread Tiwei Bie
This patch introduces a mdev based hardware vhost backend. This backend is built on top of the same abstraction used in virtio-mdev and provides a generic vhost interface for userspace to accelerate the virtio devices in guest. This backend is implemented as a mdev device driver on top of the

[PATCH v4 6/6] powerpc: Don't flush caches when adding memory

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva This operation takes a significant amount of time when hotplugging large amounts of memory (~50 seconds with 890GB of persistent memory). This was orignally in commit fb5924fddf9e ("powerpc/mm: Flush cache on memory hot(un)plug") to support memtrace, but the flush on add

[PATCH v4 5/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva When presented with large amounts of memory being hotplugged (in my test case, ~890GB), the call to flush_dcache_range takes a while (~50 seconds), triggering RCU stalls. This patch breaks up the call into 1GB chunks, calling cond_resched() inbetween to allow the

[PATCH v4 3/6] powerpc: define helpers to get L1 icache sizes

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva This patch adds helpers to retrieve icache sizes, and renames the existing helpers to make it clear that they are for dcache. Signed-off-by: Alastair D'Silva --- arch/powerpc/include/asm/cache.h | 29 +++

[PATCH v4 2/6] powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva When calling __kernel_sync_dicache with a size >4GB, we were masking off the upper 32 bits, so we would incorrectly flush a range smaller than intended. This patch replaces the 32 bit shifts with 64 bit ones, so that the full size is accounted for. Signed-off-by:

[PATCH v4 4/6] powerpc: Convert flush_icache_range & friends to C

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva Similar to commit 22e9c88d486a ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") this patch converts the following ASM symbols to C: flush_icache_range() __flush_dcache_icache() __flush_dcache_icache_phys() This was done as we discovered a

[PATCH v4 1/6] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva When calling flush_icache_range with a size >4GB, we were masking off the upper 32 bits, so we would incorrectly flush a range smaller than intended. This patch replaces the 32 bit shifts with 64 bit ones, so that the full size is accounted for. Signed-off-by: Alastair

[PATCH v4 0/6] powerpc: convert cache asm to C

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva This series addresses a few issues discovered in how we flush caches: 1. Flushes were truncated at 4GB, so larger flushes were incorrect. 2. Flushing the dcache in arch_add_memory was unnecessary This series also converts much of the cache assembler to C, with the aim of

Re: [PATCH v2] net: flow_offload: fix memory leak in nfp_abm_u32_knode_replace

2019-09-25 Thread Jakub Kicinski
On Wed, 25 Sep 2019 21:22:35 -0500, Navid Emamdoost wrote: > In nfp_abm_u32_knode_replace if the allocation for match fails it should > go to the error handling instead of returning. > > Signed-off-by: Navid Emamdoost > --- > Changes in v2: > - Reused err variable for erorr value

[PATCH v2 1/1] i2c: iproc: Add i2c repeated start capability

2019-09-25 Thread Rayagonda Kokatanur
From: Lori Hikichi Enable handling of i2c repeated start. The current code handles a multi msg i2c transfer as separate i2c bus transactions. This change will now handle this case using the i2c repeated start protocol. The number of msgs in a transfer is limited to two, and must be a write

Re: [PATCH 1/2] perf script python: integrate page reclaim analyze script

2019-09-25 Thread Yafang Shao
On Thu, Sep 26, 2019 at 9:56 AM Tony Jones wrote: > > On 9/18/19 7:38 AM, Yafang Shao wrote: > > A new perf script page-reclaim is introduced in this patch. This new script > > is used to report the page reclaim details. The possible usage of this > > script is as bellow, > > - identify latency

Re: [PATCH 1/2] perf script python: integrate page reclaim analyze script

2019-09-25 Thread Yafang Shao
On Thu, Sep 26, 2019 at 11:36 AM Tony Jones wrote: > > On 9/25/19 6:56 PM, Tony Jones wrote: > > On 9/18/19 7:38 AM, Yafang Shao wrote: > >> A new perf script page-reclaim is introduced in this patch. This new script > >> is used to report the page reclaim details. The possible usage of this > >>

bug in KBUILD_OUTPUT handling - for relative paths in kselftest

2019-09-25 Thread Tim.Bird
I found a bug in kselftest KBUILD_OUTPUT handling. The following works: $ cd /home/tbird/work/linux $ export KBUILD_OUTPUT=/home/tbird/work/kbuild $ yes '' | make localmodconfig $ make TARGETS=size kselftest But this doesn't work: $ cd /home/tbird/work/linux $ export KBUILD_OUTPUT=../kbuild $

Re: [PATCH 4/5] dt-bindings: usb: dwc3: of-simple: add compatible for HiSi

2019-09-25 Thread John Stultz
On Wed, Sep 25, 2019 at 6:34 PM Chunfeng Yun wrote: > On Wed, 2019-09-25 at 23:42 +, John Stultz wrote: > > +++ b/Documentation/devicetree/bindings/usb/hisi,dwc3.txt > > @@ -0,0 +1,52 @@ > > +HiSi SuperSpeed DWC3 USB SoC controller > > + > > +Required properties: > > +- compatible:

Re: [PATCH v2] mm: don't expose page to fast gup prematurely

2019-09-25 Thread Yu Zhao
On Wed, Sep 25, 2019 at 03:17:50PM +0300, Kirill A. Shutemov wrote: > On Tue, Sep 24, 2019 at 04:05:50PM -0600, Yu Zhao wrote: > > On Tue, Sep 24, 2019 at 02:23:16PM +0300, Kirill A. Shutemov wrote: > > > On Sat, Sep 14, 2019 at 01:05:18AM -0600, Yu Zhao wrote: > > > > We don't want to expose page

Re: [PATCH V5 4/4] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8

2019-09-25 Thread S.j. Wang
Hi > Just a small concern... > > On Thu, Sep 26, 2019 at 09:29:51AM +0800, Shengjiu Wang wrote: > > static int fsl_asrc_dma_startup(struct snd_pcm_substream *substream) > > { > > + > > + release_pair = false; > > + ret = snd_soc_set_runtime_hwparams(substream, > > + _imx_hardware); > >

Re: [PATCH v2 3/3] reset: add support for the Meson-A1 SoC Reset Controller

2019-09-25 Thread Xingyu Chen
Hi, Kevin Thanks for your reminder On 2019/9/26 6:57, Kevin Hilman wrote: Hi Xingyu, Xingyu Chen writes: The number of RESET registers and offset of RESET_LEVEL register for Meson-A1 are different from previous SoCs, In order to describe these differences, we introduce the struct

Re: [PATCH v2 2/3] dt-bindings: reset: add bindings for the Meson-A1 SoC Reset Controller

2019-09-25 Thread Xingyu Chen
Hi, Kevin Thanks for your review On 2019/9/26 6:55, Kevin Hilman wrote: Xingyu Chen writes: Add DT bindings for the Meson-A1 SoC Reset Controller include file, and also slightly update documentation. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan The order here doesn't look

Re: [PATCH 1/2] perf script python: integrate page reclaim analyze script

2019-09-25 Thread Tony Jones
On 9/25/19 6:56 PM, Tony Jones wrote: > On 9/18/19 7:38 AM, Yafang Shao wrote: >> A new perf script page-reclaim is introduced in this patch. This new script >> is used to report the page reclaim details. The possible usage of this >> script is as bellow, >> - identify latency spike caused by

Re: [PATCH 2/2] selftests: Add kselftest_install target to main Makefile

2019-09-25 Thread Masahiro Yamada
Hi Shuah, On Thu, Sep 26, 2019 at 8:05 AM Shuah Khan wrote: > > Add kselftest_install target to install tests from the top level > Makefile. This is to simplify kselftest use-cases for CI and > distributions where build and test systems are different. > > This change addresses requests from

Re: [PATCH 4/5] ocxl: Add functions to map/unmap LPC memory

2019-09-25 Thread Alastair D'Silva
On Mon, 2019-09-23 at 13:39 +0200, Frederic Barrat wrote: > > > > diff --git a/drivers/misc/ocxl/link.c b/drivers/misc/ocxl/link.c > > index 2874811a4398..9e303a5f4d85 100644 > > --- a/drivers/misc/ocxl/link.c > > +++ b/drivers/misc/ocxl/link.c > > @@ -738,7 +738,7 @@ int

Re: [RFC patch 10/15] x86/entry: Move irq tracing to C code

2019-09-25 Thread Josh Poimboeuf
On Thu, Sep 19, 2019 at 05:03:24PM +0200, Thomas Gleixner wrote: > ENTRY(error_exit) > - UNWIND_HINT_REGS > DISABLE_INTERRUPTS(CLBR_ANY) > TRACE_IRQS_OFF > + UNWIND_HINT_REGS > testb $3, CS(%rsp) > jz retint_kernel > jmp retint_user I don't think

[v4,2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-25 Thread Biwen Li
The patch fixes a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v4: - update property name fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr Change in v3: - update property name fsl,rcpm-scfg ->

[v4,1/3] soc: fsl: handle RCPM errata A-008646 on SoC LS1021A

2019-09-25 Thread Biwen Li
Description: - Reading configuration register RCPM_IPPDEXPCR1 always return zero Workaround: - Save register RCPM_IPPDEXPCR1's value to register SCFG_SPARECR8.(uboot's psci also need reading value from the register SCFG_SPARECR8 to set

[v4,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property

2019-09-25 Thread Biwen Li
The 'fsl,ippdexpcr1-alt-addr' property is used to handle an errata A-008646 on LS1021A Signed-off-by: Biwen Li --- Change in v4: - rename property name fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr Change in v3: - rename property name fsl,rcpm-scfg ->

Re: [PATCH v2 13/13] vfio/type1: track iommu backed group attach

2019-09-25 Thread Alex Williamson
On Thu, 5 Sep 2019 16:08:43 +0800 Liu Yi L wrote: > With the introduction of iommu aware mdev group, user may wrap a PF/VF > as a mdev. Such mdevs will be called as wrapped PF/VF mdevs in following > statements. If it's applied on a non-singleton iommu group, there would > be multiple domain

Re: [RFC PATCH 2/4] iommu/vt-d: Add first level page table interfaces

2019-09-25 Thread Lu Baolu
Hi Peter, Thanks for reviewing my code. On 9/25/19 1:21 PM, Peter Xu wrote: On Mon, Sep 23, 2019 at 08:24:52PM +0800, Lu Baolu wrote: This adds functions to manipulate first level page tables which could be used by a scalale mode capable IOMMU unit. intel_mmmap_range(domain, addr, end,

[PATCH] mm: fix typo in the comment when calling function __SetPageUptodate()

2019-09-25 Thread Wei Yang
There are several places emphasise the effect of __SetPageUptodate(), while the comment seems to have a typo in two places. Signed-off-by: Wei Yang --- mm/memory.c | 2 +- mm/userfaultfd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memory.c b/mm/memory.c

Re: [PATCH v2 12/13] vfio/type1: use iommu_attach_group() for wrapping PF/VF as mdev

2019-09-25 Thread Alex Williamson
On Thu, 5 Sep 2019 15:59:29 +0800 Liu Yi L wrote: > This patch uses iommu_attach_group() to do group attach when it is > for the case of wrapping a PF/VF as a mdev. iommu_attach_device() > doesn't support non-singleton iommu group attach. With this change, > wrapping PF/VF as mdev can work on

Re: [PATCH v2 10/13] samples: refine vfio-mdev-pci driver

2019-09-25 Thread Alex Williamson
On Thu, 5 Sep 2019 15:59:27 +0800 Liu Yi L wrote: > From: Alex Williamson > > This patch refines the implementation of original vfio-mdev-pci driver. > > And the vfio-mdev-pci-type_name will be named per the following rule: > > vmdev->attr.name = kasprintf(GFP_KERNEL, >

Re: [PATCH v2 11/13] samples/vfio-mdev-pci: call vfio_add_group_dev()

2019-09-25 Thread Alex Williamson
On Thu, 5 Sep 2019 15:59:28 +0800 Liu Yi L wrote: > This patch adds vfio_add_group_dev() calling in probe() to make > vfio-mdev-pci work well with non-singleton iommu group. User could > bind devices from a non-singleton iommu group to either vfio-pci > driver or this sample driver. Existing

Re: [PATCH v2 08/13] vfio/pci: protect cap/ecap_perm bits alloc/free with atomic op

2019-09-25 Thread Alex Williamson
On Thu, 5 Sep 2019 15:59:25 +0800 Liu Yi L wrote: > There is a case in which cap_perms and ecap_perms can be reallocated > by different modules. e.g. the vfio-mdev-pci sample driver. To secure > the initialization of cap_perms and ecap_perms, this patch adds an > atomic variable to track the

Re: [PATCH v2 02/13] vfio_pci: refine user config reference in vfio-pci module

2019-09-25 Thread Alex Williamson
On Thu, 5 Sep 2019 15:59:19 +0800 Liu Yi L wrote: > This patch adds three fields in struct vfio_pci_device to pass the user > configs of vfio-pci module to some functions which could be common in > future usage. > > Cc: Kevin Tian > Cc: Lu Baolu > Signed-off-by: Liu Yi L > --- >

Re: [PATCH v3 18/26] scsi: pm80xx: Use PCI_STD_NUM_BARS

2019-09-25 Thread Bjorn Helgaas
On Mon, Sep 23, 2019 at 10:22:42PM -0400, Martin K. Petersen wrote: > > Denis, > > > Replace the magic constant (6) with define PCI_STD_NUM_BARS > > representing the number of PCI BARs. > > Applied to 5.4/scsi-fixes. Thanks! I think this depends on a previous patch that actually adds the

Re: [PATCH] riscv: move flush_icache_range/user_range() after flush_icache_all()

2019-09-25 Thread Kefeng Wang
Please ignore this version. On 2019/9/26 10:29, Kefeng Wang wrote: > When build lkdtm module, which used flush_icache_range(), error occurred, > > ERROR: "flush_icache_all" [drivers/misc/lkdtm/lkdtm.ko] undefined! > > Fix it. > > Cc: Paul Walmsley > Cc: Palmer Dabbelt > Cc: Albert Ou >

[PATCH v2] net: flow_offload: fix memory leak in nfp_abm_u32_knode_replace

2019-09-25 Thread Navid Emamdoost
In nfp_abm_u32_knode_replace if the allocation for match fails it should go to the error handling instead of returning. Signed-off-by: Navid Emamdoost --- Changes in v2: - Reused err variable for erorr value returning. --- drivers/net/ethernet/netronome/nfp/abm/cls.c | 10 +++--- 1

linux-next: Tree for Sep 25

2019-09-25 Thread Mark Brown
Hi all, News: Builds for this week won't appear every day, I will try to do some but no guarantees until Stephen returns on the 30th. pending-fixes will get more updates than full -next. Changes since 20190924: The risc-v-fixes tree gained a conflict with Linus' tree which I fixed up.

[PATCH] riscv: move flush_icache_range/user_range() after flush_icache_all()

2019-09-25 Thread Kefeng Wang
When build lkdtm module, which used flush_icache_range(), error occurred, ERROR: "flush_icache_all" [drivers/misc/lkdtm/lkdtm.ko] undefined! Fix it. Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Signed-off-by: Kefeng Wang --- arch/riscv/include/asm/cacheflush.h | 14 +++--- 1

Re: [PATCH 0/6] arm64: meson-gx: misc fixes and updates

2019-09-25 Thread Kevin Hilman
Christian Hewitt writes: > This patchset: > > - Fixes bluetooth on Khadas VIM2 > - Fixes bluetooth on Khadas VIM > - Fixes GPIO key dt on Khadas VIM > - Updates model for AML-S805X-CC > - Updates model/compatible for AML-S905X-CC Queued for v5.5. Thanks for the updates/fixups, Kevin

Re: [BACKPORT 4.14.y v3 1/3] locking/lockdep: Add debug_locks check in __lock_downgrade()

2019-09-25 Thread Baolin Wang
On Wed, 25 Sep 2019 at 22:05, Waiman Long wrote: > > On 9/25/19 6:01 AM, Baolin Wang wrote: > > From: Waiman Long > > > > [Upstream commit 513e1073d52e55b8024b4f238a48de7587c64ccf] > > > > Tetsuo Handa had reported he saw an incorrect "downgrading a read lock" > > warning right after a previous

Re: [PATCH 30/32] tools lib bpf: Renaming pr_warning to pr_warn

2019-09-25 Thread Kefeng Wang
On 2019/9/23 21:35, Daniel Borkmann wrote: > On Mon, Sep 23, 2019 at 01:03:06PM +0200, Petr Mladek wrote: >> On Mon 2019-09-23 10:20:39, Daniel Borkmann wrote: >>> On Sun, Sep 22, 2019 at 02:07:21PM -0700, Andrii Nakryiko wrote: On Fri, Sep 20, 2019 at 10:06 AM Kefeng Wang wrote:

Re: [PATCH 1/2] perf script python: integrate page reclaim analyze script

2019-09-25 Thread Tony Jones
On 9/18/19 7:38 AM, Yafang Shao wrote: > A new perf script page-reclaim is introduced in this patch. This new script > is used to report the page reclaim details. The possible usage of this > script is as bellow, > - identify latency spike caused by direct reclaim > - whehter the latency spike is

RE: [EXT] Re: [v3,3/3] Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr-alt-addr' property

2019-09-25 Thread Biwen Li
> Caution: EXT Email > > On Tue, Sep 24, 2019 at 11:27 PM Biwen Li wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The 'fsl,ippdexpcr-alt-addr' property is used to > > > > > > > > > > > handle an errata > > > > > > > > > > > A-008646 on LS1021A > > > > > > > > > > > > > > > > >

Re: [PATCH V5 4/4] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8

2019-09-25 Thread Nicolin Chen
Just a small concern... On Thu, Sep 26, 2019 at 09:29:51AM +0800, Shengjiu Wang wrote: > static int fsl_asrc_dma_startup(struct snd_pcm_substream *substream) > { > + > + release_pair = false; > + ret = snd_soc_set_runtime_hwparams(substream, _imx_hardware); This set_runtime_hwparams()

Re: [PATCH v2 4/4] task: RCUify the assignment of rq->curr

2019-09-25 Thread Eric W. Biederman
Frederic Weisbecker writes: > On Sat, Sep 14, 2019 at 07:35:02AM -0500, Eric W. Biederman wrote: >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c >> index 69015b7c28da..668262806942 100644 >> --- a/kernel/sched/core.c >> +++ b/kernel/sched/core.c >> @@ -3857,7 +3857,11 @@ static void

Re: [PATCH 24/32] dma-debug: Use pr_warn instead of pr_warning

2019-09-25 Thread Kefeng Wang
On 2019/9/26 1:13, Christoph Hellwig wrote: > On Fri, Sep 20, 2019 at 02:25:36PM +0800, Kefeng Wang wrote: >> As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of >> pr_warning"), removing pr_warning so all logging messages use a >> consistent _warn style. Let's do it. > Please just

Re: [PATCH 2/2] devfreq: Rename df->previous_freq to df->cur_freq

2019-09-25 Thread Chanwoo Choi
Hi, I'm not objecting this patch. But, as I commented on previous patch, Actually, according to reference time of the 'df->previous_freq', 'previous_freq' is proper or 'cur_freq is proper. But, In the comment of 'struct devfreq', it means the configured time as following: It was the intention of

[PATCH v4 0/1] Add bounds check for Hotplugged memory

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva This series adds bounds checks for hotplugged memory, ensuring that it is within the physically addressable range (for platforms that define MAX_(POSSIBLE_)PHYSMEM_BITS. This allows for early failure, rather than attempting to access bogus section numbers. Changelog:

[PATCH v4] memory_hotplug: Add a bounds check to __add_pages

2019-09-25 Thread Alastair D'Silva
From: Alastair D'Silva On PowerPC, the address ranges allocated to OpenCAPI LPC memory are allocated from firmware. These address ranges may be higher than what older kernels permit, as we increased the maximum permissable address in commit 4ffe713b7587 ("powerpc/mm: Increase the max addressable

Re: [PATCH 4/5] dt-bindings: usb: dwc3: of-simple: add compatible for HiSi

2019-09-25 Thread Chunfeng Yun
On Wed, 2019-09-25 at 23:42 +, John Stultz wrote: > Add necessary compatible flag for HiSi's DWC3 so > dwc3-of-simple will probe. > > Cc: Greg Kroah-Hartman > Cc: Felipe Balbi > Cc: Andy Shevchenko > Cc: Rob Herring > Cc: Mark Rutland > Cc: Yu Chen > Cc: Matthias Brugger > Cc: Chunfeng

Re: [PATCH 1/2] devfreq: Rename devfreq_update_status() to devfreq_update_stats() and viceversa

2019-09-25 Thread Chanwoo Choi
Hi, I'm not sure that it is necessary. I think that it depends on personal opinions. There are no correct answer perfectly. Also, after this changes, there are no any beneficial. It touch the history rather than behavior improvement. On 19. 9. 26. 오전 3:43, Matthias Kaehlcke wrote: > devfreq has

Re: WARN_ON_ONCE in qla2x00_status_cont_entry

2019-09-25 Thread Bart Van Assche
On 2019-09-25 05:39, Daniel Wagner wrote: > So I after starring on the code I am not sure if the WARN_ON_ONCE is > correct. It assumes that after processing one status continuation, > there is no more work. Though it looks like there is another element > to process. Is it possible that two sense

[PATCH V5 1/4] ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width

2019-09-25 Thread Shengjiu Wang
snd_pcm_format_t is more formal than enum asrc_word_width, which has two property, width and physical width, which is more accurate than enum asrc_word_width. So it is better to use in(out)put_format instead of in(out)put_word_width. Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen ---

[PATCH V5 3/4] ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_refine_runtime_hwparams

2019-09-25 Thread Shengjiu Wang
When set the runtime hardware parameters, we may need to query the capability of DMA to complete the parameters. This patch is to Extract this operation from dmaengine_pcm_set_runtime_hwparams function to a separate function snd_dmaengine_pcm_refine_runtime_hwparams, that other components which

[PATCH V5 4/4] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8

2019-09-25 Thread Shengjiu Wang
There is error "aplay: pcm_write:2023: write error: Input/output error" on i.MX8QM/i.MX8QXP platform for S24_3LE format. In i.MX8QM/i.MX8QXP, the DMA is EDMA, which don't support 24bit sample, but we didn't add any constraint, that cause issues. So we need to query the caps of dma, then update

[PATCH V5 2/4] ASoC: fsl_asrc: update supported sample format

2019-09-25 Thread Shengjiu Wang
The ASRC support 24bit/16bit/8bit input width, which is data width, not slot width. For the S20_3LE format, the data with is 20bit, slot width is 24bit, if we set ASRMCR1n.IWD to be 24bits, the result is the volume is lower than expected, it likes 24bit data right shift 4 bits So replace S20_3LE

[PATCH V5 0/4] update supported sample format

2019-09-25 Thread Shengjiu Wang
This patch serial is to update the supported format for fsl_asrc and fix some format issue. Shengjiu Wang (4): ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width ASoC: fsl_asrc: update supported sample format ASoC: pcm_dmaengine: Extract

Re: [PATCH 07/32] x86: Use pr_warn instead of pr_warning

2019-09-25 Thread Kefeng Wang
On 2019/9/20 23:28, Joe Perches wrote: > On Fri, 2019-09-20 at 19:57 +0800, Kefeng Wang wrote: >> On 2019/9/20 17:28, Robert Richter wrote: >>> On 20.09.19 14:25:19, Kefeng Wang wrote: As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so

Re: [PATCH] net: flow_offload: fix memory leak in nfp_abm_u32_knode_replace

2019-09-25 Thread Jakub Kicinski
On Wed, 25 Sep 2019 13:34:46 -0500, Navid Emamdoost wrote: > In nfp_abm_u32_knode_replace if the allocation for match fails it should > go to the error handling instead of returning. > > Signed-off-by: Navid Emamdoost > --- > drivers/net/ethernet/netronome/nfp/abm/cls.c | 11 +++ > 1

Re: [PATCH v2 3/3] platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning

2019-09-25 Thread Kefeng Wang
On 2019/9/25 23:04, Andy Shevchenko wrote: > On Fri, Sep 20, 2019 at 1:55 PM Kefeng Wang > wrote: >> As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of >> pr_warning"), removing pr_warning so all logging messages use a >> consistent _warn style. Let's do it. >> > You have to send

[PATCH v2] scripts: Move ipc/ to kernel/ipc/: don't check the ipc dir

2019-09-25 Thread Yunfeng Ye
After the commit 76128326f97c ("toplevel: Move ipc/ to kernel/ipc/: move the files"), we met some error messages: ./scripts/checkpatch.pl: "Must be run from the top-level dir. of a kernel tree" ./scripts/get_maintainer.pl: "The current directory does not appear to be a linux kernel

Re: [PATCH] nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs

2019-09-25 Thread Jakub Kicinski
On Wed, 25 Sep 2019 13:24:02 -0500, Navid Emamdoost wrote: > In nfp_flower_spawn_phy_reprs, in the for loop over eth_tbl if any of > intermediate allocations or initializations fail memory is leaked. > requiered releases are added. > > Signed-off-by: Navid Emamdoost Fixes: b94524529741 ("nfp:

Re: [PATCH] nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs

2019-09-25 Thread Jakub Kicinski
On Wed, 25 Sep 2019 14:05:09 -0500, Navid Emamdoost wrote: > In nfp_flower_spawn_vnic_reprs in the loop if initialization or the > allocations fail memory is leaked. Appropriate releases are added. > > Signed-off-by: Navid Emamdoost Fixes: b94524529741 ("nfp: flower: add per repr private data

Re: [PATCH] toplevel: Move ipc/ to kernel/ipc/: don't check the ipc dir

2019-09-25 Thread Yunfeng Ye
On 2019/9/26 0:32, Joe Perches wrote: > On Wed, 2019-09-25 at 20:37 +0800, Yunfeng Ye wrote: >> After the commit 76128326f97c ("toplevel: Move ipc/ to kernel/ipc/: move >> the files"), we met some error messages: >> >> ./scripts/checkpatch.pl: >> "Must be run from the top-level dir. of a

[PATCH] serial: move Non-standard serial drivers menu to the Serial drivers menu

2019-09-25 Thread Randy Dunlap
From: Randy Dunlap Since Non-standard serial port drivers are also Serial drivers, move the "Non-standard serial port support" menu to be under/in the "Serial drivers" menu. With this move, the "Serial drivers" menu contains (a) 8250/16550 support, (b) non-8250 support, and (c) non-standard

Business Proposal

2019-09-25 Thread Naomi Hayashi
-- Hello, I have sent mail to you previously ,maybe it didn't delivered. I am Naomi Hayashi By name. I am sorry for contacting you directly to your email. I will like to talk to you about something very important. Please acknowledge my email so I can provide you with details.await your

Re: [PATCH v2 0/4] task: Making tasks on the runqueue rcu protected

2019-09-25 Thread Eric W. Biederman
Peter Zijlstra writes: > On Tue, Sep 17, 2019 at 12:38:04PM -0500, Eric W. Biederman wrote: >> Linus Torvalds writes: > >> > Can anybody see anything wrong with the series? Because I'd love to >> > have it for 5.4, >> >> Peter, >> >> I am more than happy for these to come through your tree.

mmotm 2019-09-25-18-10 uploaded

2019-09-25 Thread akpm
The mm-of-the-moment snapshot 2019-09-25-18-10 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH net v2] vsock: Fix a lockdep warning in __vsock_release()

2019-09-25 Thread Dexuan Cui
Lockdep is unhappy if two locks from the same class are held. Fix the below warning for hyperv and virtio sockets (vmci socket code doesn't have the issue) by using lock_sock_nested() when __vsock_release() is called recursively: WARNING: possible

RE: [PATCH] vsock: Fix a lockdep warning in __vsock_release()

2019-09-25 Thread Dexuan Cui
> From: Stefano Garzarella > Sent: Thursday, August 22, 2019 3:25 AM > > [...snipped...] > > --- a/net/vmw_vsock/hyperv_transport.c > > +++ b/net/vmw_vsock/hyperv_transport.c > > @@ -559,7 +559,7 @@ static void hvs_release(struct vsock_sock *vsk) > > struct sock *sk = sk_vsock(vsk); > >

Re: [PATCH v2 7/7] random: Remove kernel.random.read_wakeup_threshold

2019-09-25 Thread Eric W. Biederman
Jann Horn writes: > On Fri, Sep 20, 2019 at 4:37 PM Andy Lutomirski wrote: >> It has no effect any more, so remove it. We can revert this if >> there is some user code that expects to be able to set this sysctl. >> >> Signed-off-by: Andy Lutomirski >> --- >> drivers/char/random.c | 18

[PATCH v2] KVM: LAPIC: Loose fluctuation filter for auto tune lapic_timer_advance_ns

2019-09-25 Thread Wanpeng Li
From: Wanpeng Li 5000 guest cycles delta is easy to encounter on desktop, per-vCPU lapic_timer_advance_ns always keeps at 1000ns initial value, lets loose fluctuation filter a bit to make auto tune can make some progress. Signed-off-by: Wanpeng Li --- v1 -> v2: * separate defines for ns vs

Congratulations!!!

2019-09-25 Thread Coca cola agent
Congratulations!!! Your email ID was picked among 10 lucky Winners, please contact cola82...@gmail.com to claim your prize Regards Agent Kent

Re: [PATCH] pinctrl: cherryview: restore Strago DMI workaround for all versions

2019-09-25 Thread Alex Levin
On Tue, Sep 24, 2019 at 1:21 AM Andy Shevchenko wrote: > > On Mon, Sep 23, 2019 at 07:49:58PM -0700, Dmitry Torokhov wrote: > > This is essentially a revert of: > > > > e3f72b749da2 pinctrl: cherryview: fix Strago DMI workaround > > 86c5dd6860a6 pinctrl: cherryview: limit Strago DMI workarounds

[PATCH 06/66] perf list: Allow plurals for metric, metricgroup

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Kim Phillips Enhance usability by allowing the same plurality used in the output title, for the command line parameter. BEFORE, perf deceitfully acts as if there are no metrics to be had: $ perf list metrics List of pre-defined events (to be used in -e): Metric Groups: $ But

[PATCH 57/66] perf evsel: Introduce evsel_fprintf.h

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We already had evsel_fprintf.c, add its counterpart, so that we can reduce evsel.h a bit more. We needed a new perf_event_attr_fprintf.c file so as to have a separate object to link with the python binding in tools/perf/util/python-ext-sources and not drag

[PATCH 30/66] libperf: Add 'event_copy' to 'struct perf_mmap'

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move 'event_copy' from tools/perf's mmap to libperf's perf_mmap struct. Committer notes: Add linux/compiler.h as we need it for '__aligned'. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 52/66] libperf: Add perf_evlist__alloc_pollfd() function

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move perf_evlist__alloc_pollfd() from tools/perf to libperf, it will be used in the following patches. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 16/66] perf tools: Rename perf_evlist__mmap() to evlist__mmap()

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Rename perf_evlist__mmap() to evlist__mmap(), so we don't have a name clash when we add perf_evlist__mmap() in libperf. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 24/66] libperf: Add 'mask' to struct perf_mmap

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move 'mask' from tools/perf's mmap to libperf's perf_mmap struct. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lore.kernel.org/lkml/20190913132355.21634-12-jo...@kernel.org Signed-off-by: Arnaldo

[PATCH 55/66] perf copyfile: Move copyfile routines to separate files

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Further reducing the util.c hodgepodge files. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-0i62zh7ok25znibyebgq0...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/Build| 1 +

[PATCH 34/66] libperf: Move 'mmap_len' from 'struct evlist' to 'struct perf_evlist'

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Moving 'mmap_len' from 'struct evlist' to 'struct perf_evlist' it will be used in following patches. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 64/66] perf jvmti: Include JVMTI support for s390

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Enable JVMTI support for s390 perf tool chain. Signed-off-by: Thomas Richter Cc: Heiko Carstens Cc: Hendrik Brueckner Cc: Vasily Gorbik Link: http://lore.kernel.org/lkml/20190909114116.50469-3-tmri...@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 65/66] perf build: Add detection of java-11-openjdk-devel package

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Thomas Richter With Java 11 there is no seperate JRE anymore. Details: https://coderanch.com/t/701603/java/JRE-JDK Therefore the detection of the JRE needs to be adapted. This change works for s390 and x86. I have not tested other platforms. Committer testing: Continues to work

[PATCH 54/66] libperf: Add perf_evlist__poll() function

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move perf_evlist__poll() from tools/perf to libperf, it will be used in the following patches. And rename the existing perf's function to evlist__poll(). Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 58/66] perf evlist: Remove unused perf_evlist__fprintf() method

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Ditch it, noone is using it, one more stdio.h include in a hot header. Fix the fallout in parse-events.y, where we end up using a FILE pointer, I think due to YYDEBUG being set and in some places, like Amazon Linux 1 we don't get stdio.h included by luck, like in

[PATCH 63/66] perf vendor events: Remove P8 HW events which are not supported

2019-09-25 Thread Arnaldo Carvalho de Melo
From: Mamatha Inamdar This patch is to remove following hardware events from JSON file which are not supported on POWER8. pm_l3_p0_grp_pump pm_l3_p0_lco_data pm_l3_p0_lco_no_data pm_l3_p0_lco_rty Note: Unfortunately power8 event list is not publicly available. Fixes: c3b4d5c4afb0 ("perf

  1   2   3   4   5   6   7   8   >