Re: [PATCH] sched/deadline: Unthrottle PI boosted threads while enqueuing

2020-09-18 Thread Juri Lelli
Hi Daniel, On 16/09/20 09:06, Daniel Bristot de Oliveira wrote: > stress-ng has a test (stress-ng --cyclic) that creates a set of threads > under SCHED_DEADLINE with the following parameters: > > dl_runtime = 1 (10 us) > dl_deadline = 10 (100 us) > dl_period= 10

[PATCH v6 2/5] ASoC: dt-bindings: Add dt binding for lpass hdmi

2020-09-18 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Adds bindings for lpass hdmi interface which can support audio path over dp. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 74 +++--- 1 file changed, 52 insertions(+), 22

[PATCH v6 3/5] Asoc:qcom:lpass-cpu:Update dts property read API

2020-09-18 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/qcom/lpass-cpu.c | 2 +- sound/soc/qcom/lpass-platform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/lpass-cpu.c

[PATCH v6 1/5] ASoC: Add sc7180-lpass binding header hdmi define

2020-09-18 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Add header defining hdmi dai-id for SC7180 lpass soc in dt bindings. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy Acked-by: Rob Herring --- include/dt-bindings/sound/sc7180-lpass.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v6 4/5] ASoC: qcom: Add support for lpass hdmi driver

2020-09-18 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Upadate lpass cpu and platform driver to support audio over dp. Also add lpass-hdmi.c and lpass-hdmi.h. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/qcom/Kconfig | 5 + sound/soc/qcom/Makefile | 2 +

Re: [PATCH v1 4/6] wdt: Support wdt on ROHM BD9576MUF and BD9573MUF

2020-09-18 Thread Vaittinen, Matti
Thanks (again) for review Guenter! On Thu, 2020-09-17 at 22:45 -0700, Guenter Roeck wrote: > On 9/17/20 1:03 AM, Matti Vaittinen wrote: > > Add Watchdog support for ROHM BD9576MUF and BD9573MUF PMICs which > > are > > mainly used to power the R-Car series processors. The watchdog is > > pinged

[PATCH] [PATCH v2]ptp: mark symbols static where possible

2020-09-18 Thread Herrington
We get 1 warning when building kernel with W=1: drivers/ptp/ptp_pch.c:182:5: warning: no previous prototype for ‘pch_ch_control_read’ [-Wmissing-prototypes] u32 pch_ch_control_read(struct pci_dev *pdev) drivers/ptp/ptp_pch.c:193:6: warning: no previous prototype for ‘pch_ch_control_write’

[PATCH v6 0/5] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port

2020-09-18 Thread Srinivasa Rao Mandadapu
These patches are to support audio over DP port on Qualcomm's SC7180 LPASS Asoc. It includes machine driver, cpu driver, platform driver updates for HDMI path support, device tree documention, lpass variant structure optimization and configuration changes. These patches depends on the DP patch

[PATCH v6 5/5] ASoC: qcom: sc7180: Add support for audio over DP

2020-09-18 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Add support for audio playback over DP in lpass sc7180 platform driver. Update lpass_variant structure for hdmi data configuaration. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/qcom/lpass-sc7180.c | 116

[PATCH v2] ptp: mark symbols static where possible

2020-09-18 Thread Herrington
We get 1 warning when building kernel with W=1: drivers/ptp/ptp_pch.c:182:5: warning: no previous prototype for ‘pch_ch_control_read’ [-Wmissing-prototypes] u32 pch_ch_control_read(struct pci_dev *pdev) drivers/ptp/ptp_pch.c:193:6: warning: no previous prototype for ‘pch_ch_control_write’

Re: [PATCH leds v2 05/50] leds: various: guard of_match_table member value with of_match_ptr

2020-09-18 Thread Sakari Ailus
Hi Marek, On Fri, Sep 18, 2020 at 12:32:53AM +0200, Marek Behún wrote: > Change > .of_match_table = xxx, > to > .of_match_table = of_match_ptr(xxx), > in various drivers. > > This should be standard even for drivers that depend on OF. After this patch, none of these drivers will work on

Re: [PATCH] MIPS: Loongson64: Add kexec/kdump support

2020-09-18 Thread Jinyang He
On 09/17/2020 09:52 PM, Zhou Yanjie wrote: Hello, 在 2020/9/17 下午8:41, Jinyang He 写道: Hi, Huacai, On 09/16/2020 01:39 PM, Huacai Chen wrote: Hi, Jinyang, On Tue, Sep 15, 2020 at 10:17 PM Jinyang He wrote: On 09/16/2020 09:33 AM, Jiaxun Yang wrote: 于 2020年9月15日 GMT+08:00 下午9:07:43,

Re: [PATCH printk 2/3] printk: move dictionary keys to dev_printk_info

