Re: [PATCH] time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint

2019-06-28 Thread Peter Zijlstra
On Tue, Jun 25, 2019 at 09:52:38AM -0700, Paul E. McKenney wrote: > Very well, the commit is as shown below. This is on current -rcu, > but feel free to take it if you would like, Peter. Just let me know > and I will mark it so that I don't push it myself. (I need to keep > it in -rcu until I re

[v2,1/2] dt-bindings: PCI: Add support for MT7629

2019-06-28 Thread Jianjun Wang
MT7629 is an ARM platform Soc which has the same PCIe IP with MT7622. Reviewed-by: Rob Herring Acked-by: Ryder Lee Signed-off-by: Jianjun Wang --- Documentation/devicetree/bindings/pci/mediatek-pcie.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pci/m

[v2,2/2] PCI: mediatek: Add controller support for MT7629

2019-06-28 Thread Jianjun Wang
MT7629 is an ARM platform SoC which has the same PCIe IP with MT7622. The HW default value of its Device ID is invalid, fix its Device ID to match the hardware implementation. Acked-by: Ryder Lee Signed-off-by: Jianjun Wang --- drivers/pci/controller/pcie-mediatek.c | 18 ++ in

[v2,0/2] PCI: mediatek: Add support for MT7629

2019-06-28 Thread Jianjun Wang
These series patches modify pcie-mediatek.c and dt-bindings compatible string to support MT7629 PCIe host. Jianjun Wang (2): dt-bindings: PCI: Add support for MT7629 PCI: mediatek: Add controller support for MT7629 .../devicetree/bindings/pci/mediatek-pcie.txt | 1 + drivers/pci/controller

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

2019-06-28 Thread Miroslav Benes
On Thu, 27 Jun 2019, Petr Mladek wrote: > 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 re

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

2019-06-28 Thread Byungchul Park
On Thu, Jun 27, 2019 at 01:36:12PM -0700, Paul E. McKenney wrote: > On Thu, Jun 27, 2019 at 03:17:27PM -0500, Scott Wood wrote: > > On Thu, 2019-06-27 at 11:41 -0700, Paul E. McKenney wrote: > > > On Thu, Jun 27, 2019 at 02:16:38PM -0400, Joel Fernandes wrote: > > > > > > > > I think the fix shoul

[PATCH net-next v2 02/10] net: stmmac: Do not try to enable PHY EEE if MAC does not support it

2019-06-28 Thread Jose Abreu
Do not enable EEE feature in the PHY if MAC does not support it. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH net-next v2 09/10] net: stmmac: Only disable interrupts if NAPI is scheduled

2019-06-28 Thread Jose Abreu
Only disable the interrupts if RX NAPI gets to be scheduled. Also, schedule the TX NAPI only when the interrupts are disabled. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 10 +

[PATCH net-next v2 08/10] net: stmmac: Update RX Tail Pointer to last free entry

2019-06-28 Thread Jose Abreu
Update the RX Tail Pointer to the last available SKB entry. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/etherne

Re: [PATCH v4 0/3] KVM: Yield to IPI target if necessary

2019-06-28 Thread Wanpeng Li
ping again, On Tue, 18 Jun 2019 at 17:00, Wanpeng Li wrote: > > ping, :) > On Tue, 11 Jun 2019 at 20:23, Wanpeng Li wrote: > > > > The idea is from Xen, when sending a call-function IPI-many to vCPUs, > > yield if any of the IPI target vCPUs was preempted. 17% performance > > increasement of ebiz

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

2019-06-28 Thread Jose Abreu
Currently, stmmac only supports 32 bits addressing for SKB. Enable the support for upto 48 bits addressing in XGMAC core. This avoids the use of bounce buffers and increases performance. Changes from v1: - Fallback to 32 bits in failure (Andrew) Signed-off-by: Jose Abreu Cc: Joao Pinto

[PATCH net-next v2 01/10] net: stmmac: dwxgmac: Enable EDMA by default

2019-06-28 Thread Jose Abreu
Enable the EDMA feature by default which gives higher performance. Changes from v1: - Do not use magic values (David) Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 4 +

[PATCH net-next v2 10/10] net: stmmac: Update Kconfig entry

2019-06-28 Thread Jose Abreu
We support more speeds now. Update the Kconfig entry. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ether

[PATCH net-next v2 04/10] net: stmmac: dwxgmac: Fix the undefined burst setting

2019-06-28 Thread Jose Abreu
Undefined burst shall only be set if pdata asks to. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/driver

Re: [PATCH v2 02/18] drm/vram: use embedded gem object

2019-06-28 Thread Thomas Zimmermann
Hi Am 21.06.19 um 13:57 schrieb Gerd Hoffmann: > Drop drm_gem_object from drm_gem_vram_object, use the > ttm_buffer_object.base instead. > > Signed-off-by: Gerd Hoffmann > --- > include/drm/drm_gem_vram_helper.h | 3 +-- > drivers/gpu/drm/ast/ast_main.c | 2 +- > driver

