[PATCH 15/31] staging: wfx: drop useless struct hif_suspend_resume_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_suspend_resume_flags has no reason to exist. Drop it and simplify access to struct hif_ind_suspend_resume_tx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 +- drivers/staging/wfx/hif_rx.c | 6 +++--- 2 files changed, 4 inser

[PATCH 20/31] staging: wfx: drop useless stricts only used in hif_req_start_scan_alt

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The structs hif_scan_type, hif_scan_flags and hif_auto_scan_param have no real reasons to exist (apart maybe defining namespaces). Moreover, the names of the fields within these structs are not all meaningful. Drop the structs and rename the fields. Signed-off-by: Jérôme P

Re: [PATCH 1/3] cpufreq: arm_scmi: Constify scmi_perf_ops pointers

2020-09-07 Thread Viresh Kumar
On 07-09-20, 11:22, Sudeep Holla wrote: > Hi Viresh, > > On Mon, Sep 07, 2020 at 01:04:50AM +0200, Rikard Falkeborn wrote: > > The perf_ops are not modified through this pointer. Make them const to > > indicate that. This is in preparation to make the scmi-ops pointers in > > scmi_handle const. >

Re: [PATCH v6 2/9] kernel: entry: Support TIF_SYSCAL_INTERCEPT on common entry code

2020-09-07 Thread Christian Brauner
On Fri, Sep 04, 2020 at 04:31:40PM -0400, Gabriel Krisman Bertazi wrote: > Syscalls that use common entry code (x86 at the moment of this writing) > need to have their defines updated inside this commit. This added a > measureable overhead of 1ns to seccomp_benchmark selftests on a > bare-metal AM

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

2020-09-07 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 11:59 AM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 08:15:59PM -0700, Randy Dunlap wrote: > > On 9/4/20 8:45 AM, Bartosz Golaszewski wrote: > > ... > > > > +GPIO Testing Driver > > > +=== > > > + > > > +The GPIO Testing Driver (gpio-mockup) provides a

[PATCH 18/31] staging: wfx: drop useless struct hif_tx_result_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_tx_result_flags has no reason to exist. Drop it and simplify access to struct hif_cnf_tx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_tx.c | 3 +-- drivers/staging/wfx/hif_api_cmd.h | 16 ++-- 2 files changed, 7 insertions(+), 1

[PATCH 11/31] staging: wfx: drop useless struct hif_ie_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_ie_flags has no reason to exist. Drop it and simplify access to struct hif_req_update_ie. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 14 +- drivers/staging/wfx/hif_tx.c | 2 +- 2 files changed, 6 insertions(+), 10 d

[PATCH 04/31] staging: wfx: keep API error list up-to-date

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller A new kind of error has appeared in API 3.4. The Linux driver is not concerned by this new error, but let's keep the API in sync with the firmware. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_general.h | 1 + drivers/staging/wfx/hif_rx.c | 2 +

[PATCH 10/31] staging: wfx: drop useless struct hif_reset_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_reset_flags has no reason to exist. Drop it and simplify access to struct hif_req_reset. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 +++--- drivers/staging/wfx/hif_tx.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-07 Thread Dave Martin
On Thu, Sep 03, 2020 at 11:20:25AM +0100, Boyan Karatotev wrote: > On 02/09/2020 18:00, Dave Martin wrote: > > On Fri, Aug 28, 2020 at 02:16:05PM +0100, Boyan Karatotev wrote: > >> Kernel documentation states that it will change PAuth keys on exec() calls. > >> > >> Verify that all keys are correct

[PATCH 17/31] staging: wfx: drop useless struct hif_rx_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_rx_flags has no reason to exist. Drop it and simplify access to struct hif_ind_rx. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/data_rx.c | 2 +- drivers/staging/wfx/hif_api_cmd.h | 25 ++--- 2 files changed, 11 insertions(+),

[PATCH 12/31] staging: wfx: drop useless struct hif_join_flags

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Struct hif_join_flags has no reason to exist. Drop it and simplify access to struct hif_req_join. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/staging/w

[PATCH v3 1/2] leds: mt6360: Add LED driver for MT6360

2020-09-07 Thread Gene Chen
From: Gene Chen Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, and 4-channel RGB LED support Register/Flash/Breath Mode Signed-off-by: Gene Chen --- drivers/leds/Kconfig | 11 + drivers/leds/Makefile | 1 + drivers/leds/leds-mt6360.c | 681 +

[PATCH v3 2/2] dt-bindings: leds: Add bindings for MT6360 LED

2020-09-07 Thread Gene Chen
From: Gene Chen Add bindings document for LED support on MT6360 PMIC Signed-off-by: Gene Chen --- .../devicetree/bindings/leds/leds-mt6360.yaml | 105 + 1 file changed, 105 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-mt6360.yaml diff