2020-09-18 Thread Rasmus Villemoes
On 17/09/2020 15.16, John Ogness wrote: > if (dev->class) > subsys = dev->class->name; > else if (dev->bus) > subsys = dev->bus->name; > else > - return 0; > + return; > > - pos += snprintf(hdr + pos, hdrlen - pos,

Re: [linux-next PATCH] rapidio: Fix error handling path

2020-09-18 Thread Dan Carpenter
On Fri, Sep 18, 2020 at 07:55:05AM +0530, Souptick Joarder wrote: > Hi Dan, > > On Thu, Sep 17, 2020 at 6:10 PM Dan Carpenter > wrote: > > > > On Wed, Sep 16, 2020 at 01:02:32PM +0300, Dan Carpenter wrote: > > > On Wed, Sep 16, 2020 at 09:12:17AM +0530, Souptick Joarder wrote: > > > > There is

Re: [PATCH] MIPS: Loongson64: Add kexec/kdump support

2020-09-18 Thread Jinyang He
On 09/17/2020 10:21 PM, Jiaxun Yang wrote: 在 2020/9/17 20:41, Jinyang He 写道: Hi, Huacai, On 09/16/2020 01:39 PM, Huacai Chen wrote: Hi, Jinyang, On Tue, Sep 15, 2020 at 10:17 PM Jinyang He wrote: On 09/16/2020 09:33 AM, Jiaxun Yang wrote: 于 2020年9月15日 GMT+08:00 下午9:07:43, Jinyang He

Re: [PATCH v2] software_node: Add support for fwnode_graph*() family of functions

2020-09-18 Thread Sakari Ailus
Hi Dan, On Wed, Sep 16, 2020 at 02:22:10PM +0100, Dan Scally wrote: > Hi Sakari - thanks for the comments > > On 16/09/2020 10:17, Sakari Ailus wrote: > > Moi Daniel and Heikki, > > > > On Wed, Sep 16, 2020 at 12:28:27AM +0100, Daniel Scally wrote: > >> From: Heikki Krogerus > >> > >> This

[rcu:dev.2020.09.16b] BUILD SUCCESS 7e3758bc1e241442177aee0d063bf2b9c92599b2

2020-09-18 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.09.16b branch HEAD: 7e3758bc1e241442177aee0d063bf2b9c92599b2 refscale: Prevent hangs for invalid arguments elapsed time: 722m configs tested: 90 configs skipped: 2 The following configs have been

Re: [PATCH AUTOSEL 4.9 23/90] efi/arm: Defer probe of PCIe backed efifb on DT systems

2020-09-18 Thread Ard Biesheuvel
On Fri, 18 Sep 2020 at 05:15, Sasha Levin wrote: > > From: Ard Biesheuvel > > [ Upstream commit 64c8a0cd0a535891d5905c3a1651150f0f141439 ] > > The new of_devlink support breaks PCIe probing on ARM platforms booting > via UEFI if the firmware exposes a EFI framebuffer that is backed by a > PCI

Re: [PATCH -next] ide: Fix symbol undeclared warnings

2020-09-18 Thread Michael Ellerman
David Miller writes: > From: Michael Ellerman > Date: Thu, 17 Sep 2020 22:01:00 +1000 > >> Wang Wensheng writes: >>> Build the object file with `C=2` and get the following warnings: >>> make allmodconfig ARCH=powerpc CROSS_COMPILE=powerpc64-linux-gnu- >>> make C=2 drivers/ide/pmac.o

Re: [PATCH v14 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-09-18 Thread Punit Agrawal
Hi Ben, One query below - Ben Levinsky writes: > Add binding for ZynqMP R5 OpenAMP. > > Represent the RPU domain resources in one device node. Each RPU > processor is a subnode of the top RPU domain node. > > Signed-off-by: Jason Wu > Signed-off-by: Wendy Liang > Signed-off-by: Michal Simek

[PATCH v2 1/3] dt-bindings: dmaengine: Document qcom,gpi dma binding

2020-09-18 Thread Vinod Koul
Add devicetree binding documentation for GPI DMA controller implemented on Qualcomm SoCs Signed-off-by: Vinod Koul --- .../devicetree/bindings/dma/qcom,gpi.yaml | 86 +++ include/dt-bindings/dma/qcom-gpi.h| 11 +++ 2 files changed, 97 insertions(+) create mode

[PATCH v2 0/3] dmaengine: Add support for QCOM GSI dma controller

2020-09-18 Thread Vinod Koul
This series adds support for Qcom GSI dma controller found on Qualcomm SoCs. This controller can program the peripheral configuration so we add additional parameters in dma_slave_config for configuring the peripherals like spi and i2c. Changes in v2: - Update the binding and drop qcom specific

[PATCH v2 2/3] dmaengine: add peripheral configuration

2020-09-18 Thread Vinod Koul
Some complex dmaengine controllers have capability to program the peripheral device, so pass on the peripheral configuration as part of dma_slave_config Signed-off-by: Vinod Koul --- include/linux/dmaengine.h | 90 +++ 1 file changed, 90 insertions(+) diff

Re: [PATCH] batman-adv: Fix orig node refcnt leak when creating neigh node

2020-09-18 Thread Sven Eckelmann
On Friday, 18 September 2020 05:03:19 CEST Xiyu Yang wrote: > batadv_neigh_node_create() is used to create a neigh node object, whose > fields will be initialized with the specific object. When a new > reference of the specific object is created during the initialization, > its refcount should be

Re: [linux-next PATCH] rapidio: Fix error handling path

2020-09-18 Thread John Hubbard
On 9/17/20 7:21 PM, Souptick Joarder wrote: On Thu, Sep 17, 2020 at 11:17 PM John Hubbard wrote: ... I sort of feel like returning partial successes is not working. We could easily make a wrapper which either pins everything or it returns an error code. Yes we could. And I have the same

Re: [PATCH AUTOSEL 5.4 101/330] powerpc/powernv/ioda: Fix ref count for devices with their own PE

2020-09-18 Thread Frederic Barrat
Le 18/09/2020 à 03:57, Sasha Levin a écrit : From: Frederic Barrat [ Upstream commit 05dd7da76986937fb288b4213b1fa10dbe0d1b33 ] This patch is not desirable for stable, for 5.4 and 4.19 (it was already flagged by autosel back in April. Not sure why it's showing again now) Fred The

Re: [RFC PATCH V3 12/21] mmc: sdhci: UHS-II support, add hooks for additional operations

2020-09-18 Thread AKASHI Takahiro
Adrian, Ben, Regarding _set_ios() function, On Fri, Aug 21, 2020 at 05:08:32PM +0300, Adrian Hunter wrote: > On 10/07/20 2:10 pm, Ben Chuang wrote: > > From: Ben Chuang > > > > In this commit, UHS-II related operations will be called via a function > > pointer array, sdhci_uhs2_ops, in order

Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms

2020-09-18 Thread Sakari Ailus
Hi Dan, On Thu, Sep 17, 2020 at 01:49:41PM +0300, Dan Carpenter wrote: > On Thu, Sep 17, 2020 at 01:33:43PM +0300, Sakari Ailus wrote: > > > +static int connect_supported_devices(void) > > > +{ > > > + struct acpi_device *adev; > > > + struct device *dev; > > > + struct sensor_bios_data ssdb; > >

sound/soc/meson/t9015.c:315:34: warning: unused variable 't9015_ids'

2020-09-18 Thread kernel test robot
config: x86_64-randconfig-a011-20200918 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0ff28fa6a75617d61b1aeea77463d6a1684c3c89) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

[PATCH v5 01/17] Documentation: PCI: Add specification for the *PCI NTB* function device

2020-09-18 Thread Kishon Vijay Abraham I
Add specification for the *PCI NTB* function device. The endpoint function driver and the host PCI driver should be created based on this specification. Signed-off-by: Kishon Vijay Abraham I --- Documentation/PCI/endpoint/index.rst | 1 + .../PCI/endpoint/pci-ntb-function.rst

[PATCH v5 00/17] Implement NTB Controller using multiple PCI EP

2020-09-18 Thread Kishon Vijay Abraham I
This series is about implementing SW defined NTB using multiple endpoint instances. This series has been tested using 2 endpoint instances in J7 connected to J7 board on one end and DRA7 board on the other end. However there is nothing platform specific for the NTB functionality. This was

[PATCH v5 02/17] PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR

2020-09-18 Thread Kishon Vijay Abraham I
pci_epc_get_first_free_bar() uses only "reserved_bar" member in epc_features to get the first unreserved BAR. However if the reserved BAR is also a 64-bit BAR, then the next BAR shouldn't be returned (since 64-bit BAR uses two BARs). Make pci_epc_get_first_free_bar() take into account 64 bit BAR

[PATCH v5 03/17] PCI: endpoint: Add helper API to get the 'next' unreserved BAR

2020-09-18 Thread Kishon Vijay Abraham I
Add an API to get the next unreserved BAR starting from a given BAR number that can be used by the endpoint function. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epc-core.c | 26 ++ include/linux/pci-epc.h | 2 ++ 2 files changed, 24

[PATCH v5 04/17] PCI: endpoint: Make *_free_bar() to return error codes on failure

2020-09-18 Thread Kishon Vijay Abraham I
Modify pci_epc_get_next_free_bar() and pci_epc_get_first_free_bar() to return error values if there are no free BARs available. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/pci-epf-test.c | 2 ++ drivers/pci/endpoint/pci-epc-core.c | 12 ++--

Re: [PATCH v2] sched, mm: Optimize current_gfp_context()

2020-09-18 Thread Xu, Yanfei
Hi Waiman, On 8/12/20 6:29 AM, Andrew Morton wrote: On Thu, 18 Jun 2020 17:29:36 -0400 Waiman Long wrote: The current_gfp_context() converts a number of PF_MEMALLOC_* per-process flags into the corresponding GFP_* flags for memory allocation. In that function, current->flags is accessed 3

[PATCH v5 05/17] PCI: endpoint: Remove unused pci_epf_match_device()

2020-09-18 Thread Kishon Vijay Abraham I
Remove unused pci_epf_match_device() function added in pci-epf-core.c Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/pci-epf-core.c | 16 include/linux/pci-epf.h | 2 -- 2 files changed, 18 deletions(-) diff --git

[PATCH v5 07/17] PCI: endpoint: Add support in configfs to associate two EPCs with EPF

2020-09-18 Thread Kishon Vijay Abraham I
Now that PCI endpoint core supports to add secondary endpoint controller (EPC) with endpoint function (EPF), Add support in configfs to associate two EPCs with EPF. This creates "primary" and "secondary" directory inside the directory created by users for EPF device. Users have to add a symlink of

[PATCH v5 09/17] PCI: endpoint: Add pci_epf_ops for epf drivers to expose function specific attrs

2020-09-18 Thread Kishon Vijay Abraham I
In addition to the attributes that are generic across function drivers documented in Documentation/PCI/endpoint/pci-endpoint-cfs.rst, there could be function specific attributes that has to be exposed by the function driver to be configured by the user. Add ->add_cfs() in pci_epf_ops to be

[PATCH v5 08/17] PCI: endpoint: Add pci_epc_ops to map MSI irq

2020-09-18 Thread Kishon Vijay Abraham I
Add pci_epc_ops to map physical address to MSI address and return MSI data. The physical address is an address in the outbound region. This is required to implement doorbell functionality of NTB (non transparent bridge) wherein EPC on either side of the interface (primary and secondary) can

[PATCH v5 06/17] PCI: endpoint: Add support to associate secondary EPC with EPF

2020-09-18 Thread Kishon Vijay Abraham I
In the case of standard endpoint functions, only one endpoint controller (EPC) will be associated with an endpoint function (EPF). However for providing NTB (non transparent bridge) functionality, two EPCs should be associated with a single EPF. Add support to associate secondary EPC with EPF.

[PATCH v5 10/17] PCI: endpoint: Allow user to create sub-directory of 'EPF Device' directory

2020-09-18 Thread Kishon Vijay Abraham I
Documentation/PCI/endpoint/pci-endpoint-cfs.rst explains how a user has to create a directory in-order to create a 'EPF Device' that can be configured/probed by 'EPF Driver'. Allow user to create a sub-directory of 'EPF Device' directory for any function specific attributes that has to be exposed

[PATCH v5 13/17] PCI: Add TI J721E device to pci ids

2020-09-18 Thread Kishon Vijay Abraham I
Add TI J721E device to the pci id database. Since this device has a configurable PCIe endpoint, it could be used with different drivers. Signed-off-by: Kishon Vijay Abraham I --- drivers/misc/pci_endpoint_test.c | 1 - include/linux/pci_ids.h | 1 + 2 files changed, 1 insertion(+), 1

[PATCH v2] remoteproc/mediatek: Add support for mt8192 SCP

2020-09-18 Thread Pi-Hsun Shih
Add support for mt8192 SCP. Signed-off-by: Pi-Hsun Shih Reviewed-by: Tzung-Bi Shih --- Change since v1: * Remove unused register definitions. --- drivers/remoteproc/mtk_common.h | 32 + drivers/remoteproc/mtk_scp.c | 207 ++-

[PATCH v5 14/17] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-09-18 Thread Kishon Vijay Abraham I
Add support for EPF PCI-Express Non-Transparent Bridge (NTB) device. This driver is platform independent and could be used by any platform which have multiple PCIe endpoint instances configured using the pci-epf-ntb driver. The driver connnects to the standard NTB sub-system interface. The EPF NTB

[PATCH v5 11/17] PCI: cadence: Implement ->msi_map_irq() ops

2020-09-18 Thread Kishon Vijay Abraham I
Implement ->msi_map_irq() ops in order to map physical address to MSI address and return MSI data. Signed-off-by: Kishon Vijay Abraham I --- .../pci/controller/cadence/pcie-cadence-ep.c | 50 +++ drivers/pci/endpoint/pci-epc-core.c | 7 ++- include/linux/pci-epc.h

[PATCH v5 12/17] PCI: endpoint: Add EP function driver to provide NTB functionality

2020-09-18 Thread Kishon Vijay Abraham I
Add a new endpoint function driver to provide NTB functionality using multiple PCIe endpoint instances. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/Kconfig | 12 + drivers/pci/endpoint/functions/Makefile |1 +

[PATCH v5 15/17] NTB: tool: Enable the NTB/PCIe link on the local or remote side of bridge

2020-09-18 Thread Kishon Vijay Abraham I
Invoke ntb_link_enable() to enable the NTB/PCIe link on the local or remote side of the bridge. Signed-off-by: Kishon Vijay Abraham I --- drivers/ntb/test/ntb_tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ntb/test/ntb_tool.c b/drivers/ntb/test/ntb_tool.c index

[PATCH v5 17/17] Documentation: PCI: Add userguide for PCI endpoint NTB function

2020-09-18 Thread Kishon Vijay Abraham I
Add documentation to help users use pci-epf-ntb function driver and existing host side NTB infrastructure for NTB functionality. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Randy Dunlap --- Documentation/PCI/endpoint/index.rst | 1 +

[PATCH v5 16/17] Documentation: PCI: Add configfs binding documentation for pci-ntb endpoint function

2020-09-18 Thread Kishon Vijay Abraham I
Add binding documentation for pci-ntb endpoint function that helps in adding and configuring pci-ntb endpoint function. Signed-off-by: Kishon Vijay Abraham I --- .../PCI/endpoint/function/binding/pci-ntb.rst | 38 +++ Documentation/PCI/endpoint/index.rst | 1 + 2 files

Re: [PATCH v6 5/8] crypto: testmgr - support test with different ciphertext per encryption

2020-09-18 Thread Herbert Xu
On Thu, Sep 03, 2020 at 09:12:39PM +0800, Tianjia Zhang wrote: > Some asymmetric algorithms will get different ciphertext after > each encryption, such as SM2, and let testmgr support the testing > of such algorithms. > > In struct akcipher_testvec, set c and c_size to be empty, skip > the

Re: [PATCH v2] software_node: Add support for fwnode_graph*() family of functions

2020-09-18 Thread Dan Scally
Good morning On 18/09/2020 07:22, Sakari Ailus wrote: > Hi Dan, > > On Wed, Sep 16, 2020 at 02:22:10PM +0100, Dan Scally wrote: >> Hi Sakari - thanks for the comments >> >> On 16/09/2020 10:17, Sakari Ailus wrote: >>> Moi Daniel and Heikki, >>> >>> On Wed, Sep 16, 2020 at 12:28:27AM +0100, Daniel

Re: [PATCH AUTOSEL 5.4 041/330] USB: serial: mos7840: fix probe error handling

2020-09-18 Thread Johan Hovold
On Thu, Sep 17, 2020 at 09:56:21PM -0400, Sasha Levin wrote: > From: Johan Hovold > > [ Upstream commit 960fbd1ca584a5b4cd818255769769d42bfc6dbe ] > > The driver would return success and leave the port structures > half-initialised if any of the register accesses during probe fails. > > This

Re: [PATCH v6 0/7] perf: Stream comparison

2020-09-18 Thread Jin, Yao
Hi Arnaldo, On 9/18/2020 4:13 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Sep 17, 2020 at 03:05:56PM +0200, Jiri Olsa escreveu: On Fri, Sep 11, 2020 at 04:03:46PM +0800, Jin Yao wrote: SNIP main div.c:40 main div.c:40 main

RE: [PATCH] net: phy: realtek: fix rtl8211e rx/tx delay config

2020-09-18 Thread 劉偉權
Hi Serge, Thanks for your reply. There is a confidential issue that realtek doesn't offer the detail of a full register layout for configuration register. The default setting for this configuration register should be 0x8148. Basically, no need to change it. If you need to enable RGMII RX Delay

Re: [PATCH v13 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-09-18 Thread Ramuthevar, Vadivel MuruganX
Hi Andy, Thank you for the review comments... On 17/9/2020 9:05 pm, Andy Shevchenko wrote: On Thu, Sep 17, 2020 at 08:33:08AM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan This patch adds the new IP of Nand Flash Controller(NFC) support on Intel's Lightning

Re: [PATCH v6 7/7] perf diff: Support hot streams comparison

2020-09-18 Thread Jin, Yao
Hi Arnaldo, On 9/18/2020 4:26 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Sep 11, 2020 at 04:03:53PM +0800, Jin Yao escreveu: This patch enables perf-diff with "--stream" option. "--stream": Enable hot streams comparison Now let's see examples. perf record -b ... Generate perf.data.old

Re: [PATCH v2] dt-bindings: mfd: rohm,bd71837-pmic: Add common properties

2020-09-18 Thread Krzysztof Kozlowski
On Fri, 18 Sep 2020 at 07:48, Vaittinen, Matti wrote: > > Hi d Ho peeps! > > On Thu, 2020-09-17 at 21:37 +0200, Krzysztof Kozlowski wrote: > > Add common properties appearing in DTSes (clock-names, > > clock-output-names) with the common values (actually used in DTSes) > > to > > fix

RE: [PATCH 1/2] media: i2c: Add driver for the Analog Devices ADDI9036 ToF front-end

2020-09-18 Thread Togorean, Bogdan
Hi Laurent, > > Hi Bogdan, > > On Thu, Sep 17, 2020 at 07:06:10AM +, Togorean, Bogdan wrote: > > Hi Laurent and Sakari, > > Thank you for your review, > > > Hi Bogdan, > > > > > > On Fri, Sep 11, 2020 at 01:32:39PM +, Togorean, Bogdan wrote: > > > > > On Thu, Sep 10, 2020 at 07:24:06PM

Re: [PATCH] dmaengine: sf-pdma: remove unused 'desc'

2020-09-18 Thread Vinod Koul
On 14-09-20, 11:23, Vinod Koul wrote: > 'desc' variable is now defined but not used in sf_pdma_donebh_tasklet(), > causing this warning: > > drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_donebh_tasklet': > drivers/dma/sf-pdma/sf-pdma.c:287:23: warning: unused variable 'desc' >

Re: [patch 09/10] sched/core: Add migrate_disable/enable()

2020-09-18 Thread Thomas Gleixner
On Thu, Sep 17 2020 at 16:24, peterz wrote: > On Thu, Sep 17, 2020 at 11:42:11AM +0200, Thomas Gleixner wrote: > >> +static inline void update_nr_migratory(struct task_struct *p, long delta) >> +{ >> +if (p->nr_cpus_allowed > 1 && p->sched_class->update_migratory) >> +

Re: [PATCH v6 1/4] KEYS: trusted: Add generic trusted keys framework

2020-09-18 Thread Sumit Garg
On Thu, 17 Sep 2020 at 21:55, Jarkko Sakkinen wrote: > > On Thu, Sep 17, 2020 at 07:21:49PM +0300, Jarkko Sakkinen wrote: > > On Thu, Sep 17, 2020 at 07:16:35PM +0530, Sumit Garg wrote: > > > Current trusted keys framework is tightly coupled to use TPM device as > > > an underlying implementation

Re: [PATCH -next] dmaengine: mediatek: simplify the return expression of mtk_uart_apdma_runtime_resume()

2020-09-18 Thread Vinod Koul
On 15-09-20, 11:26, Liu Shixin wrote: > Simplify the return expression. > Applied, thanks -- ~Vinod

Re: [PATCH -next] dmaengine: sf-pdma: Remove set but not used variable "desc"

2020-09-18 Thread Vinod Koul
On 17-09-20, 15:17, Liu Shixin wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/dma/sf-pdma/sf-pdma.c: In function 'sf_pdma_donebh_tasklet': > drivers/dma/sf-pdma/sf-pdma.c:287:23: warning: unused variable 'desc' > [-Wunused-variable] > > After commit 8f6b6d060602

Re: [PATCH 3/3] crypto: hisilicon/hpre - fix a bug in dh algorithm

2020-09-18 Thread Herbert Xu
On Thu, Sep 10, 2020 at 07:25:22PM +0800, Meng Yu wrote: > > diff --git a/drivers/crypto/hisilicon/hpre/hpre_crypto.c > b/drivers/crypto/hisilicon/hpre/hpre_crypto.c > index 0cbe99a1..2d91593 100644 > --- a/drivers/crypto/hisilicon/hpre/hpre_crypto.c > +++

Re: [PATCH v2] EDAC/mc_sysfs: Add missing newlines when printing {max,dimm}_location

2020-09-18 Thread Borislav Petkov
On Fri, Sep 18, 2020 at 10:37:28AM +0800, Xiongfeng Wang wrote: > Thansk a lot. I will send another version. Also I will change the > 'snprintf' in 'dimmdev_location_show()' to 'scnprintf' No need to send another one - I have everything locally and just amended it. Thx. -- Regards/Gruss,

[PATCH] scsi: 53c700: Remove set but not used variable

2020-09-18 Thread Zheng Yongjun
Fixes gcc '-Wunused-but-set-variable' warning: drivers/scsi/53c700.c: In function NCR_700_intr: drivers/scsi/53c700.c:1488:27: warning: variable ‘state’ set but not used [-Wunused-but-set-variable] drivers/scsi/53c700.c: In function NCR_700_queuecommand_lck: drivers/scsi/53c700.c:1742:26:

Re: [PATCH 2/2] serial: core: fix console port-lock regression

2020-09-18 Thread Tony Lindgren
* Andy Shevchenko [200916 12:34]: > On Mon, Sep 14, 2020 at 11:09:16AM +0300, Tony Lindgren wrote: > > * Andy Shevchenko [200910 09:27]: > > > +Cc: Tony, let me add Tony to the discussion. > > > > > > On Thu, Sep 10, 2020 at 09:35:27AM +0200, Johan Hovold wrote: > > > > And what about power

[PATCH] net: openswitch: reuse the helper variable to improve the code readablity

2020-09-18 Thread Zeng Tao
In the function ovs_ct_limit_exit, there is already a helper vaibale which could be reused to improve the readability, so i fix it in this patch. Signed-off-by: Zeng Tao --- net/openvswitch/conntrack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH -next] rapidio: Remove set but not used variable 'rc'

2020-09-18 Thread Zheng Yongjun
Fixes gcc '-Wunused-but-set-variable' warning: drivers/rapidio/rio_cm.c: In function rio_txcq_handler: drivers/rapidio/rio_cm.c:673:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] rc is never used, so remove it. Signed-off-by: Zheng Yongjun --- drivers/rapidio/rio_cm.c

[PATCH -next] rapidio: Remove set but not used variable 'rc'

2020-09-18 Thread Zheng Yongjun
Fixes gcc '-Wunused-but-set-variable' warning: drivers/rapidio/rio_cm.c: In function rio_txcq_handler: drivers/rapidio/rio_cm.c:673:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] rc is never used, so remove it. Signed-off-by: Zheng Yongjun --- drivers/rapidio/rio_cm.c

RE: [PATCH AUTOSEL 5.4 265/330] drm/amd/powerplay: try to do a graceful shutdown on SW CTF

2020-09-18 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Hi @Sasha Levin @Deucher, Alexander, The following changes need to be applied also. Otherwise, you may see unexpected shutdown on stress gpu loading on Vega10. drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting

[PATCH -next] rapidio: Remove set but not used variable 'rc'

2020-09-18 Thread Zheng Yongjun
Fixes gcc '-Wunused-but-set-variable' warning: drivers/rapidio/rio_cm.c: In function rio_txcq_handler: drivers/rapidio/rio_cm.c:673:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] rc is never used, so remove it. Signed-off-by: Zheng Yongjun --- drivers/rapidio/rio_cm.c

linux-next: build warning after merge of the v4l-dvb-fixes tree

2020-09-18 Thread Stephen Rothwell
Hi all, After merging the v4l-dvb-fixes tree, today's linux-next build (htmldocs) produced this warning: Documentation/userspace-api/media/v4l/buffer.rst:692: WARNING: The "flat-table" directive is empty; content required. .. flat-table:: :header-rows: 0 :stub-columns: 0 :widths:

Re: [PATCH v4 2/3] Documentation: ABI: testing: mt6360: Add ADC sysfs guideline

2020-09-18 Thread Gene Chen
Jonathan Cameron 於 2020年9月18日 週五 上午1:43寫道: > > On Wed, 16 Sep 2020 01:36:08 +0800 > Gene Chen wrote: > > > From: Gene Chen > > > > Add ABI documentation for mt6360 ADC sysfs interfaces. > > > > Signed-off-by: Gene Chen > Would you consider using the proposed label attribute for channels? > >

Re: [PATCH RFC 1/4] mm/page_alloc: convert "report" flag of __free_one_page() to a proper flag

2020-09-18 Thread David Hildenbrand
On 18.09.20 03:53, Wei Yang wrote: > On Wed, Sep 16, 2020 at 08:34:08PM +0200, David Hildenbrand wrote: >> Let's prepare for additional flags and avoid long parameter lists of bools. >> Follow-up patches will also make use of the flags in __free_pages_ok(), >> however, I wasn't able to come up

[PATCH v7 05/17] crypto: sun8i-ss: Add more comment on some structures

2020-09-18 Thread Corentin Labbe
This patch adds some comment on structures used by sun8i-ss. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h index

[PATCH v7 00/17] crypto: allwinner: add xRNG and hashes

2020-09-18 Thread Corentin Labbe
Hello The main goal of this serie is to add support for TRNG, PRNG and hashes to the sun8i-ss/sun8i-ce driver. The whole serie is tested with CRYPTO_EXTRA_TESTS enabled and loading tcrypt. The PRNG and TRNG are tested with rngtest. Both LE and BE kernel are tested. This serie was tested on: -

[PATCH v7 17/17] crypto: sun8i-ss: fix comparison of integer expressions of different signedness

2020-09-18 Thread Corentin Labbe
This patch fixes the warning: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH] block/rnbd: send_msg_close if any error occurs after send_msg_open

