Re: [patches] [PATCH v4 0/6] Add dynamic ftrace support for RISC-V platforms

2018-02-21 Thread Palmer Dabbelt
On Mon, 12 Feb 2018 21:13:15 PST (-0800), alan...@andestech.com wrote: This patch set includes the building blocks of dynamic ftrace features for RISC-V machines. Changes in v4: - Organize code structure according to changes in v3 - Rebase onto the riscv-linux-4.15 branch at github's riscv/

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-21 Thread Paul E. McKenney
On Wed, Feb 21, 2018 at 10:00:20AM -0500, Alan Stern wrote: > On Fri, 16 Feb 2018, Paul E. McKenney wrote: > > > On Fri, Feb 16, 2018 at 05:22:55PM -0500, Alan Stern wrote: > > > Since commit 76ebbe78f739 ("locking/barriers: Add implicit > > > smp_read_barrier_depends() to READ_ONCE()") was merged

Re: [PATCH 1/2] vfio: platform: Fix reset module leak in error path

2018-02-21 Thread Geert Uytterhoeven
Hi Eric, On Wed, Feb 14, 2018 at 10:32 AM, Geert Uytterhoeven wrote: > On Wed, Feb 14, 2018 at 9:36 AM, Auger Eric wrote: >> If I am not wrong we also leak the reset_module if >> vfio_platform_get_reset() fails to find the reset function (of_reset == >> NULL), in which case we should do the modu

Re: [PATCH] block: rbd: update sysfs interface

2018-02-21 Thread Ilya Dryomov
On Tue, Feb 20, 2018 at 10:08 AM, Aishwarya Pant wrote: > The existing sysfs interface has been updated to be in the same format > as described in Documentation/ABI/README. This will be useful for > scripting and tracking changes in the ABI. Attributes have been grouped > by functionality and/or t

Re: [PATCH 05/10] hwmon: generic-pwm-tachometer: Add generic PWM based tachometer

2018-02-21 Thread Guenter Roeck
On Wed, Feb 21, 2018 at 05:20:29PM +0200, Mikko Perttunen wrote: > On 21.02.2018 16:46, Guenter Roeck wrote: > >On 02/20/2018 11:15 PM, Mikko Perttunen wrote: > >>AIUI, the PWM framework already exposes a sysfs node with period > >>information. We should just use that instead of adding a new driver

Re: [PATCH 5/6] powerpc: Implement DISCONTIGMEM and allow selection on PPC32

2018-02-21 Thread Jonathan Neuschäfer
On Wed, Feb 21, 2018 at 07:46:28AM +0800, kbuild test robot wrote: [...] > >> include/linux/mmzone.h:1239:19: error: conflicting types for 'pfn_valid' > static inline int pfn_valid(unsigned long pfn) > ^ >In file included from include/linux/mmzone.h:912:0, >

[PATCH v4 0/7] Topstar U931/RVP7 ACPI LED Workaround

2018-02-21 Thread Guillaume Douézan-Grard
Hi Andy, Thank you for your review. Changes since the previous submission are highlighted below. On Topstar U931/RVP7 Notebooks, an issue prevents the WLAN toggle key from being properly managed by the Embedded Controller and successfully disconnect the adapter. A specific ACPI method allows to t

[PATCH v4 1/7] platform/x86: topstar-laptop: revert "convert to module_acpi_driver()"

2018-02-21 Thread Guillaume Douézan-Grard
Revert commit 15165594da65 ("topstar-laptop: convert to module_acpi_driver()") to later add a platform device. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/pla

[PATCH v4 2/7] platform/x86: topstar-laptop: use consistent naming scheme

2018-02-21 Thread Guillaume Douézan-Grard
* use module prefix naming scheme for functions and programming constructs, * consistent label names Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 82 +-- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/drivers

[PATCH v4 4/7] platform/x86: topstar-laptop: add platform device

2018-02-21 Thread Guillaume Douézan-Grard
* add a platform device to support further addition of a led subsystem, * register the existing input device to this platform device. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 59 +-- 1 file changed, 57 insertions(+), 2 de

[PATCH v4 3/7] platform/x86: topstar-laptop: split ACPI events and input handling

2018-02-21 Thread Guillaume Douézan-Grard
* get the `acpi_device` from the `topstar_laptop` struct, * split input registering and `sparse_keymap` events from ACPI events handling, * use notify, init and exit functions for ACPI and input handling Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 109 +++

[PATCH v4 5/7] platform/x86: topstar-laptop: add Topstar U931/RVP7 WLAN LED workaround

2018-02-21 Thread Guillaume Douézan-Grard
Topstar U931 laptops provide a LED synced with the WLAN adapter hard-blocking state. Unfortunately, some models seem to be defective, making impossible to hard-block the adapter with the WLAN switch and thus the LED is useless. An ACPI method is available to programmatically control this switch an

[PATCH v4 7/7] platform/x86: topstar-laptop: replace licence text with SPDX tag

2018-02-21 Thread Guillaume Douézan-Grard
Replace verbatim GPLv2 license copy with SPDX identifier. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/platform/x86/topstar-laptop.c b/drivers/platform/x86/topstar-laptop.c index

[PATCH v4 6/7] platform/x86: topstar-laptop: update copyright and fix some comments

2018-02-21 Thread Guillaume Douézan-Grard
Add myself as an author of the driver. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/topstar-laptop.c b/drivers/platform/x86/topstar-laptop.c index 30a6c5cbc58f..294729

Re: Use higher-order pages in vmalloc

