[PATCH 2/2] clk: mediatek: add pericfg clocks for MT8183

2019-08-27 Thread Chunfeng Yun
Add pericfg clocks for MT8183, it's used when support USB remote wakeup Cc: Weiyi Lu Signed-off-by: Chunfeng Yun --- drivers/clk/mediatek/clk-mt8183.c | 35 ++ include/dt-bindings/clock/mt8183-clk.h | 4 +++ 2 files changed, 39 insertions(+) diff --git

[PATCH 1/2] dt-bindings: clock: mediatek: add pericfg for MT8183

2019-08-27 Thread Chunfeng Yun
This patch adds binding of pericfg for MT8183. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/arm/mediatek/mediatek,pericfg.txt| 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt

[PATCH 2/2] kbuild: allow Clang to find unused static inline functions for W=1 build

2019-08-27 Thread Masahiro Yamada
GCC and Clang have different policy for -Wunused-function; GCC does not warn unused static inline functions at all whereas Clang does if they are defined in source files instead of included headers although it has been suppressed since commit abb2ea7dfd82 ("compiler, clang: suppress warning for

[PATCH 1/2] kbuild: refactor scripts/Makefile.extrawarn

2019-08-27 Thread Masahiro Yamada
Instead of the warning-[123] magic, let's accumulate compiler options to KBUILD_CFLAGS directly as the top Makefile does. I think this makes easier to understand what is going on in this file. This commit slightly changes the behavior, I think all of which are OK. [1] Currently, cc-option calls

Re: [PATCH v2 2/5] dt-bindings: phy: Modify Stingray USB PHY #phy-cells

2019-08-27 Thread Srinath Mannam
Hi Rob, Thanks for the review. I will modify commit message and send new patch set. We have a plan to upstream DTS files. We will send DTS changes in different patch set once this is done. Regards, Srinath. On Wed, Aug 21, 2019 at 11:51 PM Rob Herring wrote: > > On Wed, Jul 31, 2019 at

Re: [PATCH 2/8] regulator: add support for SY8824C regulator

2019-08-27 Thread Jisheng Zhang
On Wed, 28 Aug 2019 11:27:05 +0800 Jisheng Zhang wrote: > Hi Mark, > > On Tue, 27 Aug 2019 20:44:37 +0100 Mark Brown wrote: > > > On Tue, Aug 27, 2019 at 08:45:33AM +, Jisheng Zhang wrote: > > > > This looks mostly good and I'll apply it, a couple of small > > things though: > > > > >

Re: [PATCH v6 06/12] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-08-27 Thread Christophe Leroy
Le 28/08/2019 à 06:54, Scott Wood a écrit : On Fri, Aug 09, 2019 at 06:07:54PM +0800, Jason Yan wrote: This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and

[RFC v3] vhost: introduce mdev based hardware vhost backend

2019-08-27 Thread Tiwei Bie
Details about this can be found here: https://lwn.net/Articles/750770/ What's new in this version == There are three choices based on the discussion [1] in RFC v2: > #1. We expose a VFIO device, so we can reuse the VFIO container/group > based DMA API and

[PATCH 2/2] vhost/test: fix build for vhost test

2019-08-27 Thread Tiwei Bie
Since vhost_exceeds_weight() was introduced, callers need to specify the packet weight and byte weight in vhost_dev_init(). Note that, the packet weight isn't counted in this patch to keep the original behavior unchanged. Fixes: e82b9b0727ff ("vhost: introduce vhost_exceeds_weight()") Cc:

[PATCH 1/2] vhost/test: fix build for vhost test

2019-08-27 Thread Tiwei Bie
Since below commit, callers need to specify the iov_limit in vhost_dev_init() explicitly. Fixes: b46a0bf78ad7 ("vhost: fix OOB in get_rx_bufs()") Cc: sta...@vger.kernel.org Signed-off-by: Tiwei Bie --- drivers/vhost/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v6 04/12] powerpc/fsl_booke/32: introduce create_tlb_entry() helper

2019-08-27 Thread Jason Yan
Hi Scott, Thanks for your reply. On 2019/8/28 6:07, Scott Wood wrote: On Fri, Aug 09, 2019 at 06:07:52PM +0800, Jason Yan wrote: Add a new helper create_tlb_entry() to create a tlb entry by the virtual and physical address. This is a preparation to support boot kernel at a randomized address.

Re: linux-next: Tree for Aug 27 (mm/zsmalloc.c)

2019-08-27 Thread Sergey Senozhatsky
On (08/27/19 08:37), Randy Dunlap wrote: > on x86_64: > > In file included from ../include/linux/mmzone.h:10:0, > from ../include/linux/gfp.h:6, > from ../include/linux/umh.h:4, > from ../include/linux/kmod.h:9, > from

[PATCH 2/3] tracing: remove exported but unused trace_array_destroy()

2019-08-27 Thread Jakub Kicinski
trace_array_destroy() is an exported symbol, but not only are there no in-tree callers, it doesn't actually have a declaration in any header. This fixes the "no previous prototype for" warning. Signed-off-by: Jakub Kicinski --- kernel/trace/trace.c | 19 --- 1 file changed, 19

