Re: possible BUG: selftest about raw_skew failed

2018-04-26 Thread John Stultz
On Sat, Apr 21, 2018 at 7:47 AM, Jeffrin Thalakkottoor wrote: > hello, > > failure of a test in selftest:timers > > selftests: raw_skew > > WARNING: ADJ_OFFSET in progress, this will cause inaccurate results > Estimating clock drift: 17.910(est) 16.820(act)

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

2018-04-26 Thread Dan Carpenter
On Wed, Apr 25, 2018 at 11:12:47AM -0700, k...@linuxonhyperv.com wrote: > +/* > + * IPI implementation on Hyper-V. > + */ > + > +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

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

2018-04-26 Thread Nick Desaulniers
Clang does not recognize this compiler option. Reported-by: Prasad Sodagudi Signed-off-by: Nick Desaulniers --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83b6c541565a..7f653c924c18 100644 --- a/Makefile +++ b/Makefile @@ -623,7 +62

[PATCH 1/4] dt-bindings: move various timer bindings to timer/ directory

2018-04-26 Thread Rob Herring
Bindings are supposed to be organized by device class/function. Move bindings for various timers to timer/ binding directory. Cc: Linus Walleij Cc: Thierry Reding Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/ux500/boards.txt | 2 +- Documentation/device

Re: possible BUG: selftest about raw_skew failed

2018-04-26 Thread Thomas Gleixner
On Sat, 21 Apr 2018, Jeffrin Thalakkottoor wrote: Cc'ing John and Miroslav > hello, > > failure of a test in selftest:timers > > selftests: raw_skew > > WARNING: ADJ_OFFSET in progress, this will cause inaccurate results > Estimating clock drift: 17.910(

[PATCH 3/4] dt-bindings: powerpc/4xx: move 4xx NDFC and EMAC bindings to subsystem directories

2018-04-26 Thread Rob Herring
Bindings are supposed to be organized by device class/function. Move a couple of powerpc 4xx bindings to the correct binding directory. Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Rob Herring --- .../devicetree/bindings/{powerpc/4xx/ndfc.txt => mtd/ibm,ndfc.txt}| 0 .../devicetree/b

[PATCH 4/4] dt-bindings: exynos: move ADC binding to iio/adc/ directory

2018-04-26 Thread Rob Herring
Bindings are supposed to be organized by device class/function. Move the binding for Exynos ADC to the iio/adc/ binding directory. Signed-off-by: Rob Herring --- .../{arm/samsung/exynos-adc.txt => iio/adc/samsung,exynos-adc.txt}| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

Re: [PATCH net-next 1/2 v2] netns: restrict uevents

2018-04-26 Thread Christian Brauner
On Thu, Apr 26, 2018 at 12:10:30PM -0500, Eric W. Biederman wrote: > Christian Brauner writes: > > > On Thu, Apr 26, 2018 at 11:47:19AM -0500, Eric W. Biederman wrote: > >> Christian Brauner writes: > >> > >> > On Tue, Apr 24, 2018 at 06:00:35PM -0500, Eric W. Biederman wrote: > >> >> Christian

[PATCH 2/4] dt-bindings: move various RNG bindings to rng/ directory

2018-04-26 Thread Rob Herring
Bindings are supposed to be organized by device class/function. Move bindings for various RNGs to rng/ binding directory. Signed-off-by: Rob Herring --- .../{crypto/samsung,exynos-rng4.txt => rng/samsung,exynos4-rng.txt} | 0 Documentation/devicetree/bindings/{ => rng}/sparc_sun_oracle_rng

Re: [PATCH 20/61] input: keyboard: simplify getting .drvdata

2018-04-26 Thread Dmitry Torokhov
On Thu, Apr 26, 2018 at 10:04:01PM +0200, Wolfram Sang wrote: > Hi Dmitry, > > > > We should get drvdata from struct device directly. Going via > > > platform_device is an unneeded step back and forth. > > > > I consider the fact that platform device's driver data is accessible via > > device dri

Re: linux-next: build failure after merge of the qcom tree

2018-04-26 Thread Andy Gross
On Thu, Apr 26, 2018 at 04:42:17PM +, Evan Green wrote: > > I suspect that just Linus' tree merged with the qcom tree would have > > been enough to cause the failure. Sorry for missing this in my testing. > > > I've verified that the patch listed above fixes the issue for me. Andy, if > it

Re: [PATCH 16/17] arm64: dts: r8a77965-salvator-xs: Add DU external dot clocks

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:45 EEST Kieran Bingham wrote: > From: Takeshi Kihara > > The DU1 external dot clock is provided by the fixed frequency clock > generator X21, while the DU0 and DU3 clocks are provided by the > programmable Versaclock6 clock ge

Re: [PATCH 15/17] arm64: dts: r8a77965-salvator-x: Enable HDMI output

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:44 EEST Kieran Bingham wrote: > From: Takeshi Kihara > > Enable the HDMI encoder for the M3N Salvator-X board and hook it up to > the HDMI connector. > > Based on a similar patches of the the Salvator-X board > on the R8A7796

Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support

