Re: Early timeouts due to inaccurate jiffies during system suspend/resume

2018-04-26 Thread Thomas Gleixner
On Tue, 24 Apr 2018, Imre Deak wrote: > On Mon, Apr 23, 2018 at 08:01:28PM +0300, Imre Deak wrote: > > On Thu, Apr 19, 2018 at 01:05:39PM +0200, Thomas Gleixner wrote: > > > On Thu, 19 Apr 2018, Imre Deak wrote: > > > > Hi, > > > > > > > > while checking bug [1], I noticed that jiffies based timin

Re: [PATCH v2 net-next 0/2] tcp: mmap: rework zerocopy receive

2018-04-26 Thread Eric Dumazet
On 04/26/2018 02:16 PM, Andy Lutomirski wrote: > At the risk of further muddying the waters, there's another minor tweak > that could improve performance on certain workloads. Currently you mmap() > a range for a given socket and then getsockopt() to receive. If you made > it so you could mmap(

Re: [PATCH] kbuild: gcov: enable -fno-tree-loop-im if supported

2018-04-26 Thread Nick Desaulniers
Hi Masahiro and Michal, The reporter has asked for their email address to be updated to: psoda...@codeaurora.org if you're ok with this version of the patch and choose to apply it, can you please update the commit message. Otherwise, I'll make this change should we need other changes necessitati

Re: [PATCH] drm/bridge: adv7511: fix spelling of driver name in Kconfig

2018-04-26 Thread Laurent Pinchart
Hi Peter, Thank you for the patch. On Friday, 27 April 2018 00:36:44 EEST Peter Rosin wrote: > Could perhaps prevent some confusion. > > Signed-off-by: Peter Rosin Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/adv7511/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-04-26 Thread Gustavo A. R. Silva
Hi Mauro, On 04/23/2018 02:17 PM, Mauro Carvalho Chehab wrote: Em Mon, 23 Apr 2018 14:11:02 -0500 Thanks, I 'll mark this series as rejected at patchwork.linuxtv.org. Please feel free to resubmit any patch if they represent a real threat, adding a corresponding description about the threat scen

Re: [PATCH v5 09/11] vsprintf: Prevent crash when dereferencing invalid pointers