[PATCH 3/3] tracing: make trace_array_create() static

2019-08-27 Thread Jakub Kicinski
Fix the W=1 missing prototype warning: kernel/trace/trace.c:8319:21: warning: no previous prototype for ‘trace_array_create’ [-Wmissing-prototypes] Signed-off-by: Jakub Kicinski --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.c

[PATCH 1/3] tracing: correct kdoc formats

2019-08-27 Thread Jakub Kicinski
Fix the following kdoc warnings: kernel/trace/trace.c:1579: warning: Function parameter or member 'tr' not described in 'update_max_tr_single' kernel/trace/trace.c:1579: warning: Function parameter or member 'tsk' not described in 'update_max_tr_single' kernel/trace/trace.c:1579: warning:

[PATCH 0/3] tracing: fix minor build warnings

2019-08-27 Thread Jakub Kicinski
Hi! trace.o gets rebuild on every make run when tracing is enabled, which makes all warnings particularly noisy. This patchset fixes some low-hanging fruit on W=1 C=1 builds. Jakub Kicinski (3): tracing: correct kdoc formats tracing: remove exported but unused trace_array_destroy()

Re: [PATCH v1] printk: add dummy vprintk_emit for when CONFIG_PRINTK=n

2019-08-27 Thread Sergey Senozhatsky
On (08/27/19 21:45), Brendan Higgins wrote: [..] > I actually use it in a very similar way as dev_printk() does. I am using > it to define an equivalent kunit_printk(), which takes a log level, and > adds its own test information to the log. > > What I have now is: > > static int

[PATCH] ASoC: fsl_ssi: Fix clock control issue in master mode

2019-08-27 Thread Shengjiu Wang
The test case is arecord -Dhw:0 -d 10 -f S16_LE -r 48000 -c 2 temp.wav & aplay -Dhw:0 -d 30 -f S16_LE -r 48000 -c 2 test.wav There will be error after end of arecord: aplay: pcm_write:2051: write error: Input/output error Capture and Playback work in parallel in master mode, one substream stops,

Re: [PATCH v6 00/12] implement KASLR for powerpc/fsl_booke/32

2019-08-27 Thread Scott Wood
On Tue, 2019-08-27 at 11:33 +1000, Michael Ellerman wrote: > Jason Yan writes: > > A polite ping :) > > > > What else should I do now? > > That's a good question. > > Scott, are you still maintaining FSL bits, Sort of... now that it's become very low volume, it's easy to forget when

Re: [PATCH] sched/fair: update_curr changed sum_exec_runtime to 1 when sum_exec_runtime is 0 beacuse some kernel code use sum_exec_runtime==0 to test task just be forked.

2019-08-27 Thread 乔崇
I find this when I run a docker test script. #-script begin-- for((i=0; i<100; i++)) do     echo "=== test $i start "     rm -rf /media/ram/docker/test/*     docker run -d --name test -h test -v

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-27 Thread Naresh Kamboju
On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.11 release. > There are 162 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v6 00/12] implement KASLR for powerpc/fsl_booke/32

2019-08-27 Thread Scott Wood
On Tue, 2019-08-27 at 23:05 -0500, Scott Wood wrote: > On Fri, 2019-08-09 at 18:07 +0800, Jason Yan wrote: > > Freescale Book-E > > parts expect lowmem to be mapped by fixed TLB entries(TLB1). The TLB1 > > entries are not suitable to map the kernel directly in a randomized > > region, so we chose

Re: [PATCH] IB/mlx5: Convert to use vm_map_pages_zero()

2019-08-27 Thread Leon Romanovsky
On Wed, Aug 28, 2019 at 08:57:19AM +0530, Souptick Joarder wrote: > On Tue, Aug 27, 2019 at 9:19 PM Jason Gunthorpe wrote: > > > > On Tue, Aug 27, 2019 at 01:48:57AM +0530, Souptick Joarder wrote: > > > On Mon, Aug 26, 2019 at 5:50 PM Jason Gunthorpe wrote: > > > > > > > > On Mon, Aug 26, 2019

Re: [PATCH v1 net-next 0/4] Add EHL and TGL PCI info and PCI ID

2019-08-27 Thread David Miller
From: Voon Weifeng Date: Tue, 27 Aug 2019 09:38:07 +0800 > In order to keep PCI info simple and neat, this patch series have > introduced a 3 hierarchy of struct. First layer will be the > intel_mgbe_common_data struct which keeps all Intel common configuration. > Second layer will be

Re: [PATCH 4.19 00/98] 4.19.69-stable review

2019-08-27 Thread Naresh Kamboju
On Tue, 27 Aug 2019 at 13:25, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.69 release. > There are 98 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v6 06/12] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-08-27 Thread Scott Wood
On Fri, Aug 09, 2019 at 06:07:54PM +0800, Jason Yan wrote: > This patch add support to boot kernel from places other than KERNELBASE. > Since CONFIG_RELOCATABLE has already supported, what we need to do is > map or copy kernel to a proper place and relocate. Freescale Book-E > parts expect lowmem

