[PATCH] xtensa: remove unneeded BITS_PER_LONG define

2019-06-27 Thread Masahiro Yamada
Xtensa does not define CONFIG_64BIT. The generic definition in include/asm-generic/bitsperlong.h should work. Signed-off-by: Masahiro Yamada --- arch/xtensa/include/asm/types.h | 8 1 file changed, 8 deletions(-) diff --git a/arch/xtensa/include/asm/types.h b/arch/xtensa/include/asm/t

RE: [PATCH] soc: imx-scu: Add SoC UID(unique identifier) support

2019-06-27 Thread Anson Huang
Hi, Daniel > -Original Message- > From: Daniel Baluta > Sent: Thursday, June 27, 2019 2:44 PM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Pengutronix Kernel Team > ; Fabio Estevam ; Aisheng > Dong ; Abel Vesa ; linux- > arm-kernel ; Linux Kernel Mailing List > ; dl-linux-imx ; D

Re: [PATCH net-next] xdp: xdp_umem: fix umem pages mapping for 32bits systems

2019-06-27 Thread kbuild test robot
Hi Ivan, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Ivan-Khoronzhuk/xdp-xdp_umem-fix-umem-pages-mapping-for-32bits-systems/20190627-135949 config: i386-randconfig-x073-201925 (attached as

Re: [PATCH] media: staging/imx: Fix NULL deref in find_pipeline_entity()

2019-06-27 Thread Dan Carpenter
On Wed, Jun 26, 2019 at 11:52:25AM -0700, Steve Longerbeam wrote: > Fix a cut&paste error in find_pipeline_entity(). The start entity must be > passed to media_entity_to_video_device() in find_pipeline_entity(), not > pad->entity. The pad is only put to use later, after determining the start > enti

Re: [PATCH v3 3/4] iommu/arm-smmu: Add support to handle Qcom's wait-for-safe logic

2019-06-27 Thread Vivek Gautam
On Wed, Jun 26, 2019 at 8:18 PM Will Deacon wrote: > > On Wed, Jun 26, 2019 at 12:03:02PM +0530, Vivek Gautam wrote: > > On Tue, Jun 25, 2019 at 7:09 PM Will Deacon wrote: > > > > > > On Tue, Jun 25, 2019 at 12:34:56PM +0530, Vivek Gautam wrote: > > > > On Mon, Jun 24, 2019 at 10:33 PM Will Deaco

Re: [PATCH] reset: Add driver for dispmix reset

2019-06-27 Thread Philipp Zabel
On Wed, 2019-06-26 at 06:46 +, Fancy Fang wrote: [...] > > The same goes for the clock soft enable bits on i.MX8MM. If those > > bits actually control clock gates, they should not be described as > > reset controls in the device tree. > > [FF] Make sense. The functions provided by the "dispmi

Re: [PATCH v2] jffs2: remove C++ style comments from uapi header

2019-06-27 Thread Masahiro Yamada
On Tue, Jun 18, 2019 at 3:20 PM Richard Weinberger wrote: > > - Ursprüngliche Mail - > > Von: "Masahiro Yamada" > > An: "linux-mtd" > > CC: "Boris Brezillon" , "Miquel Raynal" > > , "Brian Norris" > > , "Vignesh Raghavendra" , > > "Marek Vasut" , > > "Masahiro Yamada" , "richard" > >

[PATCH v2] rcu: Change return type of rcu_spawn_one_boost_kthread()

2019-06-27 Thread Byungchul Park
Hello, I tested if the WARN_ON_ONCE() is fired with my box and it was ok. Thanks, Byungchul Changes from v1 -. WARN_ON_ONCE() on failing to create rcu_boost_kthread. -. Changed title and commit message a bit. ---8<--- >From 7100fcf82202f063f70f45def208ea5198412f5a Mon Sep 17 00:00:00 2001 From:

[PATCH] mtd: abi: do not use C++ style comments in uapi header

2019-06-27 Thread Masahiro Yamada
Linux kernel tolerates C++ style comments these days. Actually, the SPDX License tags for .c files start with //. On the other hand, uapi headers are written in more strict C, where the C++ comment style is forbidden. Signed-off-by: Masahiro Yamada --- include/uapi/mtd/mtd-abi.h | 10 +

Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs

2019-06-27 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 03:33:36PM -0700, Nick Desaulniers wrote: > On Wed, Jun 26, 2019 at 9:31 AM Peter Zijlstra wrote: > > > > On Tue, Jun 25, 2019 at 11:47:06PM +0200, Thomas Gleixner wrote: > > > > On Tue, Jun 25, 2019 at 09:53:09PM +0200, Thomas Gleixner wrote: > > > > > > > but it also make

Re: [PATCH v9 11/17] kvm/vmx: Emulate MSR TEST_CTL

2019-06-27 Thread Thomas Gleixner
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top A: Yes Q: Should I trim all

Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs

2019-06-27 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 03:14:05PM -0700, Nick Desaulniers wrote: > On Wed, Jun 26, 2019 at 1:49 AM Peter Zijlstra wrote: > > > > On Tue, Jun 25, 2019 at 11:15:57AM -0700, Nick Desaulniers wrote: > > > > > Unreleased versions of Clang built from source can; > > > > I've bad experiences with using

Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs

2019-06-27 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 03:15:38PM -0700, Nick Desaulniers wrote: > On Wed, Jun 26, 2019 at 2:24 AM Peter Zijlstra wrote: > > > > On Tue, Jun 25, 2019 at 11:47:06PM +0200, Thomas Gleixner wrote: > > > > On Tue, Jun 25, 2019 at 09:53:09PM +0200, Thomas Gleixner wrote: > > > > > > > but it also make

Re: [PATCH][next][V2] media: vivid: fix potential integer overflow on left shift

2019-06-27 Thread walter harms
Am 26.06.2019 16:47, schrieb Colin King: > From: Colin Ian King > > There is a potential integer overflow when int 2 is left shifted > as this is evaluated using 32 bit arithmetic but is being used in > a context that expects an expression of type s64. Fix this by > shifting 2ULL to avoid a 3

[PATCH 3/3] usb: dwc3: Remove generic PHY calibrate() calls

2019-06-27 Thread Marek Szyprowski
Calls to USB2 generic PHY calibrate() method were added by commit d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800"), but it turned out that the mentioned patch worked only by the pure luck and fixed only one use case. To fix the issues with PHY calibration it has been m

[PATCH 1/3] usb: host: xhci-plat: Add support for Exynos5/DWC3 specific variant

2019-06-27 Thread Marek Szyprowski
USB3.0 DRD PHY found in Exynos5 SoCs requires calibration to be done after every HCD reset. This was initially handled by DWC3 core by commit d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800"), but it turned out that the mentioned patch worked only by the pure luck and f

[PATCH 0/3] Fix USB3.0 DRD PHY calibration issues (DWC3/XHCI) on Exynos542x SoCs

2019-06-27 Thread Marek Szyprowski
Dear All, Commit d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800") added support for Exynos5 USB3.0 DRD PHY calibration, what enabled proper Super-Speed enumeration of USB3.0 devices connected to various Exynos5 SoCs. After some time it turned out that the mentioned pa

[PATCH 2/3] usb: dwc3: exynos: Use Exynos specific XHCI-plat driver variant

2019-06-27 Thread Marek Szyprowski
Exynos5 SoCs needs to calibrate USB3.0 DRD PHY after every XHCI HCD reset. This patch adds support for instantiating Exynos5-specific variant of XHCI-plat driver, which handles the required USB3.0 DRD PHY calibration. Signed-off-by: Marek Szyprowski --- drivers/usb/dwc3/Kconfig | 1 + dri

Re: [PATCH][next][V2] media: vivid: fix potential integer overflow on left shift

2019-06-27 Thread Hans Verkuil
On 6/26/19 4:47 PM, Colin King wrote: > From: Colin Ian King > > There is a potential integer overflow when int 2 is left shifted > as this is evaluated using 32 bit arithmetic but is being used in > a context that expects an expression of type s64. Fix this by > shifting 2ULL to avoid a 32 bit

Re: [PATCH 3/4] powerpc/powernv: remove unused NPU DMA code

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 10:21:55AM +1000, Alexey Kardashevskiy wrote: > > Which comment? Last time I asked you complaint "it is still used in > > exactly the same way as before" which you later clarified that you > > have a hidden out of tree user somewhere, and you only objected to > > It is not

Re: [PATCH bpf v4 2/2] xdp: fix hang while unregistering device bound to xdp socket

2019-06-27 Thread Ilya Maximets
On 26.06.2019 21:34, Jakub Kicinski wrote: > On Wed, 26 Jun 2019 21:15:15 +0300, Ilya Maximets wrote: >> diff --git a/net/xdp/xdp_umem.c b/net/xdp/xdp_umem.c >> index 267b82a4cbcf..56729e74cbea 100644 >> --- a/net/xdp/xdp_umem.c >> +++ b/net/xdp/xdp_umem.c >> @@ -140,34 +140,38 @@ int xdp_umem_assi

Re: [PATCH v2 1/2] dt-bindings: i3c: Document MediaTek I3C master bindings

2019-06-27 Thread Qii Wang
On Wed, 2019-06-26 at 18:23 +0200, Boris Brezillon wrote: > On Wed, 26 Jun 2019 13:36:27 +0800 > Qii Wang wrote: > > > Document MediaTek I3C master DT bindings. > > > > Signed-off-by: Qii Wang > > --- > > .../devicetree/bindings/i3c/mtk,i3c-master.txt | 47 > > > >

Re: [PATCH v4 3/7] s390: zcrypt: driver callback to indicate resource in use

2019-06-27 Thread Cornelia Huck
On Wed, 26 Jun 2019 17:13:50 -0400 Tony Krowiak wrote: > On 6/19/19 9:04 AM, Tony Krowiak wrote: > > On 6/18/19 12:25 PM, Cornelia Huck wrote: > >> On Thu, 13 Jun 2019 15:39:36 -0400 > >> Tony Krowiak wrote: > >> > >>> Introduces a new driver callback to prevent a root user from unbinding >

[PATCH v2] arm64: dts: sdm845: Add video nodes

2019-06-27 Thread Aniket Masule
From: Malathi Gottam This adds video nodes to sdm845 based on the examples in the bindings. Signed-off-by: Malathi Gottam Co-developed-by: Aniket Masule Signed-off-by: Aniket Masule --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 30 ++ 1 file changed, 30 insertions(+)

[PATCH v2] arm64: dts: sdm845: Add video nodes

2019-06-27 Thread Aniket Masule
This adds video nodes to sdm845 based on the examples in the bindings. Changes since v1: - Corrected the Signed-off-by ordering. - Corrected the node position based on the address. Aniket Masule (1): arm64: dts: sdm845: Add video nodes arch/arm64/boot/dts/qcom/sdm845.dtsi | 30 +

Re: [PATCH v5 4/7] perf diff: Use hists to manage basic blocks per symbol

2019-06-27 Thread Jiri Olsa
On Thu, Jun 27, 2019 at 10:09:26PM +0800, Jin Yao wrote: SNIP > + > +static int process_block_per_sym(struct hist_entry *he) > +{ > + struct annotation *notes; > + struct cyc_hist *ch; > + struct block_hist *bh; > + > + if (!he->ms.map || !he->ms.sym) > + return 0; > +

Re: [PATCH] media:vivid: add sanity check to avoid divide error and set value to 1 if 0.

2019-06-27 Thread Hans Verkuil
On 6/26/19 8:01 AM, Vandana BN wrote: > Syzbot reported divide error in vivid_thread_vid_cap, which has been > seen only once and doesnot have a reproducer. > This patch sanity checks for the denominator value with WARN_ON if it is 0 > and replaces it with 1. > > Reported-by: syz...@syzkaller.app

Re: [PATCH] arm64: Move jump_label_init() before parse_early_param()

2019-06-27 Thread Ard Biesheuvel
On Wed, 26 Jun 2019 at 22:51, Kees Cook wrote: > > While jump_label_init() was moved earlier in the boot process in commit > efd9e03facd0 ("arm64: Use static keys for CPU features"), it wasn't > early enough for early params to use it. The old state of things was as > described here... > > init/ma

[PATCH -next] xfs: remove duplicated include

2019-06-27 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- fs/xfs/xfs_extfree_item.c | 1 - fs/xfs/xfs_filestream.c | 1 - fs/xfs/xfs_pnfs.c | 1 - 3 files changed, 3 deletions(-) diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c index 99fd40eb..e515506 100644 --- a/fs/

Re: [PATCH v5 4/7] perf diff: Use hists to manage basic blocks per symbol

2019-06-27 Thread Jin, Yao
On 6/27/2019 3:27 PM, Jiri Olsa wrote: On Thu, Jun 27, 2019 at 10:09:26PM +0800, Jin Yao wrote: SNIP + +static int process_block_per_sym(struct hist_entry *he) +{ + struct annotation *notes; + struct cyc_hist *ch; + struct block_hist *bh; + + if (!he->ms.map || !he->

Re: [PATCH] perf/x86/intel: Mark expected switch fall-throughs

2019-06-27 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 03:23:24PM -0700, Nick Desaulniers wrote: > On Wed, Jun 26, 2019 at 2:55 AM Peter Zijlstra wrote: > > > > On Wed, Jun 26, 2019 at 11:24:32AM +0200, Peter Zijlstra wrote: > > > That's pretty atrocious code-gen :/ > > > > And I know nobody reads comments (I don't either), but

[tip:smp/urgent] cpu/hotplug: Fix out-of-bounds read when setting fail state

2019-06-27 Thread tip-bot for Eiichi Tsukata
Commit-ID: 33d4a5a7a5b4d02915d765064b2319e90a11cbde Gitweb: https://git.kernel.org/tip/33d4a5a7a5b4d02915d765064b2319e90a11cbde Author: Eiichi Tsukata AuthorDate: Thu, 27 Jun 2019 11:47:32 +0900 Committer: Thomas Gleixner CommitDate: Thu, 27 Jun 2019 09:34:04 +0200 cpu/hotplug: Fix out

Re: [PATCH v2] jffs2: remove C++ style comments from uapi header

2019-06-27 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Masahiro Yamada" > An: "richard" > CC: "Vignesh Raghavendra" , "Boris Brezillon" > , "linux-kernel" > , "Marek Vasut" , > "linux-mtd" , > "Miquel Raynal" , "Brian Norris" > , "David Woodhouse" > > Gesendet: Donnerstag, 27. Juni 2019 09:06:31 > Betreff: R

Re: [PATCH] mtd: abi: do not use C++ style comments in uapi header

2019-06-27 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Masahiro Yamada" > An: "David Woodhouse" , "Brian Norris" > , "Marek Vasut" > , "Miquel Raynal" , > "richard" , "Vignesh Raghavendra" > , "linux-mtd" > CC: "Masahiro Yamada" , "linux-kernel" > > Gesendet: Donnerstag, 27. Juni 2019 09:07:45 > Betreff: [PA

Re: [PATCH 2/2] dt-bindings: arm: fsl: Add DSP IPC binding support

2019-06-27 Thread Daniel Baluta
> > > > + mboxes: > > > > +description: > > > > + List of phandle of 2 MU channels for TXDB, 2 MU channels for RXDB > > > > + (see mailbox/fsl,mu.txt) > > > > +maxItems: 1 > > > > > > Should be 4? > > > > Actually is just a list with 1 item. I think is the terminology: > > > >

Re: [PATCH v5 4/7] perf diff: Use hists to manage basic blocks per symbol

2019-06-27 Thread Jiri Olsa
On Thu, Jun 27, 2019 at 03:34:38PM +0800, Jin, Yao wrote: > > > On 6/27/2019 3:27 PM, Jiri Olsa wrote: > > On Thu, Jun 27, 2019 at 10:09:26PM +0800, Jin Yao wrote: > > > > SNIP > > > > > + > > > +static int process_block_per_sym(struct hist_entry *he) > > > +{ > > > + struct annotation *notes;

[tip:x86/boot] x86/boot: Make gdt 8-byte aligned

2019-06-27 Thread tip-bot for Xiaoyao Li
Commit-ID: 1c30fe6cbba6997ae4740bb46910036f8a4a9edb Gitweb: https://git.kernel.org/tip/1c30fe6cbba6997ae4740bb46910036f8a4a9edb Author: Xiaoyao Li AuthorDate: Thu, 27 Jun 2019 12:55:25 +0800 Committer: Thomas Gleixner CommitDate: Thu, 27 Jun 2019 09:40:41 +0200 x86/boot: Make gdt 8-byt

[PATCH] dt-bindings: spi: stm32-qspi: add dma properties

2019-06-27 Thread Ludovic Barre
From: Ludovic Barre This patch adds description of dma properties (optional). Signed-off-by: Ludovic Barre --- Documentation/devicetree/bindings/spi/spi-stm32-qspi.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-stm32-qspi.t

[PATCH] spi: stm32-qspi: remove signal sensitive on completion

2019-06-27 Thread Ludovic Barre
From: Ludovic Barre On umount step a sigkill signal is set (without user specific action), due to sigkill signal the completion will be interrupted and the data transfer can't be finished if a sync is needed. Signed-off-by: Ludovic Barre --- drivers/spi/spi-stm32-qspi.c | 10 +++--- 1 file

Re: [PATCH v2] flow_dissector: Fix vlan header offset in __skb_flow_dissect

2019-06-27 Thread Jiri Pirko
Thu, Jun 27, 2019 at 04:28:29AM CEST, da...@davemloft.net wrote: >From: YueHaibing >Date: Mon, 24 Jun 2019 11:49:13 +0800 > >> @@ -998,6 +998,9 @@ bool __skb_flow_dissect(const struct net *net, >> skb && skb_vlan_tag_present(skb)) { >> proto = skb->protocol; >

Re: [Linux-kernel-mentees] [PATCH v4 RESEND] Media: Radio: Change devm_k*alloc to k*alloc

2019-06-27 Thread Hans Verkuil
Hi Luke, On 6/22/19 3:04 AM, Luke Nowakowski-Krijger wrote: > Change devm_k*alloc to k*alloc to manually allocate memory > > The manual allocation and freeing of memory is necessary because when > the USB radio is disconnected, the memory associated with devm_k*alloc > is freed. Meaning if we st

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Sebastian Andrzej Siewior
On 2019-06-26 09:25:58 [-0700], Paul E. McKenney wrote: > On Wed, Jun 26, 2019 at 03:54:47PM +0200, Sebastian Andrzej Siewior wrote: > > one of my boxes boots with "threadirqs" and since commit 05f415715ce45 > > ("rcu: Speed up expedited GPs when interrupting RCU reader") I run > > reliably into th

[PATCH -next] drm/amdgpu: remove set but not used variable 'psp_enabled'

2019-06-27 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/nv.c: In function 'nv_common_early_init': drivers/gpu/drm/amd/amdgpu/nv.c:471:7: warning: variable 'psp_enabled' set but not used [-Wunused-but-set-variable] It's not used since inroduction in commit c6b6a42175f5 ("drm/amd

Re: [PATCH] mm/mempolicy: Fix an incorrect rebind node in mpol_rebind_nodemask

2019-06-27 Thread Vlastimil Babka
On 6/27/19 5:57 AM, Andrew Morton wrote: > On Mon, 27 May 2019 21:58:17 +0800 zhong jiang wrote: > >> On 2019/5/27 20:23, Vlastimil Babka wrote: >>> On 5/25/19 8:28 PM, Andrew Morton wrote: (Cc Vlastimil) >>> Oh dear, 2 years and I forgot all the details about how this works. >>> On Sat

Re: [PATCH v2 1/3] clk: sprd: Switch from of_iomap() to devm_ioremap_resource()

2019-06-27 Thread Chunyan Zhang
On Thu, 27 Jun 2019 at 02:16, Stephen Boyd wrote: > > Quoting Chunyan Zhang (2019-05-21 18:15:01) > > devm_ioremap_resources() automatically requests resources and devm_ wrappers > > do better error handling and unmapping of the I/O region when needed, > > that would make drivers more clean and si

RE: [PATCH net-next 10/10] net: stmmac: Try to get C45 PHY if everything else fails

2019-06-27 Thread Jose Abreu
From: Andrew Lunn > On Wed, Jun 26, 2019 at 03:47:44PM +0200, Jose Abreu wrote: > > On PCI based setups that are connected to C45 PHY we won't have DT > > bindings specifying what's the correct PHY type. > > You can associate a DT node to a PCI device. The driver does not have > to do anything s

RE: [PATCH net-next 07/10] net: stmmac: Enable support for > 32 Bits addressing in XGMAC

2019-06-27 Thread Jose Abreu
From: Andrew Lunn > > + > > + if (priv->dma_cap.addr64) { > > + ret = dma_set_mask_and_coherent(device, > > + DMA_BIT_MASK(priv->dma_cap.addr64)); > > + if (!ret) > > + dev_info(priv->device, "Using %d bits DMA width\n", > > +

Re: [PATCH v9 11/17] kvm/vmx: Emulate MSR TEST_CTL

2019-06-27 Thread Xiaoyao Li
On 6/27/2019 3:12 PM, Thomas Gleixner wrote: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.n

Re: [PATCH] arm64: Move jump_label_init() before parse_early_param()

2019-06-27 Thread Catalin Marinas
Hi Kees, On Wed, Jun 26, 2019 at 01:51:15PM -0700, Kees Cook wrote: > This moves arm64 jump_label_init() from smp_prepare_boot_cpu() to > setup_arch(), as done already on x86, in preparation from early param > usage in the init_on_alloc/free() series: > https://lkml.kernel.org/r/1561572949.5154.81

[PATCH][next][V3] media: vivid: fix potential integer overflow on left shift

2019-06-27 Thread Colin King
From: Colin Ian King There is a potential integer overflow when int 2 is left shifted as this is evaluated using 32 bit arithmetic but is being used in a context that expects an expression of type s64. Fix this by generating a mask using GENMASK to avoid a 32 bit overflow. Addresses-Coverity: (

Re: [PATCH RESEND V2 1/3] clocksource/drivers/sysctr: Add optional clock-frequency property

2019-06-27 Thread Daniel Lezcano
On 27/06/2019 02:43, Anson Huang wrote: > Hi, Daniel > >> On 26/06/2019 03:42, Anson Huang wrote: >>> Hi, Daniel >>> On 23/06/2019 14:38, anson.hu...@nxp.com wrote: > From: Anson Huang > > Systems which use platform driver model for clock driver require the > clock frequency

Re: [PATCH v2 1/3] mm: Trigger bug on if a section is not found in __section_nr

2019-06-27 Thread Michal Hocko
On Thu 27-06-19 10:50:57, Alastair D'Silva wrote: > On Wed, 2019-06-26 at 08:57 +0200, Michal Hocko wrote: > > On Wed 26-06-19 16:27:30, Alastair D'Silva wrote: > > > On Wed, 2019-06-26 at 08:21 +0200, Michal Hocko wrote: > > > > On Wed 26-06-19 16:11:21, Alastair D'Silva wrote: > > > > > From: Ala

[PATCH] dt-bindings: nvmem: Add YAML schemas for the generic NVMEM bindings

2019-06-27 Thread Srinivas Kandagatla
From: Maxime Ripard The nvmem providers and consumers have a bunch of generic properties that are needed in a device tree. Add a YAML schemas for those. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard Signed-off-by: Srinivas Kandagatla --- Hi Greg, Sorry for the delay in sending this

RE: [PATCH RESEND V2 1/3] clocksource/drivers/sysctr: Add optional clock-frequency property

2019-06-27 Thread Anson Huang
Hi, Daniel > On 27/06/2019 02:43, Anson Huang wrote: > > Hi, Daniel > > > >> On 26/06/2019 03:42, Anson Huang wrote: > >>> Hi, Daniel > >>> > On 23/06/2019 14:38, anson.hu...@nxp.com wrote: > > From: Anson Huang > > > > Systems which use platform driver model for clock driver req

[PATCH v2 0/2] Add support for DSP IPC protocol driver

2019-06-27 Thread Daniel Baluta
Hifi4 DSP can be found on some i.MX8 platforms (e.g i.MX8QXP, i.MX8QM). This patch series introduces the layer that allows Host CPU to communicate with DSP. This layer provides a doorbell and clients can used that to notify DSP that a message is placed somewhere in the shared memory. The protocol

[PATCH v2 1/2] firmware: imx: Add DSP IPC protocol interface

2019-06-27 Thread Daniel Baluta
Some of i.MX8 processors (e.g i.MX8QM, i.MX8QXP) contain the Tensilica HiFi4 DSP for advanced pre- and post-audio processing. The communication between Host CPU and DSP firmware is taking place using a shared memory area for message passing and a dedicated Messaging Unit for notifications. DSP IP

[PATCH v2 2/2] dt-bindings: dsp: fsl: Add DSP IPC binding support

2019-06-27 Thread Daniel Baluta
DSP IPC is the layer that allows the Host CPU to communicate with DSP firmware. DSP is part of some i.MX8 boards (e.g i.MX8QM, i.MX8QXP) Signed-off-by: Daniel Baluta --- .../devicetree/bindings/dsp/fsl,dsp_ipc.yaml | 44 +++ 1 file changed, 44 insertions(+) create mode 100644 D

[PATCH] ftrace: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()

2019-06-27 Thread Petr Mladek
The commit 9f255b632bf12c4dd7 ("module: Fix livepatch/ftrace module text permissions race") causes a possible deadlock between register_kprobe() and ftrace_run_update_code() when ftrace is using stop_machine(). The existing dependency chain (in reverse order) is: -> #1 (text_mutex){+.+.}:

memory leak in ip_mc_add_src (2)

2019-06-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:249155c2 Merge branch 'parisc-5.2-4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=122594ada0 kernel config: https://syzkaller.appspot.com/x/.config?x=1db8bd6825f9661c da

Re: [PATCH 0/2] scsi: add support for request batching

2019-06-27 Thread Paolo Bonzini
On 27/06/19 05:37, Martin K. Petersen wrote: >> Ping? Are there any more objections? > It's a core change so we'll need some more reviews. I suggest you > resubmit. Resubmit exactly the same patches? Paolo

Re: [PATCH v10 0/6] support a new type of PMIC,including two chips(rk817 and rk809)

2019-06-27 Thread Heiko Stuebner
Hi Lee, Am Mittwoch, 26. Juni 2019, 13:52:51 CEST schrieb Lee Jones: > On Fri, 21 Jun 2019, Tony Xie wrote: > > > Most of functions and registers of the rk817 and rk808 are the same, > > so they can share allmost all codes. > > > > Their specifications are as follows: > > 1) The RK809 and RK80

Re: [PATCH v7 2/6] i2c: acpi: Use available IRQ helper functions

2019-06-27 Thread Charles Keepax
On Wed, Jun 26, 2019 at 10:09:06PM +0300, Andy Shevchenko wrote: > On Wed, Jun 26, 2019 at 04:02:58PM +0100, Charles Keepax wrote: > > Use the available IRQ helper functions, most of the functions have > > additional helpful side affects like configuring the trigger type of the > > IRQ. > > > -

Re: [PATCH] media:vivid: add sanity check to avoid divide error and set value to 1 if 0.

2019-06-27 Thread Vandana BN
On 27/06/19 12:58 PM, Hans Verkuil wrote: > On 6/26/19 8:01 AM, Vandana BN wrote: >> Syzbot reported divide error in vivid_thread_vid_cap, which has been >> seen only once and doesnot have a reproducer. >> This patch sanity checks for the denominator value with WARN_ON if it is 0 >> and replaces

Re: [PATCH] mdev: Send uevents around parent device registration

2019-06-27 Thread Cornelia Huck
On Wed, 26 Jun 2019 08:27:58 -0600 Alex Williamson wrote: > This allows udev to trigger rules when a parent device is registered > or unregistered from mdev. > > Signed-off-by: Alex Williamson > --- > drivers/vfio/mdev/mdev_core.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletio

linux-next: build warning after merge of the gpio tree

2019-06-27 Thread Stephen Rothwell
Hi all, After merging the gpio tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/gpio/gpio-amd-fch.c: In function 'amd_fch_gpio_probe': drivers/gpio/gpio-amd-fch.c:171:49: warning: passing argument 2 of 'devm_ioremap_resource' discards 'const' qualifier from poi

Re: [PATCH] mdev: Send uevents around parent device registration

2019-06-27 Thread Cornelia Huck
On Thu, 27 Jun 2019 00:33:59 +0530 Kirti Wankhede wrote: > On 6/26/2019 11:35 PM, Alex Williamson wrote: > > On Wed, 26 Jun 2019 23:23:00 +0530 > > Kirti Wankhede wrote: > > > >> On 6/26/2019 7:57 PM, Alex Williamson wrote: > >>> This allows udev to trigger rules when a parent device is reg

[PATCH v2] media:vivid:add sanity check to avoid divide error and set value to 1 if 0.

2019-06-27 Thread Vandana BN
Syzbot reported divide error in vivid_thread_vid_cap, which has been seen only once and doesnot have a reproducer. This patch sanity checks for the denominator value with WARN_ON if it is 0 and replaces it with 1. Reported-by: syz...@syzkaller.appspotmail.com divide error: [#1] PREEMPT SMP K

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-27 Thread Petr Mladek
On Wed 2019-06-26 23:43:56, John Ogness wrote: > Here is where I have massive problems communicating. I don't understand > why you say the barrier is _between_ newest and next. I would say the > barrier is _on_ newest to _synchronize_ with next (or something). I am > struggling with terminology. (T

Béren felüli juttatások

2019-06-27 Thread Kapolcs Mátyás
Üdvözlöm, 2019 januárjától minden nem bér jellegű juttatás a fizetéssel megegyezően lesz megadóztatva. A változások ellenére a vállalatok több mint 55%-a meg kívánja tartani a dolgozói juttatások támogatási mértékét. A korlátlanul felhasználható juttatás kártya számos előnnyel jár a munkaválla

[PATCH v2 2/2] drivers/staging/rtl8192u: style nonstyled comments

2019-06-27 Thread Christian Müller
The coding-styles.rst states, that multiline comments should allways contain a leading "*" in each line. For multiline comments in general they /* * should look * like this. */ For multiline comments in either net/ or drivers/net/ however, they should /* omit * the first * empty line. */

[PATCH v2 1/2] drivers/staging/rtl8192u: drop first comment line

2019-06-27 Thread Christian Müller
As stated in coding-styles.rst multiline comments should be structured in a way, that the actual comment starts on the second line of the commented portion. E.g: /* * Multiline comments * should look like * this. */ However, there is an exception to files in drivers/net/ and net/, where multi

[PATCH] riscv: ccache: Remove unused variable

2019-06-27 Thread Yash Shah
Reading the count register clears the interrupt signal. Currently, the count registers are read into 'regval' variable but the variable is never used. Therefore remove it. Signed-off-by: Yash Shah --- arch/riscv/mm/sifive_l2_cache.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH 4.4 0/1] 4.4.184-stable review

2019-06-27 Thread Jon Hunter
On 26/06/2019 09:45, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.184 release. > There are 1 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. > > Responses sho

Re: [PATCH 4.9 0/1] 4.9.184-stable review

2019-06-27 Thread Jon Hunter
On 26/06/2019 09:45, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.184 release. > There are 1 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. > > Responses sho

Re: [PATCH 4.14 0/1] 4.14.131-stable review

2019-06-27 Thread Jon Hunter
On 26/06/2019 09:45, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.131 release. > There are 1 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. > > Responses sh

RE: [RFC PATCH v3 1/4] vfio: Define device specific irq type capability

2019-06-27 Thread Zhang, Tina
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, June 27, 2019 12:08 PM > To: Zhang, Tina > Cc: intel-gvt-...@lists.freedesktop.org; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; kra...@redhat.com; zhen...@linux.intel.com; Lv, >

RE: [RFC PATCH v3 0/4] Deliver vGPU display vblank event to userspace

2019-06-27 Thread Zhang, Tina
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Thursday, June 27, 2019 2:23 PM > To: Zhang, Tina > Cc: intel-gvt-...@lists.freedesktop.org; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; zhen...@linux.intel.com; Lv, Zhiyuan > ; Wang, Zhi A ; Tian,

Re: [PATCH v2 0/7] misc fixes to PV extentions code

2019-06-27 Thread Zhenzhong Duan
On 2019/6/26 21:39, Thomas Gleixner wrote: Documentation/process/submitting-patches.rst clearly explains why it is a bad idea to send random collections of patches especially if some patches are independent and contain bug fixes. These rules exist for a reason and are not subject to personal i

[PATCH net-next v2] net: ethtool: Allow parsing ETHER_FLOW types when using flow_rule

2019-06-27 Thread Maxime Chevallier
When parsing an ethtool_rx_flow_spec, users can specify an ethernet flow which could contain matches based on the ethernet header, such as the MAC address, the VLAN tag or the ethertype. ETHER_FLOW uses the src and dst ethernet addresses, along with the ethertype as keys. Matches based on the vlan

Re: No 8254 PIT & no HPET on new Intel N3350 platforms causes kernel panic during early boot

2019-06-27 Thread Daniel Drake
Hi Thomas, Picking up this issue again after a break! We made some progress last time on reducing PIT usage in the TSC calibration code, but we still have the bigger issue to resolve: IO-APIC code panicing when the PIT isn't ticking. On Wed, Apr 3, 2019 at 7:21 PM Thomas Gleixner wrote: > For n

[PATCH RESEND] Revert "x86/paravirt: Set up the virt_spin_lock_key after static keys get initialized"

2019-06-27 Thread Zhenzhong Duan
This reverts commit ca5d376e17072c1b60c3fee66f3be58ef018952d. Commit 8990cac6e5ea ("x86/jump_label: Initialize static branching early") adds jump_label_init() call in setup_arch() to make static keys initialized early, so we could use the original simpler code again. Signed-off-by: Zhenzhong Duan

[PATCH RESEND] locking/spinlocks, paravirt, hyperv: Correct the hv_nopvspin case

2019-06-27 Thread Zhenzhong Duan
With the boot parameter "hv_nopvspin" specified a Hyperv guest should not make use of paravirt spinlocks, but behave as if running on bare metal. This is not true, however, as the qspinlock code will fall back to a test-and-set scheme when it is detecting a hypervisor. In order to avoid this disab

RE: [RFC PATCH v3 1/4] vfio: Define device specific irq type capability

2019-06-27 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Gerd Hoffmann > Sent: Thursday, June 27, 2019 2:20 PM > To: Zhang, Tina > Cc: Tian, Kevin ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; zhen...@linux.intel.com; Yuan,

Re: [PATCH] riscv: ccache: Remove unused variable

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 02:04:46PM +0530, Yash Shah wrote: > Reading the count register clears the interrupt signal. Currently, the > count registers are read into 'regval' variable but the variable is > never used. Therefore remove it. > > Signed-off-by: Yash Shah > --- > arch/riscv/mm/sifive_l

Re: [PATCH] MAINTAINERS: change the arch/riscv git tree to the new shared tree

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 13, 2019 at 12:25:18AM -0700, Christoph Hellwig wrote: > On Thu, Jun 13, 2019 at 12:07:21AM -0700, Paul Walmsley wrote: > > Palmer, with Konstantin's gracious help, set up a shared kernel.org > > git tree for arch/riscv patches going forward. Change the MAINTAINERS > > file accordingly

Re: [PATCH] riscv: Remove gate area stubs

2019-06-27 Thread Christoph Hellwig
On Wed, Jun 26, 2019 at 09:46:18PM -0700, Andy Lutomirski wrote: > Since commit a6c19dfe3994 ("arm64,ia64,ppc,s390,sh,tile,um,x86,mm: > remove default gate area"), which predates riscv's inclusion in > Linux by almost three years, the default behavior wrt the gate area > is sane. Remove riscv's ga

Re: [PATCH v12 04/13] mfd: Add Ingenic TCU driver

2019-06-27 Thread Lee Jones
On Thu, 27 Jun 2019, Paul Cercueil wrote: > Le jeu. 27 juin 2019 à 8:58, Lee Jones a écrit : > > On Wed, 26 Jun 2019, Paul Cercueil wrote: > > > Le mer. 26 juin 2019 à 15:18, Lee Jones a > > > écrit : > > > > On Tue, 21 May 2019, Paul Cercueil wrote: > > > > > > > > > This driver will provid

Re: [PATCH net-next] xdp: xdp_umem: fix umem pages mapping for 32bits systems

2019-06-27 Thread kbuild test robot
Hi Ivan, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Ivan-Khoronzhuk/xdp-xdp_umem-fix-umem-pages-mapping-for-32bits-systems/20190627-135949 config: x86_64-randconfig-x004-201925 (attached as

[tip:x86/boot] x86/boot: Make the GDT 8-byte aligned

2019-06-27 Thread tip-bot for Xiaoyao Li
Commit-ID: 2238246ff8d533a5f2327d1f953375876d8a013c Gitweb: https://git.kernel.org/tip/2238246ff8d533a5f2327d1f953375876d8a013c Author: Xiaoyao Li AuthorDate: Thu, 27 Jun 2019 12:55:25 +0800 Committer: Ingo Molnar CommitDate: Thu, 27 Jun 2019 10:56:11 +0200 x86/boot: Make the GDT 8-byt

Re: [RFC PATCH 00/28] Removing struct page from P2PDMA

2019-06-27 Thread Christoph Hellwig
On Wed, Jun 26, 2019 at 12:31:08PM -0600, Logan Gunthorpe wrote: > > we have a hole behind len where we could store flag. Preferably > > optionally based on a P2P or other magic memory types config > > option so that 32-bit systems with 32-bit phys_addr_t actually > > benefit from the smaller and

Re: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox

2019-06-27 Thread Sudeep Holla
On Wed, Jun 26, 2019 at 01:27:41PM -0500, Jassi Brar wrote: > On Wed, Jun 26, 2019 at 11:44 AM Florian Fainelli > wrote: > > > > On 6/26/19 6:31 AM, Peng Fan wrote: > > >>> The firmware driver might not have func-id, such as SCMI/SCPI. > > >>> So add an optional func-id to let smc mailbox driver

Re: [RFC PATCH 00/28] Removing struct page from P2PDMA

2019-06-27 Thread Christoph Hellwig
On Wed, Jun 26, 2019 at 02:45:38PM -0600, Logan Gunthorpe wrote: > > The bar info would give the exporting struct device and any other info > > we need to make the iommu mapping. > > Well, the IOMMU mapping is the normal thing the mapping driver will > always do. We'd really just need the submitti

RE: [RFC PATCH v3 2/4] vfio: Introduce vGPU display irq type

2019-06-27 Thread Zhang, Tina
> -Original Message- > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > Behalf Of Gerd Hoffmann > Sent: Thursday, June 27, 2019 2:21 PM > To: Zhang, Tina > Cc: Tian, Kevin ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; zhen...@linux.intel.com; Yuan,

RE: [PATCH 00/10] x86/CPU and x86/resctrl: Support pseudo-lock regions spanning L2 and L3 cache

2019-06-27 Thread David Laight
From: Reinette Chatre > Sent: 26 June 2019 18:49 > > Cache pseudo-locking involves preloading a region of physical memory into a > reserved portion of cache that no task or CPU can subsequently fill into and > from that point on will only serve cache hits. At this time it is only > possible to cre

Re: [PATCH] RISC-V: defconfig: enable MMC & SPI for RISC-V

2019-06-27 Thread Andreas Schwab
On Jun 25 2019, Troy Benjegerdes wrote: > and I see this in the log > > [1.106626] m25p80 spi0.0: unrecognized JEDEC id bytes: 9d 70 19 9d 70 19 You need the patchset "mtd: spi-nor: add support for is25wp256 spi-nor flash". Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fin

[PATCH v8 4/6] i2c: core: Move ACPI IRQ handling to probe time

2019-06-27 Thread Charles Keepax
Bring the ACPI path in sync with the device tree path and handle all the IRQ fetching at probe time. This leaves the only IRQ handling at device registration time being that which is passed directly through the board info as either a resource or an actual IRQ number. Reviewed-by: Andy Shevchenko

[PATCH v8 2/6] i2c: acpi: Use available IRQ helper functions

2019-06-27 Thread Charles Keepax
Use the available IRQ helper functions, most of the functions have additional helpful side affects like configuring the trigger type of the IRQ. Reviewed-by: Andy Shevchenko Signed-off-by: Charles Keepax --- Changes since v7: - Leave call to acpi_dev_free_resource_list Thanks, Charles drive

[PATCH v8 0/6] I2C IRQ Probe Improvements

2019-06-27 Thread Charles Keepax
This series attempts to align as much IRQ handling into the probe path as possible. Note that I don't have a great setup for testing these patches so they are mostly just build tested and need careful review and testing before any of them are merged. The series brings the ACPI path inline with the

[PATCH v8 3/6] i2c: acpi: Factor out getting the IRQ from ACPI

2019-06-27 Thread Charles Keepax
In preparation for future refactoring factor out the fetch of the IRQ into its own helper function. Whilst we are at it update the handling to return the actual error code returned from acpi_dev_get_resources as well. Reviewed-by: Andy Shevchenko Signed-off-by: Charles Keepax --- Changes since

[PATCH v8 6/6] i2c: core: Tidy up handling of init_irq

2019-06-27 Thread Charles Keepax
Only set init_irq during i2c_device_new and only handle client->irq on the probe/remove paths. Suggested-by: Benjamin Tissoires Reviewed-by: Mika Westerberg Reviewed-by: Andy Shevchenko Signed-off-by: Charles Keepax --- drivers/i2c/i2c-core-base.c | 5 +++-- 1 file changed, 3 insertions(+), 2

  1   2   3   4   5   6   7   8   9   10   >