2018-04-26 Thread kbuild test robot
Hi Petr, I love your patch! Yet something to improve: [auto build test ERROR on next-20180424] [cannot apply to linus/master v4.17-rc2 v4.17-rc1 v4.16 v4.17-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-c

Re: [PATCH 1/5] X86: Hyper-V: Enlighten APIC access

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, k...@linuxonhyperv.com wrote: > --- /dev/null > +++ b/arch/x86/hyperv/hv_apic.c > @@ -0,0 +1,98 @@ > +// SPDX-License-Identifier: GPL-2.0 Thanks for putting the license identifier in. > + > +/* > + * Hyper-V specific APIC code. > + * > + * Copyright (C) 2018, Microsoft, Inc.

Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options

2018-04-26 Thread Mikulas Patocka
On Thu, 26 Apr 2018, John Stoffel wrote: > > "James" == James Bottomley > > writes: > > James> I may be an atypical developer but I'd rather have a root canal > James> than browse through menuconfig options. The way to get people > James> to learn about new debugging options is to bl

Re: [PATCH] net/mlx5: report persistent netdev stats across ifdown/ifup commands

2018-04-26 Thread Saeed Mahameed
On Thu, Apr 26, 2018 at 1:37 PM, Qing Huang wrote: > Current stats collecting scheme in mlx5 driver is to periodically fetch > aggregated stats from all the active mlx5 software channels associated > with the device. However when a mlx5 interface is brought down(ifdown), > all the channels will be

stable 4.16.5 hmm build error

2018-04-26 Thread Randy Dunlap
https://bugzilla.kernel.org/show_bug.cgi?id=199515 kernel/fork.o: In function `__mmdrop': /kernel/build_kernel/linux-4.16.4/kernel/fork.c:600: undefined reference to `hmm_mm_destroy' "It is also reproduced in linux-4.16.5" There have been a few attempts to fix this build error. The kernel mai

[LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-04-26 Thread Luis R. Rodriguez
Below are my notes on the ZONE_DMA discussion at LSF/MM 2018. There were some earlier discussion prior to my arrival to the session about moving around ZOME_DMA around, if someone has notes on that please share too :) PS. I'm not subscribed to linux-mm Luis Determining you don't need to suppor

Re: [PATCH] mm: don't show nr_indirectly_reclaimable in /proc/vmstat

2018-04-26 Thread David Rientjes
On Thu, 26 Apr 2018, Michal Hocko wrote: > > Don't show nr_indirectly_reclaimable in /proc/vmstat, > > because there is no need in exporting this vm counter > > to the userspace, and some changes are expected > > in reclaimable object accounting, which can alter > > this counter. > > > > Signed-o

[RFC/PATCH] net: ethernet: nixge: Use of_get_mac_address()

2018-04-26 Thread Moritz Fischer
Make nixge driver work with 'mac-address' property instead of 'address' property. There are currently no in-tree users and the only users of this driver are devices that use overlays we control to instantiate the device together with the corresponding FPGA images. Signed-off-by: Moritz Fischer --

[RESEND PATCH v3] docs: kernel-parameters.txt: Fix whitespace

2018-04-26 Thread Thymo van Beers
Some lines used spaces instead of tabs at line start. This can cause mangled lines in editors due to inconsistency. Replace spaces for tabs where appropriate. Signed-off-by: Thymo van Beers Reviewed-by: Randy Dunlap --- Changes in v3: - Change indentation in intel_pstate to reduce overrunning

Re: [RFC/PATCH] net: ethernet: nixge: Use of_get_mac_address()

2018-04-26 Thread Moritz Fischer
On Thu, Apr 26, 2018 at 02:57:42PM -0700, Moritz Fischer wrote: > Make nixge driver work with 'mac-address' property instead of > 'address' property. There are currently no in-tree users and > the only users of this driver are devices that use overlays > we control to instantiate the device togethe

Re: [PATCH v4 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-04-26 Thread Kim Phillips
On Wed, 25 Apr 2018 14:30:47 +0530 Ganapatrao Kulkarni wrote: > +static int thunderx2_uncore_event_init(struct perf_event *event) ... > + /* > + * SOC PMU counters are shared across all cores. > + * Therefore, it does not support per-process mode. > + * Also, it does not suppor

Re: [PATCH 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, k...@linuxonhyperv.com wrote: > +static int __send_ipi_mask(const struct cpumask *mask, int vector) > +{ > + int cur_cpu, vcpu; > + struct ipi_arg_non_ex **arg; > + struct ipi_arg_non_ex *ipi_arg; > + int ret = 1; So this indicates whether __send_ipi_mask() can

Re: [RFC 00/13] arm64: allwinner: Add A64 DE2 pipeline support

2018-04-26 Thread Jernej Škrabec
Hi, Dne četrtek, 26. april 2018 ob 15:26:49 CEST je Jagan Teki napisal(a): > On Wed, Apr 25, 2018 at 11:29 PM, Jernej Škrabec > > wrote: > > Hi, > > > > Dne sreda, 25. april 2018 ob 12:34:09 CEST je Jagan Teki napisal(a): > >> On Tue, Apr 24, 2018 at 9:02 PM, Jernej Škrabec > > > > wrote: > >

Re: [PATCH] netfilter: fix nf_tables filter chain type build

2018-04-26 Thread Pablo Neira Ayuso
On Sat, Apr 21, 2018 at 09:10:09PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors due to a missing Kconfig dependency term. > Fixes these build errors: > > net/ipv6/netfilter/nft_chain_nat_ipv6.o: In function `nft_nat_do_chain': > net/ipv6/netfilter/nft_chain_nat_ipv6.c:37:

RE: [PATCH 1/5] X86: Hyper-V: Enlighten APIC access

2018-04-26 Thread Michael Kelley (EOSG)
> -Original Message- > From: k...@linuxonhyperv.com > Sent: Wednesday, April 25, 2018 11:13 AM > To: x...@kernel.org; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; > t...@linutronix.de;

Re: [PATCH] gpu: drm: bridge: adv7511: Replace mdelay with usleep_range in adv7511_probe

2018-04-26 Thread Laurent Pinchart
Hi Jia-Ju, Thank you for the patch. On Wednesday, 11 April 2018 11:33:42 EEST Jia-Ju Bai wrote: > adv7511_probe() is never called in atomic context. > This function is only set as ".probe" in struct i2c_driver. > > Despite never getting called from atomic context, adv7511_probe() > calls mdelay(

Re: [PATCH 3/5] X86: Hyper-V: Enhanced IPI enlightenment

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, k...@linuxonhyperv.com wrote: > > +struct ipi_arg_ex { > + u32 vector; > + u32 reserved; > + struct hv_vpset vp_set; Please align that in tabular fashion for easy of reading u32 vector; u32 reserved; struct hv_vps

Re: [PATCH v2 6/6] rpmsg: glink: Expose rpmsg name attr for glink

2018-04-26 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.17-rc2 next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 4/5] X86: Hyper-V: Consolidate code for converting cpumask to vpset

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, k...@linuxonhyperv.com wrote: > > if (!cpumask_equal(mask, cpu_present_mask)) { > - ipi_arg->vp_set.format = HV_GENERIC_SET_SPARCE_4K; > + ipi_arg->vp_set.format = HV_GENERIC_SET_SPARSE_4K; Please move this patch before the others, so you can us

Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options

2018-04-26 Thread Michael S. Tsirkin
On Thu, Apr 26, 2018 at 05:50:20PM -0400, Mikulas Patocka wrote: > How is the user or developer supposed to learn about this option, if > he gets no crash at all? Look in /sys/kernel/debug/fail* ? That actually lets you filter by module, process etc. I think this patch conflates two things: 1.

Re: [PATCH 5/5] X86: Hyper-V: Consolidate the allocation of the hypercall input page

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, k...@linuxonhyperv.com wrote: > From: "K. Y. Srinivasan" > > Consolidate the allocation of the hypercall input page. Again. You can provide the new way of allocation first, then you don't have to add code first in order to remove it later again. Thanks, tglx

Re: [PATCH] PM / Sleep: only update last time for active wakeup sources

2018-04-26 Thread Doug Berger
On 04/25/2018 11:30 PM, Rafael J. Wysocki wrote: > On Thu, Apr 26, 2018 at 1:40 AM, Doug Berger wrote: >> When wakelock support was added, the wakeup_source_add() function >> was updated to set the last_time value of the wakeup source. This >> has the unintended side effect of producing confusing

Re: random: GFP_KERNEL from irq context

2018-04-26 Thread Theodore Y. Ts'o
On Thu, Apr 26, 2018 at 10:28:13AM -0600, Jens Axboe wrote: > during boot. We end up doing the numa_crng_init() from interrupt context, > which > makes things unhappy since you do GFP_KERNEL | __GFP_NOFAIL allocations from > there. I've already sent a pull request to Linux to fix this; see the ra

Re: [PATCH 2/2] kvm: nVMX: Introduce KVM_CAP_STATE

2018-04-26 Thread Jim Mattson
I'll send out a patch to deal with nested_run_pending. The other thing that comes to mind is that there are some new fields in the VMCS12 since I first implemented this. One potentially troublesome field is the VMX preemption timer. If the current timer value is not saved on VM-exit, then it won't

Re: [PATCH v2] net: qrtr: Expose tunneling endpoint to user space

2018-04-26 Thread Chris Lew
On 4/23/2018 2:46 PM, Bjorn Andersson wrote: This implements a misc character device named "qrtr-tun" for the purpose of allowing user space applications to implement endpoints in the qrtr network. This allows more advanced (and dynamic) testing of the qrtr code as well as opens up the ability

Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-04-26 Thread Kani, Toshi
On Thu, 2018-04-26 at 22:07 +0200, j...@8bytes.org wrote: > On Thu, Apr 26, 2018 at 05:49:58PM +, Kani, Toshi wrote: > > On Thu, 2018-04-26 at 19:23 +0200, j...@8bytes.org wrote: > > > So the PMD entry you clear can still be in a page-walk cache and this > > > needs to be flushed too before you

[PATCH 01/24] drm/bridge: allow optionally specifying an .owner device

2018-04-26 Thread Peter Rosin
Bridge drivers can now (temporarily, in a transition phase) select if they want to provide a full owner or keep just providing an of_node. By providing a full owner device, the bridge drivers no longer need to provide an of_node since that node is available via the owner device. When all bridge d

[PATCH 04/24] drm/bridge: analogix-anx78xx: provide an .owner device

2018-04-26 Thread Peter Rosin
It gets rid of an #if and the .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix-anx78xx.c ind

[PATCH 10/24] drm/bridge: ps8622: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 81198f5e9afa..6dd19a5fcebd 100644 --

[PATCH 15/24] drm/bridge: tc358767: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/tc358767.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c index 08ab7d6aea65..a16573bb8715 100644 --- a/drivers/gpu

[PATCH 13/24] drm/bridge: sii8620: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/sil-sii8620.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sil-sii8620.c b/drivers/gpu/drm/bridge/sil-sii8620.c index 7ab36042a822..650f71003e45 100644 --- a/dr

[PATCH 17/24] drm/exynos: mic: provide an .owner device for the bridge

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/exynos/exynos_drm_mic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 2174814273e2..453716cb4d3d 100644

[PATCH 22/24] drm/bridge: remove the .of_node member

2018-04-26 Thread Peter Rosin
It is unused. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c | 3 +-- include/drm/drm_bridge.h | 4 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index 67147673fdeb..9f023bd84d56 100644 --- a/driver

[PATCH 24/24] drm/bridge: establish a link between the bridge supplier and consumer

2018-04-26 Thread Peter Rosin
If the bridge supplier is unbound, this will bring the bridge consumer down along with the bridge. Thus, there will no longer linger any dangling pointers from the bridge consumer (the drm_device) to some non-existent bridge supplier. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c |

[PATCH 20/24] drm/rcar-du: lvds: provide an .owner device for the bridge

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 3d2d3bbd1342..5984c70b5590 100644 --- a/drive

[PATCH 23/24] drm/bridge: require the .owner to be filled in on drm_bridge_attach

2018-04-26 Thread Peter Rosin
The .owner will be handy to have around. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_bridge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index 9f023bd84d56..a038da696802 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b

[PATCH 21/24] drm/sti: provide an .owner device for the bridges

2018-04-26 Thread Peter Rosin
The .of_node member is going away and providing an .owner will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/sti/sti_dvo.c | 2 +- drivers/gpu/drm/sti/sti_hda.c | 1 + drivers/gpu/drm/sti/sti_hdmi.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 19/24] drm/msm: specify the .owner of the bridges

2018-04-26 Thread Peter Rosin
This will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 1 + drivers/gpu/drm/msm/edp/edp_bridge.c | 1 + drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu

[PATCH 18/24] drm/mediatek: hdmi: provide an .owner device for the bridge

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 59a11026dceb..b4a7908e0cc6 100644 --- a/drive

[PATCH 16/24] drm/bridge: ti-tfp410: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/ti-tfp410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index acb857030951..7e5938e988be 100644 --- a/drivers/

[PATCH 14/24] drm/bridge: synopsys: provide an .owner device for the bridges

2018-04-26 Thread Peter Rosin
It gets rid of two #ifdefs and the .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 +--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/s

[PATCH 11/24] drm/bridge: sii902x: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/sii902x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index 60373d7eb220..0127090f38b3 100644 --- a/drivers/gpu/drm

[PATCH 08/24] drm/bridge: nxp-ptn3460: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c index d64a3283822a..e6a15ec60e12 100644 --- a/dr

[PATCH 12/24] drm/bridge: sii9234: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/sii9234.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/sii9234.c b/drivers/gpu/drm/bridge/sii9234.c index c77000626c22..879d9b5ef4cf 100644 --- a/drivers/gpu/drm

[PATCH 09/24] drm/bridge: panel: provide an .owner device

2018-04-26 Thread Peter Rosin
It gets rid of an #ifdef and the .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/panel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c index 6d99d4a3beb3..279271a1d7e7 10

[PATCH 07/24] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/megachips-stdp-ge-b850v3-fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/megachips-stdp-ge-b850v3-fw.c b/drivers/gpu/drm/bridge/megachips-stdp-ge-

[PATCH 05/24] drm/bridge: vga-dac: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/dumb-vga-dac.c index 498d5948d1a8..244f6bfb8967 100644 --- a

[PATCH 06/24] drm/bridge: lvds-encoder: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c b/drivers/gpu/drm/bridge/lvds-encoder.c index 75b0d3f6e4de..7aa12f4b5745 100644 --- a

[PATCH 02/24] drm/bridge: adv7511: provide an .owner device

2018-04-26 Thread Peter Rosin
The .of_node member is going away. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index efa29db5fc2b..866f

Re: [PATCH] net/mlx5: report persistent netdev stats across ifdown/ifup commands

2018-04-26 Thread Qing Huang
On 04/26/2018 02:50 PM, Saeed Mahameed wrote: On Thu, Apr 26, 2018 at 1:37 PM, Qing Huang wrote: Current stats collecting scheme in mlx5 driver is to periodically fetch aggregated stats from all the active mlx5 software channels associated with the device. However when a mlx5 interface is bro

[PATCH 00/24] device link, bridge supplier <-> drm device

2018-04-26 Thread Peter Rosin
Hi! It was noted by Russel King [1] that bridges (not using components) might disappear unexpectedly if the owner of the bridge was unbound. Jyri Sarha had previously noted the same thing with panels [2]. Jyri came up with using device links to resolve the panel issue, which was also my (independe

[PATCH 03/24] drm/bridge/analogix: core: specify the .owner of the bridge

2018-04-26 Thread Peter Rosin
This will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 5c52307146c7..5a9dbbd78

Re: [PATCH] dt-bindings: panel: lvds: Fix path to display timing bindings

2018-04-26 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Wednesday, 25 April 2018 10:49:38 EEST Geert Uytterhoeven wrote: > Fixes: 14da3ed8dd08c581 ("devicetree/bindings: display: Document common > panel properties") > Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart > --- > Documentation/device

Re: [PATCH v2] dt-bindings: gpio: Add support for r8a77965

2018-04-26 Thread Linus Walleij
On Mon, Apr 16, 2018 at 8:55 PM, Jacopo Mondi wrote: > Add compatible string for R-Car M3-N (r8a77965) in gpio-rcar. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > Reviewed-by: Simon Horman > Reviewed-by: Rob Herring > --- > > Renesas R-Car M3-N support has been merged fo

Re: [RFC PATCH ghak32 V2 01/13] audit: add container id

2018-04-26 Thread Paul Moore
On Tue, Apr 24, 2018 at 8:40 PM, Richard Guy Briggs wrote: > On 2018-04-24 15:01, Paul Moore wrote: >> On Mon, Apr 23, 2018 at 10:02 PM, Richard Guy Briggs wrote: >> > On 2018-04-23 19:15, Paul Moore wrote: >> >> On Sat, Apr 21, 2018 at 10:34 AM, Richard Guy Briggs >> >> wrote: >> >> > On 2018-

Re: [PATCH] dt-bindings: pinctrl: mcp23s08: Clarify gpiospec flags cell usage

2018-04-26 Thread Linus Walleij
On Wed, Apr 11, 2018 at 11:42 PM, Ricardo Silva wrote: > The pinctrl-mcp23s08 driver doesn't provide a specific gpiospec > of_xlate() function, causing the gpiolib-of's of_gpio_simple_xlate() > function to be used instead, which takes the gpiospec's second cell as > the flags specifier according

Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options

2018-04-26 Thread Mikulas Patocka
On Fri, 27 Apr 2018, Michael S. Tsirkin wrote: > On Thu, Apr 26, 2018 at 05:50:20PM -0400, Mikulas Patocka wrote: > > How is the user or developer supposed to learn about this option, if > > he gets no crash at all? > > Look in /sys/kernel/debug/fail* ? That actually lets you > filter by modul

Re: [PATCH] pinctrl: mediatek: update pinmux defintions for MT7623

2018-04-26 Thread Linus Walleij
On Mon, Apr 16, 2018 at 4:32 AM, Ryder Lee wrote: > Fulfill the pinmux macros for MT7623 > > Signed-off-by: Ryder Lee Patch applied with Rob's review tag. Yours, Linus Walleij

RE: [PATCH 2/5] X86: Hyper-V: Enable IPI enlightenments

2018-04-26 Thread Michael Kelley (EOSG)
> -Original Message- > From: k...@linuxonhyperv.com > Sent: Wednesday, April 25, 2018 11:13 AM > To: x...@kernel.org; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; > t...@linutronix.de;

RE: [PATCH 1/5] X86: Hyper-V: Enlighten APIC access

2018-04-26 Thread Thomas Gleixner
Michael, On Thu, 26 Apr 2018, Michael Kelley (EOSG) wrote: > > -Original Message- > > From: k...@linuxonhyperv.com > > Sent: Wednesday, April 25, 2018 11:13 AM > > To: x...@kernel.org; gre...@linuxfoundation.org; > > linux-kernel@vger.kernel.org; > > de...@linuxdriverproject.org; o...@a

Re: [PATCH 1/2] gpio: pci-idio-16: Fix port memory offset for get_multiple callback

2018-04-26 Thread Linus Walleij
On Wed, Apr 18, 2018 at 2:53 PM, William Breathitt Gray wrote: > The ioread8 function expects a memory offset argument. This patch fixes > the ports array to provide the memory addresses of the respective device > I/O registers. > > Fixes: 810ebfc5efca ("gpio: pci-idio-16: Implement get_multiple

Re: [PATCH 2/2] gpio: pcie-idio-24: Fix port memory offset for get_multiple/set_multiple callbacks

2018-04-26 Thread Linus Walleij
On Wed, Apr 18, 2018 at 2:53 PM, William Breathitt Gray wrote: > The ioread8/iowrite8 functions expect a memory offset argument. This > patch fixes the ports array to provide the memory addresses of the > respective device I/O registers. > > Fixes: ca37081595a2 ("gpio: pcie-idio-24: Implement get

Re: [PATCH v9 7/9] pinctrl: madera: Add DT bindings for Cirrus Logic Madera codecs

2018-04-26 Thread Linus Walleij
On Tue, Apr 17, 2018 at 10:53 AM, Richard Fitzgerald wrote: > What is your opinion of the i.MX6 pinctrl failure after my bugfix patch > for the hogs? Don't know yet. I will answer to that patch, when I get to it. > If you would want to revert my patch I would need to change this pinctrl > drive

[PATCH v3 6/6] rpmsg: glink: Expose rpmsg name attr for glink

2018-04-26 Thread Chris Lew
Expose the name field as an attr so clients listening to uevents for rpmsg can identify the edge the events correspond to. Signed-off-by: Chris Lew --- Changes since v2: - Remove const on attribute struct Changes since v1: - Add const to attribute struct - Get name from glink channel drivers/

[PATCH v3 5/6] rpmsg: glink: Add support for rpmsg glink chrdev

2018-04-26 Thread Chris Lew
RPMSG provides a char device interface to userspace. Probe the rpmsg chrdev channel to enable the rpmsg_ctrl device creation on glink transports. Signed-off-by: Chris Lew --- Changes since v1: - Use qcom_glink_alloc_channel to create the chrdev rpmsg device drivers/rpmsg/qcom_glink_native.c |

[PATCH v3 2/6] rpmsg: glink: Store edge name for glink device

2018-04-26 Thread Chris Lew
Channels may need to identify the edge their channel was probed for. Store the edge name by reading the label property from device tree or default to the node name. Signed-off-by: Chris Lew --- Changes since v1: - None drivers/rpmsg/qcom_glink_native.c | 6 ++ 1 file changed, 6 insertions(

[PATCH v3 1/6] dt-bindings: soc: qcom: Add label for GLINK bindings

2018-04-26 Thread Chris Lew
There are GLINK clients who open the same channel on multiple GLINK links. These clients need a way to distinguish which remoteproc they are communicating to. Add a label property to identify the edge this node represents. Signed-off-by: Chris Lew --- Changes since v1: - Add explanation for labe

[PATCH v3 3/6] rpmsg: glink: Use complete_all for open states

2018-04-26 Thread Chris Lew
The open_req and open_ack completion variables are the state variables to represet a remote channel as open. Use complete_all so there are no races with waiters and using completion_done. Signed-off-by: Chris Lew --- Changes since v1: - New change drivers/rpmsg/qcom_glink_native.c | 4 ++-- 1

[PATCH v3 0/6] Add chrdev and name query support for GLINK

2018-04-26 Thread Chris Lew
Add support for the GLINK rpmsg transport to register a rpmsg chrdev. This will create the rpmsg_ctrl nodes for userspace clients to open rpmsg epts. Create a label property that will help userspace clients distinguish between the different GLINK links. The rpmsg chrdev allocation is done by allo

[PATCH v3 4/6] rpmsg: Guard against null endpoint ops in destroy

2018-04-26 Thread Chris Lew
In RPMSG GLINK the chrdev device will allocate an ept as part of the rpdev creation. This device will not register endpoint ops even though it has an allocated ept. Protect against the case where the device is being destroyed. Signed-off-by: Chris Lew --- Changes since v1: - New change drivers

Re: [PATCH] gpio: make several const arrays static, shrinks object size

2018-04-26 Thread Linus Walleij
On Wed, Apr 18, 2018 at 7:26 PM, Colin King wrote: > From: Colin Ian King > > Don't populate the const read-only arrays 'port' on the stack but > instead make them static. Makes the object code smaller: > > Before: > textdata bss dechex filename > 85424088 672 13302

Re: [PATCH v2 1/2] pinctrl/samsung: Correct EINTG banks order

2018-04-26 Thread Linus Walleij
On Wed, Apr 18, 2018 at 5:47 PM, Krzysztof Kozlowski wrote: > I fixed this, re-wrapped commit for 72-column and applied to my tree. > > Linus, > I'll send them to you in pull request for next release cycle. OK waiting for that. Yours, Linus Walleij

Re: [PATCH 00/24] device link, bridge supplier <-> drm device

2018-04-26 Thread Peter Rosin
On 2018-04-27 00:40, Laurent Pinchart wrote: > Hi Peter, > > Thank you for the patches. > > On Friday, 27 April 2018 01:31:15 EEST Peter Rosin wrote: >> Hi! >> >> It was noted by Russel King [1] that bridges (not using components) >> might disappear unexpectedly if the owner of the bridge was unb

Re: [PATCH] drm/bridge: tc358767: fix mode_valid's return type

2018-04-26 Thread Laurent Pinchart
Hi Luc, Thank you for the patch. On Tuesday, 24 April 2018 16:14:52 EEST Luc Van Oostenryck wrote: > The method struct drm_connector_helper_funcs::mode_valid is defined > as returning an 'enum drm_mode_status' but the driver implementation > for this method uses an 'int' for it. > > Fix this by

RE: [PATCH 3/5] X86: Hyper-V: Enhanced IPI enlightenment

2018-04-26 Thread Michael Kelley (EOSG)
On Wed, 25 Apr 2018, KY Srinivasan wrote: > > +struct ipi_arg_ex { > + u32 vector; > + u32 reserved; > + struct hv_vpset vp_set; > +}; Again, suggest moving to hyperv-tlfs.h. And the 5.0b version of the TLFS has: u32 vector; u8 targetvtl;

Re: [PATCH v2] drm/nouveau/secboot: remove VLA usage

2018-04-26 Thread Kees Cook
On Thu, Mar 15, 2018 at 7:05 PM, Ben Skeggs wrote: > On 14 March 2018 at 21:08, Thierry Reding wrote: >> On Tue, Mar 13, 2018 at 11:24:11AM -0500, Gustavo A. R. Silva wrote: >>> In preparation to enabling -Wvla, remove VLA. In this particular >>> case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE

[PATCH v2] MIPS: c-r4k: fix data corruption related to cache coherence.

2018-04-26 Thread NeilBrown
When DMA will be performed to a MIPS32 1004K CPS, the L1-cache for the range needs to be flushed and invalidated first. The code currently takes one of two approaches. 1/ If the range is less than the size of the dcache, then HIT type requests flush/invalidate cache lines for the particular

Re: [PATCH 04/61] bus: simplify getting .drvdata

2018-04-26 Thread Florian Fainelli
On 04/19/2018 07:05 AM, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Looks reasonable, would you want to use dev_set_drvdata() while we are it? That would bring more consis

Re: [PATCH] net/mlx5: report persistent netdev stats across ifdown/ifup commands

2018-04-26 Thread Saeed Mahameed
On Thu, Apr 26, 2018 at 3:37 PM, Qing Huang wrote: > > > On 04/26/2018 02:50 PM, Saeed Mahameed wrote: >> >> On Thu, Apr 26, 2018 at 1:37 PM, Qing Huang wrote: >>> >>> Current stats collecting scheme in mlx5 driver is to periodically fetch >>> aggregated stats from all the active mlx5 software ch

Re: [PATCH] dm/raid1: Remove VLA usage

2018-04-26 Thread Kees Cook
On Tue, Apr 10, 2018 at 9:43 PM, Kees Cook wrote: > On the quest to remove all VLAs from the kernel[1], this avoids VLAs > in dm-raid1.c by just using the maximum size for the stack arrays. > The nr_mirrors value was already capped at 9, so this makes it a trivial > adjustment to the array sizes.

Re: [PATCH] mmc: meson-gx: add device reset

2018-04-26 Thread Kevin Hilman
Jerome Brunet writes: > Trigger the reset line of the mmc controller while probing, if available > The reset should be optional for now, at least until all related DT node > have the reset property > > Signed-off-by: Jerome Brunet Reviewed-by: Kevin Hilman

Re: [v4 2/2] clk: qcom: clk-rpmh: Add QCOM RPMh clock driver

2018-04-26 Thread Stephen Boyd
Quoting Taniya Das (2018-04-24 05:23:19) > diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c > new file mode 100644 > index 000..907a73f > --- /dev/null > +++ b/drivers/clk/qcom/clk-rpmh.c > @@ -0,0 +1,364 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c)

Proposal

2018-04-26 Thread MS Zeliha Omer Faruk
Hello Greetings to you today i asked before but i did't get a response please i know this might come to you as a surprise because you do not know me personally i have a business proposal for you please reply for more info. Best Regards, Esentepe Mahallesi Büyükdere Caddesi Kristal Kule B

Re: [v4 1/2] dt-bindings: clock: Introduce QCOM RPMh clock bindings

2018-04-26 Thread Stephen Boyd
Quoting Taniya Das (2018-04-24 05:23:18) > Add RPMh clock device bindings for Qualcomm Technology Inc's SoCs. These > devices would be used for communicating resource state requests to control > the clocks managed by RPMh. > > Signed-off-by: Amit Nischal > Signed-off-by: Taniya Das > Reviewed-by

Re: [PATCH 01/11] media: tm6000: fix potential Spectre variant 1

2018-04-26 Thread Mauro Carvalho Chehab
Em Thu, 26 Apr 2018 16:41:56 -0500 "Gustavo A. R. Silva" escreveu: > Hi Mauro, > > On 04/23/2018 02:17 PM, Mauro Carvalho Chehab wrote: > > Em Mon, 23 Apr 2018 14:11:02 -0500 > > > > Thanks, I 'll mark this series as rejected at patchwork.linuxtv.org. > > Please feel free to resubmit any patch

[PATCH 0/2] mm: tweaks for improving use of vmap_area

2018-04-26 Thread Igor Stoppa
These two patches were written in preparation for the creation of protectable memory, however their use is not limited to pmalloc and can improve the use of virtally contigous memory. The first provides a faster path from struct page to the vm_struct that tracks it. The second patch renames a sin

[PATCH 2/2] vmalloc: rename llist field in vmap_area

2018-04-26 Thread Igor Stoppa
The vmap_area structure has a field of type struct llist_node, named purge_list and is used when performing lazy purge of the area. Such field is left unused during the actual utilization of the structure. This patch renames the field to a more generic "area_list", to allow for utilization outsid

Re: [PATCH] net/mlx5: report persistent netdev stats across ifdown/ifup commands

2018-04-26 Thread Saeed Mahameed
On Thu, Apr 26, 2018 at 4:30 PM, Saeed Mahameed wrote: > On Thu, Apr 26, 2018 at 3:37 PM, Qing Huang wrote: >> >> >> On 04/26/2018 02:50 PM, Saeed Mahameed wrote: >>> >>> On Thu, Apr 26, 2018 at 1:37 PM, Qing Huang wrote: Current stats collecting scheme in mlx5 driver is to periodicall

[PATCH 1/2] struct page: add field for vm_struct

2018-04-26 Thread Igor Stoppa
When a page is used for virtual memory, it is often necessary to obtain a handler to the corresponding vm_struct, which refers to the virtually continuous area generated when invoking vmalloc. The struct page has a "mapping" field, which can be re-used, to store a pointer to the parent area. This

[RFC] vfs: skip extra attributes check on removal for symlinks

2018-04-26 Thread Luis R. Rodriguez
Linux filesystems cannot set extra file attributes (stx_attributes as per statx(2)) on a symbolic link. To set extra file attributes you issue ioctl(2) with FS_IOC_SETFLAGS, *all* ioctl(2) calls on a symbolic link yield EBADF. This is because ioctl(2) tries to obtain struct fd from the symbolic li

Re: Linux messages full of `random: get_random_u32 called from`

2018-04-26 Thread Theodore Y. Ts'o
On Thu, Apr 26, 2018 at 01:22:02PM -0700, Sultan Alsawaf wrote: > > Also, regardless of what's hanging on CRNG init, CRNG should be able to init > on its own in a timely > manner without the need for user-provided entropy. Userspace was working fine > before the recent CRNG > kernel changes, so

Re: moving affs + RDB partition support to staging? (was: Re: Moving unmaintained filesystems to staging)

2018-04-26 Thread Finn Thain
On Thu, 26 Apr 2018, Geert Uytterhoeven wrote: > > While non-native Linux filesystem support (e.g. affs/isofs/...) could be > handled by FUSE Moving to FUSE is a great divide-and-conquer strategy for those who just want the code to die and don't care about any of the data in that format. If t

[RFC PATCH] MAINTAINERS: add davem in NETWORKING DRIVERS

2018-04-26 Thread Vivien Didelot
"./scripts/get_maintainer.pl -f" does not actually show us David as the maintainer of drivers/net directories such as team, bonding, phy or dsa. Adding him in an M: entry of NETWORKING DRIVERS fixes this. Signed-off-by: Vivien Didelot --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff -

[PATCH v1 1/4] clk: tegra20: Add DEV1/DEV2 OSC dividers

2018-04-26 Thread Dmitry Osipenko
CDEV1/CDEV2 clocks could have corresponding oscillator clock divider as a parent. Add these dividers in order to be able to provide that parent option. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra20.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/clk

[PATCH v1 3/4] clk: tegra20: Set correct parents for CDEV1/2 clocks

2018-04-26 Thread Dmitry Osipenko
Parents of CDEV1/2 clocks are determined by muxing of the corresponding pins. Pinctrl driver now provides the CDEV1/2 clock muxes and hence CDEV1/2 clocks could have correct parents. Set CDEV1/2 parents to the corresponding muxes to fix the parents. Signed-off-by: Dmitry Osipenko --- drivers/clk

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