2020-09-18 Thread Gioh Kim
From: Gioh Kim After send_msg_open is done, send_msg_close should be done if any error occurs and it is necessary to recover what has been done. Signed-off-by: Gioh Kim --- drivers/block/rnbd/rnbd-clt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v7 16/17] crypto: sun8i-ce: fix comparison of integer expressions of different signedness

2020-09-18 Thread Corentin Labbe
This patch fixes the warning: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH v7 14/17] crypto: sun8i-ce: Add support for the PRNG

2020-09-18 Thread Corentin Labbe
This patch had support for the PRNG present in the CE. The output was tested with rngtest without any failure. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 8 + drivers/crypto/allwinner/sun8i-ce/Makefile| 1 +

[PATCH v7 07/17] crypto: sun8i-ce: handle endianness of t_common_ctl

2020-09-18 Thread Corentin Labbe
t_common_ctl is LE32 so we need to convert its value before using it. This value is only used on H6 (ignored on other SoCs) and not handling the endianness cause failure on xRNG/hashes operations on H6 when running BE. Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")

[PATCH v7 11/17] crypto: sun8i-ce: rename has_t_dlen_in_bytes to cipher_t_dlen_in_bytes

2020-09-18 Thread Corentin Labbe
Hash algorithms will need also a spetial t_dlen handling, but since the meaning will be different, rename the current flag to specify it apply only on ciphers algorithms. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 2 +-

