[PATCH 10/11] ARM: dts: s3c24xx: add address to CPU node

2020-09-07 Thread Krzysztof Kozlowski
The CPU nodes should be described as children of "cpus" bus node with appropriate "reg" properties: cpus: '#address-cells' is a required property cpus: '#size-cells' is a required property cpu: 'device_type' is a required property cpu: 'reg' is a required property Signed-off-by:

[PATCH 05/11] ARM: dts: s3c6410: align node SROM bus node name with dtschema in SMDK6410

2020-09-07 Thread Krzysztof Kozlowski
The SROM controller is modeled with a bus so align the device node name with dtschema to fix warning: srom-cs1@1800: $nodename:0: 'srom-cs1@1800' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' Signed-off-by: Krzysztof Kozlowski ---

[PATCH 11/11] ARM: dts: s3c24xx: move fixed clocks under root node in SMDK2416

2020-09-07 Thread Krzysztof Kozlowski
The fixed clocks are kept under dedicated 'clocks' node but this causes multiple dtschema warnings: clocks: $nodename:0: 'clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' clocks: #size-cells:0:0: 0 is not one of [1, 2] clocks: xti@0:reg:0: [0] is too

[PATCH 04/11] ARM: dts: s3c6410: align node SROM bus node name with dtschema in Mini6410

2020-09-07 Thread Krzysztof Kozlowski
The SROM controller is modeled with a bus so align the device node name with dtschema to fix warning: srom-cs1@1800: $nodename:0: 'srom-cs1@1800' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' Signed-off-by: Krzysztof Kozlowski ---

[PATCH 08/11] ARM: dts: s3c24xx: override nods by label

2020-09-07 Thread Krzysztof Kozlowski
Using full paths to extend or override a device tree node is error prone. If there was a typo error, a new node will be created instead of extending the existing node. This will lead to run-time errors that could be hard to detect. A mistyped label on the other hand, will cause a dtc compile