Re: [PATCH 4.14 00/62] 4.14.141-stable review

2019-08-27 Thread Naresh Kamboju
On Tue, 27 Aug 2019 at 13:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.141 release. > There are 62 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH RESEND 0/8] Fix mmap base in bottom-up mmap

2019-08-27 Thread Alex Ghiti
On 8/26/19 6:37 PM, Helge Deller wrote: On 26.08.19 09:34, Alexandre Ghiti wrote: On 6/20/19 7:03 AM, Alexandre Ghiti wrote: This series fixes the fallback of the top-down mmap: in case of failure, a bottom-up scheme can be tried as a last resort between the top-down mmap base and the stack,

Re: [PATCH v1] printk: add dummy vprintk_emit for when CONFIG_PRINTK=n

2019-08-27 Thread Brendan Higgins
On Wed, Aug 28, 2019 at 12:02:31PM +0900, Sergey Senozhatsky wrote: > On (08/27/19 16:48), Brendan Higgins wrote: > > Previously vprintk_emit was only defined when CONFIG_PRINTK=y, this > > caused a build failure in kunit/test.c when CONFIG_PRINTK was not set. > > Add a no-op dummy so that callers

[PATCH v2] staging: rtl8192u: Fix indentation

2019-08-27 Thread Stephen Brennan
Checkpatch reports WARNING:SUSPECT_CODE_INDENT in several places. Fix this by aligning code properly with tabs. Signed-off-by: Stephen Brennan --- Changes in v2: rebase on next-20190827, fixing conflict with spacing fixes. .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 2 +- .../staging

RE: [PATCH v2 08/10] PCI: layerscape: Add EP mode support for ls1088a and ls2088a

2019-08-27 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月27日 21:34 > To: Xiaowei Bao > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.co; a...@arndb.de; gre...@linuxfoundation.org; M.h. > Lian ;

[PATCH v2] vfio/type1: avoid redundant PageReserved checking

2019-08-27 Thread Ben Luo
currently, if the page is not a tail of compound page, it will be checked twice for the same thing. Signed-off-by: Ben Luo --- drivers/vfio/vfio_iommu_type1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c

Re: [PATCH v2 01/12] powerpc: remove the ppc44x ocm.c file

2019-08-27 Thread Michael Ellerman
On Tue, 2019-08-20 at 14:07:09 UTC, Christophe Leroy wrote: > From: Christoph Hellwig > > The on chip memory allocator is entirely unused in the kernel tree. > > Signed-off-by: Christoph Hellwig > Acked-by: Christophe Leroy > Signed-off-by: Christophe Leroy Series applied to powerpc next,

Re: [PATCH] powerpc/64: don't select ARCH_HAS_SCALED_CPUTIME on book3E

2019-08-27 Thread Michael Ellerman
On Thu, 2019-08-22 at 16:44:05 UTC, Christophe Leroy wrote: > Book3E doesn't have SPRN_SPURR/SPRN_PURR. > > Activating ARCH_HAS_SCALED_CPUTIME is just wasting CPU time. > > Signed-off-by: Christophe Leroy > Link: https://github.com/linuxppc/issues/issues/171 Applied to powerpc next, thanks.

Re: [PATCH v4 1/3] powerpc: rewrite LOAD_REG_IMMEDIATE() as an intelligent macro

2019-08-27 Thread Michael Ellerman
On Tue, 2019-08-20 at 14:34:12 UTC, Christophe Leroy wrote: > Today LOAD_REG_IMMEDIATE() is a basic #define which loads all > parts on a value into a register, including the parts that are NUL. > > This means always 2 instructions on PPC32 and always 5 instructions > on PPC64. And those

Re: [PATCH] powerpc: remove meaningless KBUILD_ARFLAGS addition

2019-08-27 Thread Michael Ellerman
On Sat, 2019-07-13 at 03:21:06 UTC, Masahiro Yamada wrote: > The KBUILD_ARFLAGS addition in arch/powerpc/Makefile has never worked > in a useful way because it is always overridden by the following code > in the top Makefile: > > # use the deterministic mode of AR if available >

Re: [PATCH 4.14 00/62] 4.14.141-stable review

2019-08-27 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 125 boots: 2 failed, 112 passed with 10 offline, 1 untried/unknown (v4.14.140-63-g4e1a19d2) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.140-63-g4e1a19d2/ Full Build Summary:

Re: [PATCH net v3 0/2] r8152: fix side effect

2019-08-27 Thread Jakub Kicinski
On Wed, 28 Aug 2019 09:51:40 +0800, Hayes Wang wrote: > v3: > Update the commit message for patch #1. > > v2: > Replace patch #2 with "r8152: remove calling netif_napi_del". > > v1: > The commit 0ee1f4734967 ("r8152: napi hangup fix after disconnect") > add a check to avoid using napi_disable

next-20190826 - objtool fails to build.