[PATCH v7 02/17] crypto: sun8i-ss: Add support for the PRNG

2020-09-18 Thread Corentin Labbe
This patch had support for the PRNG present in the SS. The output was tested with rngtest without any failure. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 8 + drivers/crypto/allwinner/sun8i-ss/Makefile| 1 +

[PATCH v7 15/17] crypto: sun8i-ce: Add support for the TRNG

2020-09-18 Thread Corentin Labbe
This patch had support for the TRNG present in the CE. Note that according to the algorithm ID, 2 version of the TRNG exists, the first present in H3/H5/R40/A64 and the second present in H6. This patch adds support for both, but only the second is working reliabily according to rngtest.

[PATCH v7 06/17] crypto: sun8i-ss: better debug printing

2020-09-18 Thread Corentin Labbe
This patch reworks the way debug info are printed. Instead of printing raw numbers, let's add a bit of context. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v7 03/17] crypto: sun8i-ss: support hash algorithms

2020-09-18 Thread Corentin Labbe
The SS support multiples hash algorithms, this patch adds support for MD5, SHA1, SHA224 and SHA256. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 9 + drivers/crypto/allwinner/sun8i-ss/Makefile| 1 + .../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 155

[PATCH v7 04/17] crypto: sun8i-ss: fix a trivial typo