2018-02-21 Thread Andy Lutomirski
On Wed, Feb 21, 2018 at 3:42 PM, Matthew Wilcox wrote: > On Tue, Jan 23, 2018 at 01:55:32PM +0300, Konstantin Khlebnikov wrote: >> Virtually mapped stack have two bonuses: it eats order-0 pages and >> adds guard page at the end. But it slightly slower if system have >> plenty free high-order pages

Re: [PATCH 2/2] vfio: platform: Add generic DT reset support

2018-02-21 Thread Geert Uytterhoeven
Hi Eric, On Wed, Feb 14, 2018 at 11:11 AM, Auger Eric wrote: > On 14/02/18 10:43, Geert Uytterhoeven wrote: >> On Wed, Feb 14, 2018 at 10:09 AM, Auger Eric wrote: >>> On 13/02/18 17:36, Geert Uytterhoeven wrote: Vfio-platform requires reset support, provided either by ACPI, or, on DT p

Re: [PATCH RFC tools/lkmm 10/12] tools/memory-model: Add a S lock-based external-view litmus test

2018-02-21 Thread Paul E. McKenney
On Wed, Feb 21, 2018 at 10:09:00AM -0500, Alan Stern wrote: > On Tue, 20 Feb 2018, Paul E. McKenney wrote: > > > From: Alan Stern > > > > This commit adds a litmus test in which P0() and P1() form a lock-based S > > litmus test, with the addition of P2(), which observes P0()'s and P1()'s > > Wh

Re: [PATCH v3] arm64: Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2018-02-21 Thread Shanker Donthineni
Hi Mark, On 02/21/2018 09:09 AM, Mark Rutland wrote: > On Wed, Feb 21, 2018 at 07:49:06AM -0600, Shanker Donthineni wrote: >> The DCache clean & ICache invalidation requirements for instructions >> to be data coherence are discoverable through new fields in CTR_EL0. >> The following two control bi

Re: [PATCH] iio:dummy: Fix coding style in simple_dummy and evgen

2018-02-21 Thread Rodrigo Siqueira
On 02/21, Daniel Baluta wrote: > On Wed, Feb 21, 2018 at 4:05 PM, Rodrigo Siqueira > wrote: > > This patch fixes the following checkpatch.pl warnings: > > > > drivers/iio/dummy/iio_simple_dummy.c:603: WARNING: Block comments should > > align the * on each line > > drivers/iio/dummy/iio_dummy_evgen

Re: [PATCH] iio: light: add driver for bh1730fvc chips

2018-02-21 Thread Pierre Bourdon (delroth)
Hi Daniel, On Wed, Feb 21, 2018 at 4:31 PM, Daniel Baluta wrote: > On Wed, Feb 21, 2018 at 2:55 PM, Pierre Bourdon wrote: >> Ambient light sensor that supports visible light and IR measurements and >> configurable gain/integration time. >> > > Can you have a quick look to existing ROHM light sen

[PATCH v2 0/8] PECI device driver introduction

2018-02-21 Thread Jae Hyun Yoo
Introduction of the Platform Environment Control Interface (PECI) bus device driver. PECI is a one-wire bus interface that provides a communication channel between Intel processor and chipset components to external monitoring or control devices. PECI is designed to support the following sideband fu

[PATCH v2 4/8] [PATCH 4/8] drivers/peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx

2018-02-21 Thread Jae Hyun Yoo
This commit adds PECI adapter driver implementation for Aspeed AST24xx/AST25xx. Signed-off-by: Jae Hyun Yoo --- drivers/peci/Kconfig | 19 ++ drivers/peci/Makefile | 3 + drivers/peci/peci-aspeed.c | 510 + 3 files changed, 532 insertions