2019-08-27 Thread Valdis Klētnieks
OK. I'm mystified. next-20190806 built fine. -0818 and -0826 died a glorious death indeed. All 3 were build using the same Fedora Rawhide 9.1.1 compiler (installed on July 30). 'git log -- tools/objtool' comes up empty. Local hack-around was to remove the -Werror from tools/objtool/Makefile

Re: [PATCH v6 00/12] implement KASLR for powerpc/fsl_booke/32

2019-08-27 Thread Scott Wood
On Fri, 2019-08-09 at 18:07 +0800, Jason Yan wrote: > This series implements KASLR for powerpc/fsl_booke/32, as a security > feature that deters exploit attempts relying on knowledge of the location > of kernel internals. > > Since CONFIG_RELOCATABLE has already supported, what we need to do is >

Re: [PATCH v3] net: fix skb use after free in netpoll

2019-08-27 Thread David Miller
From: Feng Sun Date: Mon, 26 Aug 2019 14:46:04 +0800 > After commit baeababb5b85d5c4e6c917efe2a1504179438d3b > ("tun: return NET_XMIT_DROP for dropped packets"), > when tun_net_xmit drop packets, it will free skb and return NET_XMIT_DROP, > netpoll_send_skb_on_dev will run into following use

Re: [PATCH v2 -next] net: mediatek: remove set but not used variable 'status'

2019-08-27 Thread David Miller
From: Mao Wenan Date: Mon, 26 Aug 2019 09:31:18 +0800 > Fixes gcc '-Wunused-but-set-variable' warning: > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function mtk_handle_irq: > drivers/net/ethernet/mediatek/mtk_eth_soc.c:1951:6: warning: variable status > set but not used

Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-27 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, On 27/8/2019 8:39 PM, Rob Herring wrote: On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the SDXC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel

RE: [PATCHv2 1/4] dt-bindings: PCI: designware: Remove the num-lanes from Required properties

2019-08-27 Thread Z.q. Hou
Hi Rob, Thanks a lot for your review! Thanks, Zhiqiang > -Original Message- > From: Rob Herring > Sent: 2019年8月28日 0:58 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; gustavo.pimen...@synopsys.com; > jingooh...@gmail.com;

mmotm 2019-08-27-20-39 uploaded

2019-08-27 Thread akpm
The mm-of-the-moment snapshot 2019-08-27-20-39 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

Re: [PATCH 2/8] regulator: add support for SY8824C regulator

2019-08-27 Thread Jisheng Zhang
Hi Mark, On Tue, 27 Aug 2019 20:44:37 +0100 Mark Brown wrote: > On Tue, Aug 27, 2019 at 08:45:33AM +, Jisheng Zhang wrote: > > This looks mostly good and I'll apply it, a couple of small > things though: > > > @@ -0,0 +1,192 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + *

Re: [PATCH v2 3/3] dwc: PCI: intel: Intel PCIe RC controller driver

2019-08-27 Thread Chuan Hua, Lei
Hi Martin, Thanks for your comment. On 8/28/2019 4:38 AM, Martin Blumenstingl wrote: Hello, On Tue, Aug 27, 2019 at 5:09 AM Chuan Hua, Lei wrote: Hi Martin, Thanks for your feedback. Please check the comments below. On 8/27/2019 5:15 AM, Martin Blumenstingl wrote: Hello, On Mon, Aug 26,

Re: [PATCH v3 0/4] Simplify PCIe hotplug indicator control

2019-08-27 Thread Lukas Wunner
On Tue, Aug 27, 2019 at 05:53:19PM -0500, Bjorn Helgaas wrote: > Unrelated, but if anybody is looking at pciehp, is there value in > having pciehp split across five files? > > drivers/pci/hotplug/pciehp.h > drivers/pci/hotplug/pciehp_core.c > drivers/pci/hotplug/pciehp_ctrl.c >

Re: [PATCH] IB/mlx5: Convert to use vm_map_pages_zero()

2019-08-27 Thread Souptick Joarder
On Tue, Aug 27, 2019 at 9:19 PM Jason Gunthorpe wrote: > > On Tue, Aug 27, 2019 at 01:48:57AM +0530, Souptick Joarder wrote: > > On Mon, Aug 26, 2019 at 5:50 PM Jason Gunthorpe wrote: > > > > > > On Mon, Aug 26, 2019 at 01:32:09AM +0530, Souptick Joarder wrote: > > > > On Mon, Aug 26, 2019 at

RE: [PATCH v2 08/10] PCI: layerscape: Add EP mode support for ls1088a and ls2088a

2019-08-27 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月27日 22:49 > To: Xiaowei Bao > Cc: christophe leroy ; mark.rutl...@arm.com; Roy > Zang ; lorenzo.pieral...@arm.co; a...@arndb.de; > devicet...@vger.kernel.org; gre...@linuxfoundation.org; > linuxppc-...@lists.ozlabs.org;

Re: [PATCH v2 net] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-27 Thread David Miller
From: David Miller Date: Tue, 27 Aug 2019 20:20:43 -0700 (PDT) > Applied to net-next. My bad, applied to net and queued up for v5.2 -stable.