2020-09-18 Thread Corentin Labbe
This fixes a trivial typo. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h index

[PATCH v7 10/17] crypto: sun8i-ce: handle different error registers

2020-09-18 Thread Corentin Labbe
Error registers are different across SoCs. This patch handle those difference. Signed-off-by: Corentin Labbe --- .../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 62 --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 8 +++ 2 files changed, 62 insertions(+), 8 deletions(-)

[PATCH v7 12/17] crypto: sun8i-ce: support hash algorithms

2020-09-18 Thread Corentin Labbe
The CE support multiples hash algorithms, this patch adds support for MD5, SHA1, SHA224, SHA256, SHA384 and SHA512. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 10 + drivers/crypto/allwinner/sun8i-ce/Makefile| 1 +

[PATCH v7 01/17] crypto: sun8i-ss: Add SS_START define

2020-09-18 Thread Corentin Labbe
Instead of using an hardcoded value, let's use a defined value for SS_START. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 2 +- drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v7 13/17] crypto: sun8i-ce: Add stat_bytes debugfs

2020-09-18 Thread Corentin Labbe
This patch adds a new stat_bytes counter in the sun8i-ce debugfs. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h

[PATCH v7 09/17] crypto: sun8i-ce: split into prepare/run/unprepare

2020-09-18 Thread Corentin Labbe
This patch split the do_one_request into three. Prepare will handle all DMA mapping and initialisation of the task structure. Unprepare will clean all DMA mapping. And the do_one_request will be limited to just executing the task. Signed-off-by: Corentin Labbe ---