5.9-rc4: modpost undefined symbols + relocation in read-only section `.head.text'

2020-09-07 Thread Meelis Roos
This is 5.9-rc4 git on a specific amd64 machine with Debian unstable and custom kernel config. 5.8 compiled and worked fine, I hav seen something like this with different 5.9-git commits. I made sure my binutils and gcc-10 are up to date in Debian unstable and retried with 5.9-rc4. Still I see

Re: [PATCH v11 00/11] PCI: brcmstb: enable PCIe for STB chips

2020-09-07 Thread Florian Fainelli
On 9/7/2020 10:43 AM, Jim Quinlan wrote: On Mon, Sep 7, 2020 at 5:16 AM Lorenzo Pieralisi wrote: On Thu, Aug 27, 2020 at 09:29:59AM -0400, Jim Quinlan wrote: On Thu, Aug 27, 2020 at 2:35 AM Christoph Hellwig wrote: On Tue, Aug 25, 2020 at 10:40:27AM -0700, Florian Fainelli wrote: Hi,

Re: [PATCH v5 00/80] drm/vc4: Support BCM2711 Display Pipeline

2020-09-07 Thread Nicolas Saenz Julienne
Hi Maxime, On Mon, 2020-09-07 at 18:22 +0200, Maxime Ripard wrote: > Hi, > > On Thu, Sep 03, 2020 at 10:00:32AM +0200, Maxime Ripard wrote: > > Hi everyone, > > > > Here's a (pretty long) series to introduce support in the VC4 DRM driver > > for the display pipeline found in the BCM2711 (and

Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-09-07 Thread Andrew Lunn
> > On Tue, Aug 25, 2020 at 07:03:09PM +0200, Łukasz Stelmach wrote: > >> +++ b/drivers/net/ethernet/asix/ax88796c_ioctl.c > > > > This is an odd filename. The ioctl code is wrong anyway, but there is > > a lot more than ioctl in here. I suggest you give it a new name. > > > > Sure, any

Re: [PATCH] drm: mxsfb: check framebuffer pitch

2020-09-07 Thread Daniel Vetter
On Mon, Sep 07, 2020 at 07:17:12PM +0300, Laurent Pinchart wrote: > Hi Stefan, > > Thank you for the patch. > > On Mon, Sep 07, 2020 at 06:03:43PM +0200, Stefan Agner wrote: > > The lcdif IP does not support a framebuffer pitch (stride) other than > > the CRTC width. Check for equality and

Re: [PATCH] fs/nsfs.c: fix ioctl support of compat processes

2020-09-07 Thread Dmitry V. Levin
Hi, On Fri, Jul 24, 2020 at 02:31:19PM -0500, Eric W. Biederman wrote: > Michael, > > As the original author of NS_GET_OWNER_UID can you take a look at this? This is a gentle reminder that my patch hasn't been applied, the problem reported by Ákos Uzonyi hasn't been fixed, and the example in

Re: [PATCH] gpu/drm: cleanup coding style a bit

2020-09-07 Thread Daniel Vetter
On Mon, Sep 07, 2020 at 05:31:29AM -0700, Bernard Zhao wrote: > Remove first assignment to info which is meaningless. > Put the width and higth check first. > This change is to make the code a bit readable. > > Signed-off-by: Bernard Zhao Looks reasonable, thanks for your patch. Applied to

Re: [PATCH RFC 09/10] kfence, Documentation: add KFENCE documentation

2020-09-07 Thread Marco Elver
On Mon, 7 Sep 2020 at 19:55, Andrey Konovalov wrote: > On Mon, Sep 7, 2020 at 6:33 PM Marco Elver wrote: [...] > > > > +Guarded allocations are set up based on the sample interval. After > > > > expiration > > > > +of the sample interval, a guarded allocation from the KFENCE object > > > >

Re: [PATCH AUTOSEL 4.14 17/33] net: usb: qmi_wwan: add Telit 0x1050 composition

2020-09-07 Thread Sasha Levin
On Mon, Sep 07, 2020 at 11:36:37AM +0200, Kristian Evensen wrote: Hi, On Sat, Oct 26, 2019 at 3:27 PM Sasha Levin wrote: From: Daniele Palmas [ Upstream commit e0ae2c578d3909e60e9448207f5d83f785f1129f ] This patch adds support for Telit FN980 0x1050 composition 0x1050: tty, adb, rmnet,

[tip:master] BUILD SUCCESS 7f6aae3e054f8d36ac90812db4ffd78796a487d1

2020-09-07 Thread kernel test robot
randconfig-a006-20200907 x86_64 randconfig-a004-20200907 x86_64 randconfig-a003-20200907 x86_64 randconfig-a005-20200907 x86_64 randconfig-a001-20200907 x86_64 randconfig-a002-20200907 i386 randconfig-a004

Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-09-07 Thread Lukasz Stelmach
It was <2020-08-26 śro 15:06>, when David Laight wrote: > From: Lukasz Stelmach >> Sent: 26 August 2020 15:59 >> >> It was <2020-08-25 wto 20:44>, when Krzysztof Kozlowski wrote: >> > On Tue, Aug 25, 2020 at 07:03:09PM +0200, Łukasz Stelmach wrote: >> >> ASIX AX88796[1] is a versatile ethernet

Re: [PATCH 0/9] ASoC: sun8i-codec driver cleanup

2020-09-07 Thread Mark Brown
On Sun, 30 Aug 2020 22:48:43 -0500, Samuel Holland wrote: > Now that the fixes series is merged, here is a series of small cleanups > to the sun8i-codec driver. These help shorten the patch stack for the > next series, which will add support for the other two DAIs in this > codec: AIF2 and AIF3. >

Re: [PATCH] spi: qup: Allow for compile-testing on !ARM

2020-09-07 Thread Mark Brown
On Fri, 4 Sep 2020 17:37:10 +0100, Alex Dewar wrote: > There seems no reason to restrict testing to ARM, so remove this > constraint to improve test coverage. > > Build-tested with allyesconfig on x86. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Re: [PATCH v3 0/3] ASoC: Add sdw stream operations to dailink ops.

2020-09-07 Thread Mark Brown
On Sat, 5 Sep 2020 02:28:51 +0800, Bard Liao wrote: > Sdw stream operation APIs can be called once per stream. Move these > operations to dailink ops. The linked series is "soundwire: Remove sdw > stream operations from Intel soundwire dai". > > Reviewed-by: Vinod Koul > > Changes in v3: > -

Re: [PATCH] regulator: lochnagar: Add additional VDDCORE range

2020-09-07 Thread Mark Brown
On Fri, 4 Sep 2020 13:25:06 +0100, Charles Keepax wrote: > In the case of an unrecognised mini-card the Lochnagar will not > initialise the VDDCORE voltage register leading to a value outside of the > current range. Add an additional range to cover these values, initially > this wasn't done since

[PATCH] net: sched: skip an unnecessay check

2020-09-07 Thread trix
From: Tom Rix Reviewing the error handling in tcf_action_init_1() most of the early handling uses err_out: if (cookie) { kfree(cookie->data); kfree(cookie); } before cookie could ever be set. So skip the unnecessay check. Signed-off-by: Tom Rix

[RFC PATCH v2 2/3] mm: make pXd_addr_end() functions page-table entry aware

2020-09-07 Thread Gerald Schaefer
From: Alexander Gordeev Unlike all other page-table abstractions pXd_addr_end() do not take into account a particular table entry in which context the functions are called. On architectures with dynamic page-tables folding that might lead to lack of necessary information that is difficult to

[RFC PATCH v2 0/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-07 Thread Gerald Schaefer
This is v2 of an RFC previously discussed here: https://lore.kernel.org/lkml/20200828140314.8556-1-gerald.schae...@linux.ibm.com/ Patch 1 is a fix for a regression in gup_fast on s390, after our conversion to common gup_fast code. It will introduce special helper functions pXd_addr_end_folded(),

[RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-07 Thread Gerald Schaefer
From: Alexander Gordeev Commit 1a42010cdc26 ("s390/mm: convert to the generic get_user_pages_fast code") introduced a subtle but severe bug on s390 with gup_fast, due to dynamic page table folding. The question "What would it require for the generic code to work for s390" has already been

[RFC PATCH v2 3/3] mm: make generic pXd_addr_end() macros inline functions

2020-09-07 Thread Gerald Schaefer
From: Alexander Gordeev Since pXd_addr_end() macros take pXd page-table entry as a parameter it makes sense to check the entry type on compile. Even though most archs do not make use of page-table entries in pXd_addr_end() calls, checking the type in traversal code paths could help to avoid

Re: [PATCH 6/6] drm/meson: add support for MIPI-DSI transceiver

2020-09-07 Thread Daniel Vetter
On Mon, Sep 07, 2020 at 11:03:29AM +0200, Neil Armstrong wrote: > On 07/09/2020 10:44, Daniel Vetter wrote: > > On Mon, Sep 07, 2020 at 10:43:51AM +0200, Daniel Vetter wrote: > >> On Mon, Sep 07, 2020 at 10:18:25AM +0200, Neil Armstrong wrote: > >>> The Amlogic AXg SoCs embeds a Synopsys

Re: [PATCH net-next RFC v3 01/14] devlink: Add reload action option to devlink reload command

2020-09-07 Thread Jakub Kicinski
On Mon, 7 Sep 2020 16:46:01 +0300 Moshe Shemesh wrote: > > In that sense I don't like --live because it doesn't really say much. > > AFAIU it means 1) no link flap; 2) < 2 sec datapath downtime; 3) no > > configuration is lost in kernel or device (including netdev config, > > link config, flow

[PATCH 3/4] drivers core: Reindent a couple uses around sysfs_emit

2020-09-07 Thread Joe Perches
Just a couple of whitespace realignment to open parenthesis for multi-line statements. Signed-off-by: Joe Perches --- drivers/base/node.c| 4 ++-- drivers/base/power/sysfs.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/node.c b/drivers/base/node.c

[PATCH 2/4] drivers core: Remove strcat uses around sysfs_emit and neaten

2020-09-07 Thread Joe Perches
strcat is no longer necessary for sysfs_emit and sysfs_emit_at uses. Convert the strcat uses to sysfs_emit calls and neaten other block uses of direct returns to use an intermediate const char *. Signed-off-by: Joe Perches --- drivers/base/cacheinfo.c | 26 ++---

[PATCH 1/4] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions

2020-09-07 Thread Joe Perches
Convert the various sprintf fmaily calls in sysfs device show functions to sysfs_emit and sysfs_emit_at for PAGE_SIZE buffer safety. Done with: $ spatch -sp-file sysfs_emit_dev.cocci --in-place --max-width=80 . And cocci script: $ cat sysfs_emit_dev.cocci @@ identifier d_show; identifier dev,

[PATCH 4/4] drivers core: Miscellaneous changes for sysfs_emit

2020-09-07 Thread Joe Perches
Change a few additional instances that could use sysfs_emit that the coccinelle script could not convert. Signed-off-by: Joe Perches --- drivers/base/class.c| 2 +- drivers/base/cpu.c | 18 +- drivers/base/node.c | 15 +++ drivers/base/platform.c | 4

[PATCH 0/4] drivers core: Use sysfs_emit functions

2020-09-07 Thread Joe Perches
This is a sample block of conversions for drivers/base from next-20200903. It requires the suggested patch that adds sysfs_emit pafunctions from https://lore.kernel.org/lkml/a9054fb521e65f2809671fa9c18e2453061e9d91.1598744610.git@perches.com/ Convert and neaten the various uses of sprintf

Re: [PATCH v1 0/2] video: fbdev: radeonfb: PCI PM framework upgrade and fix-ups.

2020-09-07 Thread Daniel Vetter
On Mon, Sep 07, 2020 at 02:46:21PM +0530, Vaibhav Gupta wrote: > On Mon, Sep 07, 2020 at 09:55:59AM +0200, Daniel Vetter wrote: > > On Thu, Aug 06, 2020 at 12:52:54PM +0530, Vaibhav Gupta wrote: > > > Linux Kernel Mentee: Remove Legacy Power Management. > > > > > > The original goal of the patch

[PATCH v3 2/5] PCI: aardvark: Check for errors from pci_bridge_emul_init() call

2020-09-07 Thread Pali Rohár
Function pci_bridge_emul_init() may fail so correctly check for errors. Fixes: 8a3ebd8de328 ("PCI: aardvark: Implement emulated root PCI bridge config space") Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- drivers/pci/controller/pci-aardvark.c | 11 +++ 1 file changed, 7

Re: [PATCH v3] perf: arm_dsu: Support DSU ACPI devices

2020-09-07 Thread Will Deacon
[+ Suzuki as I'd like his Ack on this] On Fri, Aug 14, 2020 at 05:39:40PM -0700, Tuan Phan wrote: > Add support for probing device from ACPI node. > Each DSU ACPI node and its associated cpus are inside a cluster node. > > Signed-off-by: Tuan Phan > --- > Changes in v3: > - Based on the latest

Re: [PATCH v2 0/5] PCIe aardvark controller improvements

2020-09-07 Thread Pali Rohár
On Monday 07 September 2020 10:40:32 Lorenzo Pieralisi wrote: > can you rebase it on top of v5.9-rc1 and resend, thanks. Done!

Re: [PATCH v2] sched/debug: Add new tracepoint to track cpu_capacity

2020-09-07 Thread Qais Yousef
On 09/02/20 09:54, Phil Auld wrote: > > > > I think this decoupling is not necessary. The natural place for those > > scheduler trace_event based on trace_points extension files is > > kernel/sched/ and here the internal sched.h can just be included. > > > > If someone really wants to build this

[PATCH v3 3/5] PCI: pci-bridge-emul: Export API functions

2020-09-07 Thread Pali Rohár
It allows kernel modules which are not compiled into kernel image to use pci-bridge-emul API functions. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún --- drivers/pci/pci-bridge-emul.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pci/pci-bridge-emul.c

[PATCH v3 1/5] PCI: aardvark: Fix compilation on s390

2020-09-07 Thread Pali Rohár
Include linux/gpio/consumer.h instead of linux/gpio.h, as is said in the latter file. This was reported by kernel test bot when compiling for s390. drivers/pci/controller/pci-aardvark.c:350:2: error: implicit declaration of function 'gpiod_set_value_cansleep'

Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX

2020-09-07 Thread Jason A. Donenfeld
On Mon, Sep 7, 2020 at 1:11 PM Borislav Petkov wrote: > > Hi, > > On Mon, Sep 07, 2020 at 12:46:35PM +0200, Jason A. Donenfeld wrote: > > Are you sure that intel-undervolt using OC_MAILBOX from userspace is > > actually a "misuse"? Should the kernel or kernel drivers actually be > > involved with

Re: [PATCH 10/23] gpio: mockup: fix resource leak in error path

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 7:00 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:34PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > If the module init function fails after creating the debugs directory, > > it's never removed. Add proper cleanup calls to avoid

[PATCH v3] dt-bindings: crypto: Specify that allwinner,sun8i-a33-crypto needs reset

2020-09-07 Thread Corentin Labbe
When adding allwinner,sun8i-a33-crypto, I forgot to add that it needs reset. Furthermore, there are no need to use items to list only one compatible in compatible list. Fixes: f81547ba7a98 ("dt-bindings: crypto: add new compatible for A33 SS") Signed-off-by: Corentin Labbe --- Change since v2: -

Re: [PATCH RFC 09/10] kfence, Documentation: add KFENCE documentation

2020-09-07 Thread Andrey Konovalov
On Mon, Sep 7, 2020 at 6:33 PM Marco Elver wrote: > > On Mon, 7 Sep 2020 at 17:34, Andrey Konovalov wrote: > > > > On Mon, Sep 7, 2020 at 3:41 PM Marco Elver wrote: > > > > > > Add KFENCE documentation in dev-tools/kfence.rst, and add to index. > > > > > > Co-developed-by: Alexander Potapenko

Re: [PATCH v2] sched/debug: Add new tracepoint to track cpu_capacity

2020-09-07 Thread peterz
On Mon, Sep 07, 2020 at 11:48:45AM +0100, Qais Yousef wrote: > IMHO the above is a hack. Out-of-tree modules should rely on public headers > and > exported functions only. What you propose means that people who want to use > these tracepoints in meaningful way must have a prebuilt kernel handy.

Re: [PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:49 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:39PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > We're currently creating chips at module init time only so using a > > static index for dummy devices is fine. We want to support

[PATCH v3 0/5] PCIe aardvark controller improvements

2020-09-07 Thread Pali Rohár
Hi, we have some more improvements for PCIe aardvark controller (Armada 3720 SOC - EspressoBIN and Turris MOX). The main improvement is that with these patches the driver can be compiled as a module, and can be reloaded at runtime. Marek & Pali Changes in V3: * Rebased on top of the v5.9-rc1

Re: [PATCH 16/23] gpio: mockup: refactor the module init function

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:57 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:40PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This is in preparation for dynamically created chips. > > > > Let's split out the code that can be reused when creating chips at >

Re: [PATCH 0/2] drm: panel: add support for TDO tl070wsh30 panel

2020-09-07 Thread Neil Armstrong
Hi Sam, On 07/09/2020 12:54, Sam Ravnborg wrote: > On Mon, Sep 07, 2020 at 12:33:41PM +0200, Neil Armstrong wrote: >> Hi, >> >> Please ignore this serie, the vendors patch is missing and the panel driver >> still has the vrefresh... >> >> Will repost. > > Please fix so DRM_DEV_* is replaced by

Re: [PATCH 13/23] gpio: mockup: pass the chip label as device property

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:48 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:37PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > While we do check the "chip-name" property in probe(), we never actually > > use it. Let's pass the chip label to the driver using

[PATCH 2/2] pinctrl: mediatek: Add MT8167 Pinctrl driver

2020-09-07 Thread Fabien Parent
This commit adds the pinctrl driver for the MediaTek's MT8167 SoC. Signed-off-by: Fabien Parent --- drivers/pinctrl/mediatek/Kconfig |7 + drivers/pinctrl/mediatek/Makefile |1 + drivers/pinctrl/mediatek/pinctrl-mt8167.c | 362 +

[PATCH 1/2] pinctrl: mt65xx: add OF bindings for MT8167

2020-09-07 Thread Fabien Parent
Add binding documentation of pinctrl-mt65xx for MT8167 SoC. Signed-off-by: Fabien Parent --- Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt

Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX

2020-09-07 Thread Borislav Petkov
On Mon, Sep 07, 2020 at 01:15:14PM +0200, Jason A. Donenfeld wrote: > Gotcha. So your perspective is that the goal is actually to have no > list at all in the end, because all MSR writes should go through sysfs > interfaces and such, always? I certainly like that goal -- it'd make a > whole lot of

Re: [PATCH v2] stackleak: Fix a race between stack erasing sysctl handlers

2020-09-07 Thread Alexander Popov
On 07.09.2020 05:54, Muchun Song wrote: > Hi all, > > Any comments or suggestions? Thanks. > > On Fri, Aug 28, 2020 at 11:19 AM Muchun Song wrote: >> >> There is a race between the assignment of `table->data` and write value >> to the pointer of `table->data` in the

Re: [PATCH v3] perf: arm_dsu: Support DSU ACPI devices

2020-09-07 Thread Suzuki K Poulose
On 09/07/2020 12:02 PM, Will Deacon wrote: [+ Suzuki as I'd like his Ack on this] Thanks Will ! On Fri, Aug 14, 2020 at 05:39:40PM -0700, Tuan Phan wrote: Add support for probing device from ACPI node. Each DSU ACPI node and its associated cpus are inside a cluster node. Signed-off-by:

Re: [PATCH 15/23] gpio: mockup: use dynamic device IDs

2020-09-07 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 1:50 PM Andy Shevchenko wrote: > > On Mon, Sep 07, 2020 at 01:04:29PM +0200, Bartosz Golaszewski wrote: > > On Fri, Sep 4, 2020 at 6:49 PM Andy Shevchenko > > wrote: > > > On Fri, Sep 04, 2020 at 05:45:39PM +0200, Bartosz Golaszewski wrote: > > > > From: Bartosz

[PATCH v2 1/2] device property: Move fwnode_connection_find_match() under drivers/base/property.c

2020-09-07 Thread Heikki Krogerus
The function is now only a helper that searches the connection from device graph and then by checking if the supplied connection identifier matches a property that contains reference. Signed-off-by: Heikki Krogerus --- drivers/base/Makefile| 2 +- drivers/base/devcon.c| 101

[PATCH v2 0/2] Move fwnode_connection_find_match() under drivers/base/property.c

2020-09-07 Thread Heikki Krogerus
This is second version of this series. I forgot to remove the file from Documentation/driver-api/index.rst. Hopefully these are now OK. The original cover letter: Hi, This was the last patch in my series that removed struct device_connection [1]. It's now split into two separate patches. [1]

Re: [PATCH v5 2/2] dt-bindings: mediatek: mt6359: add codec document

2020-09-07 Thread Mark Brown
On Mon, Sep 07, 2020 at 09:37:12PM +0800, Tzung-Bi Shih wrote: > On Thu, Aug 20, 2020 at 3:40 AM Mark Brown wrote: > > That's for binding the MFD subdevice to an OF node, you don't need to do > > that for a device like this - you can just use the of_node of the parent > > to get at the

Re: [PATCH] arm64: dts: marvell: espressobin: Add ethernet switch aliases

2020-09-07 Thread Andre Heider
On 07/09/2020 19:47, Pali Rohár wrote: On Monday 07 September 2020 19:43:08 Andre Heider wrote: On 07/09/2020 19:35, Pali Rohár wrote: On Monday 07 September 2020 19:23:03 Andrew Lunn wrote: My dts-foo is a little rusty, but now that you labeled the ports in the .dtsi, can this whole

[v1,0/3] PCI: mediatek: Add new generation controller support

2020-09-07 Thread Jianjun Wang
These series patches add pcie-mediatek-gen3.c and dt-bindings file to support new generation PCIe controller. Jianjun Wang (3): dt-bindings: Add YAML schemas for Gen3 PCIe controller PCI: mediatek: Add new generation controller support MAINTAINERS: update entry for MediaTek PCIe controller

Re: [PATCH v7 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-07 Thread kernel test robot
a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Cheng-Yi-Chiang/Add-documentation-and-machine-driver-for-SC7180-sound-card/20200907-180250 base: https://git.kernel.org/pub

[PATCH rdma-next v2 0/9] Restore failure of destroy commands

2020-09-07 Thread Leon Romanovsky
From: Leon Romanovsky Changelog: v2: * Rebased on top of the 524d8ffd07f0 * Removed "udata" check in destroy flows * Changed ib_free_cq to return early * Used Jason's suggestion to implement "RDMA/mlx5: Issue FW command to destroy SRQ on reentry" patch. v1 * Changed returned value in

Re: [RFC] arm64: mm: Do not use both DMA zones when 30-bit address space unavailable

2020-09-07 Thread Nicolas Saenz Julienne
Hi Catalin, sorry for the late reply, I was on vacation. On Fri, 2020-08-28 at 18:43 +0100, Catalin Marinas wrote: > Hi Nicolas, > > On Wed, Aug 19, 2020 at 08:24:33PM +0200, Nicolas Saenz Julienne wrote: > > There is no benefit in splitting the 32-bit address space into two > > distinct DMA

Re: [PATCH] misc: fastrpc: add ioctl for attaching to sensors pd

2020-09-07 Thread Srinivas Kandagatla
On 01/09/2020 01:32, Jonathan Marek wrote: -#define FASTRPC_IOCTL_MMAP _IOWR('R', 6, struct fastrpc_req_mmap) -#define FASTRPC_IOCTL_MUNMAP_IOWR('R', 7, struct fastrpc_req_munmap) +#define FASTRPC_IOCTL_MMAP _IOWR('R', 6, struct fastrpc_req_mmap) +#define

Re: [PATCH V3] arm64/cpuinfo: Define HWCAP name arrays per their actual bit definitions

2020-09-07 Thread Will Deacon
On Mon, Aug 17, 2020 at 05:34:23PM +0530, Anshuman Khandual wrote: > HWCAP name arrays (hwcap_str, compat_hwcap_str, compat_hwcap2_str) that are > scanned for /proc/cpuinfo are detached from their bit definitions making it > vulnerable and difficult to correlate. It is also bit problematic because

Re: [RFC] sched/numa: don't move tasks to idle numa nodes while src node has very light load?

2020-09-07 Thread Mel Gorman
On Mon, Sep 07, 2020 at 12:00:10PM +, Song Bao Hua (Barry Song) wrote: > Hi All, > In case we have a numa system with 4 nodes and in each node we have 24 cpus, > and all of the 96 cores are idle. > Then we start a process with 4 threads in this totally idle system. > Actually any one of the

Re: [PATCH 23/23] Documentation: gpio: add documentation for gpio-mockup

2020-09-07 Thread Andy Shevchenko
On Mon, Sep 07, 2020 at 02:06:15PM +0200, Bartosz Golaszewski wrote: > On Mon, Sep 7, 2020 at 1:53 PM Andy Shevchenko > wrote: > > On Mon, Sep 07, 2020 at 12:26:34PM +0200, Bartosz Golaszewski wrote: > > > On Mon, Sep 7, 2020 at 11:59 AM Andy Shevchenko > > > wrote: > > > > On Fri, Sep 04, 2020

Re: [BUG RT] dump-capture kernel not executed for panic in interrupt context

2020-09-07 Thread Valentin Schneider
On 07/09/20 12:41, pet...@infradead.org wrote: > So cenceptually there's the problem that idle must always be runnable, > and the moment you boost it, it becomes subject to a different > scheduling class. > > Imagine for example what happens when we boost it to RT and then have it > be subject

Build regressions/improvements in v5.9-rc4

2020-09-07 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.9-rc4[1] compared to v5.8[2]. Summarized: - build errors: +4/-3 - build warnings: +64/-24 JFYI, when comparing v5.9-rc4[1] to v5.9-rc3[3], the summaries are: - build errors: +0/-0 - build warnings: +2/-2 Happy

[PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-07 Thread Anson Huang
Use function callbacks for SCU related functions in pinctrl-imx.c in order to support the scenario of PINCTRL_IMX is built in while PINCTRL_IMX_SCU is built as module, all drivers using SCU pinctrl driver need to initialize the SCU related function callback. Signed-off-by: Anson Huang ---

[PATCH v6 1/3] firmware: arm_scmi: Add System Power Protocol support

2020-09-07 Thread Cristian Marussi
Add bare protocol support for SCMI SystemPower as needed by an OSPM agent: basic initialization and SYSTEM_POWER_STATE_NOTIFIER core notification support. No event-handling logic is attached to such notification by this commit. Signed-off-by: Cristian Marussi --- v4 --> v5 - system

[PATCH v6 0/3] SCMI System Power Support

2020-09-07 Thread Cristian Marussi
Hi all, this series wants to add the core SCMI System Power support and related events' handling logic: the protocol support itself is trivial and boils down to some bare initializations and supporting one SCMI System Power notification event meant to carry platform-originated System transition

Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-09-07 Thread Lukasz Stelmach
It was <2020-08-26 śro 09:13>, when Geert Uytterhoeven wrote: > On Tue, Aug 25, 2020 at 8:02 PM Andrew Lunn wrote: >> On Tue, Aug 25, 2020 at 07:03:09PM +0200, Łukasz Stelmach wrote: >> > + if (netif_msg_pktdata(ax_local)) { >> > + int loop; >> > + netdev_info(ndev,

Re: [PATCH] arm64: dts: marvell: espressobin: Add ethernet switch aliases

2020-09-07 Thread Pali Rohár
On Monday 07 September 2020 19:43:08 Andre Heider wrote: > On 07/09/2020 19:35, Pali Rohár wrote: > > On Monday 07 September 2020 19:23:03 Andrew Lunn wrote: > > > > My dts-foo is a little rusty, but now that you labeled the ports in the > > > > .dtsi, can this whole "switch0" block reduced to

[PATCH v6 2/3] firmware: arm_scmi: add SCMI System Power devname

2020-09-07 Thread Cristian Marussi
Add SCMI System Power device name to the core list of supported protocol devices. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index

[PATCH v6 3/3] firmware: arm_scmi: Add SCMI System Power Control driver

2020-09-07 Thread Cristian Marussi
Add an SCMI System Power control driver to handle platform's requests carried by SYSTEM_POWER_STATE_NOTIFIER notifications: such platform requested system power state transitions are handled accordingly, gracefully or forcefully, depending on the notifications' message flags. Graceful requests

Re: [PATCH v4 07/10] vfio/fsl-mc: Add irq infrastructure for fsl-mc devices

2020-09-07 Thread Diana Craciun OSS
Hi Eric, On 9/3/2020 11:15 PM, Auger Eric wrote: Hi Diana, On 8/26/20 11:33 AM, Diana Craciun wrote: This patch adds the skeleton for interrupt support for fsl-mc devices. The interrupts are not yet functional, the functionality will be added by subsequent patches. Signed-off-by: Bharat

RE: [PATCH net-next] net: ethernet: fec: remove redundant null check before clk_disable_unprepare()

2020-09-07 Thread Andy Duan
From: Zhang Changzhong Sent: Monday, September 7, 2020 8:50 PM > Because clk_prepare_enable() and clk_disable_unprepare() already checked > NULL clock parameter, so the additional checks are unnecessary, just remove > them. > > Reported-by: Hulk Robot > Signed-off-by: Zhang Changzhong

Re: [PATCH 1/4] drivers/perf: Add support for ARMv8.3-SPE

2020-09-07 Thread Will Deacon
On Fri, Jul 24, 2020 at 05:16:04PM +0800, Wei Li wrote: > Armv8.3 extends the SPE by adding: > - Alignment field in the Events packet, and filtering on this event > using PMSEVFR_EL1. > - Support for the Scalable Vector Extension (SVE). > > The main additions for SVE are: > - Recording the

Re: [PATCH v3 01/19] dlb2: add skeleton for DLB 2.0 driver

2020-09-07 Thread Greg KH
On Tue, Sep 01, 2020 at 02:15:30PM -0500, Gage Eads wrote: > --- /dev/null > +++ b/drivers/misc/dlb2/dlb2_main.c > @@ -0,0 +1,208 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* Copyright(c) 2018-2020 Intel Corporation */ > + > +#include > +#include > +#include > +#include > +#include >

Re: [PATCH v11 00/11] PCI: brcmstb: enable PCIe for STB chips

2020-09-07 Thread Jim Quinlan
On Mon, Sep 7, 2020 at 5:16 AM Lorenzo Pieralisi wrote: > > On Thu, Aug 27, 2020 at 09:29:59AM -0400, Jim Quinlan wrote: > > On Thu, Aug 27, 2020 at 2:35 AM Christoph Hellwig wrote: > > > > > > On Tue, Aug 25, 2020 at 10:40:27AM -0700, Florian Fainelli wrote: > > > > Hi, > > > > > > > > On

[PATCH v7 07/72] x86/insn: Make inat-tables.c suitable for pre-decompression code

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel The inat-tables.c file has some arrays in it that contain pointers to other arrays. These pointers need to be relocated when the kernel image is moved to a different location. The pre-decompression boot-code has no support for applying ELF relocations, so initialize these

[PATCH v7 06/72] x86/traps: Move pf error codes to

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel Move the definition of the x86 page-fault error code bits to the new header file asm/trap_pf.h. This makes it easier to include them into pre-decompression boot code. No functional changes. Signed-off-by: Joerg Roedel --- arch/x86/include/asm/trap_pf.h | 24

Re: [PATCH] arm64: dts: marvell: espressobin: Add ethernet switch aliases

2020-09-07 Thread Andre Heider
On 07/09/2020 19:42, Pali Rohár wrote: On Monday 07 September 2020 19:13:41 Andre Heider wrote: @@ -120,7 +124,7 @@ #address-cells = <1>; #size-cells = <0>; - port@0 { + switch0port0: port@0 { This

[PATCH v7 00/72] x86: SEV-ES Guest Support

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel Hi, here is a new version of the SEV-ES Guest Support patches for x86. The previous versions can be found as a linked list starting here: https://lore.kernel.org/lkml/20200824085511.7553-1-j...@8bytes.org/ I updated the patch-set based on ther review comments I got

[PATCH v7 02/72] KVM: SVM: Add GHCB definitions

2020-09-07 Thread Joerg Roedel
From: Tom Lendacky Extend the vmcb_safe_area with SEV-ES fields and add a new 'struct ghcb' which will be used for guest-hypervisor communication. Signed-off-by: Tom Lendacky Signed-off-by: Joerg Roedel --- arch/x86/include/asm/svm.h | 51 --

Re: [PATCH] sh: fix syscall tracing

2020-09-07 Thread Rich Felker
On Mon, Sep 07, 2020 at 11:52:20AM +0200, John Paul Adrian Glaubitz wrote: > Hi Rich! > > On 9/3/20 6:16 PM, Rich Felker wrote: > >> I can confirm that this patch fixes both strace for me and does not break > >> libseccomp, > >> I have run the libseccomp testsuite with my patch for SuperH

Re: [PATCH v5 00/21] kprobes: Unify kretprobe trampoline handlers and make kretprobe lockless

2020-09-07 Thread Frank Ch. Eigler
Masami Hiramatsu writes: > Sorry, for noticing this point, I Cc'd to systemtap. Is systemtap taking > care of spinlock too? On PRREMPT_RT configurations, systemtap uses the raw_spinlock_t types/functions, to keep its probe handlers as atomic as we can make them. - FChE

[PATCH v7 03/72] KVM: SVM: Add GHCB Accessor functions

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel Building a correct GHCB for the hypervisor requires setting valid bits in the GHCB. Simplify that process by providing accessor functions to set values and to update the valid bitmap and to check the valid bitmap in KVM. Signed-off-by: Joerg Roedel ---

[PATCH v7 01/72] KVM: SVM: nested: Don't allocate VMCB structures on stack

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel Do not allocate a vmcb_control_area and a vmcb_save_area on the stack, as these structures will become larger with future extenstions of SVM and thus the svm_set_nested_state() function will become a too large stack frame. Signed-off-by: Joerg Roedel ---

Re: [PATCH] arm64: dts: marvell: espressobin: Add ethernet switch aliases

2020-09-07 Thread Andre Heider
On 07/09/2020 19:35, Pali Rohár wrote: On Monday 07 September 2020 19:23:03 Andrew Lunn wrote: My dts-foo is a little rusty, but now that you labeled the ports in the .dtsi, can this whole "switch0" block reduced to something like: { label = "lan1"; }; { label = "wan"; };

[PATCH v7 13/72] x86/boot/compressed/64: Add IDT Infrastructure

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel Add code needed to setup an IDT in the early pre-decompression boot-code. The IDT is loaded first in startup_64, which is after EfiExitBootServices() has been called, and later reloaded when the kernel image has been relocated to the end of the decompression area. This allows

[PATCH] scripts: coccicheck: Do not use shift command when rule is specfified

2020-09-07 Thread Sumera Priyadarsini
The command "make coccicheck C=1 CHECK=scripts/coccicheck" results in the error: ./scripts/coccicheck: line 65: -1: shift count out of range This happens because every time the C variable is specified, the shell arguments need to be "shifted" in order to take only the last argument, which

Re: [PATCH] arm64: dts: marvell: espressobin: Add ethernet switch aliases

2020-09-07 Thread Pali Rohár
On Monday 07 September 2020 19:13:41 Andre Heider wrote: > > @@ -120,7 +124,7 @@ > > #address-cells = <1>; > > #size-cells = <0>; > > - port@0 { > > + switch0port0: port@0 { > > This label is unused it seems. Yes, it is

Re: [PATCH] arm64: perf: Remove unnecessary event_idx check

2020-09-07 Thread Will Deacon
On Fri, 4 Sep 2020 17:57:38 +0800, Qi Liu wrote: > event_idx is obtained from armv8pmu_get_event_idx(), and this idx must be > between ARMV8_IDX_CYCLE_COUNTER and cpu_pmu->num_events. So it's unnecessary > to do this check. Let's remove it. Applied to will (for-next/perf), thanks! [1/1] arm64:

[PATCH v7 52/72] x86/sev-es: Handle DR7 read/write events

2020-09-07 Thread Joerg Roedel
From: Tom Lendacky Add code to handle #VC exceptions on DR7 register reads and writes. This is needed early because show_regs() reads DR7 to print it out. Under SEV-ES there is currently no support for saving/restoring the DRx registers, but software expects to be able to write to the DR7

[PATCH v7 50/72] x86/sev-es: Handle MMIO String Instructions

2020-09-07 Thread Joerg Roedel
From: Joerg Roedel Add handling for emulation the MOVS instruction on MMIO regions, as done by the memcpy_toio() and memcpy_fromio() functions. Signed-off-by: Joerg Roedel --- arch/x86/kernel/sev-es.c | 77 1 file changed, 77 insertions(+) diff --git

[PATCH v7 53/72] x86/sev-es: Handle WBINVD Events

2020-09-07 Thread Joerg Roedel
From: Tom Lendacky Implement a handler for #VC exceptions caused by WBINVD instructions. Signed-off-by: Tom Lendacky [ jroe...@suse.de: Adapt to #VC handling framework ] Co-developed-by: Joerg Roedel Signed-off-by: Joerg Roedel --- arch/x86/kernel/sev-es.c | 9 + 1 file changed, 9

[PATCH v7 51/72] x86/sev-es: Handle MSR events

2020-09-07 Thread Joerg Roedel
From: Tom Lendacky Implement a handler for #VC exceptions caused by RDMSR/WRMSR instructions. Signed-off-by: Tom Lendacky [ jroe...@suse.de: Adapt to #VC handling infrastructure ] Co-developed-by: Joerg Roedel Signed-off-by: Joerg Roedel --- arch/x86/kernel/sev-es.c | 28

[PATCH v7 46/72] x86/sev-es: Add Runtime #VC Exception Handler

2020-09-07 Thread Joerg Roedel
From: Tom Lendacky Add the handlers for #VC exceptions invoked at runtime. Signed-off-by: Tom Lendacky Signed-off-by: Joerg Roedel --- arch/x86/include/asm/idtentry.h | 6 + arch/x86/kernel/idt.c | 11 +- arch/x86/kernel/sev-es.c| 246 +++- 3

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