[tip:perf/core] perf buildid-cache: Warn --purge-all failures

2018-05-16 Thread tip-bot for Ravi Bangoria
Commit-ID: d8ed87bc171946313b2e6d26e1fec494da9154bc Gitweb: https://git.kernel.org/tip/d8ed87bc171946313b2e6d26e1fec494da9154bc Author: Ravi Bangoria AuthorDate: Thu, 10 May 2018 10:06:51 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 10:32:16 -0300 perf buildid

[tip:perf/core] perf llvm-utils: Add bpf include path to clang command line

2018-05-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1b16fffa389dcd4cc054f49e77a4e2ac61e8f287 Gitweb: https://git.kernel.org/tip/1b16fffa389dcd4cc054f49e77a4e2ac61e8f287 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 May 2018 10:37:27 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:17 -0300 pe

[tip:perf/core] perf bpf: Add 'examples' directories

2018-05-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8f12a2ff00e5e48ad5618167bac72cad7c9f214e Gitweb: https://git.kernel.org/tip/8f12a2ff00e5e48ad5618167bac72cad7c9f214e Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 May 2018 11:56:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:23 -0300 pe

[tip:perf/core] perf bpf: Add kprobe example to catch 5s naps

2018-05-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7542b767b0469f4a76afa3feae6246d8a3d44e7f Gitweb: https://git.kernel.org/tip/7542b767b0469f4a76afa3feae6246d8a3d44e7f Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 May 2018 15:08:01 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:24 -0300 pe

[tip:perf/core] perf bpf: Add bpf.h to be used in eBPF proggies

2018-05-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: dd8e4ead6e983acea959d10252688ef1471106fe Gitweb: https://git.kernel.org/tip/dd8e4ead6e983acea959d10252688ef1471106fe Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 May 2018 12:23:29 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:23 -0300 pe

[tip:perf/core] perf bpf: Add license(NAME) helper

2018-05-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1f477305ab462e2fd1fa8a4c4fa425ad752b3175 Gitweb: https://git.kernel.org/tip/1f477305ab462e2fd1fa8a4c4fa425ad752b3175 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 May 2018 15:18:31 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:24 -0300 pe

[tip:perf/core] perf bpf: Add probe() helper to reduce kprobes boilerplate

2018-05-16 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d8fc764d0b39c912de510b50102b60a64882223e Gitweb: https://git.kernel.org/tip/d8fc764d0b39c912de510b50102b60a64882223e Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 May 2018 15:59:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:24 -0300 pe

Re: [PATCH v3 5/7] MIPS: perf: Allocate per-core counters on demand

2018-05-16 Thread James Hogan
On Fri, Apr 20, 2018 at 11:23:07AM +0100, Matt Redfearn wrote: > Previously when performance counters are per-core, rather than > per-thread, the number available were divided by 2 on detection, and the > counters used by each thread in a core were "swizzled" to ensure > separation. However, this s

[tip:perf/core] perf tools: Use the "_stest" symbol to identify the kernel map when loading kcore

2018-05-16 Thread tip-bot for Adrian Hunter
Commit-ID: 5654997838c2ac9b1950d633fc97f354cc4180e7 Gitweb: https://git.kernel.org/tip/5654997838c2ac9b1950d633fc97f354cc4180e7 Author: Adrian Hunter AuthorDate: Wed, 9 May 2018 14:43:34 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 15 May 2018 14:31:25 -0300 perf tools: U

[tip:perf/core] perf parse-events: Handle uncore event aliases in small groups properly

2018-05-16 Thread tip-bot for Kan Liang
Commit-ID: 3cdc5c2cb924acb43a93241e75c61570eab71614 Gitweb: https://git.kernel.org/tip/3cdc5c2cb924acb43a93241e75c61570eab71614 Author: Kan Liang AuthorDate: Mon, 7 May 2018 14:13:43 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 16 May 2018 10:01:54 -0300 perf parse-events

Re: [PATCH v9 2/2] blk-mq: Rework blk-mq timeout handling again

2018-05-16 Thread Bart Van Assche
On Wed, 2018-05-16 at 19:31 +0200, h...@lst.de wrote: > On Wed, May 16, 2018 at 04:47:54PM +, Bart Van Assche wrote: > > I think your patch changes the order of changing the request state and > > calling mod_timer(). In my patch the request state and the deadline are > > updated first and mod_t

[tip:perf/core] perf bpf: Fix NULL return handling in bpf__prepare_load()

2018-05-16 Thread tip-bot for YueHaibing
Commit-ID: 7a36a287de9fbb1ba906e70573d3f2315f7fd609 Gitweb: https://git.kernel.org/tip/7a36a287de9fbb1ba906e70573d3f2315f7fd609 Author: YueHaibing AuthorDate: Fri, 11 May 2018 19:21:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 16 May 2018 10:01:55 -0300 perf bpf: Fix N

Re: [PATCH v6 1/2] dt-bindings: Documentation for qcom, llcc

2018-05-16 Thread Stephen Boyd
Quoting risha...@codeaurora.org (2018-05-16 10:33:14) > On 2018-05-16 10:03, Stephen Boyd wrote: > > Quoting Rishabh Bhatnagar (2018-05-08 13:22:00) > > >> + > >> +- max-slices: > >> + usage: required > >> + Value Type: > >> + Definition: Number of cache slices supported by hard