[PATCH v7 08/17] crypto: sun8i-ce: move iv data to request context

2020-09-18 Thread Corentin Labbe
Instead of storing IV data in the channel context, store them in the request context. Storing them in the channel structure was conceptualy wrong since they are per request related. Signed-off-by: Corentin Labbe --- .../allwinner/sun8i-ce/sun8i-ce-cipher.c | 27 +--

Re: [PATCH -next] dmaengine: iop-adma: Fix pointer cast warnings

2020-09-18 Thread Vinod Koul
On 18-08-20, 19:51, YueHaibing wrote: > drivers/dma/iop-adma.c: In function ‘iop_adma_alloc_chan_resources’: > drivers/dma/iop-adma.c:447:13: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] >hw_desc = (char *) iop_chan->device->dma_desc_pool; > ^

Re: [PATCH v12 3/9] x86: kdump: use macro CRASH_ADDR_LOW_MAX in functions reserve_crashkernel[_low]()

2020-09-18 Thread Baoquan He
Hi, On 09/07/20 at 09:47pm, Chen Zhou wrote: > To make the functions reserve_crashkernel[_low]() as generic, > replace some hard-coded numbers with macro CRASH_ADDR_LOW_MAX. > > Signed-off-by: Chen Zhou > --- > arch/x86/kernel/setup.c | 11 ++- > 1 file changed, 6 insertions(+), 5