[PATCH v2 5/8] [PATCH [5/8] Documentation: dt-bindings: Add a document for PECI hwmon client driver

2018-02-21 Thread Jae Hyun Yoo
This commit adds a dt-bindings document for a generic PECI hwmon client driver. Signed-off-by: Jae Hyun Yoo --- .../devicetree/bindings/hwmon/peci-hwmon.txt | 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/peci-hwmon.

[PATCH v2 8/8] [PATCH 8/8] Add a maintainer for the PECI subsystem

2018-02-21 Thread Jae Hyun Yoo
This commit adds a maintainer information for the PECI subsystem. Signed-off-by: Jae Hyun Yoo --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 93a12af4f180..f9c302cbb76b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10830,6 +10830,15 @

Re: Use higher-order pages in vmalloc

2018-02-21 Thread Dave Hansen
On 02/21/2018 07:42 AM, Matthew Wilcox wrote: > On Tue, Jan 23, 2018 at 01:55:32PM +0300, Konstantin Khlebnikov wrote: >> Virtually mapped stack have two bonuses: it eats order-0 pages and >> adds guard page at the end. But it slightly slower if system have >> plenty free high-order pages. >> >> Th

Re: [PATCH 1/4] drm/atomic: integrate modeset lock with private objects

2018-02-21 Thread Rob Clark
On Wed, Feb 21, 2018 at 10:54 AM, Ville Syrjälä wrote: > On Wed, Feb 21, 2018 at 10:36:06AM -0500, Rob Clark wrote: >> On Wed, Feb 21, 2018 at 10:27 AM, Ville Syrjälä >> wrote: >> > On Wed, Feb 21, 2018 at 10:20:03AM -0500, Rob Clark wrote: >> >> On Wed, Feb 21, 2018 at 10:07 AM, Ville Syrjälä >>

Re: [PATCH v2 0/3] Directed kmem charging

2018-02-21 Thread Christopher Lameter
Another way to solve this is to switch the user context right? Isnt it possible to avoid these patches if do the allocation in another task context instead? Are there really any other use cases beyond fsnotify? The charging of the memory works on a per page level but the allocation occur from t

[PATCH v2 7/8] [PATCH 7/8] drivers/hwmon: Add a generic PECI hwmon client driver

2018-02-21 Thread Jae Hyun Yoo
This commit adds a generic PECI hwmon client driver implementation. Signed-off-by: Jae Hyun Yoo --- drivers/hwmon/Kconfig | 10 + drivers/hwmon/Makefile | 1 + drivers/hwmon/peci-hwmon.c | 928 + 3 files changed, 939 insertions(+) create m

Re: [PATCH RFC tools/lkmm 09/12] tools/memory-model: Add required herd7 version to README file

2018-02-21 Thread Paul E. McKenney
On Wed, Feb 21, 2018 at 10:10:52AM -0500, Alan Stern wrote: > On Tue, 20 Feb 2018, Paul E. McKenney wrote: > > > LKMM and the herd7 tool are co-evolving, and out-of-date herd7 tools > > produce inaccurate results, often with no obvious error messages. This > > commit therefore adds the required h

[PATCH v2 6/8] [PATCH 6/8] Documentation: hwmon: Add a document for PECI hwmon client driver

2018-02-21 Thread Jae Hyun Yoo
This commit adds a hwmon document for a generic PECI hwmon client driver. Signed-off-by: Jae Hyun Yoo --- Documentation/hwmon/peci-hwmon | 73 ++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/hwmon/peci-hwmon diff --git a/Documentatio

[PATCH v2 3/8] [PATCH 3/8] ARM: dts: aspeed: peci: Add PECI node

2018-02-21 Thread Jae Hyun Yoo
This commit adds PECI bus/adapter node of AST24xx/AST25xx into aspeed-g4 and aspeed-g5. Signed-off-by: Jae Hyun Yoo --- arch/arm/boot/dts/aspeed-g4.dtsi | 25 + arch/arm/boot/dts/aspeed-g5.dtsi | 25 + 2 files changed, 50 insertions(+) diff --git

[PATCH v2 2/8] [PATCH 2/8] Documentations: dt-bindings: Add a document of PECI adapter driver for Aspeed AST24xx/25xx SoCs

2018-02-21 Thread Jae Hyun Yoo
This commit adds a dt-bindings document of PECI adapter driver for Aspeed AST24xx/25xx SoCs. Signed-off-by: Jae Hyun Yoo --- .../devicetree/bindings/peci/peci-aspeed.txt | 73 ++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindings/peci

Re: [PATCH 5/6] mm, hugetlb: further simplify hugetlb allocation API

2018-02-21 Thread Dan Rue
On Wed, Feb 21, 2018 at 11:01:07AM +0100, Michal Hocko wrote: > On Wed 21-02-18 10:55:26, Michal Hocko wrote: > > On Tue 20-02-18 22:24:57, Dan Rue wrote: > [...] > > > I bisected the failure to this commit. The problem is seen on multiple > > > architectures (tested x86-64 and arm64). > > > > The

[PATCH v2 1/8] [PATCH 1/8] drivers/peci: Add support for PECI bus driver core

2018-02-21 Thread Jae Hyun Yoo
This commit adds driver implementation for PECI bus into linux driver framework. Signed-off-by: Jae Hyun Yoo --- drivers/Kconfig |2 + drivers/Makefile|1 + drivers/peci/Kconfig| 20 + drivers/peci/Makefile |6 + drivers/peci/pe

Re: [PATCH] ARM: dtc: tegra: enable front panel leds in TrimSlice

2018-02-21 Thread Tomasz Maciej Nowak
W dniu 20.02.2018 o 20:55, Stephen Warren pisze: On 02/19/2018 01:16 PM, Tomasz Maciej Nowak wrote: Adds device nodes for two front panel LEDs. Why do you need to change the pinmux settings? Configuring a pin as a GPIO should override any pinmux special function selection and hence make it i

Re: [PATCH 08a/30] kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCE

2018-02-21 Thread David Howells
Jiri Bohac wrote: > Key verification may and will fail for lots of reasons which is > just going to make a user's life harder. E.g. you want to kexec > an old kernel with an expired key. Or your date is just wrong and > you get -EKEYEXPIRED. Note that we can't check for expired keys as we can't

Re: [PATCH v4 5/7] platform/x86: topstar-laptop: add Topstar U931/RVP7 WLAN LED workaround

2018-02-21 Thread Andy Shevchenko
On Wed, Feb 21, 2018 at 6:10 PM, Guillaume Douézan-Grard wrote: > Topstar U931 laptops provide a LED synced with the WLAN adapter > hard-blocking state. Unfortunately, some models seem to be defective, > making impossible to hard-block the adapter with the WLAN switch and > thus the LED is useless

Re: [PATCH] arm64: cpufeature: Trim feature reporting and include PAN emulation

2018-02-21 Thread Dave Martin
On Wed, Feb 21, 2018 at 02:39:55PM +, Mark Rutland wrote: > On Wed, Feb 21, 2018 at 11:18:27AM +, Dave Martin wrote: > > On Tue, Feb 20, 2018 at 02:46:24PM -0800, Kees Cook wrote: > > > The PAN emulation notification was only happening for non-boot CPUs > > > if CPU capabilities had already

Re: [PATCH v4 7/7] platform/x86: topstar-laptop: replace licence text with SPDX tag

2018-02-21 Thread Andy Shevchenko
On Wed, Feb 21, 2018 at 6:10 PM, Guillaume Douézan-Grard wrote: > Replace verbatim GPLv2 license copy with SPDX identifier. > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0+ It doesn't much. > - * > - * This program is free software; you can redistribute it and/or modify > - * it under

Re: [PATCH v4 7/7] platform/x86: topstar-laptop: replace licence text with SPDX tag

2018-02-21 Thread Andy Shevchenko
On Wed, Feb 21, 2018 at 6:26 PM, Andy Shevchenko wrote: > On Wed, Feb 21, 2018 at 6:10 PM, Guillaume Douézan-Grard > wrote: >> Replace verbatim GPLv2 license copy with SPDX identifier. > >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0+ > > It doesn't much. s/much/match/ > >> - * >> -

Re: [PATCH v9 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-02-21 Thread Hans Verkuil
On 02/21/2018 04:47 PM, jacopo mondi wrote: > Hello again, > > On Tue, Feb 20, 2018 at 09:58:57AM +0100, jacopo mondi wrote: >> Hi Laurent, >> >> On Mon, Feb 19, 2018 at 09:19:32PM +0200, Laurent Pinchart wrote: >>> Hi Jacopo, >>> >>> Thank you for the patch. >>> >>> On Monday, 19 February 2018 18

[PATCH] [v4.15-stable] arm64: dts: add #cooling-cells to CPU nodes

2018-02-21 Thread Arnd Bergmann
commit acbf76ee05067c3942852019993f7beb69a0f45f upstream. dtc complains about the lack of #coolin-cells properties for the CPU nodes that are referred to as "cooling-device": arch/arm64/boot/dts/mediatek/mt8173-evb.dtb: Warning (cooling_device_property): Missing property '#cooling-cells' in node

[PATCH RT] net: use task_struct instead of CPU number as the queue owner on -RT

2018-02-21 Thread Sebastian Andrzej Siewior
In commit ("net: move xmit_recursion to per-task variable on -RT") the recursion level was changed to be per-task since we can get preempted in BH on -RT. The lock owner should consequently be recorded as the task that holds the lock and not the CPU. Otherwise we trigger the "Dead loop on virtual d

Re: stable-rc build: 13 warnings 0 failures (stable-rc/v4.15.4-164-g0cbdf96)

2018-02-21 Thread Arnd Bergmann
On Wed, Feb 21, 2018 at 4:46 PM, Olof's autobuilder wrote: > Warnings: Hi Greg, It's much better already, thanks for picking up all the patches so far. Looking at the remaining warnings: > arm64.allmodconfig: > arch/arm64/boot/dts/mediatek/mt8173-evb.dtb: Warning > (cooling_device_prop

Re: [PATCH 3/4] kernel/fork: switch vmapped stack callation to __vmalloc_area()

2018-02-21 Thread Andy Lutomirski
On Wed, Feb 21, 2018 at 7:23 AM, Konstantin Khlebnikov wrote: > > > On 21.02.2018 03:16, Andrew Morton wrote: >> >> On Tue, 23 Jan 2018 16:57:21 +0300 Konstantin Khlebnikov >> wrote: >> >>> # stress-ng --clone 100 -t 10s --metrics-brief >>> at 32-core machine shows boost 35000 -> 36000 bogo ops >

Re: [PATCH v2 3/3] fs: fsnotify: account fsnotify metadata to kmemcg

2018-02-21 Thread Christopher Lameter
On Tue, 20 Feb 2018, Shakeel Butt wrote: > diff --git a/fs/notify/fanotify/fanotify.c b/fs/notify/fanotify/fanotify.c > index 6702a6a0bbb5..0d9493ebc7cd 100644 > --- a/fs/notify/fanotify/fanotify.c > +++ b/fs/notify/fanotify/fanotify.c > if (fanotify_is_perm_event(mask)) { > st

Re: [PATCH v2 1/2] KVM: x86: Add a framework for supporting MSR-based features

2018-02-21 Thread Paolo Bonzini
On 21/02/2018 15:52, Tom Lendacky wrote: > On 2/21/2018 8:47 AM, Tom Lendacky wrote: >> On 2/21/2018 8:32 AM, Paolo Bonzini wrote: >>> On 21/02/2018 15:15, Tom Lendacky wrote: On 2/21/2018 5:41 AM, Paolo Bonzini wrote: > On 16/02/2018 00:12, Tom Lendacky wrote: >> +static u32 msr_based

Re: [PATCH 1/4] drm/atomic: integrate modeset lock with private objects

2018-02-21 Thread Ville Syrjälä
On Wed, Feb 21, 2018 at 11:17:21AM -0500, Rob Clark wrote: > On Wed, Feb 21, 2018 at 10:54 AM, Ville Syrjälä > wrote: > > On Wed, Feb 21, 2018 at 10:36:06AM -0500, Rob Clark wrote: > >> On Wed, Feb 21, 2018 at 10:27 AM, Ville Syrjälä > >> wrote: > >> > On Wed, Feb 21, 2018 at 10:20:03AM -0500, Ro

[GIT PULL] RISC-V: Cleanups for 4.16-rc3

2018-02-21 Thread Palmer Dabbelt
The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.16-rc3-riscv_cleanups for you to fetch

Re: [PATCH 3/3] platform/chrome: mfd/cros_ec_dev: Add sysfs entry to set keyboard wake lid angle

2018-02-21 Thread Enric Balletbo i Serra
Hi Andy, On 21/02/18 16:16, Andy Shevchenko wrote: > On Wed, Feb 21, 2018 at 4:50 PM, Enric Balletbo i Serra > wrote: >> From: Gwendal Grignou >> >> This adds a sysfs attribute (/sys/class/chromeos/cros_ec/kb_wake_angle) >> used to set and get the keyboard wake lid angle. This attribute is >> pr

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-21 Thread Simon Horman
On Wed, Feb 21, 2018 at 01:10:30AM +0200, Laurent Pinchart wrote: > Hello, > > This patch series addresses a design mistake that dates back from the initial > DU support. Support for the LVDS encoders, which are IP cores separate from > the DU, was bundled in the DU driver. Worse, both the DU and

Re: [PATCH v3 1/3] Kconfig : Remove HAS_IOMEM dependency for Graphics support

2018-02-21 Thread Farhan Ali
On 02/21/2018 07:11 AM, Christian Borntraeger wrote: On 02/21/2018 01:07 PM, Cornelia Huck wrote: [...] But if you need to enable PCI to get IOMEM, I wonder why this patch here is needed at all? The Graphics menu / VT dummy console should be available in the config if IOMEM is enabled anyway

Re: [PATCH v4 5/7] platform/x86: topstar-laptop: add Topstar U931/RVP7 WLAN LED workaround

2018-02-21 Thread Guillaume Douézan-Grard
On Wed, Feb 21, 2018 at 06:25:10PM +0200, Andy Shevchenko wrote: > On Wed, Feb 21, 2018 at 6:10 PM, Guillaume Douézan-Grard > wrote: > > Topstar U931 laptops provide a LED synced with the WLAN adapter > > hard-blocking state. Unfortunately, some models seem to be defective, > > making impossible t

Re: [PATCH 11/23] kconfig: add 'shell-stdout' function

2018-02-21 Thread Ulf Magnusson
On Wed, Feb 21, 2018 at 01:59:59PM +0900, Masahiro Yamada wrote: > 2018-02-20 3:01 GMT+09:00 Linus Torvalds : > > On Mon, Feb 19, 2018 at 9:44 AM, Linus Torvalds > > wrote: > >> > >> I do like your "success"/"stdout" more than "shell"/"shell-stdout", > >> because with that naming I don't get the f

Re: [PATCH] radeon: hide pointless #warning when compile testing

2018-02-21 Thread Michel Dänzer
On 2018-02-16 04:26 PM, Arnd Bergmann wrote: > In randconfig testing, we sometimes get this warning: > > drivers/gpu/drm/radeon/radeon_object.c: In function 'radeon_bo_create': > drivers/gpu/drm/radeon/radeon_object.c:242:2: error: #warning Please enable > CONFIG_MTRR and CONFIG_X86_PAT for bette

Re: [PATCH v9 03/11] media: platform: Add Renesas CEU driver

2018-02-21 Thread jacopo mondi
Hi Laurent, Hans, On Wed, Feb 21, 2018 at 02:02:59PM +0100, Hans Verkuil wrote: > On 02/21/18 13:29, Laurent Pinchart wrote: > > Hi Hans, > > > > On Wednesday, 21 February 2018 14:03:24 EET Hans Verkuil wrote: > >> On 02/19/18 17:59, Jacopo Mondi wrote: > >>> Add driver for Renesas Capture Engine

[PATCH] ath10k: search all IEs for variant before falling back

2018-02-21 Thread Thomas Hebb
commit f2593cb1b291 ("ath10k: Search SMBIOS for OEM board file extension") added a feature to ath10k that allows Board Data File (BDF) conflicts between multiple devices that use the same device IDs but have different calibration requirements to be resolved by allowing a "variant" string to be stor

Re: [PATCH v2 02/19] soc: renesas: rcar-rst: Add support for R-Car M3-N

2018-02-21 Thread Simon Horman
On Tue, Feb 20, 2018 at 04:29:37PM +0100, Geert Uytterhoeven wrote: > On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi > wrote: > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Geert Uytterhoeven Thanks, applied.

Re: [PATCH] ARM: dtc: tegra: enable front panel leds in TrimSlice

2018-02-21 Thread Stephen Warren
On 02/21/2018 09:20 AM, Tomasz Maciej Nowak wrote: W dniu 20.02.2018 o 20:55, Stephen Warren pisze: On 02/19/2018 01:16 PM, Tomasz Maciej Nowak wrote: Adds device nodes for two front panel LEDs. Why do you need to change the pinmux settings? Configuring a pin as a GPIO should override any pi

Re: [PATCH 0/8] target-iSCSI: Adjustments for several function implementations

2018-02-21 Thread SF Markus Elfring
> Date: Tue, 12 Dec 2017 22:22:11 +0100 > > Some update suggestions were taken into account > from static source code analysis. > > Markus Elfring (8): > Less function calls in chap_server_compute_md5() after error detection > Move resetting of seven variables in chap_server_compute_md5() >

[PATCH 0/3] Patch series to address some limitations in OS microcode loading.

2018-02-21 Thread Ashok Raj
The following set of patches address some limitations on microcode loading. First patch avoids a redundant microcode load on sibling thread if another HT sibling got updated. Ashok Raj (3): x86/microcode/intel: Check microcode revision before updating sibling threads x86/microcode/intel:

[PATCH 3/3] x86/microcode: Quiesce all threads before a microcode update.

2018-02-21 Thread Ashok Raj
Microcode updates during OS load always assumed the other hyperthread was "quiet", but Linux never really did this. We've recently received several issues on this, where things did not go well at scale deployments, and the Intel microcode team asked us to make sure the system is in a quiet state du

[PATCH 1/3] x86/microcode/intel: Check microcode revision before updating sibling threads

2018-02-21 Thread Ashok Raj
After updating microcode on one of the threads in the core, the thread sibling automatically gets the update since the microcode resources are shared. Check the ucode revision on the CPU before performing a ucode update. Signed-off-by: Ashok Raj Cc: X86 ML Cc: LKML Cc: Thomas Gleixner Cc: Ingo

Re: [PATCH RFC tools/lkmm 10/12] tools/memory-model: Add a S lock-based external-view litmus test

2018-02-21 Thread Alan Stern
On Wed, 21 Feb 2018, Paul E. McKenney wrote: > On Wed, Feb 21, 2018 at 10:09:00AM -0500, Alan Stern wrote: > > On Tue, 20 Feb 2018, Paul E. McKenney wrote: > > > > > From: Alan Stern > > > > > > This commit adds a litmus test in which P0() and P1() form a lock-based S > > > litmus test, with th

[PATCH 2/3] x86/microcode/intel: Perform a cache flush before ucode update.

2018-02-21 Thread Ashok Raj
Microcode updates can be safer if the caches are clean. Some of the issues around in certain Broadwell parts can be addressed by doing a full cache flush. Signed-off-by: Ashok Raj Cc: X86 ML Cc: LKML Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Tony Luck Cc: Andi Kleen Cc: Boris Petkov Cc: Tom

Re: Use higher-order pages in vmalloc

2018-02-21 Thread Matthew Wilcox
On Wed, Feb 21, 2018 at 04:11:16PM +, Andy Lutomirski wrote: > On Wed, Feb 21, 2018 at 3:42 PM, Matthew Wilcox wrote: > > +++ b/kernel/fork.c > > @@ -319,12 +319,12 @@ static void account_kernel_stack(struct task_struct > > *tsk, int account) > > if (vm) { > > int i; >

Re: [PATCH v2 03/19] soc: renesas: Identify R-Car M3-N

2018-02-21 Thread Simon Horman
On Tue, Feb 20, 2018 at 04:40:34PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Tue, Feb 20, 2018 at 4:12 PM, Jacopo Mondi > wrote: > > Add support for indentifying R-Car M3-N (R8A77965) SoC. > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Geert Uytterhoeven > > > --- a/drivers/

[PATCH] selftests/bpf: tcpbpf_kern: use in6_* macros from glibc

2018-02-21 Thread Anders Roxell
Both glibc and the kernel have in6_* macros definitions. Build fails because it picks up wrong in6_* macro from the kernel header and not the header from glibc. Fixes build error below: clang -I. -I./include/uapi -I../../../include/uapi -Wno-compare-distinct-pointer-types \ -O2 -targ

Re: [PATCH RFC tools/lkmm 09/12] tools/memory-model: Add required herd7 version to README file

2018-02-21 Thread Alan Stern
On Wed, 21 Feb 2018, Paul E. McKenney wrote: > On Wed, Feb 21, 2018 at 10:10:52AM -0500, Alan Stern wrote: > > On Tue, 20 Feb 2018, Paul E. McKenney wrote: > > > > > LKMM and the herd7 tool are co-evolving, and out-of-date herd7 tools > > > produce inaccurate results, often with no obvious error

Re: [PATCH 2/2] vfio: platform: Add generic DT reset support

2018-02-21 Thread Philipp Zabel
Hi Geert, I have a suggestion to avoid having to use the IS_ERR_OR_NULL macro, see below: On Tue, 2018-02-13 at 17:36 +0100, Geert Uytterhoeven wrote: > Vfio-platform requires reset support, provided either by ACPI, or, on DT > platforms, by a device-specific reset driver matching against the > d

Re: [PATCH v4 2/4] dt-bindings: qcom: Add SDM845 bindings

2018-02-21 Thread Doug Anderson
Rob, On Mon, Feb 19, 2018 at 11:34 AM, Rob Herring wrote: > On Fri, Feb 16, 2018 at 11:35:01AM +0530, Rajendra Nayak wrote: >> Add a SoC string 'sdm845' for the qualcomm SDM845 SoC >> >> Signed-off-by: Rajendra Nayak >> --- >> Documentation/devicetree/bindings/arm/qcom.txt | 1 + >> 1 file chan

Re: [PATCH v3] arm64: Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2018-02-21 Thread Robin Murphy
On 21/02/18 16:14, Shanker Donthineni wrote: [...] @@ -1100,6 +1114,20 @@ static int cpu_copy_el2regs(void *__unused) .enable = cpu_clear_disr, }, #endif /* CONFIG_ARM64_RAS_EXTN */ +#ifdef CONFIG_ARM64_SKIP_CACHE_POU + { + .desc = "DCache clean to PO

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-21 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Wed, Feb 21, 2018 at 10:00:20AM -0500, Alan Stern wrote: > > On Fri, 16 Feb 2018, Paul E. McKenney wrote: > > > > > On Fri, Feb 16, 2018 at 05:22:55PM -0500, Alan Stern wrote: > > > > Since commit 76ebbe78f739 ("locking/barriers: Add implicit > > > > smp_read_barr

Re: [PATCH 0/6] DISCONTIGMEM support for PPC32

2018-02-21 Thread Jonathan Neuschäfer
On Wed, Feb 21, 2018 at 04:02:25PM +0100, Christophe LEROY wrote: [...] > > > My question might me stupid, as I don't know PCC64 in deep, but when > > > looking > > > at page_is_ram() in arch/powerpc/mm/mem.c, I have the feeling the PPC64 > > > implements ram by blocks. Isn't it what you are tryin

Re: [PATCH v2] x86: consider effective protection attributes in W+X check

2018-02-21 Thread Ingo Molnar
* Jan Beulich wrote: > Using just the leaf page table entry flags would cause a false warning > in case _PAGE_RW is clear or _PAGE_NX is set in a higher level entry. > Hand through both the current entry's flags as well as the accumulated > effective value (the latter as pgprotval_t instead of p

Re: [PATCH v2 04/19] soc: renesas: rcar-sysc: Add R-Car M3-N support

2018-02-21 Thread Simon Horman
On Tue, Feb 20, 2018 at 04:12:06PM +0100, Jacopo Mondi wrote: > Add support for R-Car M3-N (R8A77965) power areas. > > Signed-off-by: Jacopo Mondi > > --- > v1->v2: > - Remove A2VC0 power area > - Add A3VP power area > --- > .../bindings/power/renesas,rcar-sysc.txt | 1 + > drivers/s

[RFC] sched/headers: comments clean up

2018-02-21 Thread Christopher Diaz Riveros
Remove inline comments to merge them into comment blocks. Enhance readability from source code by giving descriptions from the structures and data in comment blocks instead from inline comments. Signed-off-by: Christopher Diaz Riveros --- include/linux/sched.h | 15 --- 1 file chang

Re: [PATCH 2/3] Kconfig: improve handling for all{rand,yes,no,}.config fragments

2018-02-21 Thread Arnd Bergmann
On Tue, Feb 20, 2018 at 6:04 PM, Masahiro Yamada wrote: > 2018-02-20 18:59 GMT+09:00 Arnd Bergmann : >> On Tue, Feb 20, 2018 at 10:26 AM, Masahiro Yamada >> wrote: >>> 2018-02-17 6:41 GMT+09:00 Arnd Bergmann : >> @@ -621,14 +622,24 @@ int main(int ac, char **av) case ran

Re: [PATCH v2 06/19] dt-bindings: arm: Document R-Car M3-N SoC DT bindings

2018-02-21 Thread Simon Horman
On Tue, Feb 20, 2018 at 04:12:08PM +0100, Jacopo Mondi wrote: > Add device tree bindings documentation for Renesas R-Car M3-N (r8a77965) > SoC. > > Signed-off-by: Jacopo Mondi > Reviewed-by: Geert Uytterhoeven > Reviewed-by: Rob Herring Thanks, this is already applied.

Re: [PATCH 1/3] sysctl: Add range clamping intvec helper functions

2018-02-21 Thread Waiman Long
On 02/20/2018 06:41 PM, Luis R. Rodriguez wrote: > On Mon, Feb 19, 2018 at 11:53:49AM -0500, Waiman Long wrote: >> The current intvec range helper functions will fail with error when >> users try to assign an out-of-range value. > As designed. > >> The following new non-failing range helper functio

[tip:x86/pti] x86/entry/64: Move PUSH_AND_CLEAR_REGS from interrupt macro to helper function

2018-02-21 Thread tip-bot for Dominik Brodowski
Commit-ID: 0e34d226342c27c4f96138b211547d423e4be8a1 Gitweb: https://git.kernel.org/tip/0e34d226342c27c4f96138b211547d423e4be8a1 Author: Dominik Brodowski AuthorDate: Tue, 20 Feb 2018 22:01:08 +0100 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:03 +0100 x86/entry/64: Move PU

[tip:x86/pti] x86/entry/64: Move ENTER_IRQ_STACK from interrupt macro to interrupt_entry

2018-02-21 Thread tip-bot for Dominik Brodowski
Commit-ID: 2ba6474104a1132c4af9f6dc42c6bfe3ca71f8c7 Gitweb: https://git.kernel.org/tip/2ba6474104a1132c4af9f6dc42c6bfe3ca71f8c7 Author: Dominik Brodowski AuthorDate: Tue, 20 Feb 2018 22:01:09 +0100 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:03 +0100 x86/entry/64: Move EN

Re: [PATCH 00/31 v2] PTI support for x86_32

2018-02-21 Thread Arnd Bergmann
On Wed, Feb 21, 2018 at 11:26 AM, Lorenzo Colitti wrote: > On Wed, Feb 14, 2018 at 5:54 PM, Greg KH wrote: >> > > IPSEC doesn't work with a 64bit kernel and 32bit userspace right now. >> > > >> > > Back in 2015 someone started to work on that, and properly marked that >> > > the kernel could not

[PATCH v5 0/7] Topstar U931/RVP7 ACPI LED Workaround

2018-02-21 Thread Guillaume Douézan-Grard
Hi Andy, Thank you for your review. Changes since the previous submission are highlighted below. On Topstar U931/RVP7 Notebooks, an issue prevents the WLAN toggle key from being properly managed by the Embedded Controller and successfully disconnect the adapter. A specific ACPI method allows to t

[PATCH v5 1/7] platform/x86: topstar-laptop: revert "convert to module_acpi_driver()"

2018-02-21 Thread Guillaume Douézan-Grard
Revert commit 15165594da65 ("topstar-laptop: convert to module_acpi_driver()") to later add a platform device. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/pla

[tip:x86/pti] x86/entry/64: Move the switch_to_thread_stack() call to interrupt_entry()

2018-02-21 Thread tip-bot for Dominik Brodowski
Commit-ID: 90a6acc4e7ebafa8672a7a1a5b23fbad3dd04130 Gitweb: https://git.kernel.org/tip/90a6acc4e7ebafa8672a7a1a5b23fbad3dd04130 Author: Dominik Brodowski AuthorDate: Tue, 20 Feb 2018 22:01:10 +0100 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:04 +0100 x86/entry/64: Move th

[tip:x86/pti] x86/entry/64: Remove 'interrupt' macro

2018-02-21 Thread tip-bot for Dominik Brodowski
Commit-ID: 3aa99fc3e708b9cd9b4cfe2df0b7a66cf293e3cf Gitweb: https://git.kernel.org/tip/3aa99fc3e708b9cd9b4cfe2df0b7a66cf293e3cf Author: Dominik Brodowski AuthorDate: Tue, 20 Feb 2018 22:01:11 +0100 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:04 +0100 x86/entry/64: Remove

[PATCH v5 5/7] platform/x86: topstar-laptop: add Topstar U931/RVP7 WLAN LED workaround

2018-02-21 Thread Guillaume Douézan-Grard
Topstar U931 laptops provide a LED synced with the WLAN adapter hard-blocking state. Unfortunately, some models seem to be defective, making impossible to hard-block the adapter with the WLAN switch and thus the LED is useless. An ACPI method is available to programmatically control this switch an

[PATCH v5 3/7] platform/x86: topstar-laptop: split ACPI events and input handling

2018-02-21 Thread Guillaume Douézan-Grard
* get the `acpi_device` from the `topstar_laptop` struct, * split input registering and `sparse_keymap` events from ACPI events handling, * use notify, init and exit functions for ACPI and input handling Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 109 +++

[PATCH v5 6/7] platform/x86: topstar-laptop: update copyright and fix some comments

2018-02-21 Thread Guillaume Douézan-Grard
Add myself as an author of the driver. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/topstar-laptop.c b/drivers/platform/x86/topstar-laptop.c index 30a6c5cbc58f..294729

[PATCH v5 4/7] platform/x86: topstar-laptop: add platform device

2018-02-21 Thread Guillaume Douézan-Grard
* add a platform device to support further addition of a led subsystem, * register the existing input device to this platform device. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 61 +-- 1 file changed, 58 insertions(+), 3 de

[PATCH v5 7/7] platform/x86: topstar-laptop: replace licence text with SPDX tag

2018-02-21 Thread Guillaume Douézan-Grard
Replace verbatim GPLv2 license copy with SPDX identifier. Signed-off-by: Guillaume Douézan-Grard --- drivers/platform/x86/topstar-laptop.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/platform/x86/topstar-laptop.c b/drivers/platform/x86/topstar-laptop.c index

Re: Use higher-order pages in vmalloc

2018-02-21 Thread Matthew Wilcox
On Wed, Feb 21, 2018 at 08:16:22AM -0800, Dave Hansen wrote: > On 02/21/2018 07:42 AM, Matthew Wilcox wrote: > > This prompted me to write a patch I've been meaning to do for a while, > > allocating large pages if they're available to satisfy vmalloc. I thought > > it would save on touching multip

[tip:x86/pti] x86/entry/64: Open-code switch_to_thread_stack()

2018-02-21 Thread tip-bot for Dominik Brodowski
Commit-ID: f3d415ea46968ae1f9cbb9e201601d7207ce74c7 Gitweb: https://git.kernel.org/tip/f3d415ea46968ae1f9cbb9e201601d7207ce74c7 Author: Dominik Brodowski AuthorDate: Tue, 20 Feb 2018 22:01:13 +0100 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:05 +0100 x86/entry/64: Open-co

Re: [PATCH 11/23] kconfig: add 'shell-stdout' function

2018-02-21 Thread Linus Torvalds
On Tue, Feb 20, 2018 at 8:59 PM, Masahiro Yamada wrote: > > IMO, I prefer to use different names for different purpose. > So, 'stdout' and 'success' look good to me. > > BTW, I noticed just one built-in function is enough > because 'success' can be derived from 'stdout'. > > So, my plan is, implem

[tip:x86/pti] jump_label: Explicitly disable jump labels in __init code

2018-02-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 33352244706369ea6736781ae41fe41692eb69bb Gitweb: https://git.kernel.org/tip/33352244706369ea6736781ae41fe41692eb69bb Author: Josh Poimboeuf AuthorDate: Tue, 20 Feb 2018 11:37:51 -0600 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:05 +0100 jump_label: Explicitly d

[tip:x86/pti] jump_label: Warn on failed jump_label patching attempt

2018-02-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: dc1dd184c2f0016bec35c0d7a48c057e0ad763d3 Gitweb: https://git.kernel.org/tip/dc1dd184c2f0016bec35c0d7a48c057e0ad763d3 Author: Josh Poimboeuf AuthorDate: Tue, 20 Feb 2018 11:37:52 -0600 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:06 +0100 jump_label: Warn on fail

[tip:x86/pti] extable: Make init_kernel_text() global

2018-02-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 9fbcc57aa16424ef84cb54e0d9db3221763de88a Gitweb: https://git.kernel.org/tip/9fbcc57aa16424ef84cb54e0d9db3221763de88a Author: Josh Poimboeuf AuthorDate: Tue, 20 Feb 2018 11:37:53 -0600 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:06 +0100 extable: Make init_kerne

[tip:x86/pti] x86/entry/64: Simplify ENCODE_FRAME_POINTER

2018-02-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac Gitweb: https://git.kernel.org/tip/0ca7d5baa1787e5f2a7abd6bfca3303b1bbb48ac Author: Josh Poimboeuf AuthorDate: Tue, 20 Feb 2018 20:42:14 -0600 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 16:54:07 +0100 x86/entry/64: Simplify E

Re: [PATCH v2 07/19] ARM64: Add Renesas R-Car M3-N config symbol

2018-02-21 Thread Simon Horman
On Tue, Feb 20, 2018 at 04:12:09PM +0100, Jacopo Mondi wrote: > Add configuration option for the R-Car M3-N (R8A77965) SoC. > > Signed-off-by: Jacopo Mondi Thanks, I have applied this after updating the subject to: arm64: add Renesas R8A77965 support Please use "arm64" rather than ARM64 as a p

<    5   6   7   8   9   10   11   12   13   14   >