Re: [PATCH v2 net] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-27 Thread David Miller
From: Marco Hartmann Date: Wed, 21 Aug 2019 11:00:46 + > Commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from calling > genphy_config_aneg") introduced a check that aborts phy_config_aneg() > if the phy is a C45 phy. > This causes phy_state_machine() to call phy_error() so

Re: [PATCH v2] ipv6: Not to probe neighbourless routes

2019-08-27 Thread David Miller
Because you didn't even compile test the previous patch, I want to know how you did functional testing on this version on current kernel versions?

Re: [PATCH] x86/cpufeature: drop *_MASK_CEHCK

2019-08-27 Thread Cao jin
On 8/28/19 1:20 AM, Borislav Petkov wrote: > On Tue, Aug 27, 2019 at 09:33:11AM -0700, Dave Hansen wrote: >> The point was that there are 5 files in the code that need to be changed >> if you change NCAPINTS: >> >> 1. arch/x86/include/asm/required-features.h >> 2.

Re: [PATCH 1/2] riscv: Add memmove string operation.

2019-08-27 Thread Nick Hu
Hi Paul, On Tue, Aug 27, 2019 at 05:33:11PM +0800, Andrey Ryabinin wrote: > > > On 8/27/19 12:07 PM, Nick Hu wrote: > > Hi Andrey > > > > On Thu, Aug 22, 2019 at 11:59:02PM +0800, Andrey Ryabinin wrote: > >> On 8/7/19 10:19 AM, Nick Hu wrote: > >>> There are some features which need this