RE: [PATCH v10 1/3] dt-bindings: drm/bridge: Document Cadence MHDP8546 bridge bindings

2020-09-18 Thread Swapnil Kashinath Jakhade
Hi Tomi, > -Original Message- > From: Tomi Valkeinen > Sent: Wednesday, September 16, 2020 5:48 PM > To: Swapnil Kashinath Jakhade ; airl...@linux.ie; > dan...@ffwll.ch; laurent.pinch...@ideasonboard.com; robh...@kernel.org; > a.ha...@samsung.com; narmstr...@baylibre.com;

Re: [PATCH RFC 2/4] mm/page_alloc: place pages to tail in __putback_isolated_page()

2020-09-18 Thread David Hildenbrand
On 18.09.20 04:07, Wei Yang wrote: > On Wed, Sep 16, 2020 at 08:34:09PM +0200, David Hildenbrand wrote: >> __putback_isolated_page() already documents that pages will be placed to >> the tail of the freelist - this is, however, not the case for >> "order >= MAX_ORDER - 2" (see

Re: [PATCH v2 00/10] crypto: hisilicon/zip - misc clean up

2020-09-18 Thread Herbert Xu
On Mon, Sep 07, 2020 at 04:21:52PM +0800, Yang Shen wrote: > This patchset make some clean up: > patch 1:remove useless parameters > patch 4:replace 'sprintf' with 'scnprintf' > patch 7:fix static check warning > and the rest patch fix some coding style > > v2: > - remove the return check of

Re: [PATCH RFC 2/4] mm/page_alloc: place pages to tail in __putback_isolated_page()

2020-09-18 Thread David Hildenbrand
On 18.09.20 04:16, Wei Yang wrote: > On Wed, Sep 16, 2020 at 08:34:09PM +0200, David Hildenbrand wrote: >> __putback_isolated_page() already documents that pages will be placed to >> the tail of the freelist - this is, however, not the case for >> "order >= MAX_ORDER - 2" (see

  1   2   3   4   5   6   7   8   9   10   >