Re: [PATCH 03/23] lib: uaccess: provide getline_from_user()

2020-09-07 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 12:19 PM Andy Shevchenko wrote: > > On Mon, Sep 7, 2020 at 1:05 PM Bartosz Golaszewski > wrote: > > On Fri, Sep 4, 2020 at 6:35 PM Andy Shevchenko > > wrote: > > > On Fri, Sep 04, 2020 at 05:45:27PM +0200, Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > >

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

2020-09-07 Thread Michel Dänzer
On 2020-09-07 9:55 a.m., 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 series is to upgrade the power management framework of radeonfb fbdev driver. This has been done by up

Re: [PATCH 0/4] kselftests/arm64: add PAuth tests

2020-09-07 Thread Dave Martin
On Thu, Sep 03, 2020 at 10:46:33AM +0100, Boyan Karatotev wrote: > On 02/09/2020 17:48, Dave Martin wrote: > > On Fri, Aug 28, 2020 at 02:16:02PM +0100, Boyan Karatotev wrote: > >> Pointer Authentication (PAuth) is a security feature introduced in ARMv8.3. > >> It introduces instructions to sign ad

[PATCH v3 0/2] leds: mt6360: Add LED driver for MT6360

2020-09-07 Thread Gene Chen
In-Reply-To: This patch series add MT6360 LED support contains driver and binding document Gene Chen (2) leds: mt6360: Add LED driver for MT6360 dt-bindings: leds: Add bindings for MT6360 LED Documentation/devicetree/bindings/leds/leds-mt6360.yaml | 105 ++ drivers/leds/Kconfig

Re: [PATCH 8/9] perf test: Free aliases for PMU event map aliases test

2020-09-07 Thread John Garry
On 07/09/2020 04:45, Namhyung Kim wrote: The aliases were never released causing the following leaks: Indirect leak of 1224 byte(s) in 9 object(s) allocated from: #0 0x7feefb830628 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x107628) #1 0x56332c8f1b62 in __perf_pmu__new_alias uti

[PATCH 09/31] staging: wfx: drop useless union hif_commands_ids

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Union hif_commands_ids is unused. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wfx/hif_api_cmd.h b/drivers/staging/wfx/hif_api_cmd.h index 75e8c2a7fdf9..c132d8e43b50 100644 -

Re: printk: Add process name information to printk() output.

2020-09-07 Thread John Ogness
On 2020-09-07, Petr Mladek wrote: > This extra metadata are not currently read by crashdump tools. crash [0] prints dictionary data. John Ogness [0] https://github.com/crash-utility/crash

[PATCH 07/31] staging: wfx: drop useless function

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller Since the code for multicast filtering has been dropped, the function hif_set_data_filtering() is only called to disable multicast filtering. In fact, the multicast filtering is already disabled by default. So, this function is useless and can be dropped. Signed-off-by: Jér

[RESEND PATCH v7] ARM: dts: qcom: ipq4019: add USB devicetree nodes

2020-09-07 Thread Robert Marko
Since we now have driver for the USB PHY, lets add the necessary nodes to DTSI. Signed-off-by: John Crispin Signed-off-by: Robert Marko Cc: Luka Perkov Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 74 + 1 file changed, 74 insertions(+) diff --

Re: [PATCH v7 8/9] x86/cpufeatures: Mark ENQCMD as disabled when configured out

2020-09-07 Thread Borislav Petkov
On Thu, Aug 27, 2020 at 08:06:33AM -0700, Fenghua Yu wrote: > Currently the ENQCMD feature cannot be used if CONFIG_INTEL_IOMMU_SVM > is not set. IOW, "Currently, the ENQCMD feature depends on CONFIG_INTEL_IOMMU_SVM." ? No need for a "cannot ... if not" formulation. -- Regards/Gruss, Bori

Re: [PATCH v6 1/9] kernel: Support TIF_SYSCALL_INTERCEPT flag

2020-09-07 Thread Christian Brauner
On Fri, Sep 04, 2020 at 04:31:39PM -0400, Gabriel Krisman Bertazi wrote: > Convert TIF_SECCOMP into a generic TI flag for any syscall interception > work being done by the kernel. The actual type of work is exposed by a > new flag field outside of thread_info. This ensures that the > syscall_inte

[MPTCP][PATCH net 1/2] mptcp: fix subflow's local_id issues

2020-09-07 Thread Geliang Tang
In mptcp_pm_nl_get_local_id, skc_local is the same as msk_local, so it always return 0. Thus every subflow's local_id is 0. It's incorrect. This patch fixed this issue. Also, we need to ignore the zero address here, like 0.0.0.0 in IPv4. When we use the zero address as a local address, it means t

