RE: Re: [PATCH v4 13/16] PM / devfreq: tegra: Support Tegra30

2019-06-24 Thread MyungJoo Ham
> >- Original Message - >Sender : Dmitry Osipenko > >24.06.2019 10:34, MyungJoo Ham пишет: >>> >>> A question: >>> >>> Does this driver support Tegra20 as well? >>> I'm asking this because ARCH_TEGRA includes ARCH_TEGRA_2x_SOC >>> according to /drivers/soc/tegra/Kconfig. >>> >>

Re: [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS

2019-06-24 Thread Will Deacon
On Tue, May 28, 2019 at 11:04:20AM +0100, Will Deacon wrote: > On Thu, May 23, 2019 at 11:22:52AM +0100, Ard Biesheuvel wrote: > > Wire up the code introduced in v5.2 to manage the permissions > > of executable vmalloc regions (and their linear aliases) more > > strictly. > > > > One of the things

Re: [PATCH 0/4] arm64: wire up VM_FLUSH_RESET_PERMS

2019-06-24 Thread Ard Biesheuvel
On 6/24/19 1:16 PM, Will Deacon wrote: On Tue, May 28, 2019 at 11:04:20AM +0100, Will Deacon wrote: On Thu, May 23, 2019 at 11:22:52AM +0100, Ard Biesheuvel wrote: Wire up the code introduced in v5.2 to manage the permissions of executable vmalloc regions (and their linear aliases) more strictl

[PATCH] riscv: dts: Re-organize SPI DT nodes

2019-06-24 Thread Yash Shah
As per the General convention, define only device DT node in SOC DTSi file with status = "disabled" and enable device in Board DTS file with status = "okay" Reported-by: Anup Patel Signed-off-by: Yash Shah --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 3 +++ arch/riscv/boot/dts/sifi

Re: [PATCH v4 13/16] PM / devfreq: tegra: Support Tegra30

2019-06-24 Thread Dmitry Osipenko
24.06.2019 14:11, MyungJoo Ham пишет: >> >> - Original Message - >> Sender : Dmitry Osipenko >> >> 24.06.2019 10:34, MyungJoo Ham пишет: A question: Does this driver support Tegra20 as well? I'm asking this because ARCH_TEGRA includes ARCH_TEGRA_2x_SOC

Re: [PATCH 5/8] sched,cfs: use explicit cfs_rq of parent se helper

2019-06-24 Thread Dietmar Eggemann
On 6/20/19 6:29 PM, Rik van Riel wrote: > On Thu, 2019-06-20 at 18:23 +0200, Dietmar Eggemann wrote: >> On 6/12/19 9:32 PM, Rik van Riel wrote: [...] >>> @@ -7779,7 +7788,7 @@ static void update_cfs_rq_h_load(struct >>> cfs_rq *cfs_rq) >>> >>> WRITE_ONCE(cfs_rq->h_load_next, NULL); >>>

[PATCH net-next v2] hinic: implement the statistical interface of ethtool

2019-06-24 Thread Xue Chaojing
This patch implement the statistical interface of ethtool, user can use ethtool -S to show hinic statistics. Signed-off-by: Xue Chaojing --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 341 ++ .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 8 + .../net/ethernet/huawei/hini

Re: [PATCH] arm64: asid: Optimize cache_flush for SMT

2019-06-24 Thread Mark Rutland
I'm very confused by this patch. The title says arm64, yet the code is under arch/csky/, and the code in question refers to HARTs, which IIUC is RISC-V terminology. On Mon, Jun 24, 2019 at 12:04:29AM +0800, guo...@kernel.org wrote: > From: Guo Ren > > The hardware threads of one core could share

RE: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Claudiu Manoil
Hi Andrew, >-Original Message- >From: Andrew Lunn >Sent: Friday, June 21, 2019 7:50 PM >To: Claudiu Manoil >Cc: David S . Miller ; devicet...@vger.kernel.org; >Alexandre Belloni ; net...@vger.kernel.org; >Alexandru Marginean ; linux- >ker...@vger.kernel.org; unglinuxdri...@microchip.com;

Re: [PATCH] mm/kasan: Add shadow memory validation in ksize()

2019-06-24 Thread Andrey Konovalov
On Mon, Jun 24, 2019 at 1:05 PM Marco Elver wrote: > > ksize() has been unconditionally unpoisoning the whole shadow memory region > associated with an allocation. This can lead to various undetected bugs, > for example, double-kzfree(). > > kzfree() uses ksize() to determine the actual allocation

Re: [PATCH] mm/kasan: Add shadow memory validation in ksize()

2019-06-24 Thread Dmitry Vyukov
On Mon, Jun 24, 2019 at 1:05 PM Marco Elver wrote: > > ksize() has been unconditionally unpoisoning the whole shadow memory region > associated with an allocation. This can lead to various undetected bugs, > for example, double-kzfree(). > > kzfree() uses ksize() to determine the actual allocation

Re: RISC-V nommu support v2

2019-06-24 Thread Vladimir Murzin
Hi, On 6/24/19 6:42 AM, Christoph Hellwig wrote: > Hi all, > > below is a series to support nommu mode on RISC-V. For now this series > just works under qemu with the qemu-virt platform, but Damien has also > been able to get kernel based on this tree with additional driver hacks > to work on th

Re: d_lookup: Unable to handle kernel paging request

2019-06-24 Thread Will Deacon
On Sat, Jun 22, 2019 at 08:02:19PM +0200, Vicente Bergas wrote: > Hi Al, > i think have a hint of what is going on. > With the last kernel built with your sentinels at hlist_bl_*lock > it is very easy to reproduce the issue. > In fact it is so unstable that i had to connect a serial port > in order

Re: KASAN: slab-out-of-bounds Read in p54u_load_firmware_cb

2019-06-24 Thread Andrey Konovalov
On Thu, Jun 20, 2019 at 9:56 PM Christian Lamparter wrote: > > On Thursday, June 20, 2019 9:46:32 PM CEST Alan Stern wrote: > > On Wed, 19 Jun 2019, syzbot wrote: > > > > > syzbot has found a reproducer for the following crash on: > > > > > > HEAD commit:9939f56e usb-fuzzer: main usb gadget fu

Re: RISC-V nommu support v2

2019-06-24 Thread Christoph Hellwig
On Mon, Jun 24, 2019 at 12:47:07PM +0100, Vladimir Murzin wrote: > Since you are using binfmt_flat which is kind of 32-bit only I was expecting > to see > CONFIG_COMPAT (or something similar to that, like ILP32) enabled, yet I could > not > find it. There is no such thing in RISC-V. I don't kno

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-06-24 Thread Alexandre Belloni
On 24/06/2019 11:45:37+, Claudiu Manoil wrote: > Hi Andrew, > > >-Original Message- > >From: Andrew Lunn > >Sent: Friday, June 21, 2019 7:50 PM > >To: Claudiu Manoil > >Cc: David S . Miller ; devicet...@vger.kernel.org; > >Alexandre Belloni ; net...@vger.kernel.org; > >Alexandru Marg

Re: [PATCH v1] phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay

2019-06-24 Thread Marc Gonzalez
On 20/06/2019 08:25, Kishon Vijay Abraham I wrote: > On 14/06/19 6:08 PM, Marc Gonzalez wrote: > >> The issue is usleep_range() being misused ^_^ >> >> Although usleep_range() takes unsigned longs as parameters, it is >> not appropriate over the entire 0-2^64 range. >> >> a) It should not be used

