[PATCH -next 03/15] thermal: brcmstb: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/broadcom/brcmstb_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/broadcom/brcms

[PATCH -next 15/15] thermal: rcar: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/rcar_thermal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers

[PATCH -next 13/15] thermal: thermal_mmio: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/thermal_mmio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/thermal_mmio.c b/drivers/t

[PATCH -next 12/15] thermal: tango: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/tango_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/tango_thermal.c b/drivers

[PATCH -next 11/15] thermal: stm32: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/st/stm_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/st/stm_thermal.c b/drive

[PATCH -next 14/15] thermal: zx2967: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/zx2967_thermal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/thermal/zx2967_thermal.c b/drive

[PATCH -next 08/15] thermal: tsens: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/thermal/qcom/tsens-common.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/qcom/tsens-common

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
On 9/4/19 1:10 PM, Koenig, Christian wrote: Am 04.09.19 um 10:19 schrieb Thomas Hellström (VMware): Hi, Christian, On 9/4/19 9:33 AM, Koenig, Christian wrote: Am 03.09.19 um 23:05 schrieb Thomas Hellström (VMware): On 9/3/19 10:51 PM, Dave Hansen wrote: On 9/3/19 1:36 PM, Thomas Hellström (V

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-04 Thread Peter Zijlstra
On Thu, Aug 08, 2019 at 12:32:25AM +0206, John Ogness wrote: > Hello, > > This is a follow-up RFC on the work to re-implement much of > the core of printk. The threads for the previous RFC versions > are here: v1[0], v2[1], v3[2]. > > This series only builds upon v3 (i.e. the first part of this >

[PATCH] fuse: reserve byteswapped init opcodes

2019-09-04 Thread Michael S. Tsirkin
virtio fs tunnels fuse over a virtio channel. One issue is two sides might be speaking different endian-ness. To detects this, host side looks at the opcode value in the FUSE_INIT command. Works fine at the moment but might fail if a future version of fuse will use such an opcode for initializatio

Re: [PATCH v3 1/3] software node: Add software_node_find_by_name()

2019-09-04 Thread Greg Kroah-Hartman
On Mon, Aug 19, 2019 at 01:07:22PM +0300, Heikki Krogerus wrote: > Function that searches software nodes by node name. > > Signed-off-by: Heikki Krogerus > Reviewed-by: Hans de Goede > Tested-by: Hans de Goede > Reviewed-by: Andy Shevchenko Reviewed-by: Greg Kroah-Hartman

Re: [PATCH v3 2/3] usb: roles: intel_xhci: Supplying software node for the role mux

2019-09-04 Thread Greg Kroah-Hartman
On Mon, Aug 19, 2019 at 01:07:23PM +0300, Heikki Krogerus wrote: > The primary purpose for this node will be to allow linking > the users of the switch to it. The users will be for example > USB Type-C connectors. By supplying a reference to this > node in the software nodes representing the USB Ty

Re: [PATCH v2 0/9] Exynos Adaptive Supply Voltage support

2019-09-04 Thread Sylwester Nawrocki
Hi, On 8/20/19 11:21, Viresh Kumar wrote: > On 20-08-19, 11:03, Sylwester Nawrocki wrote: >> On 8/20/19 05:01, Viresh Kumar wrote: >>> Sorry but I am unable to understand the difficulty you are facing now. So >>> what I >>> suggest is something like this. >> >> The difficulty was about representi

Re: [PATCH v3 2/2] uacce: add uacce driver

2019-09-04 Thread Greg Kroah-Hartman
On Tue, Sep 03, 2019 at 12:14:47PM +0800, Zhangfei Gao wrote: > From: Kenneth Lee > > Uacce (Unified/User-space-access-intended Accelerator Framework) targets to > provide Shared Virtual Addressing (SVA) between accelerators and processes. > So accelerator can access any data structure of the mai

Re: "fs/namei.c: keep track of nd->root refcount status" causes boot panic

2019-09-04 Thread Christoph Hellwig
On Tue, Sep 03, 2019 at 06:56:10PM +0100, Al Viro wrote: > On Tue, Sep 03, 2019 at 08:39:30AM -0700, Christoph Hellwig wrote: > > > > There's much nastier situation than "new upstream kernel released, > > > need to rebuild" - it's bisect in mainline trying to locate something... > > > > I really

Re: [PATCH v3 2/2] phy: intel-lgm-sdxc: Add support for SDXC PHY

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 04, 2019 at 02:27:19PM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add support for SDXC PHY on Intel's Lightning Mountain SoC. What's the difference to eMMC PHY? Can they share the same / similar code? -- With Best Regards, Andy Shevchenko

[PATCH] regulator: Defer init completion for a while after late_initcall

2019-09-04 Thread Mark Brown
The kernel has no way of knowing when we have finished instantiating drivers, between deferred probe and systems that build key drivers as modules we might be doing this long after userspace has booted. This has always been a bit of an issue with regulator_init_complete since it can power off hardw

Re: [RFC PATCH 1/2] Fix: sched/membarrier: p->mm->membarrier_state racy load

2019-09-04 Thread Peter Zijlstra
On Wed, Sep 04, 2019 at 02:03:37PM +0200, Oleg Nesterov wrote: > On 09/04, Peter Zijlstra wrote: > > > > + struct task_struct *g, *t; > > + > > + read_lock(&tasklist_lock); > > + do_each_thread(g, t) { > > for_each_process_thread() looks better Argh, I always get con

Re: [PATCH -next 01/15] thermal: armada: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Miquel Raynal
Hi Yue, YueHaibing wrote on Wed, 4 Sep 2019 20:29:25 +0800: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/thermal/armada_thermal.c | 4 +--- > 1 file changed, 1 inse

[PATCH] genirq: Fix NULL pointer dereference in resend_irqs()

2019-09-04 Thread Yunfeng Ye
Oops occur when running qemu on arm64: Unable to handle kernel NULL pointer dereference at 0158 Internal error: Oops: 9604 [#1] SMP pc : resend_irqs+0x68/0xb0 lr : resend_irqs+0x64/0xb0 ... Call trace: resend_irqs+0x68/0xb0 tasklet_action_common.isra.6+0x84/0x138

Re: [PATCH v3 1/2] w1: add 1-wire master driver for IP block found in SGI ASICs

2019-09-04 Thread Thomas Bogendoerfer
On Wed, 4 Sep 2019 14:33:51 +0200 Greg Kroah-Hartman wrote: > On Wed, Sep 04, 2019 at 02:14:34PM +0200, Thomas Bogendoerfer wrote: > > On Wed, 4 Sep 2019 14:06:46 +0200 > > Greg Kroah-Hartman wrote: > > > > > On Wed, Sep 04, 2019 at 02:01:34PM +0200, Thomas Bogendoerfer wrote: > > > > On Wed, 4

Re: [PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Vlastimil Babka
On 9/4/19 8:51 AM, Walter Wu wrote: > This patch is KASAN report adds the alloc/free stacks for page allocator > in order to help programmer to see memory corruption caused by page. > > By default, KASAN doesn't record alloc/free stack for page allocator. > It is difficult to fix up page use-after

Re: [PATCH v3 2/2] uacce: add uacce driver

2019-09-04 Thread Greg Kroah-Hartman
On Tue, Sep 03, 2019 at 12:14:47PM +0800, Zhangfei Gao wrote: > +/** > + * uacce_wake_up - Wake up the process who is waiting this queue > + * @q the accelerator queue to wake up > + */ > +void uacce_wake_up(struct uacce_queue *q) > +{ > + wake_up_interruptible(&q->wait); > +} > +EXPORT_SYMBOL_

Re: [RFC PATCH v2 02/19] fs/locks: Add Exclusive flag to user Layout lease

2019-09-04 Thread Jeff Layton
On Thu, 2019-08-29 at 16:34 -0700, Ira Weiny wrote: > Missed this. sorry. > > On Mon, Aug 26, 2019 at 06:41:07AM -0400, Jeff Layton wrote: > > On Thu, 2019-08-15 at 07:56 +1000, Dave Chinner wrote: > > > On Wed, Aug 14, 2019 at 10:15:06AM -0400, Jeff Layton wrote: > > > > On Fri, 2019-08-09 at 15

Re: [PATCH 1/1] mm/migrate: fix list corruption in migration of non-LRU movable pages

2019-09-04 Thread Michal Hocko
On Wed 04-09-19 12:19:11, sunqiuyang wrote: > > Do not top post please > > > > On Wed 04-09-19 07:27:25, sunqiuyang wrote: > > > isolate_migratepages_block() from another thread may try to isolate the > > > page again: > > > > > > for (; low_pfn < end_pfn; low_pfn++) { > > > /* ... */ > > > p

[PATCH] serial: max310x: turn off transmitter before activating AutoCTS or auto transmitter flow control

2019-09-04 Thread Christoph Vogtländer
As documented in the data-sheet, the transmitter must be disabled before activating AutoCTS or auto transmitter flow control. Accordingly, the transmitter must be enabled after AutoCTS or auto transmitter flow control gets deactivated. Signed-off-by: Christoph Vogtländer --- drivers/tty/serial/m

[PATCH] serial: max310x: Properly set flags in AutoCTS mode

2019-09-04 Thread Christoph Vogtländer
Commit 391f93f2ec9f ("serial: core: Rework hw-assisted flow control support") has changed the way the AutoCTS mode is handled. According to that change, serial drivers which enable H/W AutoCTS mode must set UPSTAT_AUTORTS, UPSTAT_AUTOCTS and UPSTAT_AUTOXOFF to prevent the serial core from inadvert

Re: dma api errors with swiotlb

2019-09-04 Thread VMware
On 9/4/19 2:17 PM, Christoph Hellwig wrote: A call to dma_max_mapping_size() to limit the maximum I/O size solves that problem. With the latest kernel that should actually be done automatically by the SCSI midlayer for you. Hmm, OK. I guess with a sufficient queue depth and many mappings waiti

Re: dma api errors with swiotlb

2019-09-04 Thread Christoph Hellwig
On Wed, Sep 04, 2019 at 02:54:26PM +0200, Thomas Hellström (VMware) wrote: > On 9/4/19 2:17 PM, Christoph Hellwig wrote: > > A call to dma_max_mapping_size() to limit the maximum I/O size solves > > that problem. With the latest kernel that should actually be done > > automatically by the SCSI mid

Re: "beyond 2038" warnings from loopback mount is noisy

2019-09-04 Thread Theodore Y. Ts'o
On Tue, Sep 03, 2019 at 09:50:09PM -0700, Deepa Dinamani wrote: > If we don't care to warn about the timestamps that are clamped in > memory, maybe we could just warn when they are being written out. > Would something like this be more acceptable? I would also remove the > warning in ext4.h. I thin

Re: [PATCH for 5.4] media: hantro: Fix s_fmt for dynamic resolution changes

2019-09-04 Thread Ezequiel Garcia
On Wed, 2019-09-04 at 12:13 +0200, Philipp Zabel wrote: > Hi Ezequiel, > > On Tue, 2019-09-03 at 14:12 -0300, Ezequiel Garcia wrote: > > Commit 953aaa1492c53 ("media: rockchip/vpu: Prepare things to support > > decoders") > > changed the conditions under S_FMT was allowed for OUTPUT > > CAPTURE b

Re: [PATCH] powerpc: Avoid clang warnings around setjmp and longjmp

2019-09-04 Thread Segher Boessenkool
On Wed, Sep 04, 2019 at 08:16:45AM +, David Laight wrote: > From: Nathan Chancellor [mailto:natechancel...@gmail.com] > > Fair enough so I guess we are back to just outright disabling the > > warning. > > Just disabling the warning won't stop the compiler generating code > that breaks a 'user'

Re: [PATCH] fs:ext4:remove unused including

2019-09-04 Thread Theodore Y. Ts'o
On Wed, Sep 04, 2019 at 03:36:28PM +0800, zhao.ha...@zte.com.cn wrote: > fix compiler error in ext4.hfs/ext4/ext4.h:30:27: fatal error: > linux/version.h: No such file or directorySigned-off-by: Zhao Hang > --- fs/ext4/ext4.h | 1 - 1 file changed, 1 > deletion(-)diff --git a/fs/ext4/ext4.h b/fs

Re: dma api errors with swiotlb

2019-09-04 Thread VMware
On 9/4/19 2:55 PM, Christoph Hellwig wrote: On Wed, Sep 04, 2019 at 02:54:26PM +0200, Thomas Hellström (VMware) wrote: On 9/4/19 2:17 PM, Christoph Hellwig wrote: A call to dma_max_mapping_size() to limit the maximum I/O size solves that problem. With the latest kernel that should actually be

[PATCH -next] scsi: hisi_sas: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/scsi/hisi_sas/hisi_sas_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.

[PATCH -next] scsi: ufshcd: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/scsi/ufs/ufshcd-pltfrm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drive

Re: [PATCH v3 2/2] dwc: PCI: intel: Intel PCIe RC controller driver

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 04, 2019 at 06:10:31PM +0800, Dilip Kota wrote: > Add support to PCIe RC controller on Intel Universal > Gateway SoC. PCIe controller is based of Synopsys > Designware pci core. Thanks for an update. My comments below. > +config PCIE_INTEL_AXI > +bool "Intel AHB/AXI PCIe host

[PATCH] staging: rts5208: Fix 80 char warning by re-structuring if-blocks.

2019-09-04 Thread Prakhar Sinha
This patch solves the following checkpatch.pl's messages in drivers/staging/rts5208/sd.c WARNING: line over 80 characters 4517: FILE: drivers/staging/rts5208/sd.c:4517: + sd_card->sd_lock_status &= ~(SD_UNLOCK_POW_ON | SD_SDR_RST); WARNING: line over

[PATCH -next] scsi: ufs-hisi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/scsi/ufs/ufs-hisi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufs-hisi.c b/drivers/scsi/uf

Re: [PATCH 2/2] KVM: SVM: Disable posted interrupts for odd IRQs

2019-09-04 Thread Alexander Graf
On 04.09.19 01:20, Liran Alon wrote: On 3 Sep 2019, at 17:29, Alexander Graf wrote: We can easily route hardware interrupts directly into VM context when they target the "Fixed" or "LowPriority" delivery modes. However, on modes such as "SMI" or "Init", we need to go via KVM code to actua

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 11:43:33AM +0100, Qais Yousef wrote: > On 09/04/19 00:23, Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 05:05:47PM +0100, Valentin Schneider wrote: > > > On 03/09/2019 16:43, Radim Krčmář wrote: > > > > The paper "The Linux Scheduler: a Decade of Wasted Cores" used sever

Re: [PATCH 01/12] media: hantro: Fix H264 max frmsize supported on RK3288

2019-09-04 Thread Ezequiel Garcia
Hello Jonas, Thank you for the patch. On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: > TRM specify supported image size 48x48 to 4096x2304 at step size 16 pixels, > change frmsize max_width/max_height to match TRM. > The RK3288 TRM v1.1 (2015-8-20) I have here mentions a maximum of 384

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 10:14:48AM +0200, Peter Zijlstra wrote: > On Wed, Sep 04, 2019 at 12:23:10AM -0400, Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 05:05:47PM +0100, Valentin Schneider wrote: > > > On 03/09/2019 16:43, Radim Krčmář wrote: > > > > The paper "The Linux Scheduler: a Decade o

Re: [GIT PULL] SOC: TI soc updates for 5.4

2019-09-04 Thread Arnd Bergmann
On Tue, Aug 27, 2019 at 5:12 AM Santosh Shilimkar wrote: > > soc: TI soc updates for 5.4 > > - Update firmware to support PM domain shared and exclusive support > - Update driver and dt binding docs for the same. > > ---

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Peter Zijlstra
On Tue, Sep 03, 2019 at 05:43:40PM +0200, Radim Krčmář wrote: > Red Hat adapted one of them for the tracepoint framework and created a > tool to plot a heatmap of nr_running, where the sched_update_nr_running > tracepoint is being used for fine grained monitoring of scheduling > imbalance. You sh

Re: [PATCH v3] trace:Add "gfp_t" support in synthetic_events

2019-09-04 Thread Tom Zanussi
Hi Steve, On Wed, 2019-09-04 at 06:43 -0400, Steven Rostedt wrote: > On Fri, 12 Jul 2019 11:05:06 -0500 > Tom Zanussi wrote: > > > Hi Zhengjun, > > > > On Fri, 2019-07-12 at 09:53 +0800, Zhengjun Xing wrote: > > > Add "gfp_t" support in synthetic_events, then the "gfp_t" type > > > parameter in

[PATCH v6 1/2] rpmsg: core: add API to get message length

2019-09-04 Thread Arnaud Pouliquen
Return the rpmsg buffer size for sending message, so rpmsg users can split a long message in several sub rpmsg buffers. Signed-off-by: Arnaud Pouliquen --- drivers/rpmsg/rpmsg_core.c | 21 + drivers/rpmsg/rpmsg_internal.h | 2 ++ drivers/rpmsg/virtio_rpmsg_bus.c | 10

[PATCH v6 2/2] tty: add rpmsg driver

2019-09-04 Thread Arnaud Pouliquen
This driver exposes a standard tty interface on top of the rpmsg framework through a rpmsg service. This driver supports multi-instances, offering a /dev/ttyRPMSGx entry per rpmsg endpoint. Signed-off-by: Arnaud Pouliquen Signed-off-by: Fabien Dessenne --- Documentation/serial/tty_rpmsg.rst |

[PATCH v6 0/2] TTY: add rpmsg tty driver

2019-09-04 Thread Arnaud Pouliquen
This patch set introduces a TTY console on top of the RPMsg framework which enables the following use cases: - Provide a console to communicate easily with the remote processor application. - Provide an interface to get the remote processor log traces without ring buffer limitation. - Ease the

Re: [PATCH -next 13/15] thermal: thermal_mmio: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Talel Shenhar
Thanks. Talel. On 9/4/19 2:29 PM, YueHaibing wrote: Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing Reviewed-By: Talel Shenhar --- drivers/thermal/thermal_mmio.c | 4 +--- 1 file changed,

Re: [alsa-devel] [PATCH 1/6] soundwire: fix startup sequence for Intel/Cadence

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 2:11 AM, Vinod Koul wrote: On 13-08-19, 16:32, Pierre-Louis Bossart wrote: Multiple changes squashed in single patch to avoid tick-tock effect. 1. Per the hardware documentation, all changes to MCP_CONFIG, MCP_CONTROL, MCP_CMDCTRL and MCP_PHYCTRL need to be validated with a self-clear

Re: dma api errors with swiotlb

2019-09-04 Thread Christoph Hellwig
On Wed, Sep 04, 2019 at 03:02:14PM +0200, Thomas Hellström (VMware) wrote: > It looks like it does that, although when we send it, the SWIOTLB error has > already occured and been printed out, and then the sequence starts again. Well, the only way to really find out is to try. We also have a back

[PATCH v2 net-next 11/13] net: stmmac: Correctly assing MAX MTU in XGMAC cores case

2019-09-04 Thread Jose Abreu
Maximum MTU for XGMAC cores is 16k thus the check for presence of XGMAC shall be done first in order to assign correct value. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: lin

[PATCH v2 net-next 02/13] net: stmmac: xgmac: Add RBU handling in DMA interrupt

2019-09-04 Thread Jose Abreu
Add the handling of Receive Buffer Unavailable interrupt in the DMA handler of XGMAC cores. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.

[PATCH v2 net-next 00/13] net: stmmac: Improvements for -next

2019-09-04 Thread Jose Abreu
Couple of improvements for -next tree. More info in commit logs. --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-

[PATCH v2 net-next 06/13] net: stmmac: xgmac: Implement ARP Offload

2019-09-04 Thread Jose Abreu
Implement the ARP Offload feature in XGMAC cores. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.o

[PATCH v2 net-next 07/13] net: stmmac: selftests: Implement the ARP Offload test

2019-09-04 Thread Jose Abreu
Implement a test for ARP Offload feature. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.org Cc: l

Re: [RFC PATCH 1/2] Fix: sched/membarrier: p->mm->membarrier_state racy load

2019-09-04 Thread Oleg Nesterov
On 09/04, Peter Zijlstra wrote: > > On Wed, Sep 04, 2019 at 02:03:37PM +0200, Oleg Nesterov wrote: > > On 09/04, Peter Zijlstra wrote: > > > > > > + struct task_struct *g, *t; > > > + > > > + read_lock(&tasklist_lock); > > > + do_each_thread(g, t) { > > > > for_each_process

[PATCH v2 net-next 10/13] net: stmmac: xgmac: Correct RAVSEL field interpretation

2019-09-04 Thread Jose Abreu
RAVSEL means that only RX side is available for AVB features. As we use both TX and RX features we need to check if RAVSEL is selected and disable AVB if only RX side is available. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller"

[PATCH v2 net-next 03/13] net: stmmac: Do not return error code in TC Initialization

2019-09-04 Thread Jose Abreu
As we can still use the remaining TC callbacks, e.g. CBS. We should not fail in the initialization only because RX Parser is not available. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kern

[PATCH v2 net-next 04/13] net: stmmac: Implement L3/L4 Filters using TC Flower

2019-09-04 Thread Jose Abreu
Implement filters for Layer 3 and Layer 4 using TC Flower API. Add the corresponding callbacks in XGMAC core. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-m

[PATCH v2 net-next 13/13] net: stmmac: selftests: Add Jumbo Frame tests

2019-09-04 Thread Jose Abreu
Add a test to validate the Jumbo Frame support in stmmac in single channel and multichannel mode. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.storm

[PATCH v2 net-next 01/13] net: stmmac: selftests: Return proper error code to userspace

2019-09-04 Thread Jose Abreu
We can do better than just return 1 to userspace. Lets return a proper Linux error code. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com

[PATCH v2 net-next 05/13] net: stmmac: selftests: Add selftest for L3/L4 Filters

2019-09-04 Thread Jose Abreu
Adds the selftests for L3 and L4 filters with DA/SA/DP/SP support. Changes from v1: - Reduce stack usage (kbuild test robot) Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org

[PATCH v2 net-next 09/13] net: stmmac: ethtool: Let user configure TX coalesce without RIWT

2019-09-04 Thread Jose Abreu
When RX Watchdog is disabled its currently not possible to configure TX coalesce settings. Let user configure it anyway. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st

[PATCH v2 net-next 08/13] net: stmmac: Only consider RX error when HW Timestamping is not enabled

2019-09-04 Thread Jose Abreu
Only consider that we have an error when HW Timestamping is not enabled as this can give false positives due to the fact the RX Timestamping in XGMAC and GMAC cores comes from context descriptors. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "Da

[PATCH v2 net-next 12/13] net: stmmac: xgmac: Enable RX Jumbo frame support

2019-09-04 Thread Jose Abreu
We are already doing it by default in the TX path so we can also enable Jumbo Frame support in the RX path independently of MTU value. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.or

Re: [alsa-devel] [PATCH 2/6] soundwire: cadence_master: add hw_reset capability in debugfs

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 2:13 AM, Vinod Koul wrote: On 13-08-19, 16:32, Pierre-Louis Bossart wrote: Provide debugfs capability to kick link and devices into hard-reset (as defined by MIPI). This capability is really useful when some devices are no longer responsive and/or to check the software handling of resy

Re: [PATCH v3] sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code

2019-09-04 Thread Thadeu Lima de Souza Cascardo
On Wed, Sep 04, 2019 at 12:39:25PM +0200, Ingo Molnar wrote: > > * Dietmar Eggemann wrote: > > > > -v3 attached. Build and minimally boot tested. > > > > > > Thanks, > > > > > > Ingo > > > > > > > This patch fixes the issue (almost). > > > > LTP's sched_getattr01 passes again. But IMHO th

Re: "beyond 2038" warnings from loopback mount is noisy

2019-09-04 Thread Reindl Harald
Am 04.09.19 um 14:58 schrieb Theodore Y. Ts'o: > Again, the likelihood that there will be file systems that have this > problem in 2038 is... extremely low in my judgement. Storage media > just doesn't last that long in times of virtualization storage media are below the vdisk and the file sys

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Valentin Schneider
On 04/09/2019 14:13, Peter Zijlstra wrote: > On Tue, Sep 03, 2019 at 05:43:40PM +0200, Radim Krčmář wrote: > >> Red Hat adapted one of them for the tracepoint framework and created a >> tool to plot a heatmap of nr_running, where the sched_update_nr_running >> tracepoint is being used for fine gra

Re: dma api errors with swiotlb

2019-09-04 Thread VMware
On 9/4/19 3:16 PM, Christoph Hellwig wrote: On Wed, Sep 04, 2019 at 03:02:14PM +0200, Thomas Hellström (VMware) wrote: It looks like it does that, although when we send it, the SWIOTLB error has already occured and been printed out, and then the sequence starts again. Well, the only way to real

[PATCH v2 1/2] ethtool: implement Energy Detect Powerdown support via phy-tunable

2019-09-04 Thread Alexandru Ardelean
The `phy_tunable_id` has been named `ETHTOOL_PHY_EDPD` since it looks like this feature is common across other PHYs (like EEE), and defining `ETHTOOL_PHY_ENERGY_DETECT_POWER_DOWN` seems too long. The way EDPD works, is that the RX block is put to a lower power mode, except for link-pulse detection

[PATCH v2 2/2] net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable

2019-09-04 Thread Alexandru Ardelean
This driver becomes the first user of the kernel's `ETHTOOL_PHY_EDPD` phy-tunable feature. EDPD is also enabled by default on PHY config_init, but can be disabled via the phy-tunable control. When enabling EDPD, it's also a good idea (for the ADIN PHYs) to enable TX periodic pulses, so that in cas

[PATCH v2 0/2] ethtool: implement Energy Detect Powerdown support via phy-tunable

2019-09-04 Thread Alexandru Ardelean
This changeset proposes a new control for PHY tunable to control Energy Detect Power Down. The `phy_tunable_id` has been named `ETHTOOL_PHY_EDPD` since it looks like this feature is common across other PHYs (like EEE), and defining `ETHTOOL_PHY_ENERGY_DETECT_POWER_DOWN` seems too long. The wa

Re: [RFC][PATCH 01/13] sched/deadline: Impose global limits on sched_attr::sched_period

2019-09-04 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 01:30:38PM +0200, Peter Zijlstra wrote: > On Wed, Sep 04, 2019 at 06:16:16AM -0400, Steven Rostedt wrote: > > On Mon, 2 Sep 2019 11:16:23 +0200 > > Peter Zijlstra wrote: > > > > > in sched_dl_period_handler(). And do: > > > > > > + preempt_disable(); > > > max = (u64)RE

Re: [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin

2019-09-04 Thread Linus Walleij
On Fri, Aug 30, 2019 at 8:02 AM Stephen Boyd wrote: > The UFS_RESET pin is the magical pin #150 now, not 153 per the > sdm845_groups array declared in this file. Fix the order of pins so that > UFS_RESET is 150 and the SDC pins follow after. > > Fixes: 53a5372ce326 ("pinctrl: qcom: sdm845: Expose

Re: [alsa-devel] [RFC PATCH 3/5] ASoC: SOF: Intel: hda: add SoundWire IP support

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 2:21 AM, Vinod Koul wrote: On 21-08-19, 15:17, Pierre-Louis Bossart wrote: The Core0 needs to be powered before the SoundWire IP is initialized. Call sdw_intel_init/exit and store the context. We only have one context, but depending on the hardware capabilities and BIOS settings may e

Re: [PATCH for 5.4] media: hantro: Fix s_fmt for dynamic resolution changes

2019-09-04 Thread Philipp Zabel
On Wed, 2019-09-04 at 10:01 -0300, Ezequiel Garcia wrote: > On Wed, 2019-09-04 at 12:13 +0200, Philipp Zabel wrote: > > Hi Ezequiel, > > > > On Tue, 2019-09-03 at 14:12 -0300, Ezequiel Garcia wrote: > > > Commit 953aaa1492c53 ("media: rockchip/vpu: Prepare things to support > > > decoders") > > >

Re: [alsa-devel] [RFC PATCH 4/5] ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 2:35 AM, Vinod Koul wrote: On 22-08-19, 08:53, Pierre-Louis Bossart wrote: Thanks for the review Guennadi +static int sdw_config_stream(void *arg, void *s, void *dai, +void *params, int link_id, int alh_stream_id) I realise, that these function prototype

[PATCH 0/3] Amazon's Annapurna Labs Memory Controller EDAC

2019-09-04 Thread Talel Shenhar
This series introduces support for Amazon's Annapurna Labs Memory Controller EDAC driver. Talel Shenhar (3): dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC arm64: alpine: selec

[PATCH 3/3] arm64: alpine: select EDAC_AL_MC

2019-09-04 Thread Talel Shenhar
Amazon's Annapurna Labs SoCs supports memory error detection and correction. Signed-off-by: Talel Shenhar --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 4778c77..d2809b9 100644 --- a/arch/arm6

[PATCH 2/3] EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC

2019-09-04 Thread Talel Shenhar
The Amazon's Annapurna Labs Memory Controller EDAC supports ECC capability for error detection and correction (Single bit error correction, Double detection). This driver introduces EDAC driver for that capability. Signed-off-by: Talel Shenhar --- MAINTAINERS | 6 + drivers/edac/

[PATCH 1/3] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC

2019-09-04 Thread Talel Shenhar
Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. Signed-off-by: Talel Shenhar --- .../devicetree/bindings/edac/amazon,al-mc-edac.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-mc-edac.txt

Re: [PATCH v4 2/7] PCI: Add ACS quirk for Amazon Annapurna Labs root ports

2019-09-04 Thread Chocron, Jonathan
On Thu, 2019-08-22 at 09:31 +0100, Andrew Murray wrote: > On Wed, Aug 21, 2019 at 06:35:42PM +0300, Jonathan Chocron wrote: > > From: Ali Saidi > > > > The Amazon's Annapurna Labs root ports don't advertise an ACS > > capability, but they don't allow peer-to-peer transactions and do > > validate

[PATCH 1/2] staging: dt-bindings: wilc1000: add optional rtc_clk property

2019-09-04 Thread Eugen.Hristev
From: Eugen Hristev Add bindings for optional rtc clock pin. Signed-off-by: Eugen Hristev --- drivers/staging/wilc1000/microchip,wilc1000,sdio.txt | 8 +++- drivers/staging/wilc1000/microchip,wilc1000,spi.txt | 8 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dri

[PATCH 2/2] staging: wilc1000: look for rtc_clk clock

2019-09-04 Thread Eugen.Hristev
From: Eugen Hristev If rtc_clk is provided from DT, use it and enable it. This is optional. The signal may be hardcoded and no need to be requested, but if DT provides it, use it. Signed-off-by: Eugen Hristev --- drivers/staging/wilc1000/wilc_sdio.c | 14 ++ drivers/stagin

linux-next: Tree for Sep 4

2019-09-04 Thread Stephen Rothwell
Hi all, News: this will be the last linux-next I will release until Sept 30. Changes since 20190903: The regulator tree lost its build failure. The net-next tree gained a build failure due to an interaction with the kbuild tree for which I applied a patch. The drm tree gained conflicts against

[PATCH v2 2/2] KVM: SVM: Disable posted interrupts for odd IRQs

2019-09-04 Thread Alexander Graf
We can easily route hardware interrupts directly into VM context when they target the "Fixed" or "LowPriority" delivery modes. However, on modes such as "SMI" or "Init", we need to go via KVM code to actually put the vCPU into a different mode of operation, so we can not post the interrupt Add co

[GIT PULL] core process updates for v5.4

2019-09-04 Thread Christian Brauner
Hi Linus, This pull request includes the current process group and pidfd extensions for the waitid() syscall, an extension to select a specifc pid for clone3(), and various tests. All changes are centered around process management not just the pidfd api. For this reason the tag name is core-proces

Re: [PATCH v2 3/6] powerpc: Convert flush_icache_range & friends to C

2019-09-04 Thread Segher Boessenkool
On Wed, Sep 04, 2019 at 01:23:36PM +1000, Alastair D'Silva wrote: > > Maybe also add "msr" in the clobbers. > > > Ok. There is no known register "msr" in GCC. Segher

[PATCH v2 1/2] KVM: VMX: Disable posted interrupts for odd IRQs

2019-09-04 Thread Alexander Graf
We can easily route hardware interrupts directly into VM context when they target the "Fixed" or "LowPriority" delivery modes. However, on modes such as "SMI" or "Init", we need to go via KVM code to actually put the vCPU into a different mode of operation, so we can not post the interrupt Add co

[PATCH v2 0/2] KVM: Only use posted interrupts for Fixed/LowPrio MSIs

2019-09-04 Thread Alexander Graf
The MSI-X descriptor has a "delivery mode" field which can be set to various different targets, such as "Fixed" (default), SMI, NMI or INIT. Usually when we pass devices into guests, we only ever see this MSI-X descriptor configured as Fixed, so nobody realized that the other modes were broken whe

Re: [alsa-devel] [PATCH v2 1/5] soundwire: Add compute_params callback

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 4:28 AM, Vinod Koul wrote: On 13-08-19, 09:35, Srinivas Kandagatla wrote: From: Vinod Koul This callback allows masters to compute the bus parameters required. Applied this to help manage cross dependencies with various folks better, thanks Meh. doesn't really help, see my earlie

Re: [PATCH v4 3/7] PCI/VPD: Add VPD release quirk for Amazon's Annapurna Labs Root Port

2019-09-04 Thread Chocron, Jonathan
On Thu, 2019-08-22 at 16:07 +0100, Andrew Murray wrote: > On Thu, Aug 22, 2019 at 02:36:24PM +, Chocron, Jonathan wrote: > > On Thu, 2019-08-22 at 12:41 +0100, Andrew Murray wrote: > > > On Wed, Aug 21, 2019 at 06:35:43PM +0300, Jonathan Chocron wrote: > > > > The Amazon Annapurna Labs PCIe Roo

Re: [PATCH v3 2/2] phy: intel-lgm-sdxc: Add support for SDXC PHY

2019-09-04 Thread Ramuthevar, Vadivel MuruganX
Hi Andy,  Thank you for the review comments . On 4/9/2019 8:39 PM, Andy Shevchenko wrote: On Wed, Sep 04, 2019 at 02:27:19PM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Add support for SDXC PHY on Intel's Lightning Mountain SoC. What's the difference to eMMC P

RE: [PATCH -next] scsi: ufshcd: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Avri Altman
> > > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-by: Avri Altman

RE: [PATCH -next] scsi: ufs-hisi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Avri Altman
> Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-by: Avri Altman

Re: [PATCH v4 7/7] PCI: dwc: Add validation that PCIe core is set to correct mode

2019-09-04 Thread Chocron, Jonathan
On Tue, 2019-08-27 at 10:48 +0100, Andrew Murray wrote: > On Thu, Aug 22, 2019 at 04:30:09PM +, Chocron, Jonathan wrote: > > On Thu, 2019-08-22 at 12:13 +0100, Andrew Murray wrote: > > > On Wed, Aug 21, 2019 at 06:47:45PM +0300, Jonathan Chocron wrote: > > > > Some PCIe controllers can be set t

Re: [PATCH v4 0/7] Amazon's Annapurna Labs DT-based PCIe host controller driver

2019-09-04 Thread Chocron, Jonathan
On Mon, 2019-09-02 at 10:58 +0100, Lorenzo Pieralisi wrote: > On Wed, Aug 21, 2019 at 06:35:40PM +0300, Jonathan Chocron wrote: > > This series adds support for Amazon's Annapurna Labs DT-based PCIe > > host > > controller driver. > > Additionally, it adds 3 quirks (ACS, VPD and MSI-X) and 2 generi

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