2018-04-26 Thread Stefan Berger
On 04/19/2018 11:35 AM, John Johansen wrote: On 04/19/2018 04:03 AM, Stefan Berger wrote: On 04/18/2018 05:32 PM, John Johansen wrote: On 04/18/2018 01:12 PM, Eric W. Biederman wrote: Mimi Zohar writes: On Wed, 2018-04-18 at 09:09 -0700, John Johansen wrote: On 04/13/2018 09:25 AM, Mimi Zo

Re: [PATCH 14/17] arm64: dts: r8a77965-salvator-x: Add DU external dot clocks

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:43 EEST Kieran Bingham wrote: > From: Takeshi Kihara > > The DU1 external dot clock is provided by the fixed frequency clock > generator X21, while the DU0 and DU3 clocks are provided by the > programmable Versaclock5 clock ge

Re: [PATCH v6 02/24] soc: qcom: Add APR bus driver

2018-04-26 Thread Andy Gross
On Thu, Apr 26, 2018 at 12:39:11PM +0100, Mark Brown wrote: > On Thu, Apr 26, 2018 at 10:45:44AM +0100, srinivas.kandaga...@linaro.org > wrote: > > From: Srinivas Kandagatla > > > > This patch adds support toi APR bus (Asynchronous Packet Router) driver. > > ARP driver is made as a bus driver so

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