Re: [Intel-wired-lan] Opportunistic S0ix blocked by e1000e when ethernet is in use

2019-06-24 Thread Neftin, Sasha
On 6/24/2019 10:03, Kai-Heng Feng wrote: Hi Jeffrey, at 19:08, Kai-Heng Feng wrote: Hi Jeffrey, There are several platforms that uses e1000e can’t enter Opportunistic S0ix (PC10) when the ethernet has a link partner. This behavior also exits in out-of-tree e1000e driver 3.4.2.1, but seem

Re: [PATCH 1/2] CLONE_PIDFD: do not use the value pointed by parent_tidptr

2019-06-24 Thread Christian Brauner
On Mon, Jun 24, 2019 at 11:49:40AM +0200, Christian Brauner wrote: > On Sun, Jun 23, 2019 at 02:27:17PM +0300, Dmitry V. Levin wrote: > > Userspace needs a cheap and reliable way to tell whether CLONE_PIDFD > > is supported by the kernel or not. > > > > While older kernels without CLONE_PIDFD supp

Re: [V2] dmaengine: fsl-edma: support little endian for edma driver

2019-06-24 Thread Vinod Koul
On 13-06-19, 10:27, Peng Ma wrote: > Our platforms with below registers(CHCFG0 - CHCFG15) of eDMA > *---* > | Offset | Big endian Register| Little endian Register| > |--||---| > | 0

Re: [PATCH v4 11/11] thermal: sun8i: add thermal driver for h3

2019-06-24 Thread Ondřej Jirman
Hello Yangtao, On Sun, Jun 23, 2019 at 12:42:06PM -0400, Yangtao Li wrote: > This patch adds the support for allwinner h3 thermal sensor. > > Signed-off-by: Yangtao Li > --- > drivers/thermal/sun8i_thermal.c | 72 + > 1 file changed, 72 insertions(+) > > diff --

Re: [PATCH RFC] kvm: x86: Expose AVX512_BF16 feature to guest