Re: [PATCH net v2 0/3] net: dsa: bcm_sf2: CFP fixes

2018-05-16 Thread David Miller
From: Florian Fainelli Date: Tue, 15 May 2018 16:01:22 -0700 > This patch series fixes a number of usability issues with the SF2 Compact > Field > Processor code: > > - we would not be properly bound checking the location when we let the kernel > automatically place rules with RX_CLS_LOC_ANY

Re: [PATCH net-next v2] net: ethernet: ti: cpsw-phy-sel: check bus_find_device() ret value

2018-05-16 Thread David Miller
From: Grygorii Strashko Date: Tue, 15 May 2018 18:37:25 -0500 > This fixes klockworks warnings: Pointer 'dev' returned from call to > function 'bus_find_device' at line 179 may be NULL and will be dereferenced > at line 181. > > cpsw-phy-sel.c:179: 'dev' is assigned the return value from fun

Re: [PATCH IB/core 2/2] IB/cm: Send authentic pkey in REQ msg and check eligibility of the pkeys

2018-05-16 Thread Håkon Bugge
> On 16 May 2018, at 20:01, Jason Gunthorpe wrote: > > On Wed, May 16, 2018 at 07:46:10PM +0200, Håkon Bugge wrote: > >> OK. Lets take one example. The pkey table contains 0x, 0x8001, >> 0x0001. >> >> The wce.pkey_index is 1 (i.e., pointing to 0x8001). Now, tell me, was >> BTH.PKe