[PATCH 05/31] staging: wfx: drop 'secure link' feature

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The Secure Link (slk) feature allows to encrypt (and authenticate) the traffic between the host and the device. The official implementation of this feature relies on mbedTLS. For that reason, this implementation is not included in the current driver. To be included, the impl

[PATCH 03/31] staging: wfx: simplify hif_set_association_mode()

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The file hif_tx_mib.c expects to contain functions that format messages for the hardware. It is unexpected to find function that manipulate RCU and structures from mac80211. Keep hif_set_association_mode() with the code necessary for message formatting and relocate the smar

[PATCH 06/31] staging: wfx: drop multicast filtering

2020-09-07 Thread Jerome Pouiller
From: Jérôme Pouiller The device allows to filter multicast frames. The driver has the necessary code to take advantage of this feature. However, some bugs has been reported on this feature. So, it was temporary disabled. Finally, the things work well as-is for more than one year now. So there i

[PATCH v5 2/3] dt-bindings: input: mtk-pmic-keys: add MT6392 binding definition

2020-09-07 Thread Fabien Parent
Add the binding documentation of the mtk-pmic-keys for the MT6392 PMICs. Signed-off-by: Fabien Parent Reviewed-by: Rob Herring --- v5: * rebased * Rename MT6397/MT6392/MT6323 into MT63XX to make it more readable when the list of support PMIC increase * Removed

[PATCH v5 3/3] mfd: mt6397: Add support for MT6392 pmic

2020-09-07 Thread Fabien Parent
Update the MT6397 MFD driver to support the MT6392 PMIC. Signed-off-by: Fabien Parent --- V5: * Rebased * removed mt6392-regulator compatible. This will be send in another series to make this series easier to merge. V4: * Use DEFINE_RES_* macro to define RTC re

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

2020-09-07 Thread Neil Armstrong
Hi, Please ignore this serie, the vendors patch is missing and the panel driver still has the vrefresh... Will repost. Neil On 04/09/2020 18:15, Neil Armstrong wrote: > This adds support bindings and support for the TDO TL070WSH30 TFT-LCD panel > module shipped with the Amlogic S400 Development