2019-06-24 Thread Jing Liu
Hi Paolo, On 6/24/2019 4:33 PM, Paolo Bonzini wrote: On 24/06/19 05:10, Jing Liu wrote: What do you think about @index in current function? Does it mean, we need put cpuid from index to max subleaf to @entry[i]? If so, the logic seems as follows, if (index == 0) { // Put subleaf 0 into @

KASAN: global-out-of-bounds Read in qmi_wwan_probe

2019-06-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9939f56e usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=1615a669a0 kernel config: https://syzkaller.appspot.com/x/.

Re: [PATCH v4 01/11] thermal: sun8i: add thermal driver for h6

2019-06-24 Thread Ondřej Jirman
Hello Yangtao, On Sun, Jun 23, 2019 at 12:41:56PM -0400, Yangtao Li wrote: > This patch adds the support for allwinner thermal sensor, within > allwinner SoC. It will register sensors for thermal framework > and use device tree to bind cooling device. > > Signed-off-by: Yangtao Li > --- > MAINT

Re: [PATCH 5/6] arm64: dts: Add ipq6018 SoC and CP01 board support

2019-06-24 Thread Sricharan R
Hi Christian, On 6/20/2019 9:02 PM, Christian Lamparter wrote: > Hello Sricharan, > > On Wednesday, June 19, 2019 4:42:11 PM CEST Sricharan R wrote: >> On 6/15/2019 2:11 AM, Christian Lamparter wrote: >>> On Wednesday, June 12, 2019 11:48:48 AM CEST Sricharan R wrote: Hi Christian,

Re: WARNING: ODEBUG bug in netdev_freemem (2)

2019-06-24 Thread Eric Dumazet
On 6/24/19 3:54 AM, Dmitry Vyukov wrote: > On Mon, Jun 24, 2019 at 11:34 AM Thomas Gleixner wrote: >> >> On Mon, 24 Jun 2019, syzbot wrote: >> >>> Hello, >>> >>> syzbot found the following crash on: >>> >>> HEAD commit:fd6b99fa Merge branch 'akpm' (patches from Andrew) >>> git tree: u

Re: [PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-24 Thread liaoweixiong
OK, thanks for your reviewing. I will resend right now. On 2019/6/24 PM3:37, Schrempf Frieder wrote: > On 20.06.19 03:00, liaoweixiong wrote: >> In case of the last page containing bitflips (ret > 0), >> spinand_mtd_read() will return that number of bitflips for the last >> page. But to me it look

[PATCH v5 0/5] net: macb: cover letter

2019-06-24 Thread Parshuram Thombare
Hello ! This is 5th version of patch set containing following patches for Cadence ethernet controller driver. 1. 0001-net-macb-add-phylink-support.patch Replace phylib API's with phylink API's. 2. 0002-net-macb-add-support-for-sgmii-MAC-PHY-interface.patch This patch add support for SGMII m

[PATCH v5 1/5] net: macb: add phylink support

2019-06-24 Thread Parshuram Thombare
This patch replace phylib API's by phylink API's. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/Kconfig | 2 +- drivers/net/ethernet/cadence/macb.h | 3 + drivers/net/ethernet/cadence/macb_main.c | 301 --- 3 files changed, 163 insertions(+),

[PATCH v5 3/5] net: macb: add support for c45 PHY

2019-06-24 Thread Parshuram Thombare
This patch modify MDIO read/write functions to support communication with C45 PHY. Signed-off-by: Parshuram Thombare Reviewed-by: Andrew Lunn --- drivers/net/ethernet/cadence/macb.h | 15 -- drivers/net/ethernet/cadence/macb_main.c | 61 +++- 2 files changed, 61 ins

[PATCH v5 2/5] net: macb: add support for sgmii MAC-PHY interface

2019-06-24 Thread Parshuram Thombare
This patch add support for SGMII interface) and 2.5Gbps MAC in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 54 +- drivers/net/ethernet/cadence/macb_main.c | 72 ++-- 2 files changed, 109

[PATCH v5 4/5] net: macb: add support for high speed interface

2019-06-24 Thread Parshuram Thombare
This patch add support for high speed USXGMII PCS and 10G speed in Cadence ethernet controller driver. Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb.h | 41 + drivers/net/ethernet/cadence/macb_main.c | 189 --- 2 files changed, 207 insertio

linux-next: Tree for Jun 24

2019-06-24 Thread Stephen Rothwell
Hi all, Changes since 20190621: The arm-soc tree gained a conflict against Linus' tree. The hwmon-staging tree gained a conflict against Linus' tree. The v4l-dvb tree gained a conflict against Linus' tree. The fbdev tree gained a conflict against Linus' tree but still had its build failure so

[PATCH v5 5/5] net: macb: parameter added to cadence ethernet controller DT binding

2019-06-24 Thread Parshuram Thombare
New parameters added to Cadence ethernet controller DT binding for USXGMII interface. Signed-off-by: Parshuram Thombare --- Documentation/devicetree/bindings/net/macb.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/device

[RESEND PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-24 Thread liaoweixiong
In case of the last page containing bitflips (ret > 0), spinand_mtd_read() will return that number of bitflips for the last page. But to me it looks like it should instead return max_bitflips like it does when the last page read returns with 0. Signed-off-by: liaoweixiong Acked-by: Boris Brezillo

[PATCH][next] RDMA/hns: fix spelling mistake "attatch" -> "attach"

2019-06-24 Thread Colin King
From: Colin Ian King There is a spelling mistake in an dev_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns

Re: [PATCH] locking/lockdep: Move mark_lock() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING

2019-06-24 Thread Will Deacon
Hi Arnd, On Mon, Jun 17, 2019 at 02:47:05PM +0200, Arnd Bergmann wrote: > The last cleanup patch triggered another issue, as now another function > should be moved into the same section: > > kernel/locking/lockdep.c:3580:12: error: 'mark_lock' defined but not used > [-Werror=unused-function] >

Re: [RFC PATCH] perf: Paper over the hw.target problems

2019-06-24 Thread Peter Zijlstra
On Fri, Mar 08, 2019 at 03:54:29PM +, Mark Rutland wrote: > Hi Alex, > > On Thu, Feb 28, 2019 at 04:01:09PM +0200, Alexander Shishkin wrote: > > First, we have a race between perf_event_release_kernel() and > > perf_free_event(), which happens when parent's event is released while the > > chil

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-06-24 Thread Benoit Parrot
Andy Shevchenko wrote on Sat [2019-Jun-22 13:37:10 +0300]: > On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > > > As a wakeup source when the system is in suspend there is little point > > trying to access a register across the i2c bus as it is probably still > > inactive. We need to pre

Re: WARNING: ODEBUG bug in netdev_freemem (2)

2019-06-24 Thread Dmitry Vyukov
On Mon, Jun 24, 2019 at 2:08 PM Eric Dumazet wrote: > On 6/24/19 3:54 AM, Dmitry Vyukov wrote: > > On Mon, Jun 24, 2019 at 11:34 AM Thomas Gleixner wrote: > >> > >> On Mon, 24 Jun 2019, syzbot wrote: > >> > >>> Hello, > >>> > >>> syzbot found the following crash on: > >>> > >>> HEAD commit:fd

Re: [Patch 1/1] Input: edt-ft5x06 - disable irq handling during suspend

2019-06-24 Thread Benoit Parrot
Dmitry Torokhov wrote on Sat [2019-Jun-22 22:59:40 -0700]: > On Sat, Jun 22, 2019 at 01:37:10PM +0300, Andy Shevchenko wrote: > > On Fri, Jun 21, 2019 at 9:53 PM Benoit Parrot wrote: > > > > > > As a wakeup source when the system is in suspend there is little point > > > trying to access a regis

linux-next: Signed-off-by missing for commit in the imx-mxs tree

2019-06-24 Thread Stephen Rothwell
Hi all, Commit 9b5800c21b4d ("ARM: dts: imx6qdl-kontron-samx6i: add Kontron SMARC SoM Support") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpxw8vqA7YuP.pgp Description: OpenPGP digital signature

Re: [PATCH] x86/mm: Handle physical-virtual alignment mismatch in phys_p4d_init()

2019-06-24 Thread Kirill A. Shutemov
On Mon, Jun 24, 2019 at 06:07:42PM +0800, Baoquan He wrote: > On 06/21/19 at 01:54pm, Kirill A. Shutemov wrote: > > > The code block as below is to zero p4d entries which are not coverred by > > > the current memory range, and if haven't been mapped already. It's > > > clearred away in this patch,

Re: [PATCH] arm64: asid: Optimize cache_flush for SMT

2019-06-24 Thread Guo Ren
On Mon, Jun 24, 2019 at 7:40 PM Mark Rutland wrote: > > I'm very confused by this patch. The title says arm64, yet the code is > under arch/csky/, and the code in question refers to HARTs, which IIUC > is RISC-V terminology. This patch is used to answer Catalin's question: > While the algorithm ma

Re: Alternatives to /sys/kernel/debug/wakeup_sources

2019-06-24 Thread Joel Fernandes
On Mon, Jun 24, 2019 at 3:37 AM Greg Kroah-Hartman wrote: > > On Sun, Jun 23, 2019 at 06:48:43PM -0700, Tri Vo wrote: > > On Wed, Jun 19, 2019 at 1:35 AM Rafael J. Wysocki wrote: > > > > > > On Wed, Jun 19, 2019 at 1:52 AM Joel Fernandes wrote: > > > > > > > > On Tue, Jun 18, 2019 at 7:15 PM Tri

Re: [PATCH 3/5] media: vimc: stream: format comments as kernel-doc

2019-06-24 Thread André Almeida
On 6/24/19 6:40 AM, Mauro Carvalho Chehab wrote: > Em Sun, 23 Jun 2019 18:27:22 -0300 > André Almeida escreveu: > >> On 6/23/19 1:40 PM, André Almeida wrote: >>> - * Calls s_stream to enable stream in all entities of the pipeline. >>> + * Calls ``vimc_streamer_s_stream`` to enable stream in all

Re: [V4 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-06-24 Thread Vinod Koul
On 13-06-19, 10:13, Peng Ma wrote: > The MC(Management Complex) exports the DPDMAI(Data Path DMA Interface) > object as an interface to operate the DPAA2(Data Path Acceleration > Architecture 2) qDMA Engine. The DPDMAI enables sending frame-based > requests to qDMA and receiving back confirmation r

Re: [PATCH modules v2 0/2] Fix handling of exit unwinding sections (on ARM)

2019-06-24 Thread Jessica Yu
+++ Matthias Schiffer [21/06/19 14:35 +0200]: On Fri, 2019-06-07 at 12:49 +0200, Matthias Schiffer wrote: For some time (050d18d1c651 "ARM: 8650/1: module: handle negative R_ARM_PREL31 addends correctly", v4.11+), building a kernel without CONFIG_MODULE_UNLOAD would lead to module loads failing

[PATCHv2] x86/mm: Handle physical-virtual alignment mismatch in phys_p4d_init()

2019-06-24 Thread Kirill A. Shutemov
Kyle has reported that kernel crashes sometimes when it boots in 5-level paging mode with KASLR enabled: WARNING: CPU: 0 PID: 0 at arch/x86/mm/init_64.c:87 phys_p4d_init+0x1d4/0x1ea RIP: 0010:phys_p4d_init+0x1d4/0x1ea Call Trace: __kernel_physical_mapping_init+0x10a/0x35c kernel_physic

Re: [PATCH v4 5/5] uprobe: collapse THP pmd after removing all uprobes

2019-06-24 Thread Kirill A. Shutemov
On Fri, Jun 21, 2019 at 06:04:14PM +, Song Liu wrote: > > > > On Jun 21, 2019, at 9:30 AM, Song Liu wrote: > > > > > > > >> On Jun 21, 2019, at 6:45 AM, Song Liu wrote: > >> > >> > >> > >>> On Jun 21, 2019, at 6:36 AM, Kirill A. Shutemov > >>> wrote: > >>> > >>> On Fri, Jun 21, 201

[PATCH v2 1/5] media: vimc: stream: remove obsolete function doc

2019-06-24 Thread André Almeida
As a more complete version of vimc_streamer_s_streamer comment was added at "media: vimc: stream: add missing function documentation" commit in .c file, remove the old documentation from .h file. Signed-off-by: André Almeida --- Changes in v2: none drivers/media/platform/vimc/vimc-streamer.h |

[PATCH v2 2/5] media: vimc: stream: fix style of argument description

2019-06-24 Thread André Almeida
As in "Function parameters" at doc-guide/kernel-doc.rst, "the continuation of the description should start at the same column as the previous line". Make the @producer_pixfmt comply with that. Signed-off-by: André Almeida --- Changes in v2: none drivers/media/platform/vimc/vimc-streamer.h | 10

[PATCH v2 5/5] media: vimc.rst: add vimc-streamer source documentation

2019-06-24 Thread André Almeida
Since vimc-streamer.{c, h} are fully documented and conforming with the kernel-doc syntax, add those files to vimc.rst Signed-off-by: André Almeida Suggested-by: Mauro Carvalho Chehab --- Changes in v2: none Documentation/media/v4l-drivers/vimc.rst | 11 +++ 1 file changed, 11 inserti

[PATCH v2 4/5] media: vimc.rst: Add a proper alt attribute to vimc.dot

2019-06-24 Thread André Almeida
According to W3C, "the content of the alt attribute is: use text that fulfills the same function as the image". While it's hard to describe the whole content of this image, replace the actual alt to something more useful to people with slow connection or that uses screen readers. Signed-off-by: An

Re: [PATCH V10 1/3] IMA: Define a new hook to measure the kexec boot command line arguments

2019-06-24 Thread Mimi Zohar
Hi Prakhar, On Sun, 2019-06-23 at 23:23 -0700, Prakhar Srivastava wrote: > Currently during soft reboot(kexec_file_load) boot command line > arguments are not measured. Define hooks needed to measure kexec > command line arguments during soft reboot(kexec_file_load). > > - A new ima hook ima_kexe

[PATCH v2 3/5] media: vimc: stream: format comments as kernel-doc

2019-06-24 Thread André Almeida
Format the current existing comments as kernel-doc comments, to be reused at kernel documention. Add opening marks (/**) and return values. Signed-off-by: André Almeida --- Changes in v2: replace ``vimc_streamer_s_stream`` for vimc_streamer_s_stream(). drivers/media/platform/vimc/vimc-streamer

Re: [PATCH v3 1/9] pinctrl: sunxi: v3s: introduce support for V3

2019-06-24 Thread Maxime Ripard
On Sun, Jun 23, 2019 at 12:37:53PM +0800, Icenowy Zheng wrote: > Introduce the GPIO pins that is only available on V3 (not on V3s) to the > V3s pinctrl driver. > > Signed-off-by: Icenowy Zheng > --- > Changes in v3: > - Fixed code alignment. > - Fixed LVDS function number. > > Changes in v2: > - D

Re: [PATCH v5 1/3] mtd: spi-nor: add support for is25wp256

2019-06-24 Thread Sagar Kadam
Hello Vignesh, On Mon, Jun 24, 2019 at 3:04 PM Vignesh Raghavendra wrote: > > Hi, > > On 21/06/19 3:58 PM, Sagar Kadam wrote: > > Hello Vignesh, > > > > On Fri, Jun 21, 2019 at 11:33 AM Vignesh Raghavendra > > wrote: > >> > >> Hi, > >> > >> On 17/06/19 8:48 PM, Sagar Kadam wrote: > >>> Hello Vi

Re: [PATCH v3 8/9] dt-bindings: arm: sunxi: add binding for Lichee Zero Plus core board

2019-06-24 Thread Maxime Ripard
Hi, On Sun, Jun 23, 2019 at 12:38:00PM +0800, Icenowy Zheng wrote: > The Lichee Zero Plus is a core board made by Sipeed, with a microUSB > connector on it, TF slot or WSON8 SD chip, optional eMMC or SPI Flash. > It has a gold finger connector for expansion, and UART is available from > reserved p

Re: [PATCH v3 9/9] ARM: dts: sun8i: s3: add devicetree for Lichee zero plus w/ S3

2019-06-24 Thread Maxime Ripard
On Sun, Jun 23, 2019 at 12:38:01PM +0800, Icenowy Zheng wrote: > Lichee zero plus is a core board made by Sipeed, which includes on-board > TF slot or SMT SD NAND, and optional SPI NOR or eMMC, a UART debug > header, a microUSB slot and a gold finger connector for expansion. It > can use either Soc

Re: [PATCH v2] PCI: PM: Skip devices in D0 for suspend-to-idle

2019-06-24 Thread Jon Hunter
Hi Rafael, On 13/06/2019 22:59, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit d491f2b75237 ("PCI: PM: Avoid possible suspend-to-idle issue") > attempted to avoid a problem with devices whose drivers want them to > stay in D0 over suspend-to-idle and resume, but it did not go as f

Fwd: ----------..... Forwarded...---------- I want to open Charity Foundation & Company in your country on your behalf is it okay?

2019-06-24 Thread Christy Ruth Walton

[PATCH] of/platform: Drop superfluous cast in of_device_make_bus_id()

2019-06-24 Thread Geert Uytterhoeven
There is no need to cast "u64" to "unsigned long long" before printing it, as both types have been made identical on all architectures many years ago. Signed-off-by: Geert Uytterhoeven --- drivers/of/platform.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/of/plat

Re: [PATCH v7 5/6] mm,thp: add read-only THP support for (non-shmem) FS

2019-06-24 Thread Kirill A. Shutemov
On Sat, Jun 22, 2019 at 10:47:48PM -0700, Song Liu wrote: > This patch is (hopefully) the first step to enable THP for non-shmem > filesystems. > > This patch enables an application to put part of its text sections to THP > via madvise, for example: > > madvise((void *)0x60, 0x20, MAD

Re: [PATCH 5.1 000/121] 5.1.15-stable review

2019-06-24 Thread Guenter Roeck
On 6/24/19 2:55 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.1.15 release. There are 121 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 should be made

Re: [PATCH v7 6/6] mm,thp: avoid writes to file with THP in pagecache

2019-06-24 Thread Kirill A. Shutemov
On Sat, Jun 22, 2019 at 10:47:49PM -0700, Song Liu wrote: > In previous patch, an application could put part of its text section in > THP via madvise(). These THPs will be protected from writes when the > application is still running (TXTBSY). However, after the application > exits, the file is ava

Re: [PATCH v7 00/25] Unify vDSOs across more architectures

2019-06-24 Thread Andre Przywara
On Fri, 21 Jun 2019 10:52:27 +0100 Vincenzo Frascino wrote: Hi, > vDSO (virtual dynamic shared object) is a mechanism that the Linux > kernel provides as an alternative to system calls to reduce where > possible the costs in terms of cycles. [ ... ] Some numbers for the ARM(32) part: I booted

Re: [PATCH] pinctrl: qcom: sdm845: Fix CONFIG preprocessor guard

2019-06-24 Thread Lee Jones
On Fri, 21 Jun 2019, Nick Desaulniers wrote: > On Fri, Jun 21, 2019 at 1:21 PM Nathan Chancellor > wrote: > > > > Clang warns when CONFIG_ACPI is unset: > > > > drivers/pinctrl/qcom/pinctrl-sdm845.c:1320:5: warning: 'CONFIG_ACPI' is > > not defined, evaluates to 0 [-Wundef] > > #if CONFIG_ACPI

Re: [RFC PATCH v2 1/4] dt-bindings: input: Add support for the MPR121 without interrupt line

2019-06-24 Thread Michal Vokáč
On 14. 06. 19 0:39, Rob Herring wrote: On Fri, May 17, 2019 at 03:12:50PM +0200, Michal Vokáč wrote: Normally, the MPR121 controller uses separate interrupt line to notify the I2C host that a key was touched/released. To support platforms that can not use the interrupt line, polling of the MPR12

Re: LTP hugemmap05 test case failure on arm64 with linux-next (next-20190613)

2019-06-24 Thread Qian Cai
On Mon, 2019-06-24 at 10:35 +0100, Will Deacon wrote: > Hi Qian Cai, > > On Sun, Jun 16, 2019 at 09:41:09PM -0400, Qian Cai wrote: > > > On Jun 16, 2019, at 9:32 PM, Anshuman Khandual > > > wrote: > > > On 06/14/2019 05:45 PM, Qian Cai wrote: > > > > On Fri, 2019-06-14 at 11:20 +0100, Will Deacon

[PATCH 3/6] x86: Add nopv parameter to disable PV extensions

2019-06-24 Thread Zhenzhong Duan
In virtualization environment, PV extensions (drivers, interrupts, timers, etc) are enabled in the majority of use cases which is the best option. However, in some cases (kexec not fully working, benchmarking) we want to disable PV extensions. As such introduce the 'nopv' parameter that will do it

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

2019-06-24 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

[PATCH 4/6] Revert "xen: Introduce 'xen_nopv' to disable PV extensions for HVM guests."

2019-06-24 Thread Zhenzhong Duan
This reverts commit 8d693b911bb9c57009c24cb1772d205b84c7985c. Instead we use an unified parameter 'nopv' for all the hypervisor platforms. Signed-off-by: Zhenzhong Duan Cc: xen-de...@lists.xenproject.org --- Documentation/admin-guide/kernel-parameters.txt | 4 arch/x86/xen/enlighten_hvm.c

[PATCH 2/6] x86/jailhouse: Mark jailhouse_x2apic_available as __init

2019-06-24 Thread Zhenzhong Duan
.. as they are only called at early bootup stage. Signed-off-by: Zhenzhong Duan Cc: Jan Kiszka Cc: jailhouse-...@googlegroups.com --- arch/x86/kernel/jailhouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c index 1

[PATCH 1/6] x86/xen: Mark xen_hvm_need_lapic() and xen_hvm_need_lapic() as __init

2019-06-24 Thread Zhenzhong Duan
.. as they are only called at early bootup stage. In fact, other functions in x86_hyper_xen_hvm.init.* are all marked as __init. Unexport xen_hvm_need_lapic as it's never used outside. Signed-off-by: Zhenzhong Duan --- arch/x86/include/asm/xen/hypervisor.h | 6 +++--- arch/x86/xen/enlighten_hvm

Re: [PATCH v7 3/5] usb: host: ohci-sm501: init genalloc for local memory

2019-06-24 Thread Fredrik Noring
Hi Christoph, > Can you send me the patch formally so that I can queue it up for the > dma-mapping tree? That patch would be detrimental to local memory devices, as previously discussed, so I would like to suggest a much better approach, as shown below, where allocations are aligned as required b

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

2019-06-24 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

Re: [PATCH 2/9] blkcg, writeback: Add wbc->no_wbc_acct

2019-06-24 Thread Tejun Heo
Hello, Jan. On Mon, Jun 24, 2019 at 10:21:30AM +0200, Jan Kara wrote: > OK, now I understand. Just one more question: So effectively, you are using > wbc->no_wbc_acct to pass information from btrfs code to btrfs code telling > it whether IO should or should not be accounted with wbc_account_io().

Re: KASAN: global-out-of-bounds Read in qmi_wwan_probe

2019-06-24 Thread Bjørn Mork
syzbot writes: > Hello, > > syzbot found the following crash on: > > HEAD commit:9939f56e usb-fuzzer: main usb gadget fuzzer driver > git tree: https://github.com/google/kasan.git usb-fuzzer > console output: https://syzkaller.appspot.com/x/log.txt?x=1615a669a0 > kernel config: htt

Re: [PATCH v2] phy: meson-g12a-usb3-pcie: disable locking for cr_regmap

2019-06-24 Thread Neil Armstrong
Hi Kishon, On 05/06/2019 11:02, Neil Armstrong wrote: > Locking is not needed for the phy_g12a_usb3_pcie_cr_bus_read/write() and > currently it causes the following BUG because of the usage of the > regmap_read_poll_timeout() running in spinlock_irq, configured by regmap > fast_io. > > Simply di

[PATCH v4 1/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-24 Thread Ajay Kaher
From: Andrea Arcangeli commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. The core dumping code has always run without holding the mmap_sem for writing, despite that is the only way to ensure that the entire vma layout will not change from under it. Only using some signal serialization o

[PATCH v4 3/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-24 Thread Ajay Kaher
From: Andrea Arcangeli coredump: fix race condition between collapse_huge_page() and core dumping commit 59ea6d06cfa9247b586a695c21f94afa7183af74 upstream. When fixing the race conditions between the coredump and the mmap_sem holders outside the context of the process, we focused on mmget_not_z

[PATCH v4 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-24 Thread Ajay Kaher
coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping [PATCH v4 1/3]: Backporting of commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. [PATCH v4 2/3]: Extension of commit 04f5866e41fb to fix the race condition between get_task_mm() and core dumping for IB->m

[PATCH] get_maintainer: Add --cc option

2019-06-24 Thread Sebastian Andrzej Siewior
The --cc adds a Cc: prefix infront of the email address so it can be used by other Scripts directly instead of adding another wrapper for this. Suggested-by: Peter Zijlstra Signed-off-by: Sebastian Andrzej Siewior --- scripts/get_maintainer.pl | 11 +-- 1 file changed, 9 insertions(+),

[PATCH v4 2/3][v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-24 Thread Ajay Kaher
This patch is the extension of following upstream commit to fix the race condition between get_task_mm() and core dumping for IB->mlx4 and IB->mlx5 drivers: commit 04f5866e41fb ("coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping")' Thanks to Jason for pointing t

Re: [PATCH 1/6] x86/xen: Mark xen_hvm_need_lapic() and xen_hvm_need_lapic() as __init

2019-06-24 Thread Juergen Gross
On 23.06.19 15:01, Zhenzhong Duan wrote: .. as they are only called at early bootup stage. In fact, other functions in x86_hyper_xen_hvm.init.* are all marked as __init. Unexport xen_hvm_need_lapic as it's never used outside. Signed-off-by: Zhenzhong Duan Reviewed-by: Juergen Gross Juerge

Re: [PATCH 3/6] x86: Add nopv parameter to disable PV extensions

2019-06-24 Thread Juergen Gross
On 23.06.19 15:01, Zhenzhong Duan wrote: In virtualization environment, PV extensions (drivers, interrupts, timers, etc) are enabled in the majority of use cases which is the best option. However, in some cases (kexec not fully working, benchmarking) we want to disable PV extensions. As such int

Re: [PATCH v5 1/3] mtd: spi-nor: add support for is25wp256

2019-06-24 Thread Vignesh Raghavendra
On 24/06/19 6:10 PM, Sagar Kadam wrote: > Hello Vignesh, > > On Mon, Jun 24, 2019 at 3:04 PM Vignesh Raghavendra wrote: >> >> Hi, >> >> On 21/06/19 3:58 PM, Sagar Kadam wrote: >>> Hello Vignesh, >>> >>> On Fri, Jun 21, 2019 at 11:33 AM Vignesh Raghavendra >>> wrote: Hi, O

Re: RISC-V nommu support v2

2019-06-24 Thread Vladimir Murzin
On 6/24/19 12:54 PM, Christoph Hellwig wrote: > On Mon, Jun 24, 2019 at 12:47:07PM +0100, Vladimir Murzin wrote: >> Since you are using binfmt_flat which is kind of 32-bit only I was expecting >> to see >> CONFIG_COMPAT (or something similar to that, like ILP32) enabled, yet I >> could not >> fin

Re: memory leak in sctp_v4_create_accept_sk

2019-06-24 Thread Xin Long
On Mon, Jun 24, 2019 at 3:28 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:abf02e29 Merge tag 'pm-5.2-rc6' of git://git.kernel.org/pu.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13470eb2a0 > kernel config:

Re: [PATCH v4 2/3][v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-06-24 Thread Jason Gunthorpe
On Tue, Jun 25, 2019 at 02:33:04AM +0530, Ajay Kaher wrote: > This patch is the extension of following upstream commit to fix > the race condition between get_task_mm() and core dumping > for IB->mlx4 and IB->mlx5 drivers: > > commit 04f5866e41fb ("coredump: fix race condition between > mmget_not_

Re: [PATCH v4 4/5] net: macb: add support for high speed interface

2019-06-24 Thread Andrew Lunn
On Mon, Jun 24, 2019 at 06:52:51AM +, Parshuram Raju Thombare wrote: > Hi Andrew, > > >> +enum { > >> + MACB_SERDES_RATE_5_PT_15625Gbps = 5, > >> + MACB_SERDES_RATE_10_PT_3125Gbps = 10, > >> +}; > >What do the units mean here? Why would you clock the SERDES at 15Tbps, > >or 3Tbps? 3.125Mbps

[PATCH 10/10] ARM: davinci: remove legacy timer support

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski All platforms have now been switched to the new clocksource driver. Remove the old code and various no longer needed bits and pieces. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/Makefile | 3 +- arch/arm/mach

[PATCH 08/10] ARM: davinci: dm644x: switch to using the clocksource driver

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm644x platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm644x.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions

[PATCH 09/10] ARM: davinci: dm646x: switch to using the clocksource driver

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm646x platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm646x.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions

[PATCH 03/10] ARM: davinci: da850: switch to using the clocksource driver

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the da850 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/da850.c | 46 ++- 1 file changed, 13 insertions(+), 33

[PATCH 07/10] ARM: davinci: dm365: switch to using the clocksource driver

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm365 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm365.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-)

[PATCH 04/10] ARM: davinci: da830: switch to using the clocksource driver

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the da830 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/da830.c | 41 --- 1 file changed, 14 insertions(+), 27

[PATCH 06/10] ARM: davinci: dm355: switch to using the clocksource driver

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have a proper clocksource driver for davinci. Switch the dm355 platform to using it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/dm355.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-

[PATCH 02/10] ARM: davinci: WARN_ON() if clk_get() fails

2019-06-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently the timer code checks if the clock pointer passed to it is good (!IS_ERR(clk)). The new clocksource driver expects the clock to be functional and doesn't perform any checks so emit a warning if clk_get() fails. Apply this to all davinci platforms. Signed-off-b

<    1   2   3   4   5   6   7   8   9   10   >