[PATCH net-next v2 06/10] net: stmmac: Do not disable interrupts when cleaning TX

2019-06-28 Thread Jose Abreu
This is a performance killer and anyways the interrupts are being disabled by RX NAPI so no need to disable them again. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 8 +++-

[PATCH net-next v2 05/10] net: stmmac: Add the missing speeds that XGMAC supports

2019-06-28 Thread Jose Abreu
XGMAC supports following speeds: - 10G XGMII - 5G XGMII - 2.5G XGMII - 2.5G GMII - 1G GMII - 100M MII - 10M MII Add them to the stmmac driver. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexan

[PATCH net-next v2 00/10] net: stmmac: 10GbE using XGMAC

2019-06-28 Thread Jose Abreu
Support for 10Gb Link using XGMAC core plus some performance tweaks. Tested in a PCI based setup. iperf3 TCP results: TSO ON, MTU=1500, TX Queues = 1, RX Queues = 1, Flow Control ON Pinned CPU (-A), Zero-Copy (-Z) [ ID] Interval Transfer Bitrate Retr [ 5]

[PATCH net-next v2 03/10] net: stmmac: Decrease default RX Watchdog value

2019-06-28 Thread Jose Abreu
For performance reasons decrease the default RX Watchdog value for the minimum allowed. Signed-off-by: Jose Abreu Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue --- drivers/net/ethernet/stmicro/stmmac/common.h | 2 +- drivers/net/ethernet/stmicro/stmmac/s

linux-next: manual merge of the gpio tree with the mfd tree

2019-06-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gpio tree got a conflict in: drivers/gpio/Makefile between commit: 18bc64b3aebf ("gpio: Initial support for ROHM bd70528 GPIO block") from the mfd tree and commit: db16bad6efd9 ("gpio: Sort GPIO drivers in Makefile") from the gpio tree. I fixed

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

2019-06-28 Thread Jose Abreu
From: Andrew Lunn > On Thu, Jun 27, 2019 at 01:33:59PM +, Jose Abreu wrote: > > From: Andrew Lunn > > > > > There have been some drivers gaining patches for ACPI. That is > > > probably the better long term solution, ask ACPI where is the PHY and > > > what MDIO protocol to use to talk to i

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

2019-06-28 Thread Zhenyu Wang
On 2019.06.28 07:43:46 +0200, Gerd Hoffmann wrote: > On Fri, Jun 28, 2019 at 11:21:49AM +0800, Zhenyu Wang wrote: > > On 2019.06.27 12:31:33 +0200, Gerd Hoffmann wrote: > > > > > Hi, > > > > > > > > > > > Instead of delivering page flip events, we choose to post display > > > > > > vblank event.

Re: [PATCH] x86: skip PIT initialization on modern chipsets

2019-06-28 Thread Daniel Drake
Oops, please also add a reference to the main thread: On Fri, Jun 28, 2019 at 3:23 PM Daniel Drake wrote: > Detect modern setups where we have no need for the PIT (e.g. where > we already know the TSC and LAPIC timer frequencies, so no need > to calibrate them against the PIT), and skip initializ

[PATCH net-next v2] net: stmmac: Fix case when PHY handle is not present

2019-06-28 Thread Jose Abreu
Some DT bindings do not have the PHY handle. Let's fallback to manually discovery in case phylink_of_phy_connect() fails. Changes from v1: - Fixup comment style (Sergei) Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic") Reported-by: Katsuhiro Suzuki Tested-b

Re: [PATCH v5 0/7] Extend write-hint framework, and add write-hint for Ext4 journal

2019-06-28 Thread 'Christoph Hellwig'
On Wed, Jun 26, 2019 at 06:17:29PM +0530, kanchan wrote: > Christoph, > May I know if you have thoughts about what Jan mentioned below? As said I fundamentally disagree with exposting the streams mess at the block layer. I have no problem with setting a hint on the journal, but I do object to e

[PATCH v3] clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource

2019-06-28 Thread Weiyi Lu
The 13MHz clock should be registered before clocksource driver is initialized. Use CLK_OF_DECLARE_DRIVER() to guarantee. Fixes: acddfc2c261b ("clk: mediatek: Add MT8183 clock support") Cc: Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-mt8183.c | 46 +--

Re: [PATCH v2 2/5] nvme: rename "pci" operations to "mmio"

2019-06-28 Thread Christoph Hellwig
On Tue, Jun 25, 2019 at 11:51:28AM +0800, Daniel Drake wrote: > Bearing in mind that we've already been told that the NVMe device > config space is inaccessible, and the new docs show exactly how the > BIOS enforces such inaccessibility during early boot, the remaining > points you mentioned recent

[PATCH] x86: skip PIT initialization on modern chipsets

2019-06-28 Thread Daniel Drake
From: Thomas Gleixner Recent Intel chipsets including Skylake and ApolloLake have a special ITSSPRC register which allows the 8254 PIT to be gated. When gated, the 8254 registers can still be programmed as normal, but there are no IRQ0 timer interrupts. Some products such as the Connex L1430 and