[PATCH v5 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-27 Thread Peng Fan
From: Peng Fan The ARM SMC/HVC mailbox binding describes a firmware interface to trigger actions in software layers running in the EL2 or EL3 exception levels. The term "ARM" here relates to the SMC instruction as part of the ARM instruction set, not as a standard endorsed by ARM Ltd.

[PATCH v5 2/2] mailbox: introduce ARM SMC based mailbox

2019-08-27 Thread Peng Fan
From: Peng Fan This mailbox driver implements a mailbox which signals transmitted data via an ARM smc (secure monitor call) instruction. The mailbox receiver is implemented in firmware and can synchronously return data when it returns execution to the non-secure world again. An asynchronous

[PATCH v5 0/2] mailbox: arm: introduce smc triggered mailbox

2019-08-27 Thread Peng Fan
From: Peng Fan V5: yaml fix V4: yaml fix for num-chans in patch 1/2. https://patchwork.kernel.org/cover/6521/ V3: Drop interrupt Introduce transports for mem/reg usage Add chan-id for mem usage Convert to yaml format https://patchwork.kernel.org/cover/11043541/ V2: This is a modified

Re: [PATCH v1] printk: add dummy vprintk_emit for when CONFIG_PRINTK=n

2019-08-27 Thread Sergey Senozhatsky
On (08/27/19 16:48), Brendan Higgins wrote: > Previously vprintk_emit was only defined when CONFIG_PRINTK=y, this > caused a build failure in kunit/test.c when CONFIG_PRINTK was not set. > Add a no-op dummy so that callers don't have to ifdef around this. > > Note: It has been suggested that this

Re: [PATCH 4.9 033/223] perf test 6: Fix missing kvm module load for s390

2019-08-27 Thread Sasha Levin
On Wed, Aug 28, 2019 at 01:12:44AM +0100, Ben Hutchings wrote: On Fri, 2019-08-02 at 11:34 +0200, Greg Kroah-Hartman wrote: [ Upstream commit 53fe307dfd309e425b171f6272d64296a54f4dff ] This results in numerous compiler errors: tests/parse-events.c: In function 'kvm_s390_create_vm_valid':

Re: [PATCH v2 1/2] dt-bindings: reset: Add YAML schemas for the Intel Reset controller

2019-08-27 Thread Dilip Kota
Hi Rob, On 8/27/2019 10:04 PM, Dilip Kota wrote: Hi Rob, On 8/26/2019 7:23 PM, Rob Herring wrote: On Mon, Aug 26, 2019 at 4:52 AM Dilip Kota wrote: Hi Rob, On 8/23/2019 8:25 PM, Rob Herring wrote: On Fri, Aug 23, 2019 at 12:28 AM Dilip Kota wrote: Add YAML schemas for the reset

Re: [PATCH v2] kbuild: enable unused-function warnings for W= build with Clang

2019-08-27 Thread Masahiro Yamada
Hi Nick, Nathan, On Wed, Aug 28, 2019 at 6:56 AM Nick Desaulniers wrote: > > On Tue, Aug 27, 2019 at 2:34 PM Nathan Chancellor > wrote: > > > > On Tue, Aug 27, 2019 at 01:58:05PM -0700, Nick Desaulniers wrote: > > > On Tue, Aug 27, 2019 at 12:28 PM Nathan Chancellor > > > wrote: > > > > > > >

RE: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-08-27 Thread Xiaowei Bao
> -Original Message- > From: Andrew Murray > Sent: 2019年8月27日 21:25 > To: Xiaowei Bao > Cc: bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; Leo Li ; kis...@ti.com; > lorenzo.pieral...@arm.co; a...@arndb.de; gre...@linuxfoundation.org; M.h. > Lian ;

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-27 Thread Edward Chron
On Tue, Aug 27, 2019 at 6:32 PM Qian Cai wrote: > > > > > On Aug 27, 2019, at 9:13 PM, Edward Chron wrote: > > > > On Tue, Aug 27, 2019 at 5:50 PM Qian Cai wrote: > >> > >> > >> > >>> On Aug 27, 2019, at 8:23 PM, Edward Chron wrote: > >>> > >>> > >>> > >>> On Tue, Aug 27, 2019 at 5:40 AM Qian

Re: [PATCH v2 00/14] treewide: prefer __section from compiler_attributes.h

2019-08-27 Thread Joe Perches
On Tue, 2019-08-27 at 13:39 -0700, Nick Desaulniers wrote: > GCC unescapes escaped string section names while Clang does not. Because > __section uses the `#` stringification operator for the section name, it > doesn't need to be escaped. > > This fixes an Oops observed in distro's that use

[PATCH] Input: elants_i2c - return real value of elants_i2c_initialize()

2019-08-27 Thread Johnny.Chuang
The return value of elants_i2c_initialize() was always 0. It maybe register input device when initialize fail. Signed-off-by: Johnny Chuang --- drivers/input/touchscreen/elants_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/elants_i2c.c

[PATCH v2] ipv6: Not to probe neighbourless routes

2019-08-27 Thread Yi Wang
From: Cheng Lin Originally, Router Reachability Probing require a neighbour entry existed. Commit 2152caea7196 ("ipv6: Do not depend on rt->n in rt6_probe().") removed the requirement for a neighbour entry. And commit f547fac624be ("ipv6: rate-limit probes for neighbourless routes") adds

[PATCH] mm/oom_kill.c: fox oom_cpuset_eligible() comment

2019-08-27 Thread Yi Wang
Commit ac311a14c682 ("oom: decouple mems_allowed from oom_unkillable_task") changed the function has_intersects_mems_allowed() to oom_cpuset_eligible(), but didn't change the comment meanwhile. Let's fix this. Signed-off-by: Yi Wang --- mm/oom_kill.c | 2 +- 1 file changed, 1 insertion(+), 1

[tip:irq/core 3/3] kernel/irq/affinity.c:287:31: warning: passing argument 2 of 'alloc_nodes_vectors' from incompatible pointer type

2019-08-27 Thread kbuild test robot
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git irq/core head: b1a5a73e64e99faa5f4deef2ae96d7371a0fb5d0 commit: b1a5a73e64e99faa5f4deef2ae96d7371a0fb5d0 [3/3] genirq/affinity: Spread vectors on node according to nr_cpu ratio config: x86_64-randconfig-a002-201934

TAB nomination for Steven Rostedt

2019-08-27 Thread Steven Rostedt
I would like to nominate myself, Steven Rostedt, for election to the Linux Foundation Technical Advisory Board (TAB). Candidate statement: I have been highly involved with the Linux kernel community since 2004, as a developer, a user, maintainer and educator. When I first came onto the board, my

[PATCH v2 5/5] mmc: sdhci-sprd: clear the UHS-I modes read from registers

2019-08-27 Thread Chunyan Zhang
From: Chunyan Zhang sprd's sd host controller supports SDR50/SDR104/DDR50 though, the UHS-I mode used by the specific card can be selected via devicetree only. Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan

[PATCH v2 4/5] mms: sdhci-sprd: add SDHCI_QUIRK_BROKEN_CARD_DETECTION

2019-08-27 Thread Chunyan Zhang
From: Chunyan Zhang sprd's sd host controller doesn't support detection to card insert or remove. Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan Zhang Reviewed-by: Baolin Wang Tested-by: Baolin Wang ---

[PATCH v2 3/5] mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN

2019-08-27 Thread Chunyan Zhang
From: Chunyan Zhang The bit of PRESET_VAL_ENABLE in HOST_CONTROL2 register is reserved on sprd's sd host controller, set quirk2 to disable configuring this. Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan

[PATCH v2 2/5] mmc: sdhci-sprd: add get_ro hook function

2019-08-27 Thread Chunyan Zhang
From: Chunyan Zhang sprd's sd host controller doesn't support write protect to sd card. Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Signed-off-by: Chunyan Zhang Signed-off-by: Chunyan Zhang Reviewed-by: Baolin Wang Tested-by: Baolin Wang ---

[PATCH v2 1/5] mmc: sdhci-sprd: fixed incorrect clock divider

2019-08-27 Thread Chunyan Zhang
From: Chunyan Zhang The register SDHCI_CLOCK_CONTROL should be cleared before config clock divider, otherwise the frequency configured maybe lower than we expected. Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller") Signed-off-by: Chunyan Zhang Signed-off-by:

[PATCH v2 0/5] a few fixes for sprd's sd host controller

2019-08-27 Thread Chunyan Zhang
With this patch-set, both sd card and mmc can be setup. This patch-set was verified on Unisoc's Whale2 and another mobile phone platform SC9863A. Changes from v1: - Added Reviewed-by and Tested-by of Baolin; - Added fixes tag for all patches in this series. Chunyan Zhang (5): mmc: sdhci-sprd:

Re: [PATCH AUTOSEL 5.2 040/123] ASoC: Fail card instantiation if DAI format setup fails

2019-08-27 Thread Sasha Levin
On Tue, Aug 27, 2019 at 12:00:14PM +0100, Mark Brown wrote: On Sun, Aug 25, 2019 at 09:35:15PM -0400, Sasha Levin wrote: On Wed, Aug 14, 2019 at 10:22:13AM +0100, Mark Brown wrote: > > If the DAI format setup fails, there is no valid communication format > > between CPU and CODEC, so fail

Re: [PATCH 0/5] a few fixes for sprd's sd host controller

2019-08-27 Thread Chunyan Zhang
On Tue, 27 Aug 2019 at 21:47, Ulf Hansson wrote: > > On Mon, 26 Aug 2019 at 05:18, Chunyan Zhang wrote: > > > > From: Chunyan Zhang > > > > With this patch-set, both sd card and mmc can be setup. This patch-set was > > verified on Unisoc's Whale2 and another mobile phone platform SC9863A. > >

答复: [PATCH RFC v2] ubi: ubi_wl_get_peb: Increase the number of attempts while getting PEB

2019-08-27 Thread chengzhihao
This patch missed the fixes pull request(5.3-rc6), will it be in v5.3-rc7? -邮件原件- 发件人: Richard Weinberger [mailto:richard.weinber...@gmail.com] 发送时间: 2019年8月14日 5:38 收件人: chengzhihao 抄送: Richard Weinberger ; zhangyi (F) ; linux-...@lists.infradead.org; LKML 主题: Re: [PATCH RFC v2] ubi:

Re: [PATCH v2 2/2] reset: Reset controller driver for Intel LGM SoC

2019-08-27 Thread Chuan Hua, Lei
Hi Martin, On 8/28/2019 5:15 AM, Martin Blumenstingl wrote: Hi, On Tue, Aug 27, 2019 at 4:23 AM Chuan Hua, Lei wrote: [...] 1. reset-lantiq.c use index instead of register offset + bit position. index reset is good for a small system (< 64). However, it will become very difficult to use if

[PATCH net v3 2/2] r8152: remove calling netif_napi_del

2019-08-27 Thread Hayes Wang
Remove unnecessary use of netif_napi_del. This also avoids to call napi_disable() after netif_napi_del(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index ad3abe26b51b..04137ac373b0

[PATCH net v3 1/2] Revert "r8152: napi hangup fix after disconnect"

2019-08-27 Thread Hayes Wang
This reverts commit 0ee1f4734967af8321ecebaf9c74221ace34f2d5. The commit 0ee1f4734967 ("r8152: napi hangup fix after disconnect") adds a check about RTL8152_UNPLUG to determine if calling napi_disable() is invalid in rtl8152_close(), when rtl8152_disconnect() is called. This avoids to use

[PATCH net v3 0/2] r8152: fix side effect

2019-08-27 Thread Hayes Wang
v3: Update the commit message for patch #1. v2: Replace patch #2 with "r8152: remove calling netif_napi_del". v1: The commit 0ee1f4734967 ("r8152: napi hangup fix after disconnect") add a check to avoid using napi_disable after netif_napi_del. However, the commit ffa9fec30ca0 ("r8152: set

RE: [PATCH v4 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-08-27 Thread Peng Fan
Hi Rob, > Subject: Re: [PATCH v4 1/2] dt-bindings: mailbox: add binding doc for the ARM > SMC/HVC mailbox > > On Tue, Aug 27, 2019 at 4:51 AM Peng Fan wrote: > > > > From: Peng Fan > > > > The ARM SMC/HVC mailbox binding describes a firmware interface to > > trigger actions in software layers

RE: [PATCH v5 4/6] drm/i915/gvt: Deliver vGPU refresh event to userspace

2019-08-27 Thread Tian, Kevin
> From: Zhenyu Wang > Sent: Monday, August 26, 2019 3:56 PM > > On 2019.08.16 10:35:26 +0800, Tina Zhang wrote: > > Deliver the display refresh events to the user land. Userspace can use > > the irq mask/unmask mechanism to disable or enable the event delivery. > > > > As we know, delivering

RE: [PATCH] arm: xen: mm: use __GPF_DMA32 for arm64

2019-08-27 Thread Peng Fan
Hi Robin, > Subject: Re: [PATCH] arm: xen: mm: use __GPF_DMA32 for arm64 > > On 09/07/2019 09:22, Peng Fan wrote: > > arm64 shares some code under arch/arm/xen, including mm.c. > > However ZONE_DMA is removed by commit > > ad67f5a6545("arm64: replace ZONE_DMA with ZONE_DMA32"). > > So to ARM64,

Re: [PATCH 3/4] nvme: pci: pass IRQF_RESCURE_THREAD to request_threaded_irq

2019-08-27 Thread Ming Lei
On Tue, Aug 27, 2019 at 08:10:42AM -0700, Bart Van Assche wrote: > On 8/27/19 1:53 AM, Ming Lei wrote: > > If one vector is spread on several CPUs, usually the interrupt is only > > handled on one of these CPUs. > > Is that perhaps a limitation of x86 interrupt handling hardware? See also > the

Re: [PATCH v1 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-27 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, On 27/8/2019 8:39 PM, Rob Herring wrote: On Tue, Aug 27, 2019 at 3:27 AM Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the SDXC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel

Re: [PATCH 4.19 00/98] 4.19.69-stable review

2019-08-27 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 133 boots: 2 failed, 122 passed with 9 offline (v4.19.68-99-ge944704d5a79) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.68-99-ge944704d5a79/ Full Build Summary:

[PATCH V5 2/4] watchdog: Add i.MX7ULP watchdog support

2019-08-27 Thread Anson Huang
The i.MX7ULP Watchdog Timer (WDOG) module is an independent timer that is available for system use. It provides a safety feature to ensure that software is executing as planned and that the CPU is not stuck in an infinite loop or executing unintended code. If the WDOG module is not serviced

[PATCH V5 4/4] ARM: dts: imx7ulp: Add wdog1 node

2019-08-27 Thread Anson Huang
Add wdog1 node to support watchdog driver. Signed-off-by: Anson Huang --- Changes since V4: - improve watchdog node name. --- arch/arm/boot/dts/imx7ulp.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi

[PATCH V5 1/4] dt-bindings: watchdog: Add i.MX7ULP bindings

2019-08-27 Thread Anson Huang
Add the watchdog bindings for Freescale i.MX7ULP. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- Changes since V4: - improve watchdog node name. --- .../bindings/watchdog/fsl-imx7ulp-wdt.txt | 22 ++ 1 file changed, 22 insertions(+) create mode

[PATCH V5 3/4] ARM: imx_v6_v7_defconfig: Enable CONFIG_IMX7ULP_WDT by default

2019-08-27 Thread Anson Huang
Select CONFIG_IMX7ULP_WDT by default to support i.MX7ULP watchdog. Signed-off-by: Anson Huang --- no changes. --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

Re: [PATCH v1 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM eMMC

2019-08-27 Thread Ramuthevar, Vadivel MuruganX
Hi Ulf, On 27/8/2019 9:49 PM, Ulf Hansson wrote: On Mon, 26 Aug 2019 at 09:28, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Muruganx The current arasan sdhci PHY configuration isn't compatible with the PHY on Intel's LGM(Lightning Mountain) SoC devices. Therefore, add a new

Re: [PATCH v1 1/2] dt-bindings: mmc: sdhci-of-arasan: Add new compatible for Intel LGM eMMC

2019-08-27 Thread Ramuthevar, Vadivel MuruganX
Hi Ulf, On 27/8/2019 9:49 PM, Ulf Hansson wrote: On Mon, 26 Aug 2019 at 09:28, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add a new compatible to use the sdhc-arasan host controller driver with the eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by:

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-27 Thread Qian Cai
> On Aug 27, 2019, at 9:13 PM, Edward Chron wrote: > > On Tue, Aug 27, 2019 at 5:50 PM Qian Cai wrote: >> >> >> >>> On Aug 27, 2019, at 8:23 PM, Edward Chron wrote: >>> >>> >>> >>> On Tue, Aug 27, 2019 at 5:40 AM Qian Cai wrote: >>> On Mon, 2019-08-26 at 12:36 -0700, Edward Chron

Re: mmotm 2019-08-24-16-02 uploaded (drivers/tty/serial/fsl_linflexuart.c:)

2019-08-27 Thread Randy Dunlap
On 8/24/19 4:03 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2019-08-24-16-02 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

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-27 Thread Edward Chron
On Tue, Aug 27, 2019 at 5:50 PM Qian Cai wrote: > > > > > On Aug 27, 2019, at 8:23 PM, Edward Chron wrote: > > > > > > > > On Tue, Aug 27, 2019 at 5:40 AM Qian Cai wrote: > > On Mon, 2019-08-26 at 12:36 -0700, Edward Chron wrote: > > > This patch series provides code that works as a debug

Re: [PATCH 00/10] OOM Debug print selection and additional information

2019-08-27 Thread Edward Chron
On Tue, Aug 27, 2019 at 12:15 AM Michal Hocko wrote: > > On Mon 26-08-19 12:36:28, Edward Chron wrote: > [...] > > Extensibility using OOM debug options > > - > > What is needed is an extensible system to optionally configure > > debug options as needed and to

Re: [PATCH] mm: silence -Woverride-init/initializer-overrides

2019-08-27 Thread Qian Cai
> On Aug 27, 2019, at 7:25 PM, Nick Desaulniers wrote: > > On Tue, Aug 27, 2019 at 8:49 AM Qian Cai wrote: >> >> When compiling a kernel with W=1, there are several of those warnings >> due to arm64 override a field by purpose. Just disable those warnings >> for both GCC and Clang of this

  1   2   3   4   5   6   7   8   9   10   >