Re: [PATCH net-next 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread David Miller
From: Florian Fainelli Date: Tue, 15 May 2018 16:48:22 -0700 > This patch series includes more drivers to be build tested with COMPILE_TEST > enabled. This helps cover some of the issues I just ran into with missing > a driver *sigh*. Thank you for doing this. Series applied.

Re: [patch v21 4/4] Documentation: jtag: Add ABI documentation

2018-05-16 Thread Randy Dunlap
On 05/15/2018 07:21 AM, Oleksandr Shamray wrote: > Added document that describe the ABI for JTAG class drivrer > > --- > Documentation/ABI/testing/jtag-dev | 27 + > Documentation/jtag/overview| 28 + > Documentation/jtag/transactions| 109 > +

Re: [PATCH net-next 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread David Miller
From: David Miller Date: Wed, 16 May 2018 14:15:14 -0400 (EDT) > From: Florian Fainelli > Date: Tue, 15 May 2018 16:48:22 -0700 > >> This patch series includes more drivers to be build tested with COMPILE_TEST >> enabled. This helps cover some of the issues I just ran into with missing >> a dri

Re: [PATCH V1 06/19] perf tools: Fix kernel_start for PTI on x86

2018-05-16 Thread Adrian Hunter
On 05/16/2018 04:55 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, May 16, 2018 at 04:45:41PM +0300, Adrian Hunter escreveu: >> On 16/05/18 16:00, Arnaldo Carvalho de Melo wrote: >>> 2303bool machine__is(struct machine *machine, const char *arch) >>> 2304{ >>> 2305ret

Re: [PATCH net v2 0/3] net: dsa: bcm_sf2: CFP fixes

2018-05-16 Thread David Miller
From: Florian Fainelli Date: Wed, 16 May 2018 11:15:37 -0700 > On 05/16/2018 11:12 AM, David Miller wrote: >> Queue up for -stable? > > Yes please! Done.

Re: [PATCH net-next 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread Florian Fainelli
On 05/16/2018 11:17 AM, David Miller wrote: > From: David Miller > Date: Wed, 16 May 2018 14:15:14 -0400 (EDT) > >> From: Florian Fainelli >> Date: Tue, 15 May 2018 16:48:22 -0700 >> >>> This patch series includes more drivers to be build tested with COMPILE_TEST >>> enabled. This helps cover so

[PATCH] sched/rt: fix call to cpufreq_update_util

2018-05-16 Thread Vincent Guittot
With commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") schedutil governor uses rq->rt.rt_nr_running to detect whether a RT task is currently running on the CPU and to set frequency to max if necessary. cpufreq_update_util() is called in enqueue/dequeue_top_rt_rq() but rq->rt.rt_

Re: [PATCH IB/core 2/2] IB/cm: Send authentic pkey in REQ msg and check eligibility of the pkeys

2018-05-16 Thread Jason Gunthorpe
On Wed, May 16, 2018 at 08:14:50PM +0200, Håkon Bugge wrote: > > > > On 16 May 2018, at 20:01, Jason Gunthorpe wrote: > > > > On Wed, May 16, 2018 at 07:46:10PM +0200, Håkon Bugge wrote: > > > >> OK. Lets take one example. The pkey table contains 0x, 0x8001, > >> 0x0001. > >> > >> T

Re: [PATCH v1 3/3] serial: 8250_port: Disable DMA operations for kernel console

2018-05-16 Thread Sebastian Andrzej Siewior
On 2018-05-16 15:58:10 [+0300], Andy Shevchenko wrote: > > > It will be too tricky and error prone to allow DMA operations on > > > kernel > > > console. > > > > Why is it tricky and error prone? I had it working… > > On OMAP only? Had you tested this on let's say Intel Cherrytrail where > DMA co

Re: [PATCH net-next v2 0/2] of: mdio: Fall back to mdiobus_register() with NULL device_node

2018-05-16 Thread David Miller
From: Florian Fainelli Date: Tue, 15 May 2018 16:56:17 -0700 > This patch series updates of_mdiobus_register() such that when the device_node > argument is NULL, it calls mdiobus_register() directly. This is consistent > with > the behavior of of_mdiobus_register() when CONFIG_OF=n. > > I only

Re: [PATCH net v2 0/3] net: dsa: bcm_sf2: CFP fixes

2018-05-16 Thread Florian Fainelli
On 05/16/2018 11:12 AM, David Miller wrote: > From: Florian Fainelli > Date: Tue, 15 May 2018 16:01:22 -0700 > >> This patch series fixes a number of usability issues with the SF2 Compact >> Field >> Processor code: >> >> - we would not be properly bound checking the location when we let the ker

[PATCH 0/2] Add Broadcom Stingray PCIe PHY support

2018-05-16 Thread Ray Jui
This patch series adds PCIe PHY support for both PAXB and PAXC root complex in Broadcom Stingray SOC This patch series is based off v4.17-rc5 and is available on GIHUB: repo: https://github.com/Broadcom/arm64-linux.git branch: sr-pcie-phy-v1 Ray Jui (2): dt-bindings: phy: Add binding doc for St

[PATCH 2/2] phy: bcm-sr-pcie: Add Stingray PCIe PHY driver

2018-05-16 Thread Ray Jui
Add Stingray PCIe PHY driver for both PAXB and PAXC root complex Signed-off-by: Ray Jui --- drivers/phy/broadcom/Kconfig | 10 ++ drivers/phy/broadcom/Makefile | 2 + drivers/phy/broadcom/phy-bcm-sr-pcie.c | 306 + 3 files changed, 318 insert

[RFC PATCH] efi/fb: Convert PCI bus address to resource if translated by the bridge

2018-05-16 Thread Sinan Kaya
A host bridge is allowed to remap BAR addresses using _TRA attribute in _CRS windows. pci_bus :00: root bus resource [mem 0x8010010-0x8011fff window] (bus address [0x0010-0x1fff]) pci :02:00.0: reg 0x10: [mem 0x8011e00-0x8011eff] When a VGA device is behind such a

[PATCH 1/2] dt-bindings: phy: Add binding doc for Stingray PCIe PHY

2018-05-16 Thread Ray Jui
Add binding document for Stingray PCIe PHYs for both PAXB and PAXC based root complex Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/phy/brcm,sr-pcie-phy.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetr

[PATCH 2/5] staging: lustre: Fix block comments style

2018-05-16 Thread Sabin Mihai Rapan
This patch fixes the checkpatch.pl warning: WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line Signed-off-by: Sabin Mihai Rapan --- .../staging/lustre/include/uapi/linux/lustre/lustre_idl.h | 6 -- .../staging/lustre/include/uapi/linux/lustre/lustre_user.h |

[PATCH 1/5] staging: lustre: Fix inclusion of local headers

2018-05-16 Thread Sabin Mihai Rapan
This patch fixes the checkpatch.pl error: ERROR:UAPI_INCLUDE: No #include in ...include/uapi/... should use a uapi/ path prefix Signed-off-by: Sabin Mihai Rapan --- drivers/staging/lustre/include/uapi/linux/lnet/lnet-dlc.h | 4 ++-- drivers/staging/lustre/include/uapi/linux/lnet/lnetctl.h

[PATCH 3/5] staging: lustre: Fix "unsigned"->"unsigned int"

2018-05-16 Thread Sabin Mihai Rapan
This patch fixes the checkpatch.pl warning: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Sabin Mihai Rapan --- .../staging/lustre/include/uapi/linux/lustre/lustre_fiemap.h| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s

[PATCH 4/5] staging: lustre: Fix "Possible intergrate"->"Possibly integrate"

2018-05-16 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in TODO file. Signed-off-by: Sabin Mihai Rapan --- drivers/staging/lustre/TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/TODO b/drivers/staging/lustre/TODO index 94446487748a..5332cdb19bfa 100644 --- a/drivers/stagi

[PATCH 5/5] staging: lustre: Fix "from from"->"from"

2018-05-16 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in README.txt Signed-off-by: Sabin Mihai Rapan --- drivers/staging/lustre/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/README.txt b/drivers/staging/lustre/README.txt index 0676243eea9e..783959240490 100644

Re: [RFC PATCH] efi/fb: Convert PCI bus address to resource if translated by the bridge

2018-05-16 Thread Sinan Kaya
On 5/16/2018 2:23 PM, Sinan Kaya wrote: > + if (win_start <= base && win_end >= base + win_size - 1) { > + base += window->offset; > + break; > + } I should probably add window->offset!=0 to the if statement in order not to break non-

Re: [RFC PATCH] efi/fb: Convert PCI bus address to resource if translated by the bridge

2018-05-16 Thread Timur Tabi
On 05/16/2018 01:23 PM, Sinan Kaya wrote: + win_start = window->res->start - window->offset; Can you guarantee that window->res->start is always >= window->offset? + win_size = window->res->end - window->res->start + 1; Use resource_size() instead. -- Qualcomm D

[BUG] net: stmmac: dwmac-sun8i broken in linux-next

2018-05-16 Thread Corentin Labbe
Hello The dwmac-sun8i driver is broken in next-20180515, symptom are no RX and TX errors as shown by ifconfig: eth0: flags=4163 mtu 1500 inet 192.168.1.204 netmask 255.255.255.0 broadcast 192.168.1.255 ether 96:75:ff:0d:f6:d8 txqueuelen 1000 (Ethernet) RX packets 0 b

Re: [PATCH net-next v2 0/2] of: mdio: Fall back to mdiobus_register() with NULL device_node

2018-05-16 Thread Geert Uytterhoeven
Hi David, On Wed, May 16, 2018 at 8:21 PM, David Miller wrote: > From: Florian Fainelli > Date: Tue, 15 May 2018 16:56:17 -0700 > >> This patch series updates of_mdiobus_register() such that when the >> device_node >> argument is NULL, it calls mdiobus_register() directly. This is consistent >

Re: [PATCH] net: qcom/emac: Encapsulate sgmii ops under one structure

2018-05-16 Thread David Miller
From: Hemanth Puranik Date: Wed, 16 May 2018 06:40:53 +0530 > This patch introduces ops structure for sgmii, This by ensures that > we do not need dummy functions in case of emulation platforms. > > Signed-off-by: Hemanth Puranik Applied to net-next.

Re: [PATCH V1 06/19] perf tools: Fix kernel_start for PTI on x86

2018-05-16 Thread Arnaldo Carvalho de Melo
Em Wed, May 16, 2018 at 09:16:57PM +0300, Adrian Hunter escreveu: > On 05/16/2018 04:55 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, May 16, 2018 at 04:45:41PM +0300, Adrian Hunter escreveu: > >> On 16/05/18 16:00, Arnaldo Carvalho de Melo wrote: > >>> 2303 bool machine__is(struct machine *

Re: [PATCH] net: 8390: ne: Fix accidentally removed RBTX4927 support

2018-05-16 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 16 May 2018 11:18:01 +0200 > The configuration settings for RBTX4927 were accidentally removed, > leading to a silently broken network interface. > > Re-add the missing settings to fix this. > > Fixes: 8eb97ff5a4ec941d ("net: 8390: remove m32r specific bits")

Re: [RFC PATCH] efi/fb: Convert PCI bus address to resource if translated by the bridge

2018-05-16 Thread Sinan Kaya
On 5/16/2018 2:31 PM, Timur Tabi wrote: > On 05/16/2018 01:23 PM, Sinan Kaya wrote: >> +    win_start = window->res->start - window->offset; > > Can you guarantee that window->res->start is always >= window->offset? > Resource offset is generally 0 when not translating or a positive number t

Re: [PATCH net-next] net: stmmac: Remove useless test before clk_disable_unprepare

2018-05-16 Thread David Miller
From: YueHaibing Date: Wed, 16 May 2018 18:59:19 +0800 > clk_disable_unprepare() already checks that the clock pointer is valid. > No need to test it before calling it. > > Signed-off-by: YueHaibing Applied.

Re: [PATCH net-next] net: ethoc: Remove useless test before clk_disable_unprepare

2018-05-16 Thread David Miller
From: YueHaibing Date: Wed, 16 May 2018 19:18:22 +0800 > clk_disable_unprepare() already checks that the clock pointer is valid. > No need to test it before calling it. > > Signed-off-by: YueHaibing Applied.

Re: [PATCH net] tuntap: fix use after free during release

2018-05-16 Thread David Miller
From: Jason Wang Date: Wed, 16 May 2018 20:39:33 +0800 > After commit b196d88aba8a ("tun: fix use after free for ptr_ring") we > need clean up tx ring during release(). But unfortunately, it tries to > do the cleanup blindly after socket were destroyed which will lead > another use-after-free. Fi

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915: hdmi: add CEC notifier to intel_hdmi

2018-05-16 Thread Neil Armstrong
Hi Ville, On 16/05/2018 16:07, Ville Syrjälä wrote: > On Wed, May 16, 2018 at 09:40:17AM +0200, Neil Armstrong wrote: >> On 16/05/2018 09:31, Neil Armstrong wrote: >>> Hi Ville, >>> >>> On 15/05/2018 17:35, Ville Syrjälä wrote: On Tue, May 15, 2018 at 04:42:19PM +0200, Neil Armstrong wrote: >

[PATCH net-next v2 2/3] net: ethernet: freescale: Allow FEC with COMPILE_TEST

2018-05-16 Thread Florian Fainelli
The Freescale FEC driver builds fine with COMPILE_TEST, so make that possible. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/freescale/Kconfig| 2 +- drivers/net/ethernet/freescale/fec.h | 2 +- drivers/net/ethernet/freescale/fec_main.c | 2 +- 3 files changed, 3 insertions(+

[PATCH net-next v2 3/3] net: phy: Allow MDIO_MOXART and MDIO_SUN4I with COMPILE_TEST

2018-05-16 Thread Florian Fainelli
Those drivers build just fine with COMPILE_TEST, so make that possible. Signed-off-by: Florian Fainelli --- drivers/net/phy/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 0e2305ccc91f..343989f9f9d9 100644 --

[PATCH net-next v2 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread Florian Fainelli
Hi David, This patch series includes more drivers to be build tested with COMPILE_TEST enabled. This helps cover some of the issues I just ran into with missing a driver *sigh*. Changes in v2: - allow FEC to build outside of CONFIG_ARM/ARM64 by defining a layout of registers, this is not meant

[PATCH net-next v2 1/3] net: ethernet: ti: Allow most drivers with COMPILE_TEST

2018-05-16 Thread Florian Fainelli
Most of the TI drivers build just fine with COMPILE_TEST, cpmac (AR7) is the exception because it uses a header file from arch/mips/include/asm/mach-ar7/ar7.h. Signed-off-by: Florian Fainelli --- drivers/net/ethernet/ti/Kconfig | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

Re: [PATCH net-next v2 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread David Miller
From: Florian Fainelli Date: Wed, 16 May 2018 11:52:55 -0700 > This patch series includes more drivers to be build tested with COMPILE_TEST > enabled. This helps cover some of the issues I just ran into with missing > a driver *sigh*. > > Changes in v2: > > - allow FEC to build outside of CONFI

Re: [PATCH net-next v2 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread David Miller
From: David Miller Date: Wed, 16 May 2018 15:06:59 -0400 (EDT) > So applied, thanks. Nevermind, eventually got a build failure: ERROR: "knav_queue_open" [drivers/net/ethernet/ti/keystone_netcp.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1276:

[PATCH v3] {net, IB}/mlx5: Use 'kvfree()' for memory allocated by 'kvzalloc()'

2018-05-16 Thread Christophe JAILLET
When 'kvzalloc()' is used to allocate memory, 'kvfree()' must be used to free it. Fixes: 1cbe6fc86ccfe ("IB/mlx5: Add support for CQE compressing") Fixes: fed9ce22bf8ae ("net/mlx5: E-Switch, Add API to create vport rx rules") Fixes: 9efa75254593d ("net/mlx5_core: Introduce access functions to quer

Re: [PATCH] Documentation: gpio: driver: Fix a typo and some odd grammar

2018-05-16 Thread Jonathan Corbet
On Wed, 16 May 2018 14:08:00 +0200 Jonathan Neuschäfer wrote: > Signed-off-by: Jonathan Neuschäfer Applied, thanks. jon

[PATCH] rtc: nvmem: don't return an error when not enabled

2018-05-16 Thread Alexandre Belloni
Avoid reporting an error when RTC_NVMEM is not selected. Reported-by: kernel test robot Signed-off-by: Alexandre Belloni --- include/linux/rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 4c007f69082f..6268208760e9 100644

Re: [PATCH] Documentation: arm: clean up Marvell Berlin family info

2018-05-16 Thread Jonathan Corbet
On Mon, 14 May 2018 17:55:10 -0400 Thomas Hebb wrote: > Remove dead links, make spacing consistent, and note that the family was > acquired by Synaptics in 2017. > > Signed-off-by: Thomas Hebb Applied to the docs tree, thanks. jon

Re: [PATCH net-next v2 0/3] net: Allow more drivers with COMPILE_TEST

2018-05-16 Thread Florian Fainelli
On 05/16/2018 12:07 PM, David Miller wrote: > From: David Miller > Date: Wed, 16 May 2018 15:06:59 -0400 (EDT) > >> So applied, thanks. > > Nevermind, eventually got a build failure: > > ERROR: "knav_queue_open" [drivers/net/ethernet/ti/keystone_netcp.ko] > undefined! > make[1]: *** [scripts/M

Re: [PATCH v2] coresight: documentation: update sysfs section

2018-05-16 Thread Jonathan Corbet
On Mon, 14 May 2018 12:19:59 -0500 Kim Phillips wrote: > - Align and show updated ls devices output from the TC2, based on > current driver > > - Provide an example from an ETMv4 based system (Juno) > > - Reflect changes to the way the RAM write pointer is accessed since > it got changed in

RE: [PATCH 1/2] ACPICA: Introduce acpi_dispatch_gpe()

2018-05-16 Thread Moore, Robert
I'm not sure why this is necessary, please explain. Is the implication here that some driver is going to poll on acpi_dispatch_gpe? Bob > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Wednesday, May 16, 2018 5:12 AM > To: Linux ACPI > Cc: Zhang, Rui ;

[PATCH] mmc: block: propagate correct returned value in mmc_rpmb_ioctl

2018-05-16 Thread Mathieu Malaterre
In commit 97548575bef3 ("mmc: block: Convert RPMB to a character device") a new function `mmc_rpmb_ioctl` was added. The final return is simply returning a value of `0` instead of propagating the correct return code. Discovered during a compilation with W=1, silence the following gcc warning dr

Re: [PATCH] cpufreq: brcmstb-avs-cpufreq: sort frequencies in ascending order

2018-05-16 Thread Florian Fainelli
On 05/15/2018 09:32 PM, Viresh Kumar wrote: > On 15-05-18, 20:49, Markus Mayer wrote: >> From: Markus Mayer >> >> Most CPUfreq drivers (at least on ARM) seem to be sorting the available >> frequencies from lowest to highest. To match this behaviour, we reverse >> the sorting order in brcmstb-avs-c

Re: [RFC/RFT] [PATCH 05/10] cpufreq: intel_pstate: HWP boost performance on IO Wake

2018-05-16 Thread Srinivas Pandruvada
On Wed, 2018-05-16 at 11:45 +0200, Rafael J. Wysocki wrote: [...] > > > + if (time_before64(time, cpu->last_io_update + 2 * > > TICK_NSEC) && > > + intel_pstate_check_boost_threhold(cpu)) > > + cpu->iowait_boost = true; > > + > > +

[PATCH] tracing: make function ‘ftrace_exports’ static

2018-05-16 Thread Mathieu Malaterre
In commit 478409dd683d ("tracing: Add hook to function tracing for other subsystems to use"), a new function ‘ftrace_exports’ was added. Since this function can be made static, make it so. Silence the following warning triggered using W=1: kernel/trace/trace.c:2451:6: warning: no previous proto

Re: [PATCH IB/core 2/2] IB/cm: Send authentic pkey in REQ msg and check eligibility of the pkeys

2018-05-16 Thread Hal Rosenstock
On 5/16/2018 3:22 PM, Håkon Bugge wrote: > But, do we need an update to IBTA (that the BTH.PKey shall be that of the > VM's Port)? Nothing in spec mentions shared (port) virtualization so that is an exercise completely left to the reader... Annex A19 is silent on this specific point but the virt

Re: [PATCH v2] vfio/mdev: Check globally for duplicate devices

2018-05-16 Thread Kirti Wankhede
On 5/16/2018 8:53 PM, Alex Williamson wrote: > When we create an mdev device, we check for duplicates against the > parent device and return -EEXIST if found, but the mdev device > namespace is global since we'll link all devices from the bus. We do > catch this later in sysfs_do_create_link_sd(

[PATCH v2 3/4] coresight: allow to build as modules

2018-05-16 Thread Kim Phillips
Allow to build coresight as modules. This greatly enhances developer efficiency by allowing the development to take place exclusively on the target, and without needing to reboot in between changes. - Kconfig bools become tristates, to allow =m - MODULE_* macros added: Please correct me if I'm

[RFC PATCH] net: hns3: hns3_pci_sriov_configure() can be static

2018-05-16 Thread kbuild test robot
Fixes: fdb793670a00 ("net: hns3: Add support of .sriov_configure in HNS3 driver") Signed-off-by: Fengguang Wu --- hns3_enet.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

Re: [PATCH net-next 09/10] net: hns3: Add support of .sriov_configure in HNS3 driver

2018-05-16 Thread kbuild test robot
Hi Peng, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Salil-Mehta/Misc-Bug-Fixes-and-clean-ups-for-HNS3-Driver/20180516-211239 reproduce: # apt-get install sparse make ARCH

[PATCH] MAINTAINERS: update sound/soc/intel maintainers

2018-05-16 Thread Pierre-Louis Bossart
The information for Intel SoC drivers was not updated for several years. Add myself, Liam and Keyon (Jie) as maintainers to get notified of contributions and bug reports. As discussed with Mark and Takashi, I'll also monitor alsa-devel and ack Intel patches as necessary. Signed-off-by: Pierre-Loui

Re: [PATCH v6 2/3] gpio: pca953x: define masks for addressing common and extended registers

2018-05-16 Thread Andy Shevchenko
On Wed, May 16, 2018 at 8:01 PM, H. Nikolaus Schaller wrote: > These mask bits are to be used to map the extended register > addreseses (which are defined for an unsupported 8-bit pcal chip) > to 16 and 24 bit chips (pcal6524). > > Reviewed-by: Andy Shevchenko > Signed-off-by: H. Nikolaus Schall

Re: [PATCH 4.4 014/190] lockd: fix lockd shutdown race

2018-05-16 Thread J. Bruce Fields
On Tue, May 15, 2018 at 07:44:24PM +0100, Ben Hutchings wrote: > On Wed, 2018-04-11 at 20:34 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: "J. Bruce Fields" > > > > > > [ Upstream commit

Re: [PATCH v6 0/3] pcal6524 extensions and fixes for pca953x driver

2018-05-16 Thread Andy Shevchenko
On Wed, May 16, 2018 at 8:01 PM, H. Nikolaus Schaller wrote: > V6: > * added proper attribution to the formula used for fixing the > pcal6524 register address (changes commit message only) > * add back missing first patch from V2 that defines the > PCA_LATCH_INT constant > * removed patches a

[PATCH] sched/debug: Move print_rt_rq and print_dl_rq declarations to kernel/sched/sched.h

2018-05-16 Thread Mathieu Malaterre
In commit 6b55c9654fcc ("sched/debug: Move print_cfs_rq() declaration to kernel/sched/sched.h"), ‘print_cfs_rq’ prototype was added to right next to prototypes for ‘print_cfs_stats’, ‘print_rt_stats’ and ‘print_dl_stats’. Update this previous commit and also move related prototypes: ‘print_rt_rq’

Re: [PATCH v6 2/3] gpio: pca953x: define masks for addressing common and extended registers

2018-05-16 Thread H. Nikolaus Schaller
> Am 16.05.2018 um 21:50 schrieb Andy Shevchenko : > > On Wed, May 16, 2018 at 8:01 PM, H. Nikolaus Schaller > wrote: >> These mask bits are to be used to map the extended register >> addreseses (which are defined for an unsupported 8-bit pcal chip) >> to 16 and 24 bit chips (pcal6524). >> >>

[PATCH] clocksource: Move the inline keyword at the beginning of function declarations

2018-05-16 Thread Mathieu Malaterre
The inline keyword was not at the beginning of the function declarations. Fix the following warnings triggered when using W=1: kernel/time/clocksource.c:456:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] kernel/time/clocksource.c:457:1: warning: ‘inline’ is

Sometimes unusable i2c-hid devices in 4.17-rcX

2018-05-16 Thread Mario.Limonciello
Hi All, I've been running 4.16-rc7 on an XPS 9365 for some time and recently moved up to 4.17-rc5. Immediately I noticed that i2c-hid devices (both touchscreen and touchpad) were not working. Also when shutting the system down or rebooting it would just hang. (magic sysrq still worked). I figu

Re: [PATCH v16 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-16 Thread Bjorn Helgaas
On Wed, May 16, 2018 at 08:28:39PM +0530, p...@codeaurora.org wrote: > On 2018-05-16 18:34, Bjorn Helgaas wrote: > > On Wed, May 16, 2018 at 05:45:58PM +0530, p...@codeaurora.org wrote: > > > On 2018-05-16 16:22, Bjorn Helgaas wrote: > > > > On Wed, May 16, 2018 at 01:46:25PM +0530, p...@codeaurora

Re: [PATCH -mm] mm, hugetlb: Pass fault address to no page handler

2018-05-16 Thread Mike Kravetz
On 05/16/2018 02:12 AM, Michal Hocko wrote: > On Tue 15-05-18 08:57:56, Huang, Ying wrote: >> From: Huang Ying >> >> This is to take better advantage of huge page clearing >> optimization (c79b57e462b5d, "mm: hugetlb: clear target sub-page last >> when clearing huge page"). Which will clear to ac

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-05-16 Thread Andy Shevchenko
On Wed, May 16, 2018 at 5:03 PM, Linus Walleij wrote: > On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray > wrote: > >> For example, suppose you would like to iterate over a 16-bit integer 4 >> bits at a time, skipping over 4-bit groups with no set bit, where >> represents the current

[PATCH] sched/deadline: make function ‘grub_reclaim’ static

2018-05-16 Thread Mathieu Malaterre
Since function ‘grub_reclaim’ can be made static, make it so. Silence the following gcc warning (W=1): kernel/sched/deadline.c:1120:5: warning: no previous prototype for ‘grub_reclaim’ [-Wmissing-prototypes] Signed-off-by: Mathieu Malaterre --- kernel/sched/deadline.c | 2 +- 1 file changed,

[PATCH] usb-storage: Add quirks to make G-Technology "G-Drive" work

2018-05-16 Thread Alexander Kappner
The "G-Drive" (sold by G-Technology) external USB 3.0 drive hangs on write access under UAS: [ 136.079121] sd 15:0:0:0: [sdi] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 136.079144] sd 15:0:0:0: [sdi] tag#0 Sense Key : Illegal Request [current] [ 136.079152] sd 15:0:0:0: [s

Re: [PATCH v6 1/2] dt: bindings: lm3601x: Introduce the lm3601x driver

2018-05-16 Thread Jacek Anaszewski
Dan, On 05/15/2018 11:29 PM, Dan Murphy wrote: Jacek On 05/15/2018 04:13 PM, Jacek Anaszewski wrote: Hi Dan, Thanks for the update. On 05/15/2018 05:43 PM, Dan Murphy wrote: Introduce the device tree bindings for the lm3601x family of LED torch, flash and IR drivers. Signed-off-by: Dan Mur

Re: [PATCH 03/14] arm: Add restartable sequences support

2018-05-16 Thread Mathieu Desnoyers
- On May 16, 2018, at 12:18 PM, Peter Zijlstra pet...@infradead.org wrote: > On Mon, Apr 30, 2018 at 06:44:22PM -0400, Mathieu Desnoyers wrote: >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >> index a7f8e7f4b88f..4f5c386631d4 100644 >> --- a/arch/arm/Kconfig >> +++ b/arch/arm/Kconfig >>

Re: [PATCH 07/14] powerpc: Add support for restartable sequences

2018-05-16 Thread Mathieu Desnoyers
- On May 16, 2018, at 12:18 PM, Peter Zijlstra pet...@infradead.org wrote: > On Mon, Apr 30, 2018 at 06:44:26PM -0400, Mathieu Desnoyers wrote: >> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig >> index c32a181a7cbb..ed21a777e8c6 100644 >> --- a/arch/powerpc/Kconfig >> +++ b/arch/pow

RE: [PATCH V2 0/5] X86: Hyper-V: APIC enlightenments

2018-05-16 Thread Thomas Gleixner
On Wed, 16 May 2018, KY Srinivasan wrote: > > > > -Original Message- > > From: k...@linuxonhyperv.com > > Sent: Thursday, May 3, 2018 11:07 PM > > To: x...@kernel.org; gre...@linuxfoundation.org; linux- > > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > > a...@c

Re: [PATCH v6 1/2] dt: bindings: lm3601x: Introduce the lm3601x driver

2018-05-16 Thread Dan Murphy
On 05/16/2018 03:10 PM, Jacek Anaszewski wrote: > Dan, > > On 05/15/2018 11:29 PM, Dan Murphy wrote: >> Jacek >> >> On 05/15/2018 04:13 PM, Jacek Anaszewski wrote: >>> Hi Dan, >>> >>> Thanks for the update. >>> >>> On 05/15/2018 05:43 PM, Dan Murphy wrote: Introduce the device tree bindings f

[PATCH] ubi: fastmap: Cancel work upon detach

2018-05-16 Thread Richard Weinberger
Ben Hutchings pointed out that 29b7a6fa1ec0 ("ubi: fastmap: Don't flush fastmap work on detach") does not really fix the problem, it just reduces the risk to hit the race window where fastmap work races against free()'ing ubi->volumes[]. The correct approach is making sure that no more fastmap wor

Re: [PATCH 02/14] rseq: Introduce restartable sequences system call (v13)

2018-05-16 Thread Mathieu Desnoyers
- On May 16, 2018, at 12:24 PM, Peter Zijlstra pet...@infradead.org wrote: > On Mon, Apr 30, 2018 at 06:44:21PM -0400, Mathieu Desnoyers wrote: >> Expose a new system call allowing each thread to register one userspace >> memory area to be used as an ABI between kernel and user-space for two >

Re: [PATCH net-next v2 2/2] drivers: net: Remove device_node checks with of_mdiobus_register()

2018-05-16 Thread Sergei Shtylyov
Hello! On 05/16/2018 02:56 AM, Florian Fainelli wrote: > A number of drivers have the following pattern: > > if (np) > of_mdiobus_register() > else > mdiobus_register() > > which the implementation of of_mdiobus_register() now takes care of. > Remove that pattern in drivers that str

[PATCH] mm: save two stranding bit in gfp_mask

2018-05-16 Thread Shakeel Butt
___GFP_COLD and ___GFP_OTHER_NODE were removed but their bits were stranded. Slide existing gfp masks to make those two bits available. Signed-off-by: Shakeel Butt --- include/linux/gfp.h | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --g

Re: [PATCH v5 4/4] rtc: ds1307: add frequency_test_enable sysfs attribute to check tick on m41txx

2018-05-16 Thread Andy Shevchenko
On Wed, May 16, 2018 at 1:32 PM, Giulio Benetti wrote: > On m41txx you can enable open-drain OUT pin to check if offset is ok. > Enabling OUT pin with frequency_test_enable attribute, OUT pin will tick > 512 times faster than 1s tick base. > > Enable or Disable FT bit on CONTROL register if freq_t

[tip:timers/core] clocksource: Move inline keyword to the beginning of function declarations

2018-05-16 Thread tip-bot for Mathieu Malaterre
Commit-ID: db6f9e55c8d80a4a1a329b9b68a1d370bffb6aad Gitweb: https://git.kernel.org/tip/db6f9e55c8d80a4a1a329b9b68a1d370bffb6aad Author: Mathieu Malaterre AuthorDate: Wed, 16 May 2018 21:59:43 +0200 Committer: Thomas Gleixner CommitDate: Wed, 16 May 2018 22:21:32 +0200 clocksource: Move

Re: [PATCH v2] coresight: documentation: update sysfs section

2018-05-16 Thread Kim Phillips
On Wed, 16 May 2018 13:18:23 -0600 Jonathan Corbet wrote: > On Mon, 14 May 2018 12:19:59 -0500 > Kim Phillips wrote: > > > - Align and show updated ls devices output from the TC2, based on > > current driver > > > > - Provide an example from an ETMv4 based system (Juno) > > > > - Reflect ch

Re: [PATCH v2 1/3] rtc: stm32: rework register management to prepare other version of RTC

2018-05-16 Thread Alexandre Belloni
Hi, On 09/05/2018 17:46:08+0200, Amelie Delaunay wrote: > static void stm32_rtc_wpr_unlock(struct stm32_rtc *rtc) > { > - writel_relaxed(RTC_WPR_1ST_KEY, rtc->base + STM32_RTC_WPR); > - writel_relaxed(RTC_WPR_2ND_KEY, rtc->base + STM32_RTC_WPR); > + struct stm32_rtc_registers regs =

[PATCH] bpf: add __printf verification to bpf_verifier_vlog

2018-05-16 Thread Mathieu Malaterre
__printf is useful to verify format and arguments. ‘bpf_verifier_vlog’ function is used twice in verifier.c in both cases the caller function already uses the __printf gcc attribute. Remove the following warning, triggered with W=1: kernel/bpf/verifier.c:176:2: warning: function might be possib

Re: [PATCH v7 0/7] KVM: x86: Allow Qemu/KVM to use PVH entry point

2018-05-16 Thread Maran Wilson
Friendly ping. I am hopeful one of the x86 and/or KVM maintainers has a few cycles to spare to look this over. And thanks to everyone who has helped thus far by providing valuable feedback and reviewing.    https://lkml.org/lkml/2018/4/16/1002 Thanks, -Maran On 4/16/2018 4:09 PM, Maran Wils

Re: [RFC PATCH v4 3/5] ima: differentiate auditing policy rules from "audit" actions

2018-05-16 Thread Stefan Berger
On 05/15/2018 09:40 AM, Mimi Zohar wrote: Hi Stefan, On Fri, 2018-05-11 at 10:42 -0400, Stefan Berger wrote: From: Mimi Zohar The AUDIT_INTEGRITY_RULE is used for auditing IMA policy rules and the IMA "audit" policy action. This patch defines AUDIT_INTEGRITY_POLICY to reflect the IMA policy

Re: [PATCH v2 3/3] rtc: stm32: add stm32mp1 rtc support

2018-05-16 Thread Alexandre Belloni
On 09/05/2018 17:46:10+0200, Amelie Delaunay wrote: > struct stm32_rtc_registers { > @@ -86,6 +98,9 @@ struct stm32_rtc_registers { > u8 prer; > u8 alrmar; > u8 wpr; > + u8 sr; > + u8 scr; > + u16 verr; All those offsets should probably be u16 or u32... > + if (

<    5   6   7   8   9   10   11   12   >