Re: [PATCH v2 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

2020-09-07 Thread Dave Martin
On Thu, Sep 03, 2020 at 11:48:37AM +0100, Boyan Karatotev wrote: > On 02/09/2020 18:08, Dave Martin wrote: > > On Mon, Aug 31, 2020 at 12:04:49PM +0100, Boyan Karatotev wrote: > >> +/* > >> + * fork() does not change keys. Only exec() does so call a worker program. > >> + * Its only job is to sign

[PATCH v5 1/3] dt-bindings: mfd: mt6397: Add bindings for MT6392 PMIC

2020-09-07 Thread Fabien Parent
Add the currently supported bindings for the MT6392 PMIC. Signed-off-by: Fabien Parent Reviewed-by: Rob Herring Acked-for-mfd-by: Lee Jones --- V5: * Rebased, removed regulator documentation because it will be send later on in another patch series V4: * No change V3:

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

2020-09-07 Thread Heikki Krogerus
Hi, This was the last patch in my series that removed struct device_connection [1]. It's now split into two separate patches. [1] https://lore.kernel.org/lkml/20200904125123.83725-1-heikki.kroge...@linux.intel.com/ thanks, Heikki Krogerus (2): device property: Move fwnode_connection_find_mat

[PATCH 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 2/2] Documentation: Remove device connection documentation

2020-09-07 Thread Heikki Krogerus
The API that allowed device connection descriptions to be added is now removed, so removing also the documentation for it. Signed-off-by: Heikki Krogerus --- .../driver-api/device_connection.rst | 43 --- 1 file changed, 43 deletions(-) delete mode 100644 Documentation/

[PATCH 3/6] arm64: dts: ti: k3-j7200-main.dtsi: Add USB to SERDES lane MUX

2020-09-07 Thread Roger Quadros
The USB controller can be connected to one of the 2 lanes of SERDES0 using a MUX. Add a MUX controller node for that. Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/

[PATCH 4/6] arm64: dts: ti: k3-j7200-main: Add USB controller

2020-09-07 Thread Roger Quadros
j7200 has on USB controller instance. Add that. Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 30 +++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index e08

[PATCH 2/6] arm64: dts: ti: k3-j7200-main: Add SERDES lane control mux

2020-09-07 Thread Roger Quadros
The SERDES lane control mux registers are present in the CTRLMMR space. Signed-off-by: Roger Quadros --- arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mai

[PATCH 1/6] dt-bindings: mux-j7200-wiz: Add lane function defines

2020-09-07 Thread Roger Quadros
Each SERDES lane mux can select upto 4 different IPs. There are 4 lanes in each J7200 SERDES. Define all the possible functions in this file. Signed-off-by: Roger Quadros --- include/dt-bindings/mux/mux-j7200-wiz.h | 29 + 1 file changed, 29 insertions(+) create mode 100

[PATCH 5/6] arm64: dts: ti: k3-j7200-common-proc-board: Configure the SERDES lane function

2020-09-07 Thread Roger Quadros
From: Kishon Vijay Abraham I First two lanes of SERDES is connected to PCIe, third lane is connected to QSGMII and the last lane is connected to USB. However Cadence torrent SERDES doesn't support more than 2 protocols at the same time. Configure it only for PCIe and QSGMII. Signed-off-by: Kisho

[PATCH 6/6] arm64: dts: ti: k3-j7200-common-proc-board: Add USB support

2020-09-07 Thread Roger Quadros
Enable USB0 port in high-speed (2.0) mode. The board uses lane 3 of SERDES for USB. Set the mux accordingly. Signed-off-by: Roger Quadros --- .../dts/ti/k3-j7200-common-proc-board.dts | 22 +++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-co

[PATCH 0/6] arm64: dts: ti: Add USB support for J7200 EVM

2020-09-07 Thread Roger Quadros
Hi Tero/Nishanth, This series adds USB2.0 support for the J7200 EVM. Series is based on top of: Faiz's MMC/SD support series https://lore.kernel.org/lkml/20200907090520.25313-1-faiz_ab...@ti.com/ Lokesh's initial support series https://patchwork.kernel.org/cover/11740039/ Vig

[MPTCP][PATCH net 2/2] mptcp: fix subflow's remote_id issues

2020-09-07 Thread Geliang Tang
This patch set the init remote_id to zero, otherwise it will be a random number. Then it added the missing subflow's remote_id setting code both in __mptcp_subflow_connect and in subflow_ulp_clone. Reviewed-by: Paolo Abeni Signed-off-by: Geliang Tang --- net/mptcp/pm_netlink.c | 2 +- net/mptc

[PATCH] vhost-vdpa: fix backend feature ioctls

2020-09-07 Thread Jason Wang
Commit 653055b9acd4 ("vhost-vdpa: support get/set backend features") introduces two malfunction backend features ioctls: 1) the ioctls was blindly added to vring ioctl instead of vdpa device ioctl 2) vhost_set_backend_features() was called when dev mutex has already been held which will lead

Re: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is active

2020-09-07 Thread Joerg Roedel
On Sun, Sep 06, 2020 at 04:08:58PM +, Deucher, Alexander wrote: > From f479b9da353c2547c26ebac8930a5dcd9a134eb7 Mon Sep 17 00:00:00 2001 > From: Alex Deucher > Date: Sun, 6 Sep 2020 12:05:12 -0400 > Subject: [PATCH] drm/amdgpu: Fail to load on RAVEN if SME is active > > Due to hardware bugs,

Re: [PATCH 1/3] cpufreq: arm_scmi: Constify scmi_perf_ops pointers

2020-09-07 Thread Sudeep Holla
On Mon, Sep 07, 2020 at 03:55:51PM +0530, Viresh Kumar wrote: > On 07-09-20, 11:22, Sudeep Holla wrote: > > Hi Viresh, > > > > On Mon, Sep 07, 2020 at 01:04:50AM +0200, Rikard Falkeborn wrote: > > > The perf_ops are not modified through this pointer. Make them const to > > > indicate that. This is

Re: [PATCH v6] perf test: Introduce script for Arm CoreSight testing

2020-09-07 Thread Suzuki K Poulose
On 09/07/2020 08:29 AM, Leo Yan wrote: We need a simple method to test Perf with Arm CoreSight drivers, this could be used for smoke testing when new patch is coming for perf or CoreSight drivers, and we also can use the test to confirm if the CoreSight has been enabled successfully on new platfo

Re: [PATCH] arm64: PCI: fix memleak when calling pci_iomap/unmap()

2020-09-07 Thread Catalin Marinas
On Sat, Sep 05, 2020 at 10:48:11AM +0800, Yang Yingliang wrote: > diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c > index 1006ed2d7c604..ddfa1c53def48 100644 > --- a/arch/arm64/kernel/pci.c > +++ b/arch/arm64/kernel/pci.c > @@ -217,4 +217,9 @@ void pcibios_remove_bus(struct pci_bus *

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

2020-09-07 Thread Jason A. Donenfeld
Hi Borislav, On Mon, Sep 7, 2020 at 12:06 PM Borislav Petkov wrote: > > + Srinivas. > + kitsunyan. > > On Mon, Sep 07, 2020 at 11:48:43AM +0200, Jason A. Donenfeld wrote: > > Popular tools, like intel-undervolt, use MSR 0x150 to control the CPU > > voltage offset. In fact, evidently the intel_tu

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

2020-09-07 Thread Bartosz Golaszewski
On Sat, Sep 5, 2020 at 5:16 AM Randy Dunlap wrote: > > Hi, > > On 9/4/20 8:45 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > There's some documentation for gpio-mockup's debugfs interface in the > > driver's source but it's not much. Add proper documentation for this > > tes

Re: [PATCH 1/3] cpufreq: arm_scmi: Constify scmi_perf_ops pointers

2020-09-07 Thread Viresh Kumar
On 07-09-20, 11:44, Sudeep Holla wrote: > On Mon, Sep 07, 2020 at 03:55:51PM +0530, Viresh Kumar wrote: > > On 07-09-20, 11:22, Sudeep Holla wrote: > > > Hi Viresh, > > > > > > On Mon, Sep 07, 2020 at 01:04:50AM +0200, Rikard Falkeborn wrote: > > > > The perf_ops are not modified through this point

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

2020-09-07 Thread Qais Yousef
Hi Dietmar On 09/02/20 12:44, Dietmar Eggemann wrote: > + Phil Auld > > On 28/08/2020 19:26, Qais Yousef wrote: > > On 08/28/20 19:10, Dietmar Eggemann wrote: > >> On 28/08/2020 12:27, Qais Yousef wrote: > >>> On 08/28/20 10:00, vincent.donnef...@arm.com wrote: > From: Vincent Donnefort >

Re: [PATCH 1/2] platform/chrome: cros_ec_proto: Update cros_ec_cmd_xfer() call-sites

2020-09-07 Thread Enric Balletbo i Serra
Hi Prashant, Thank you for your patch. On 3/9/20 11:54, Prashant Malani wrote: > Since all the other call-sites of cros_ec_cmd_xfer() have been converted > to use cros_ec_cmd_xfer_status() instead, update the remaining > call-sites to prepare for the merge of cros_ec_cmd_xfer() into > cros_ec_cmd

Re: [PATCH 06/23] gpiolib: switch to simpler IDA interface

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:41 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:30PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > We don't need to specify any ranges when allocating IDs so we can switch > > to ida_alloc() and ida_free() instead of the ida_simple

Re: [PATCH] arm64: PCI: fix memleak when calling pci_iomap/unmap()

2020-09-07 Thread George Cherian
> -Original Message- > From: Catalin Marinas > Sent: Monday, September 7, 2020 4:16 PM > To: Yang Yingliang > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; will.dea...@arm.com; bhelg...@google.com; > George Cherian ; guohan...@hua

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

2020-09-07 Thread Joerg Vehlow
Hi, I guess there is currently no other way than to use something like Steven proposed. I implemented and tested the attached patch with a module, that triggers the soft lockup detection and it works as expected. I did not use inline functions, but normal function implemented in kexec_core, bec

Re: [PATCH v2 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-09-07 Thread Michael S. Tsirkin
On Fri, Sep 04, 2020 at 09:29:05AM +0200, Gerd Hoffmann wrote: > Hi, > > > Unless I'm mistaken, microvm doesn't even support PCI, does it? > > Correct, no pci support right now. > > We could probably wire up ecam (arm/virt style) for pcie support, once > the acpi support for mictovm finally la

[PATCH v3] mmc: host: Enable compile testing of multiple drivers

2020-09-07 Thread Krzysztof Kozlowski
Multiple MMC host controller driver can be compile tested as they do not depend on architecture specific headers. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Rebase. Please expect conflicts around MMC_SDHCI_S3C with: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.gi

Re: [PATCH] sched/fair: use dst group while checking imbalance for NUMA balancer

2020-09-07 Thread Mel Gorman
On Mon, Sep 07, 2020 at 09:44:03AM +, Song Bao Hua (Barry Song) wrote: > > > > -Original Message- > > From: Mel Gorman [mailto:mgor...@suse.de] > > Sent: Monday, September 7, 2020 9:27 PM > > To: Song Bao Hua (Barry Song) > > Cc: mi...@redhat.com; pet...@infradead.org; juri.le...@red

Re: [PATCH 05/23] gpiolib: unexport devprop_gpiochip_set_names()

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:42 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:29PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Now that devprop_gpiochip_set_names() is only used in a single place > > inside drivers/gpio/gpiolib.c, there's no need anymore for

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

2020-09-07 Thread Sam Ravnborg
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 dev_* logging. We no longer use the DRM_ based logging for pan

Re: [PATCH v2 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-09-07 Thread Michael S. Tsirkin
On Thu, Sep 03, 2020 at 11:12:12PM -0700, Sean Christopherson wrote: > On Wed, Sep 02, 2020 at 10:59:20AM +0200, Vitaly Kuznetsov wrote: > > Peter Xu writes: > > > My whole point was more about trying to understand the problem behind. > > > Providing a fast path for reading pci holes seems to be r

Re: [GIT PULL] ARM: mach: samsung: S3C cleanup for v5.10

2020-09-07 Thread Krzysztof Kozlowski
On Mon, Aug 31, 2020 at 05:47:51PM +0200, Krzysztof Kozlowski wrote: > Hi, > > I applied Arnd's series for Samsung S3C cleanup, plus multiple fixes from me > and other developers. This also pulls branch from Mark Brown. > > Best regards, > Krzysztof > > > The following changes since commit 912

Re: [PATCH 04/23] gpiolib: generalize devprop_gpiochip_set_names() for device properties

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:44 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:28PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > devprop_gpiochip_set_names() is overly complicated with taking the > > fwnode argument (which requires using dev_fwnode() & of_fwnod

Re: [PATCH 14/23] gpio: mockup: use the generic 'gpio-line-names' property

2020-09-07 Thread Bartosz Golaszewski
On Fri, Sep 4, 2020 at 6:46 PM Andy Shevchenko wrote: > > On Fri, Sep 04, 2020 at 05:45:38PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > GPIO line names are currently created by the driver from the chip label. > > We'll want to support custom formats for line names (fo

Re: [PATCH 2/2] Documentation: Remove device connection documentation

2020-09-07 Thread Greg Kroah-Hartman
On Mon, Sep 07, 2020 at 01:37:50PM +0300, Heikki Krogerus wrote: > The API that allowed device connection descriptions to > be added is now removed, so removing also the documentation > for it. > > Signed-off-by: Heikki Krogerus > --- > .../driver-api/device_connection.rst | 43

[PATCH] PCI: Factor functions of PCI function reset

2020-09-07 Thread Yicong Yang
Previosly we use pci_probe_reset_function() to probe whehter a function can be reset and use __pci_reset_function_locked() to perform a function reset. These two functions have lots of common lines. Factor the two functions and reduce the redundancy. Signed-off-by: Yicong Yang --- drivers/pci/p

Re: [PATCH v7 9/9] x86/mmu: Allocate/free PASID

2020-09-07 Thread Borislav Petkov
On Thu, Aug 27, 2020 at 08:06:34AM -0700, Fenghua Yu wrote: > A PASID is allocated for an "mm" the first time any thread binds > to an SVM capable device and is freed from the "mm" when the SVM is > unbound by the last thread. It's possible for the "mm" to have different > PASID values in different

[PATCH v3 4/5] PCI: aardvark: Implement driver 'remove' function and allow to build it as module

2020-09-07 Thread Pali Rohár
Providing driver's 'remove' function allows kernel to bind and unbind devices from aardvark driver. It also allows to build aardvark driver as a module. Compiling aardvark as a module simplifies development and debugging of this driver as it can be reloaded at runtime without the need to reboot to

[PATCH v3 5/5] PCI: aardvark: Move PCIe reset card code to advk_pcie_train_link()

2020-09-07 Thread Pali Rohár
Move code which belongs to link training (delays and resets) into advk_pcie_train_link() function, so everything related to link training, including timings is at one place. After experiments it can be observed that link training in aardvark hardware is very sensitive to timings and delays, so it

Re: [PATCH] arm64: PCI: fix memleak when calling pci_iomap/unmap()

2020-09-07 Thread Catalin Marinas
+ Lorenzo On Mon, Sep 07, 2020 at 10:51:21AM +, George Cherian wrote: > Catalin Marinas wrote: > > On Sat, Sep 05, 2020 at 10:48:11AM +0800, Yang Yingliang wrote: > > > diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c index > > > 1006ed2d7c604..ddfa1c53def48 100644 > > > --- a/a

watchdog: sp5100_tco support for AMD V/R/E series

2020-09-07 Thread Jan Kiszka
Hi all, Arsalan reported that the upstream driver for sp5100_tco does not work for embedded Ryzen. Meanwhile, I was able to confirm that on an R1505G: [ 11.607251] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver [ 11.607337] sp5100-tco sp5100-tco: Using 0xfed80b00 for watchdog MMIO address

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

2020-09-07 Thread Neil Armstrong
This adds support bindings and support for the TDO TL070WSH30 TFT-LCD panel module shipped with the Amlogic S400 Development Kit. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Changes

[PATCH v2 3/3] drm: panel: add TDO tl070wsh30 panel driver

2020-09-07 Thread Neil Armstrong
This adds support for the TDO TL070WSH30 TFT-LCD panel module. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig

[PATCH v2 2/3] dt-bindings: display: panel: add TDO tl070wsh30 DSI panel bindings

2020-09-07 Thread Neil Armstrong
This add the bindings for the 1024*600 tl070wsh30 DSI panel. Signed-off-by: Neil Armstrong --- .../display/panel/tdo,tl070wsh30.yaml | 58 +++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/tdo,tl070wsh30.yaml diff -

Re: [PATCH 1/2] nvme: set io-scheduler requirement for ZNS

2020-09-07 Thread Kanchan Joshi
On Mon, Sep 7, 2020 at 1:52 PM Damien Le Moal wrote: > > On 2020/09/07 16:01, Kanchan Joshi wrote: > >> Even for SMR, the user is free to set the elevator to none, which disables > >> zone > >> write locking. Issuing writes correctly then becomes the responsibility of > >> the > >> application.

[PATCH v2 1/3] dt-bindings: vendor-prefixes: Add Shanghai Top Display Optolelectronics vendor prefix

2020-09-07 Thread Neil Armstrong
Shanghai Top Display Optolelectronics Co., Ltd is a display manufacturer from Shanghai. Web site of the company: http://www.shtdo.com/ Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/dev

[PATCH v4 1/1] drm: allow limiting the scatter list size.

2020-09-07 Thread Gerd Hoffmann
Add drm_device argument to drm_prime_pages_to_sg(), so we can call dma_max_mapping_size() to figure the segment size limit and call into __sg_alloc_table_from_pages() with the correct limit. This fixes virtio-gpu with sev. Possibly it'll fix other bugs too given that drm seems to totaly ignore se

Re: [PATCH]] drm/dp check aux_dev before use in drm_dp_aux_dev_get_by_minor()

2020-09-07 Thread Ville Syrjälä
On Fri, Sep 04, 2020 at 12:21:26AM -0700, Zwane Mwaikambo wrote: > I observed this when unplugging a DP monitor whilst a computer is asleep > and then waking it up. This left DP chardev nodes still being present on > the filesystem and accessing these device nodes caused an oops because > drm_dp

[PATCH v2 0/2] Fix two incorrect comments

2020-09-07 Thread Bean Huo
From: Bean Huo v1--v2: correct inaccurate patch title and commit message Bean Huo (2): block: fix incorrect comment in vdc_port_probe() fs: isofs: fix incorrect comment in zisofs_readpage() drivers/block/sunvdc.c | 6 +++--- fs/isofs/compress.c| 2 +- 2 files changed, 4 insertions(

[PATCH v2 2/2] fs: isofs: fix incorrect comment in zisofs_readpage()

2020-09-07 Thread Bean Huo
From: Bean Huo do_generic_file_read() has been renamed to eneric_file_buffered_read() since commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read"), so relpace it with generic_file_buffered_read() in the comment. Signed-off-by: Bean Huo --- fs/isofs/compress.c | 2 +- 1 file changed, 1 i

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

2020-09-07 Thread Pali Rohár
Espressobin boards have 3 ethernet ports and some of them got assigned more then one MAC address. MAC addresses are stored in U-Boot environment. Since commit a2c7023f7075c ("net: dsa: read mac address from DT for slave device") kernel can use MAC addresses from DT for particular DSA port. Curren

Re: [PATCH 1/9] perf evlist: Fix cpu/thread map leak

2020-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2020 at 12:44:54PM +0900, Namhyung Kim wrote: > Asan reported leak of cpu and thread maps as they have one more > refcount than released. I found that after setting evlist maps it > should release it's refcount. > > It seems to be broken from the beginning so I chose the original

Re: [PATCH] ASoC: rt5682: Have global name clock option for parent clk

2020-09-07 Thread Mark Brown
On Mon, Sep 07, 2020 at 09:30:37AM +0530, Akshu Agrawal wrote: > When adding parent clk(mclk) to wclk, this adds fallback option > for the case where global clk name is used. > @@ -2780,6 +2780,7 @@ static int rt5682_register_dai_clks(struct > snd_soc_component *component) >

Re: [PATCH] PM: : fix @em_pd kernel-doc warning

2020-09-07 Thread Lukasz Luba
Hi Randy, On 9/7/20 4:42 AM, Randy Dunlap wrote: From: Randy Dunlap Fix kernel-doc warning in : ../include/linux/device.h:613: warning: Function parameter or member 'em_pd' not described in 'device' Fixes: 1bc138c62295 ("PM / EM: add support for other devices than CPUs in Energy Model") Si

Re: [PATCH v2 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-09-07 Thread Michael S. Tsirkin
On Mon, Sep 07, 2020 at 10:37:39AM +0200, Vitaly Kuznetsov wrote: > Sean Christopherson writes: > > > On Fri, Sep 04, 2020 at 09:29:05AM +0200, Gerd Hoffmann wrote: > >> Hi, > >> > >> > Unless I'm mistaken, microvm doesn't even support PCI, does it? > >> > >> Correct, no pci support right now

Re: [PATCH 1/9] perf evlist: Fix cpu/thread map leak

2020-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2020 at 01:29:29PM +0200, Jiri Olsa wrote: > On Mon, Sep 07, 2020 at 12:44:54PM +0900, Namhyung Kim wrote: > > Asan reported leak of cpu and thread maps as they have one more > > refcount than released. I found that after setting evlist maps it > > should release it's refcount. > >

Re: [PATCH] PCI: qcom: Make sure PCIe is reset before init for rev 2.1.0

2020-09-07 Thread Lorenzo Pieralisi
On Tue, Sep 01, 2020 at 02:49:54PM +0200, Ansuel Smith wrote: > Qsdk U-Boot can incorrectly leave the PCIe interface in an undefined > state if bootm command is used instead of bootipq. This is caused by the > not deinit of PCIe when bootm is called. Reset the PCIe before init > anyway to fix this

Re: [PATCHSET 0/9] perf tools: Fix various memory leaks

2020-09-07 Thread Jiri Olsa
On Mon, Sep 07, 2020 at 12:44:53PM +0900, Namhyung Kim wrote: > Hello, > > I've found and fixed a bunch of memory leaks during perf pmu and > metric tests with address sanitizer. Before this, the tests were > mostly failed due to the leaks since ASAN makes it return non-zero. > > Now I'm seeing

Re: [PATCH 2/5] pinctrl: rockchip: make driver be tristate module

2020-09-07 Thread kernel test robot
-base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jianqun-Xu/rockchip-pinctrl-fixes-for-GKI/20200907-114025 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next config: riscv-allmodconfig

Re: [PATCH 0/2] use generic_file_buffered_read()

2020-09-07 Thread Bean Huo
On Fri, 2020-09-04 at 10:53 -0600, Jens Axboe wrote: > > Bean Huo (2): > >block: use generic_file_buffered_read() > >fs: isofs: use generic_file_buffered_read() > > The change is fine, but the title/commit message should reflect that > this is just a comment change. The way it currently re

Re: [PATCH 0/3] Add PCIe EP to RZ/G2H

2020-09-07 Thread Lorenzo Pieralisi
On Fri, Sep 04, 2020 at 11:38:48AM +0100, Lad Prabhakar wrote: > Hi All, > > This patch series adds PCIe EP support to R8A774E1 SoC. > > patch 2/3 applies on top of [1] and patch 3/3 is dependent > on series [2]. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/ > renesas-devel.

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

2020-09-07 Thread Borislav Petkov
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 the task of underclocking? This seems pretty squarely in > the realm

Re: [PATCH 1/2] nvme: set io-scheduler requirement for ZNS

2020-09-07 Thread Damien Le Moal
On 2020/09/07 20:24, Kanchan Joshi wrote: > On Mon, Sep 7, 2020 at 1:52 PM Damien Le Moal wrote: >> >> On 2020/09/07 16:01, Kanchan Joshi wrote: Even for SMR, the user is free to set the elevator to none, which disables zone write locking. Issuing writes correctly then becomes the

[PATCH v2 1/2] block: fix incorrect comment in vdc_port_probe()

2020-09-07 Thread Bean Huo
From: Bean Huo do_generic_file_read() has been renamed to eneric_file_buffered_read() since commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read"), so relpace it with generic_file_buffered_read() in the comment. Signed-off-by: Bean Huo --- drivers/block/sunvdc.c | 6 +++--- 1 file chang

Re: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is active

2020-09-07 Thread Christian König
Am 07.09.20 um 12:44 schrieb Joerg Roedel: On Sun, Sep 06, 2020 at 04:08:58PM +, Deucher, Alexander wrote: From f479b9da353c2547c26ebac8930a5dcd9a134eb7 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sun, 6 Sep 2020 12:05:12 -0400 Subject: [PATCH] drm/amdgpu: Fail to load on RAVEN if SM

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

2020-09-07 Thread peterz
On Sat, Aug 22, 2020 at 07:49:28PM -0400, Steven Rostedt wrote: > From this email: > > > The problem happens when that owner is the idle task, this can happen > > when the irq/softirq hits the idle task, in that case the contending > > mutex_lock() will try and PI boost the idle task, and that is

Re: [PATCH] fgraph: Convert ret_stack tasklist scanning to rcu

2020-09-07 Thread Oleg Nesterov
On 09/06, Davidlohr Bueso wrote: > > Here tasklist_lock does not protect anything other than the list > against concurrent fork/exit. And considering that the whole thing > is capped by FTRACE_RETSTACK_ALLOC_SIZE (32), it should not be a > problem to have a pontentially stale, yet stable, list. The

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