2018-04-26 Thread Andy Lutomirski
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() something once for any number of sockets (by mmapping /

Re: [PATCH 13/17] arm64: dts: r8a77965: Add HDMI encoder instance

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:42 EEST Kieran Bingham wrote: > Add the HDMI encoder to the R8A77965 DT in disabled state. > > Based on a similar patch of the R8A7796 device tree > by Laurent Pinchart . > > Signed-off-by: Takeshi Kihara > [Kieran: Rebase to

Re: [PATCH v6 02/24] soc: qcom: Add APR bus driver

2018-04-26 Thread Andy Gross
On Thu, Apr 26, 2018 at 10:45:44AM +0100, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds support toi APR bus (Asynchronous Packet Router) driver. > ARP driver is made as a bus driver so that the apr devices can added removed > more dynamically depending on t

Re: BUG: /proc/kcore does not export direct-mapped memory on arm64 (and presumably some other architectures)

2018-04-26 Thread Kees Cook
On Thu, Apr 26, 2018 at 12:31 PM, Dave Anderson wrote: > > While testing /proc/kcore as the live memory source for the crash utility, > it fails on arm64. The failure on arm64 occurs because only the > vmalloc/module space segments are exported in PT_LOAD segments, > and it's missing all of the P

Re: [PATCH 09/17] arm64: dts: r8a77965: Use the correct CPG header

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:38 EEST Kieran Bingham wrote: > The SoC dtsi includes the generic renesas-cpg-mssr header, which does > not contain all of the relevant SoC specific definitions. > > Adapt this to be the r8a77965 specific header. I would squas

[PATCH 0/3] can: fix ndo_start_xmit()'s return type

2018-04-26 Thread Luc Van Oostenryck
ndo_start_xmit() is defined as returing an 'netdev_tx_t'. However, several can drivers use 'int' as the return type of their start_xmit() method. This series contains the fix for all three of them. Luc Van Oostenryck (3): can: janz-ican3: fix ican3_xmit()'s return type can: sun4i: fix sun4ican

Re: [PATCH 12/17] arm64: dts: r8a77965: Populate the DU instance placeholder

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:41 EEST Kieran Bingham wrote: > The DU entity node has been previously added but only as a placeholder. > Populate the node with the properties to use the device. > > Signed-off-by: Kieran Bingham > --- > arch/arm64/boot/dts/

[PATCH 2/3] can: sun4i: fix sun4ican_start_xmit()'s return type

2018-04-26 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/can/sun4i_can.c | 2 +- 1

[PATCH 3/3] can: xilinx: fix xcan_start_xmit()'s return type

2018-04-26 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/can/xilinx_can.c | 2 +- 1

Re: [PATCH RESEND] firmware: qcom: scm: Fix crash in qcom_scm_call_atomic1()

2018-04-26 Thread Andy Gross
; > qcom_scm_call_atomic1+0x30/0x48. > > > > > > > Hi Niklas, > > > > The change has been picked up for v4.18, as you can see here: > > https://git.kernel.org/pub/scm/linux/kernel/git/agross/linux.git/log/?h=for-next > > Hello Björn, > >

[PATCH 1/3] can: janz-ican3: fix ican3_xmit()'s return type

2018-04-26 Thread Luc Van Oostenryck
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, but the implementation in this driver returns an 'int'. Fix this by returning 'netdev_tx_t' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/net/can/janz-ican3.c | 2 +- 1

Re: [PATCH v2] prctl: fix compat handling for prctl

2018-04-26 Thread Dmitry Safonov
2018-04-19 3:25 GMT+01:00 Andy Lutomirski : >> On Apr 18, 2018, at 9:06 PM, Li Bin wrote: >> >> The member auxv in prctl_mm_map structure which be shared with >> userspace is pointer type, but the kernel supporting COMPAT didn't >> handle it. This patch fix the compat handling for prctl syscall. >

Re: Reducing time of smpboot

2018-04-26 Thread Thomas Gleixner
Paul, On Thu, 5 Apr 2018, Paul Menzel wrote: > Looking at the Linux 4.16 messages and the time stamps on the ASRock E350M1, > there is the 100 ms jump below. > > ``` > [0.024000] Freeing SMP alternatives memory: 24K > [0.132000] smpboot: CPU0: AMD E-350D APU with Radeon(tm) HD Graphics >

Re: [PATCH 11/17] arm64: dts: r8a77965: Add VSP instances

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:40 EEST Kieran Bingham wrote: > The r8a77965 has 4 VSP instances. > > Based on a similar patch of the R8A7796 device tree > by Laurent Pinchart . > > Signed-off-by: Takeshi Kihara > [Kieran: Rebased to top of tree, fixed sort

Re: [PATCH RESEND] slab: introduce the flag SLAB_MINIMIZE_WASTE

2018-04-26 Thread Mikulas Patocka
On Thu, 26 Apr 2018, Christopher Lameter wrote: > On Wed, 25 Apr 2018, Mikulas Patocka wrote: > > > Do you want this? It deletes slab_order and replaces it with the > > "minimize_waste" logic directly. > > Well yes that looks better. Now we need to make it easy to read and less > complicated.

Re: [PATCH] libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs

2018-04-26 Thread Tejun Heo
On Thu, Apr 26, 2018 at 10:32:21PM +0200, Hans de Goede wrote: > Richard Jones has reported that using med_power_with_dipm on a T450s > with a Sandisk SD7UB3Q256G1001 SSD (firmware version X2180501) is > causing the machine to hang. > > Switching the LPM to max_performance fixes this, so it seems

Re: [PATCH net-next v2 4/7] net: mscc: Add initial Ocelot switch support

2018-04-26 Thread Andrew Lunn
> +/* Checks if the net_device instance given to us originate from our driver. > */ > +static bool ocelot_netdevice_dev_check(const struct net_device *dev) > +{ > + return dev->netdev_ops == &ocelot_port_netdev_ops; > +} This is probably O.K. now, but when you add support for controlling the

Re: [PATCH 10/17] arm64: dts: r8a77965: Add FCPF and FCPV instances

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:39 EEST Kieran Bingham wrote: > The FCPs handle the interface between various IP cores and memory. Add > the instances related to the FDPs and VSP2s. > > Based on a similar patch of the R8A7796 device tree > by Laurent Pinchart

Re: [RFC] [PATCH 0/5] procfs: reduce duplication by using symlinks

2018-04-26 Thread Jeff Mahoney
On 4/24/18 10:14 AM, Eric W. Biederman wrote: > je...@suse.com writes: > >> From: Jeff Mahoney >> >> Hi all - >> >> I recently encountered a customer issue where, on a machine with many TiB >> of memory and a few hundred cores, after a task with a few thousand threads >> and hundreds of files ope

Re: [PATCH v4 1/5] efi: Export boot-services code and data as debugfs-blobs

2018-04-26 Thread Hans de Goede
Hi, On 26-04-18 18:51, Ard Biesheuvel wrote: On 26 April 2018 at 14:06, Hans de Goede wrote: Sometimes it is useful to be able to dump the efi boot-services code and data. This commit adds these as debugfs-blobs to /sys/kernel/debug/efi, but only if efi=debug is passed on the kernel-commandlin

Re: [PATCH v4 1/2] perf: uncore: Adding documentation for ThunderX2 pmu uncore driver

2018-04-26 Thread Randy Dunlap
Hi, Just a few typo corrections... On 04/25/2018 02:00 AM, Ganapatrao Kulkarni wrote: > Documentation for the UNCORE PMUs on Cavium's ThunderX2 SoC. > The SoC has PMU support in its L3 cache controller (L3C) and in the > DDR4 Memory Controller (DMC). > > Signed-off-by: Ganapatrao Kulkarni > ---

[PATCH] Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer()

2018-04-26 Thread Dexuan Cui
I didn't really hit a real bug, but just happened to spot the bug: we have decreased the counter at the beginning of vmbus_process_offer(), so we mustn't decrease it again. Fixes: 6f3d791f3006 ("Drivers: hv: vmbus: Fix rescind handling issues") Signed-off-by: Dexuan Cui Cc: sta...@vger.kernel.or

Re: [PATCH 08/17] arm64: dts: r8a77965: Provide sysc header definitions

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:37 EEST Kieran Bingham wrote: > Include the r8a77965-sysc header to provide power domain enumerations > and definitions. I think you can squash this with the first patch that will use the header. > Signed-off-by: Kieran Bingha

Re: [PATCH 5/7] irqchip/gic-v3: Add support for Message Based Interrupts as an MSI controller

2018-04-26 Thread Thomas Gleixner
On Mon, 23 Apr 2018, Marc Zyngier wrote: > --- /dev/null > +++ b/drivers/irqchip/irq-gic-v3-mbi.c > @@ -0,0 +1,287 @@ > +/* > + * Copyright (C) 2018 ARM Limited, All Rights Reserved. > + * Author: Marc Zyngier Can you please: 1) Add the proper SPDX-License-Identifier // SPDX-License-Identifier:

Re: [PATCH net-next v2 5/7] MIPS: mscc: Add switch to ocelot

2018-04-26 Thread Andrew Lunn
On Thu, Apr 26, 2018 at 09:59:29PM +0200, Alexandre Belloni wrote: > Ocelot has an integrated switch, add support for it. > > Cc: James Hogan > Signed-off-by: Alexandre Belloni > --- > arch/mips/boot/dts/mscc/ocelot.dtsi | 88 + > 1 file changed, 88 insertions(+) >

Re: [PATCHv3 3/3] tools bpftool: Display license GPL compatible in prog show/list

2018-04-26 Thread Daniel Borkmann
On 04/26/2018 10:18 AM, Jiri Olsa wrote: [...] > v3 of the last patch attached, the branch is also updated > > thanks, > jirka > > > --- > Display the license "gpl" string in bpftool prog command, like: > > # bpftool prog list > 5: tracepoint name func tag 57cd311f2e27366b gpl >

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

2018-04-26 Thread Christian Brauner
On Thu, Apr 26, 2018 at 01:22:02PM -0700, Sultan Alsawaf wrote: > > Hmm, it looks like the multiuser startup is getting blocked on snapd: > > > > 29.060s snapd.service > > > > graphical.target @1min 32.145s > > └─multi-user.target @1min 32.145s > > └─hddtemp.service @6.512s +28ms > >

Re: [PATCH net-next v2 2/7] net: mscc: Add MDIO driver

2018-04-26 Thread Andrew Lunn
On Thu, Apr 26, 2018 at 09:59:26PM +0200, Alexandre Belloni wrote: > Add a driver for the Microsemi MII Management controller (MIIM) found on > Microsemi SoCs. > On Ocelot, there are two controllers, one is connected to the internal > PHYs, the other one can communicate with external PHYs. > > Sig

Re: [PATCH 2/3] drm/scheduler: Don't call wait_event_killable for signaled process.

2018-04-26 Thread Andrey Grodzovsky
On 04/26/2018 11:57 AM, Eric W. Biederman wrote: Andrey Grodzovsky writes: On 04/26/2018 08:34 AM, Andrey Grodzovsky wrote: On 04/25/2018 08:01 PM, Eric W. Biederman wrote: Andrey Grodzovsky writes: On 04/25/2018 01:17 PM, Oleg Nesterov wrote: On 04/25, Andrey Grodzovsky wrote: here

Re: [PATCH 07/17] drm: rcar-du: Add R8A77965 support

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:36 EEST Kieran Bingham wrote: > The R8A77965 (M3-N) SoC provides VGA, HDMI and LVDS output. > > This platform is unusual in that the VGA is connected to DU3 leaving DU2 > unpopulated. This is reflected by the channel_mask accor

Re: [PATCH v2] nvme: change order of qid and cmdid in completion trace

2018-04-26 Thread Keith Busch
On Thu, Apr 26, 2018 at 02:25:15PM -0600, Johannes Thumshirn wrote: > Keith reported that command submission and command completion > tracepoints have the order of the cmdid and qid fields swapped. > > While it isn't easily possible to change the command submission > tracepoint, as there is a regr

Re: [tip:timers/urgent] Revert: Unify CLOCK_MONOTONIC and CLOCK_BOOTTIME

2018-04-26 Thread Pavel Machek
On Wed 2018-04-25 06:45:50, tip-bot for Thomas Gleixner wrote: > Commit-ID: 757d5a9b3052a4eebd029f207f1e1df59bef7b7d > Gitweb: > https://git.kernel.org/tip/757d5a9b3052a4eebd029f207f1e1df59bef7b7d > Author: Thomas Gleixner > AuthorDate: Wed, 25 Apr 2018 15:33:38 +0200 > Committer: Thoma

Re: [PATCH] net: aquantia: fix aq_ndev_start_xmit()'s return type

2018-04-26 Thread Luc Van Oostenryck
On Tue, Apr 24, 2018 at 10:42:50AM -0400, David Miller wrote: > > Luc please don't submit such a huge number of patches all at one time. > > ... > > Finally, make this a true patch series. It is so much easier for > maintainers to work with a set of changes all doing the same thing if > you mak

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

2018-04-26 Thread Qing Huang
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 deactivated and closed. A new set of channels will be creat

Re: [PATCH 06/17] drm: rcar-du: Allow DU groups to work with hardware indexing

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:35 EEST Kieran Bingham wrote: > The group objects assume linear indexing, and more so always assume that > channel 0 of any active group is used. > > Now that the CRTC objects support non-linear indexing, adapt the groups > to

[tip:irq/core] genirq/irq_sim: Use the SPDX license identifier in the header

2018-04-26 Thread tip-bot for Bartosz Golaszewski
Commit-ID: b5c5f3959bb3c018a68f5659bcd6adf05e141a03 Gitweb: https://git.kernel.org/tip/b5c5f3959bb3c018a68f5659bcd6adf05e141a03 Author: Bartosz Golaszewski AuthorDate: Thu, 26 Apr 2018 22:07:47 +0200 Committer: Thomas Gleixner CommitDate: Thu, 26 Apr 2018 22:26:39 +0200 genirq/irq_sim:

[tip:irq/core] genirq/irq_sim: Remove the license boilerplate

2018-04-26 Thread tip-bot for Bartosz Golaszewski
Commit-ID: 275220ca6e694c3fc1702487a14432dc414df58f Gitweb: https://git.kernel.org/tip/275220ca6e694c3fc1702487a14432dc414df58f Author: Bartosz Golaszewski AuthorDate: Thu, 26 Apr 2018 22:07:46 +0200 Committer: Thomas Gleixner CommitDate: Thu, 26 Apr 2018 22:26:39 +0200 genirq/irq_sim:

[PATCH] libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs

2018-04-26 Thread Hans de Goede
Richard Jones has reported that using med_power_with_dipm on a T450s with a Sandisk SD7UB3Q256G1001 SSD (firmware version X2180501) is causing the machine to hang. Switching the LPM to max_performance fixes this, so it seems that this Sandisk SSD does not handle LPM well. Note in the past there h

Re: [PATCH 05/17] drm: rcar-du: Split CRTC handling to support hardware indexing

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:34 EEST Kieran Bingham wrote: > The DU CRTC driver does not support distinguishing between a hardware > index, and a software (CRTC) index in the event that a DU channel might > not be populated by the hardware. > > Support thi

[PATCH] mm: sections are not offlined during memory hotremove

2018-04-26 Thread Pavel Tatashin
Memory hotplug, and hotremove operate with per-block granularity. If machine has large amount of memory (more than 64G), the size of memory block can span multiple sections. By mistake, during hotremove we set only the first section to offline state. The bug was discovered because kernel selftest

Re: [PATCH 1/3] powerpc/nohash: remove hash related code from nohash headers.

2018-04-26 Thread kbuild test robot
Hi Christophe, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/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

[PATCH v2] mm: access to uninitialized struct page

2018-04-26 Thread Pavel Tatashin
The following two bugs were reported by Fengguang Wu: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code http://lkml.kernel.org/r/20180418135300.inazvpxjxowog...@wfg-t540p.sh.intel.com And, also: [per_cpu_ptr_to_phys] PANIC: early exception 0x0d IP 10:fff

[PATCH v2] nvme: change order of qid and cmdid in completion trace

2018-04-26 Thread Johannes Thumshirn
Keith reported that command submission and command completion tracepoints have the order of the cmdid and qid fields swapped. While it isn't easily possible to change the command submission tracepoint, as there is a regression test parsing it in blktests we can swap the command completion tracepoi

Re: [PATCH] kernel/irq/proc: /proc/interrupts irq-off latency reduction

2018-04-26 Thread Thomas Gleixner
On Thu, 5 Apr 2018, Nicholas Piggin wrote: > Reading /proc/interrupts shows up as a latency source of several > hundred microseconds on a 2 socket 176 thread system, because it > iterates twice over all CPUs under an irq lock pulling in remote > cachelines, doing lots of seq_printf, etc. > > On a

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

2018-04-26 Thread Sultan Alsawaf
> Hmm, it looks like the multiuser startup is getting blocked on snapd: > > 29.060s snapd.service > > graphical.target @1min 32.145s > └─multi-user.target @1min 32.145s > └─hddtemp.service @6.512s +28ms > └─network-online.target @6.508s > └─NetworkManager-wait-online.service @2

Re: [PATCH] nvme: change order of qid and cmdid in completion trace

2018-04-26 Thread Johannes Thumshirn
On Thu, Apr 26, 2018 at 02:01:59PM -0600, Jens Axboe wrote: > On 4/26/18 1:49 PM, Johannes Thumshirn wrote: > > Keith reported that command submission and command completion > > tracepoints have the order of the cmdid and qid fileds swapped. > > > > While it isn't easily possible to change the com

Re: [PATCH v2] of: overlay: Stop leaking resources on overlay removal

2018-04-26 Thread Frank Rowand
On 04/26/18 04:00, Jan Kiszka wrote: > Only the overlay notifier callbacks have a chance to potentially get > hold of references to those two resources, but they are not supposed to > store them beyond OF_OVERLAY_POST_REMOVE. > > Document the overlay notifier API, its constraint regarding pointer

Re: [PATCH v3 00/14] kernel/locking: qspinlock improvements

2018-04-26 Thread Waiman Long
On 04/26/2018 06:34 AM, Will Deacon wrote: > Hi all, > > This is version three of the qspinlock patches I posted previously: > > v1: https://lkml.org/lkml/2018/4/5/496 > v2: https://lkml.org/lkml/2018/4/11/618 > > Changes since v2 include: > * Fixed bisection issues > * Fixed x86 PV build >

Re: [PATCH 04/17] drm: rcar-du: Use the correct naming for ODPM fields in DEFR6

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:33 EEST Kieran Bingham wrote: > The naming of the fields for the ODPM signals in the DU extensional > function control register 6 (DEFR6) is incorrect against the data sheets > for both R-Car Gen2 and R-Car Gen3. > > Rename the

Re: [PATCH v3 05/14] locking/qspinlock: Remove unbounded cmpxchg loop from locking slowpath

2018-04-26 Thread Waiman Long
On 04/26/2018 06:34 AM, Will Deacon wrote: > The qspinlock locking slowpath utilises a "pending" bit as a simple form > of an embedded test-and-set lock that can avoid the overhead of explicit > queuing in cases where the lock is held but uncontended. This bit is > managed using a cmpxchg loop whic

Re: [PATCH 03/17] pinctrl: sh-pfc: r8a77965: Add DU RGB output pins, groups and functions

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:32 EEST Kieran Bingham wrote: > This patch adds pins, groups and functions for parallel RGB output > signals from DU. The HDMI and TCON pins are added to separate groups. > > Based on a similar patch of the R8A7796 PFC driver b

[PATCH] gpio: mockup: use the SPDX identifier and remove license boilerplate

2018-04-26 Thread Bartosz Golaszewski
Use the SPDX license identifier for GPLv2.0 or later and remove the license boilerplate. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 76c2f

Re: [PATCH 02/17] dt-bindings: display: renesas: du: Document the R8A77965 bindings

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:57:32 EEST Kieran Bingham wrote: > Ahem - this one seems to have lost it's commit message. > > Apologies :) Apart from that, this looks good to me. Reviewed-by: Laurent Pinchart and applied to my tree with the commit message

[PATCH 1/2] genirq/irq_sim: remove the license boilerplate

2018-04-26 Thread Bartosz Golaszewski
We now have the SPDX license identifier in the irq simulator. Remove the license boilerplate. While we're at it: update the copyright notice, since I did some changes in 2018. Signed-off-by: Bartosz Golaszewski --- kernel/irq/irq_sim.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-)

Re: [PATCH 01/17] dt-bindings: display: renesas: du: Increase indent in output table

2018-04-26 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thursday, 26 April 2018 19:53:30 EEST Kieran Bingham wrote: > The DU output table lists the port combinations for each supported DU > type. Newer models of R-Car Gen3 platforms have an increased string > length. > > Increase the table indentation in prepar

[PATCH 2/2] genirq/irq_sim: use the SPDX license identifier in the header

2018-04-26 Thread Bartosz Golaszewski
Use C-style comment for the identifier as per Documentation/process/license-rules.rst and remove the license boilerplate. Signed-off-by: Bartosz Golaszewski --- include/linux/irq_sim.h | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/include/linux/irq_sim.h b/inc

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

2018-04-26 Thread j...@8bytes.org
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 can free the PTE page. Otherwise > > page-walks might still go to

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

2018-04-26 Thread Mikulas Patocka
On Thu, 26 Apr 2018, Michael S. Tsirkin wrote: > On Thu, Apr 26, 2018 at 03:36:14PM -0400, Mikulas Patocka wrote: > > People on this list argue "this should be a kernel parameter". > > How about making it a writeable attribute, so it's easy to turn on/off > after boot. Then you can keep it dete

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix batadv_interface_tx()'s return type

2018-04-26 Thread Luc Van Oostenryck
On Wed, Apr 25, 2018 at 07:35:00PM +0200, Sven Eckelmann wrote: > On Dienstag, 24. April 2018 15:18:46 CEST Luc Van Oostenryck wrote: > > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > > which is a typedef for an enum type, but the implementation in this > > driver returns

Re: [PATCH 20/61] input: keyboard: simplify getting .drvdata

2018-04-26 Thread Wolfram Sang
Hi Dmitry, > > We should get drvdata from struct device directly. Going via > > platform_device is an unneeded step back and forth. > > I consider the fact that platform device's driver data is accessible via > device driver data being implementation detail that may or may not change Isn't it ac

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

2018-04-26 Thread Michal Hocko
On Wed 25-04-18 20:14:22, Roman Gushchin 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-off-by: R

Re: [PATCH] nvme: change order of qid and cmdid in completion trace

2018-04-26 Thread Jens Axboe
On 4/26/18 1:49 PM, Johannes Thumshirn wrote: > Keith reported that command submission and command completion > tracepoints have the order of the cmdid and qid fileds swapped. > > While it isn't easily possible to change the command submission > tracepoint, as there is a regression test parsing it

[PATCH net-next v2 1/7] dt-bindings: net: add DT bindings for Microsemi MIIM

2018-04-26 Thread Alexandre Belloni
DT bindings for the Microsemi MII Management Controller found on Microsemi SoCs Cc: Rob Herring Reviewed-by: Florian Fainelli Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/net/mscc-miim.txt | 26 +++ 1 file changed, 26 insertions(+) create mode 100644 Docume

[PATCH RT] seqlock: provide the same ordering semantics as mainline

2018-04-26 Thread Julia Cartwright
The mainline implementation of read_seqbegin() orders prior loads w.r.t. the read-side critical section. Fixup the RT writer-boosting implementation to provide the same guarantee. Also, while we're here, update the usage of ACCESS_ONCE() to use READ_ONCE(). Fixes: e69f15cf77c23 ("seqlock: Preven

[PATCH net-next v2 0/7] Microsemi Ocelot Ethernet switch support

2018-04-26 Thread Alexandre Belloni
Hi, This series adds initial support for the Microsemi Ethernet switch present on Ocelot SoCs. This only has bridging (and STP) support for now and it uses the switchdev framework. Coming features are VLAN filtering, link aggregation, IGMP snooping. The switch can also be connected to an externa

[PATCH net-next v2 6/7] MIPS: mscc: connect phys to ports on ocelot_pcb123

2018-04-26 Thread Alexandre Belloni
Add phy to switch port connections for PCB123 for internal PHYs. Cc: James Hogan Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot_pcb123.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb123.dts b/arch/mips/boot/d

[PATCH net-next v2 5/7] MIPS: mscc: Add switch to ocelot

2018-04-26 Thread Alexandre Belloni
Ocelot has an integrated switch, add support for it. Cc: James Hogan Signed-off-by: Alexandre Belloni --- arch/mips/boot/dts/mscc/ocelot.dtsi | 88 + 1 file changed, 88 insertions(+) diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.

[PATCH net-next v2 7/7] MAINTAINERS: Add entry for Microsemi Ethernet switches

2018-04-26 Thread Alexandre Belloni
Add myself as a maintainer for the Microsemi Ethernet switches. Signed-off-by: Alexandre Belloni --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0a1410d5a621..b632deb3f503 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9280,6 +9280,12 @@

Re: [PATCH] staging: ks7010: fix ks_wlan_start_xmit()'s return type

2018-04-26 Thread Luc Van Oostenryck
On Wed, Apr 25, 2018 at 06:44:38PM +0200, Janusz Lisiecki wrote: > Maybe inside ks_wlan_start_xmit, instead of "return 0;", there should be > "return NETDEV_TX_OK;" and "return NETDEV_TX_BUSY;" otherwise. It is just > suggestion. I see, yes. However, since: 1) this sort of change is really outside

[PATCH net-next v2 3/7] dt-bindings: net: add DT bindings for Microsemi Ocelot Switch

2018-04-26 Thread Alexandre Belloni
DT bindings for the Ethernet switch found on Microsemi Ocelot platforms. Cc: Rob Herring Cc: James Hogan Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/net/mscc-ocelot.txt | 82 +++ 1 file changed, 82 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH net-next v2 2/7] net: mscc: Add MDIO driver

2018-04-26 Thread Alexandre Belloni
Add a driver for the Microsemi MII Management controller (MIIM) found on Microsemi SoCs. On Ocelot, there are two controllers, one is connected to the internal PHYs, the other one can communicate with external PHYs. Signed-off-by: Alexandre Belloni --- drivers/net/phy/Kconfig | 7 ++

[RFC PATCH manpages] clock_getres.2: document CLOCK_MONOTONIC suspend behavior

2018-04-26 Thread Mathieu Desnoyers
Considering that user-space expects CLOCK_MONOTONIC not to account time during which system is suspended, explicitly document this behavior as ABI. Signed-off-by: Mathieu Desnoyers CC: Michael Kerrisk CC: Thomas Gleixner CC: John Stultz CC: Stephen Boyd CC: Linus Torvalds --- man2/clock_get

Re: [PATCH v6] fs: dax: Adding new return type vm_fault_t

2018-04-26 Thread Ross Zwisler
On Tue, Apr 24, 2018 at 10:17:51PM +0530, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. >

Re: [PATCH 1/8] drm: bridge: Add support for static image formats

2018-04-26 Thread Laurent Pinchart
Hi Jacopo, On Thursday, 26 April 2018 21:40:56 EEST jacopo mondi wrote: > On Mon, Apr 23, 2018 at 12:27:39PM +0300, Laurent Pinchart wrote: > > On Thursday, 19 April 2018 12:31:02 EEST Jacopo Mondi wrote: > >> Add support for storing image format information in DRM bridges with > >> associated hel

Re: [PATCH] arm64: skip cpu nodes marked as disabled in DT

2018-04-26 Thread Rohit Khanna
Thanks Lorenzo for pulling out the old thread. So just to make sure my understanding is correct from the discussion on that thread, below is not a preferred approach. "If CPUs are marked as disabled in the devicetree, make sure they do not exist in the system CPU information and CPU topology inf

Re: [PATCH 2/7] genirq/msi: Limit level-triggered MSI to platform devices

2018-04-26 Thread Thomas Gleixner
On Mon, 23 Apr 2018, Marc Zyngier wrote: > Nobody would be insane enough to try and use level triggered > MSIs on PCI, but let's make sure it doesn't happen. Also, > let's mandate that the irqchip backing the platform MSI domain > is providing an irq_set_type method (or the whole thing would > be

[PATCH] nvme: change order of qid and cmdid in completion trace

2018-04-26 Thread Johannes Thumshirn
Keith reported that command submission and command completion tracepoints have the order of the cmdid and qid fileds swapped. While it isn't easily possible to change the command submission tracepoint, as there is a regression test parsing it in blktests we can swap the command completion tracepoi

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

2018-04-26 Thread Michael S. Tsirkin
On Thu, Apr 26, 2018 at 03:36:14PM -0400, Mikulas Patocka wrote: > People on this list argue "this should be a kernel parameter". How about making it a writeable attribute, so it's easy to turn on/off after boot. Then you can keep it deterministic, userspace can play with the attribute at random i

[tip:x86/urgent] x86/cpu/intel: Add missing TLB cpuid values

2018-04-26 Thread tip-bot for jacek.tom...@poczta.fm
Commit-ID: b837913fc2d9061bf9b8c0dd6bf2d24e2f98b84a Gitweb: https://git.kernel.org/tip/b837913fc2d9061bf9b8c0dd6bf2d24e2f98b84a Author: jacek.tom...@poczta.fm AuthorDate: Tue, 24 Apr 2018 00:14:25 +0800 Committer: Thomas Gleixner CommitDate: Thu, 26 Apr 2018 21:42:44 +0200 x86/cpu/inte

Re: [tip:x86/urgent] x86/cpu/intel: Add missing TLB cpuid values

2018-04-26 Thread Thomas Gleixner
On Thu, 26 Apr 2018, Thomas Gleixner wrote: > On Fri, 27 Apr 2018, Jacek Tomaka wrote: > > > Hi Thomas, > > > > Looks like the patch has lost a coma after 128. > > + { 0x6c, TLB_DATA_2M_4M, 128 " TLB_DATA 2 MByte or 4 > > MByte pages, 8-way associative" }, > > should be : > > +

Re: [PATCH] dt-bindings: staging: remove a couple of ADC bindings

2018-04-26 Thread Thomas Petazzoni
Hello, On Thu, 26 Apr 2018 11:02:55 +0530, Viresh Kumar wrote: > @Thomas: Do you guys use this ? > > On 25-04-18, 20:57, Rob Herring wrote: > > Remove LPC32xx and SPEAr ADC bindings in staging. They have not been > > touched since 2012. > > > > Cc: Roland Stigge > > Cc: Stefan Roese > > Cc: Jo

Re: [tip:x86/urgent] x86/cpu/intel: Add missing TLB cpuid values

2018-04-26 Thread Thomas Gleixner
On Fri, 27 Apr 2018, Jacek Tomaka wrote: > Hi Thomas, > > Looks like the patch has lost a coma after 128. > + { 0x6c, TLB_DATA_2M_4M, 128 " TLB_DATA 2 MByte or 4 > MByte pages, 8-way associative" }, > should be : > + { 0x6c, TLB_DATA_2M_4M, 128, " TLB_DATA 2 MB

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

2018-04-26 Thread Mikulas Patocka
On Thu, 26 Apr 2018, Michael S. Tsirkin wrote: > On Thu, Apr 26, 2018 at 02:54:26PM -0400, Mikulas Patocka wrote: > > > > > > On Thu, 26 Apr 2018, Michael S. Tsirkin wrote: > > > > > On Thu, Apr 26, 2018 at 12:07:25PM -0400, Mikulas Patocka wrote: > > > > > IIUC debug kernels mainly exist so

Re: [PATCH stable v4.4+] r8152: add Linksys USB3GIGV1 id

2018-04-26 Thread Grant Grundler
On Thu, Apr 26, 2018 at 12:56 AM, Krzysztof Kozlowski wrote: > On Thu, Apr 26, 2018 at 2:40 AM, Grant Grundler wrote: >> On Wed, Apr 25, 2018 at 2:54 AM, Krzysztof Kozlowski >> wrote: >>> >>> commit 90841047a01b452cc8c3f9b990698b264143334a upstream >>> >>> This linksys dongle by default comes up

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