Re: [PATCH RESEND v3] sched/isolation: Prefer housekeeping cpu in local node

2019-06-28 Thread Wanpeng Li
Hi Srikar, On Fri, 28 Jun 2019 at 14:58, Srikar Dronamraju wrote: > > * Wanpeng Li [2019-06-28 08:43:13]: > > > > > > +/* > > + * sched_numa_find_closest() - given the NUMA topology, find the cpu > > + * closest to @cpu from @cpumask. > > + * cpumask: cpumask to find a

Re: [PATCH v4 1/2] mtd: rawnand: Add Macronix Raw NAND controller

2019-06-28 Thread Miquel Raynal
Hi masonccy...@mxic.com.tw, masonccy...@mxic.com.tw wrote on Fri, 28 Jun 2019 14:01:55 +0800: > Hi Miquel, > > > > > Add a driver for Macronix raw NAND controller. > > > > Could you pass userspace major MTD tests and can you attach/mount/edit > > a UBI/UBIFS storage? > > mtd_debug passed

pull-request: wireless-drivers 2019-06-28

2019-06-28 Thread Kalle Valo
Hi Dave, here's a pull request to net tree for 5.2, more info below. Please let me know if there are any problems. Kalle The following changes since commit c356dc4b540edd6c02b409dd8cf3208ba2804c38: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2019-06-21 22:23:35 -0700) are

Re: [PATCH v3 02/22] PM / devfreq: tegra30: Keep interrupt disabled while governor is stopped

2019-06-28 Thread Dmitry Osipenko
28.06.2019 9:48, MyungJoo Ham пишет: >> There is no real need to keep interrupt always-enabled, will be nicer >> to keep it disabled while governor is inactive. >> >> Suggested-by: Thierry Reding >> Signed-off-by: Dmitry Osipenko >> --- >> drivers/devfreq/tegra30-devfreq.c | 43 --

Re: [PATCH] sh: clkfwk: don't pass void pointers to ioread*

2019-06-28 Thread Christoph Hellwig
On Fri, Jun 28, 2019 at 09:01:40AM +0200, Geert Uytterhoeven wrote: > This is due to include/asm-generic/io.h and include/asm-generic/iomap.h > using different prototypes, right? > > include/asm-generic/io.h:static inline u8 ioread8(const volatile void > __iomem *addr) > include/asm-generic/io.h:s

Re: [PATCH][next] nvme-trace: fix spelling mistake "spcecific" -> "specific"

2019-06-28 Thread Christoph Hellwig
Thanks, applied to nvme-5.3.

Re: [PATCH -next] nvme-pci: Make nvme_dev_pm_ops static

2019-06-28 Thread Christoph Hellwig
Thanks, applied to nvme-5.3.

Re: [PATCH] staging:kpc2000:Fix sparse warnings

2019-06-28 Thread Greg KH
On Fri, Jun 28, 2019 at 12:21:38AM +0530, Harsh Jain wrote: > From: root Interesting user name :) > Fix following sparse warning > symbol was not declared. Should it be static? > Using plain integer as NULL pointer Don't do multiple things in the same patch. Please break thsi up into two diffe

Re: [PATCH v2 4/7] powerpc/ftrace: Additionally nop out the preceding mflr with -mprofile-kernel

2019-06-28 Thread Nicholas Piggin
Naveen N. Rao's on June 27, 2019 9:23 pm: > With -mprofile-kernel, gcc emits 'mflr r0', followed by 'bl _mcount' to > enable function tracing and profiling. So far, with dynamic ftrace, we > used to only patch out the branch to _mcount(). However, mflr is > executed by the branch unit that can only

Re: [PATCH] sh: clkfwk: don't pass void pointers to ioread*

2019-06-28 Thread Geert Uytterhoeven
Hi Christoph, On Fri, Jun 28, 2019 at 8:25 AM Christoph Hellwig wrote: > Passing pointers with a const attrіbute to the ioread* functions > causes a lot of compiler warnings, so remove the extra attributes. > > Signed-off-by: Christoph Hellwig Thanks for your patch! > --- > drivers/sh/clk/cpg

[PATCH v4] net: netfilter: Fix rpfilter dropping vrf packets by mistake

2019-06-28 Thread Miaohe Lin
When firewalld is enabled with ipv4/ipv6 rpfilter, vrf ipv4/ipv6 packets will be dropped. Vrf device will pass through netfilter hook twice. One with enslaved device and another one with l3 master device. So in device may dismatch witch out device because out device is always enslaved device.So fai

RE: [PATCH 1/2] arm64: dts: imx8mq: Correct OPP table according to latest datasheet

2019-06-28 Thread Anson Huang
> -Original Message- > From: Leonard Crestez > Sent: Friday, June 28, 2019 2:45 PM > To: Anson Huang ; Jacky Bai ; > l.st...@pengutronix.de > Cc: shawn...@kernel.org; robh...@kernel.org; mark.rutl...@arm.com; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > viresh.ku

<    3   4   5   6   7   8