Re: [PATCH v11 04/11] PCI: brcmstb: Add suspend and resume pm_ops

2020-09-10 Thread Florian Fainelli
On 9/10/2020 8:56 AM, Rob Herring wrote: On Mon, Aug 24, 2020 at 03:30:17PM -0400, Jim Quinlan wrote: From: Jim Quinlan Broadcom Set-top (BrcmSTB) boards typically support S2, S3, and S5 suspend and resume. Now the PCIe driver may do so as well. Signed-off-by: Jim Quinlan Acked-by:

[PATCH v3 2/8] dt-bindings: net: nfc: s3fwrn5: Remove wrong vendor prefix from GPIOs

2020-09-10 Thread Krzysztof Kozlowski
The device tree property prefix describes the vendor, which in case of S3FWRN5 chip is Samsung. Therefore the "s3fwrn5" prefix for "en-gpios" and "fw-gpios" is not correct and should be deprecated. Introduce properly named properties for these GPIOs and rename the fw-gpios" to "wake-gpios" to

[PATCH v3 3/8] nfc: s3fwrn5: Remove wrong vendor prefix from GPIOs

2020-09-10 Thread Krzysztof Kozlowski
The device tree property prefix describes the vendor, which in case of S3FWRN5 chip is Samsung. Therefore the "s3fwrn5" prefix for "en-gpios" and "fw-gpios" is not correct and should be deprecated. Introduce properly named properties for these GPIOs but still support deprecated ones.

[PATCH v3 4/8] nfc: s3fwrn5: Remove unneeded 'ret' variable

2020-09-10 Thread Krzysztof Kozlowski
The local variable 'ret' can be removed: drivers/nfc/s3fwrn5/i2c.c:167:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] Signed-off-by: Krzysztof Kozlowski --- drivers/nfc/s3fwrn5/i2c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCHv7 02/12] PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode

2020-09-10 Thread Rob Herring
On Tue, Aug 11, 2020 at 05:54:31PM +0800, Zhiqiang Hou wrote: > From: Xiaowei Bao > > Add the doorbell mode of MSI-X in DWC EP driver. > > Signed-off-by: Xiaowei Bao > Reviewed-by: Andrew Murray > Signed-off-by: Hou Zhiqiang > --- > V7: > - Rebase the patch without functionality change. >

[PATCH 03/11] habanalabs: refactor MMU as device-oriented

2020-09-10 Thread Oded Gabbay
From: Moti Haimovski As preparation to MMU v2, rework MMU to be device oriented instantiated according to the device in hand. Signed-off-by: Moti Haimovski Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/Makefile | 2 +-

[PATCH 01/11] habanalabs: use smallest possible alignment for virtual addresses

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Change the acquiring of a device virtual address for mapping by using the smallest possible alignment, rather than the biggest, depending on the page size used by the user for allocating the memory. This will lower the virtual space memory consumption. Signed-off-by: Omer

[PATCH 02/11] habanalabs: rename mmu.c to mmu_v1.c

2020-09-10 Thread Oded Gabbay
From: Moti Haimovski In the future we will have MMU v2 code, so we need to prepare the driver for it. The first step is to rename the current MMU file to mmu_v1.c. Signed-off-by: Moti Haimovski Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/Makefile

Re: [PATCH v13 0/5] KASAN-KUnit Integration

2020-09-10 Thread Andrey Konovalov
On Thu, Sep 10, 2020 at 9:03 AM David Gow wrote: > > This patchset contains everything needed to integrate KASAN and KUnit. > > KUnit will be able to: > (1) Fail tests when an unexpected KASAN error occurs > (2) Pass tests when an expected KASAN error occurs > > Convert KASAN tests to KUnit with

[PATCH 04/11] habanalabs: add num_hops to hl_mmu_properties

2020-09-10 Thread Oded Gabbay
From: Moti Haimovski This commit adds the number of HOPs supported by the device to the device MMU properties. Signed-off-by: Moti Haimovski Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/habanalabs.h | 6 ++

drivers/bluetooth/hci_qca.c:1692:35: warning: unused variable 'qca_soc_data_wcn3990'

2020-09-10 Thread kernel test robot
date: 5 months ago config: x86_64-randconfig-a016-20200910 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 0a5dc7effb191eff740e0e7ae7bd8e1f6bdb3ad9) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master

[PATCH v3 0/2] Introduce the BQ256XX family of chargers

2020-09-10 Thread Ricardo Rivera-Matos
Hello, This patchset introduces the bq256xx family of charging ICs. The bq256xx ICs are highly integrated, buck, switching chargers intended for use in smartphones, tablets, and portable electronics. Ricardo Rivera-Matos (2): dt-bindings: power: Add the bq256xx dt bindings power: supply:

Re: [PATCHv7 12/12] misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers

2020-09-10 Thread Rob Herring
On Tue, 11 Aug 2020 17:54:41 +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The commit 0a121f9bc3f5 ("misc: pci_endpoint_test: Use streaming DMA > APIs for buffer allocation") changed to use streaming DMA APIs, however, > dma_map_single() might not return a 4KB aligned address, so add the >

Re: [PATCH 1/4] dt-bindings: spi: Add compatible string for brcmstb SoCs

2020-09-10 Thread Florian Fainelli
On 9/10/2020 8:25 AM, Ray Jui wrote: Add compatible string for brcmstb 7445 SoCs. Signed-off-by: Ray Jui Acked-by: Florian Fainelli -- Florian

Re: [RFC PATCH v9 0/3] Add introspect_access(2) (was O_MAYEXEC)

2020-09-10 Thread Matthew Wilcox
On Thu, Sep 10, 2020 at 08:38:21PM +0200, Mickaël Salaün wrote: > There is also the use case of noexec mounts and file permissions. From > user space point of view, it doesn't matter which kernel component is in > charge of defining the policy. The syscall should then not be tied with > a

Re: [RFC PATCH] x86/mce: Make mce_rdmsrl() do a plain RDMSR only

2020-09-10 Thread Luck, Tony
On Thu, Sep 10, 2020 at 08:29:19PM +0200, Borislav Petkov wrote: > Ok, with all those changes, I don't think the following nice and juicy > message can be overlooked: > > [ 32.267830] mce: MSR access error: RDMSR from 0x1234 at rIP: > 0x8102ed62 (mce_rdmsrl+0x12/0x50) With only one

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-09-10 Thread Sam Ravnborg
Hi Laurentiu > > > I've tested this together with a hacked up eDP bridge driver stack on > > > my boards. The testing hasn't been really in-depth, but things seem to > > > work fine. I have now pushed the whole series into drm-misc-next. > > > > Something doesn't compile too well > > > > ERROR:

Re: [PATCH 2/4] spi: bcm-qspi: Add compatible string for BRCMSTB 7445 SoCs

2020-09-10 Thread Florian Fainelli
On 9/10/2020 8:25 AM, Ray Jui wrote: Add compatible string for BRCMSTB 7445 SoCs and indicate it has MSPI rev support. Signed-off-by: Ray Jui Acked-by: Florian Fainelli -- Florian

Re: [PATCH 4/4] spi: bcm-qspi: Clean up 7425, 7429, and 7435 settings

2020-09-10 Thread Florian Fainelli
On 9/10/2020 8:25 AM, Ray Jui wrote: The Broadcom QSPI driver now falls back to no MSPI_DEV support as the default setting in the generic compatible string, explicit settings for STB chips 7425, 7429, and 7435 can be removed. Signed-off-by: Ray Jui Acked-by: Florian Fainelli -- Florian

Re: [PATCH 3/4] spi: bcm-qspi: Fix probe regression on iProc platforms

2020-09-10 Thread Florian Fainelli
On 9/10/2020 8:25 AM, Ray Jui wrote: iProc chips have QSPI controller that does not have the MSPI_REV offset. Reading from that offset will cause a bus error. Fix it by having MSPI_REV query disabled in the generic compatible string. Fixes: 3a01f04d74ef ("spi: bcm-qspi: Handle lack of

[PATCH -v2] x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR

2020-09-10 Thread Borislav Petkov
From: Borislav Petkov If an exception needs to be handled while reading an MSR - which is in most of the cases caused by a #GP on a non-existent MSR - then this is most likely the incarnation of a BIOS or a hardware bug. Such bug violates the architectural guarantee that MSR banks are present

[PATCH v2 3/8] mm: Optimise madvise WILLNEED

2020-09-10 Thread Matthew Wilcox (Oracle)
Instead of calling find_get_entry() for every page index, use an XArray iterator to skip over NULL entries, and avoid calling get_page(), because we only want the swap entries. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Johannes Weiner --- mm/madvise.c | 21 - 1 file

Re: [RFC PATCH v9 0/3] Add introspect_access(2) (was O_MAYEXEC)

2020-09-10 Thread Mickaël Salaün
On 10/09/2020 20:08, Mimi Zohar wrote: > On Thu, 2020-09-10 at 19:21 +0200, Mickaël Salaün wrote: >> On 10/09/2020 19:04, Matthew Wilcox wrote: >>> On Thu, Sep 10, 2020 at 06:46:09PM +0200, Mickaël Salaün wrote: This ninth patch series rework the previous AT_INTERPRETED and O_MAYEXEC

[PATCH v2 8/8] mm: Add find_lock_head

2020-09-10 Thread Matthew Wilcox (Oracle)
Add a new FGP_HEAD flag which avoids calling find_subpage() and add a convenience wrapper for it. Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/pagemap.h | 32 ++-- mm/filemap.c| 9 ++--- 2 files changed, 32 insertions(+), 9 deletions(-)

[PATCH v2 6/8] mm: Convert find_get_entry to return the head page

2020-09-10 Thread Matthew Wilcox (Oracle)
There are only four callers remaining of find_get_entry(). get_shadow_from_swap_cache() only wants to see shadow entries and doesn't care about which page is returned. Push the find_subpage() call into find_lock_entry(), find_get_incore_page() and pagecache_get_page(). Signed-off-by: Matthew

[PATCH v2 5/8] i915: Use find_lock_page instead of find_lock_entry

2020-09-10 Thread Matthew Wilcox (Oracle)
i915 does not want to see value entries. Switch it to use find_lock_page() instead, and remove the export of find_lock_entry(). Move find_lock_entry() and find_get_entry() to mm/internal.h to discourage any future use. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Johannes Weiner ---

Re: [PATCH v3 12/14] dt-bindings: mtd: gpmi-nand: Fix matching of clocks on different SoCs

2020-09-10 Thread Krzysztof Kozlowski
On Tue, 8 Sep 2020 at 18:51, Rob Herring wrote: > > On Mon, Sep 7, 2020 at 12:10 AM Krzysztof Kozlowski wrote: > > > > On Fri, Sep 04, 2020 at 04:36:39PM -0600, Rob Herring wrote: > > > On Fri, Sep 4, 2020 at 9:25 AM Krzysztof Kozlowski > > > wrote: > > > > > > > > Driver requires different

Re: [PATCH net-next + leds v2 6/7] net: phy: marvell: add support for LEDs controlled by Marvell PHYs

2020-09-10 Thread Russell King - ARM Linux admin
On Thu, Sep 10, 2020 at 08:31:54PM +0200, Andrew Lunn wrote: > Generally the driver will default to the hardware reset blink > pattern. There are a few PHY drivers which change this at probe, but > not many. The silicon defaults are pretty good. The "right" blink pattern can be a matter of how

[PATCH v2 2/8] mm: Use find_get_incore_page in memcontrol

2020-09-10 Thread Matthew Wilcox (Oracle)
The current code does not protect against swapoff of the underlying swap device, so this is a bug fix as well as a worthwhile reduction in code complexity. Signed-off-by: Matthew Wilcox (Oracle) --- mm/memcontrol.c | 24 ++-- 1 file changed, 2 insertions(+), 22 deletions(-)

[PATCH v2 0/8] Return head pages from find_*_entry

2020-09-10 Thread Matthew Wilcox (Oracle)
This patch series started out as part of the THP patch set, but it has some nice effects along the way and it seems worth splitting it out and submitting separately. Currently find_get_entry() and find_lock_entry() return the page corresponding to the requested index, but the first thing most

[PATCH v2 4/8] proc: Optimise smaps for shmem entries

2020-09-10 Thread Matthew Wilcox (Oracle)
Avoid bumping the refcount on pages when we're only interested in the swap entries. Signed-off-by: Matthew Wilcox (Oracle) Acked-by: Johannes Weiner --- fs/proc/task_mmu.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index

[PATCH v2 1/8] mm: Factor find_get_incore_page out of mincore_page

2020-09-10 Thread Matthew Wilcox (Oracle)
Provide this functionality from the swap cache. It's useful for more than just mincore(). Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/swap.h | 7 +++ mm/mincore.c | 28 ++-- mm/swap_state.c | 32 3 files

Re: [PATCH v3 06/17] virt: acrn: Introduce VM management interfaces

2020-09-10 Thread Reinette Chatre
Hi Shuo and Greg, On 9/10/2020 9:28 AM, Greg Kroah-Hartman wrote: > On Thu, Sep 10, 2020 at 02:19:00PM +0800, Shuo A Liu wrote: >> On Wed 9.Sep'20 at 11:45:16 +0200, Greg Kroah-Hartman wrote: >>> On Wed, Sep 09, 2020 at 05:08:25PM +0800, shuo.a@intel.com wrote: ... /** *

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

2020-09-10 Thread Linus Torvalds
On Thu, Sep 10, 2020 at 11:13 AM Jason Gunthorpe wrote: > > So.. To change away from the stack option I think we'd have to pass > the READ_ONCE value to pXX_offset() as an extra argument instead of it > derefing the pointer internally. Yeah, but I think that would actually be the better model

[PATCH v2 7/8] mm/shmem: Return head page from find_lock_entry

2020-09-10 Thread Matthew Wilcox (Oracle)
Convert shmem_getpage_gfp() (the only remaining caller of find_lock_entry()) to cope with a head page being returned instead of the subpage for the index. Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/pagemap.h | 9 + mm/filemap.c| 25 +++--

[PATCH v3 2/4] dt-bindings: i2c: imx-lpi2c: Fix i.MX 8QXP compatible matching

2020-09-10 Thread Krzysztof Kozlowski
The i.MX 8QXP DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: i2c@5a82: compatible: ['fsl,imx8qxp-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH net-next + leds v2 6/7] net: phy: marvell: add support for LEDs controlled by Marvell PHYs

2020-09-10 Thread Andrew Lunn
On Thu, Sep 10, 2020 at 08:24:34PM +0200, Pavel Machek wrote: > On Thu 2020-09-10 15:15:41, Andrew Lunn wrote: > > On Thu, Sep 10, 2020 at 02:23:41PM +0200, Pavel Machek wrote: > > > On Wed 2020-09-09 18:25:51, Marek Behún wrote: > > > > This patch adds support for controlling the LEDs connected

Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Nishanth Menon
On 19:57-20200910, Krzysztof Kozlowski wrote: [...] > + wakeup-source: > +$ref: /schemas/types.yaml#/definitions/flag > + > +patternProperties: > + "^(hog-[0-9]+|.+-hog(-[0-9]+)?)$": I wonder if "hog" is too generic and might clash with "something-ho

Re: [PATCH v2 05/28] objtool: Add a pass for generating __mcount_loc

2020-09-10 Thread Kees Cook
On Fri, Sep 04, 2020 at 11:31:04AM +0200, pet...@infradead.org wrote: > On Thu, Sep 03, 2020 at 03:03:30PM -0700, Sami Tolvanen wrote: > > On Thu, Sep 3, 2020 at 2:51 PM Kees Cook wrote: > > > > > > On Thu, Sep 03, 2020 at 01:30:30PM -0700, Sami Tolvanen wrote: > > > > From: Peter Zijlstra > > >

Re: [RFC PATCH] x86/mce: Make mce_rdmsrl() do a plain RDMSR only

2020-09-10 Thread Borislav Petkov
Ok, with all those changes, I don't think the following nice and juicy message can be overlooked: [ 32.267830] mce: MSR access error: RDMSR from 0x1234 at rIP: 0x8102ed62 (mce_rdmsrl+0x12/0x50) [ 32.267838] Call Trace: [ 32.267838] <#MC> [ 32.267838] do_machine_check+0xbd/0x9f0

[PATCH v3 4/4] dt-bindings: i2c: imx: Fix i.MX 7 compatible matching

2020-09-10 Thread Krzysztof Kozlowski
The i.MX 7 DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm/boot/dts/imx7d-cl-som-imx7.dt.yaml: i2c@30a2: compatible: ['fsl,imx7d-i2c', 'fsl,imx21-i2c'] is not valid under any of the given schemas (Possible causes of the failure):

Re: [PATCH 07/12] soc: mediatek: pm-domains: Add extra sram control

2020-09-10 Thread Matthias Brugger
On 10/09/2020 19:28, Enric Balletbo i Serra wrote: From: Matthias Brugger For some power domains like vpu_core on MT8183 whose sram need to do clock and internal isolation while power on/off sram. We add a cap "MTK_SCPD_SRAM_ISO" to judge if we need to do the extra sram isolation control or

Re: [PATCH v4] gpu/drm: ingenic: Add option to mmap GEM buffers cached

2020-09-10 Thread Sam Ravnborg
Hi Paul. On Wed, Sep 09, 2020 at 03:26:52PM +0200, Paul Cercueil wrote: > Any love for my patch? I have more pending :) I have looked through the patch a few times. And I did not find any spelling errors. But the memory magic was beyond me so I hope someone more knowledgeable can chime in here.

Re: [PATCH v6 6/6] PCI: uniphier: Add error message when failed to get phy

2020-09-10 Thread Rob Herring
On Fri, 07 Aug 2020 19:25:22 +0900, Kunihiko Hayashi wrote: > Even if phy driver doesn't probe, the error message can't be distinguished > from other errors. This displays error message caused by the phy driver > explicitly. > > Signed-off-by: Kunihiko Hayashi > --- >

[PATCH v3 1/4] dt-bindings: i2c: imx-lpi2c: Add properties and use unevaluatedProperties

2020-09-10 Thread Krzysztof Kozlowski
Additional properties actually might appear (e.g. power-domains) so describe all typical properties, reference generic i2c schema and use unevaluatedProperties to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dt.yaml: i2c@5a80: 'assigned-clock-rates',

Re: [PATCH net-next + leds v2 6/7] net: phy: marvell: add support for LEDs controlled by Marvell PHYs

2020-09-10 Thread Pavel Machek
On Thu 2020-09-10 15:15:41, Andrew Lunn wrote: > On Thu, Sep 10, 2020 at 02:23:41PM +0200, Pavel Machek wrote: > > On Wed 2020-09-09 18:25:51, Marek Behún wrote: > > > This patch adds support for controlling the LEDs connected to several > > > families of Marvell PHYs via the PHY HW LED trigger

[PATCH v3 3/4] dt-bindings: i2c: imx: Add properties and use unevaluatedProperties

2020-09-10 Thread Krzysztof Kozlowski
Additional properties actually might appear (e.g. power-domains) so describe all typical properties, reference generic i2c schema and use unevaluatedProperties to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: i2c@30a2: '#address-cells', '#size-cells',

Re: [PATCH net-next v3 2/3] net: phy: dp83869: support Wake on LAN

2020-09-10 Thread Dan Murphy
Andrew On 9/10/20 1:02 PM, Andrew Lunn wrote: static int dp83869_config_port_mirroring(struct phy_device *phydev) { struct dp83869_private *dp83869 = phydev->priv; Overall this code looks quite similar to dp83867, is there no way to factor this out? Factor what out?  Yes the

Re: [PATCH v6 2/6] PCI: dwc: Add msi_host_isr() callback

2020-09-10 Thread Rob Herring
On Fri, 07 Aug 2020 19:25:18 +0900, Kunihiko Hayashi wrote: > This adds msi_host_isr() callback function support to describe > SoC-dependent service triggered by MSI. > > For example, when AER interrupt is triggered by MSI, the callback function > reads SoC-dependent registers and detects that

[PATCH v3 2/2] power: supply: bq256xx: Introduce the BQ256XX charger driver

2020-09-10 Thread Ricardo Rivera-Matos
The BQ256XX family of devices are highly integrated buck chargers for single cell batteries. Signed-off-by: Ricardo Rivera-Matos --- drivers/power/supply/Kconfig | 11 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq256xx_charger.c | 1769

Re: [PATCH 1/5] misc: eeprom: at24: Initialise AT24 NVMEM ID field

2020-09-10 Thread Jon Hunter
On 10/09/2020 19:15, Jon Hunter wrote: > > On 10/09/2020 16:35, Bartosz Golaszewski wrote: >> On Thu, Sep 10, 2020 at 3:43 PM Jon Hunter wrote: >>> >>> The AT24 EEPROM driver does not initialise the 'id' field of the >>> nvmem_config structure and because the entire structure is not >>>

Re: [PATCH v2 00/28] Add support for Clang LTO

2020-09-10 Thread Kees Cook
On Thu, Sep 10, 2020 at 10:18:05AM +0900, Masahiro Yamada wrote: > On Wed, Sep 9, 2020 at 8:46 AM Sami Tolvanen wrote: > > > > On Sun, Sep 06, 2020 at 09:24:38AM +0900, Masahiro Yamada wrote: > > > On Fri, Sep 4, 2020 at 5:30 AM Sami Tolvanen > > > wrote: > > > > > > > > This patch series adds

[PATCH 07/11] habanalabs: allow to wait on CS without sleep

2020-09-10 Thread Oded Gabbay
The user sometimes wants to check if a CS has completed to clean resources. In that case, the user doesn't want to sleep but just to check if the CS has finished and continue with his code. Add a new definition to the API of the wait on CS. The new definition says that if the timeout is 0, the

[PATCH 08/11] habanalabs: no need for DMA_SHARED_BUFFER

2020-09-10 Thread Oded Gabbay
Now that the driver no longer uses dma_buf, we can remove the select of DMA_SHARED_BUFFER from kconfig. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/habanalabs/Kconfig b/drivers/misc/habanalabs/Kconfig index

Re: [PATCH 1/5] misc: eeprom: at24: Initialise AT24 NVMEM ID field

2020-09-10 Thread Jon Hunter
On 10/09/2020 16:35, Bartosz Golaszewski wrote: > On Thu, Sep 10, 2020 at 3:43 PM Jon Hunter wrote: >> >> The AT24 EEPROM driver does not initialise the 'id' field of the >> nvmem_config structure and because the entire structure is not >> initialised, it ends up with a random value. This

[PATCH 11/11] habanalabs: update firmware interface file

2020-09-10 Thread Oded Gabbay
Add new packet to fetch PLL information from firmware. This will be needed in the future when the driver won't be able to access the PLL registers directly Signed-off-by: Oded Gabbay --- .../misc/habanalabs/include/common/cpucp_if.h | 25 +++ 1 file changed, 25 insertions(+)

[PATCH 10/11] habanalabs: Add an option to map CB to device MMU

2020-09-10 Thread Oded Gabbay
From: Tomer Tayar There are cases in which the device should access the host memory of a CB through the device MMU, and thus this memory should be mapped. The patch adds a flag to the CB IOCTL, in which a user can ask the driver to perform the mapping when creating a CB. The mapping is allowed

[PATCH 09/11] habanalabs: Save context in a command buffer object

2020-09-10 Thread Oded Gabbay
From: Tomer Tayar Future changes require using a context while handling a command buffer, and thus need to save the context in the command buffer object. Signed-off-by: Tomer Tayar Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- .../misc/habanalabs/common/command_buffer.c | 22

[PATCH 05/11] habanalabs: add debugfs support for MMU with 6 HOPs

2020-09-10 Thread Oded Gabbay
From: Moti Haimovski This commit modify the existing debugfs code to support future devices that have a 6 HOPs MMU implementation instead of 5 HOPs implementation. Signed-off-by: Moti Haimovski Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/debugfs.c

[PATCH 06/11] habanalabs/gaudi: increase timeout for boot fit load

2020-09-10 Thread Oded Gabbay
The firmware running in the boot stage takes more time to execute due to increased security mechanisms. Therefore, we need to increase the timeout we wait for the boot fit to finish loading. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudiP.h | 2 +- 1 file changed, 1

[PATCH v2 02/15] dt-bindings: gpio: convert bindings for Maxim MAX732x family to dtschema

2020-09-10 Thread Krzysztof Kozlowski
Convert the Maxim MAX732x family of GPIO expanders bindings to device tree schema by merging it with existing PCA95xx schema. These are quite similar so merging reduces duplication. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/gpio/gpio-max732x.txt | 58 ---

[PATCH v2 03/15] arm64: dts: mediatek: fix tca6416 reset GPIOs in pumpkin

2020-09-10 Thread Krzysztof Kozlowski
Correct the property for reset GPIOs of tca6416 GPIO expander. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi

Re: [PATCH v2 2/3] remoteproc: Add coredump configuration to sysfs

2020-09-10 Thread Greg KH
On Thu, Aug 27, 2020 at 12:48:50PM -0700, Rishabh Bhatnagar wrote: > Expose coredump configuration in sysfs under a feature > flag. This is useful for systems where access to > debugfs might be limited. > > Signed-off-by: Rishabh Bhatnagar > --- >

Re: [PATCH] drm: xlnx: remove defined but not used 'scaling_factors_666'

2020-09-10 Thread Hyun Kwon
Hi Jason, On Thu, Sep 10, 2020 at 07:06:30AM -0700, Jason Yan wrote: > This addresses the following gcc warning with "make W=1": > > drivers/gpu/drm/xlnx/zynqmp_disp.c:245:18: warning: > ‘scaling_factors_666’ defined but not used [-Wunused-const-variable=] > 245 | static const u32

[PATCH v2 04/15] arm64: dts: mediatek: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx requires GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/mediatek/pumpkin-common.dtsi | 26 +-- 1 file changed, 13 insertions(+), 13 deletions(-)

[PATCH v2 06/15] arm64: dts: ti: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx requires GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 05/15] arm64: dts: renesas: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx requires GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/renesas/r8a77951-salvator-xs.dts | 2 +- .../boot/dts/renesas/r8a77965-salvator-xs.dts | 2 +-

Re: [PATCH v2 3/3] perf metricgroup: Fix uncore metric expressions

2020-09-10 Thread Ian Rogers
On Wed, Sep 9, 2020 at 10:51 PM Namhyung Kim wrote: > > On Thu, Sep 10, 2020 at 12:26 PM Ian Rogers wrote: > > > > A metric like DRAM_BW_Use has on SkylakeX events uncore_imc/cas_count_read/ > > and uncore_imc/case_count_write/. These events open 6 events per socket > > with pmu names of

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

2020-09-10 Thread Jason Gunthorpe
On Thu, Sep 10, 2020 at 10:35:38AM -0700, Linus Torvalds wrote: > On Thu, Sep 10, 2020 at 2:40 AM Alexander Gordeev > wrote: > > > > It is only gup_fast case that exposes the issue. It hits because > > pointers to stack copies are passed to gup_pXd_range iterators, not > > pointers to real page

[PATCH v2 07/15] arm64: dts: xilinx: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx requires GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v2 10/15] ARM: dts: am3874: iceboard: fix GPIO expander reset GPIOs

2020-09-10 Thread Krzysztof Kozlowski
Correct the property for reset GPIOs of the GPIO expander. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/am3874-iceboard.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am3874-iceboard.dts b/arch/arm/boot/dts/am3874-iceboard.dts

[PATCH v2 11/15] ARM: dts: aspeed: fix PCA95xx GPIO expander properties on Portwell

2020-09-10 Thread Krzysztof Kozlowski
The PCA95xx GPIO expander requires GPIO controller properties to operate properly. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts

Re: [PATCH v2 0/3] Expose recovery/coredump configuration from sysfs

2020-09-10 Thread Greg KH
On Fri, Sep 04, 2020 at 04:02:13PM -0600, Mathieu Poirier wrote: > On Thu, Sep 03, 2020 at 06:59:44PM -0500, Bjorn Andersson wrote: > > On Tue 01 Sep 17:05 CDT 2020, Mathieu Poirier wrote: > > > > > Hi Rishabh, > > > > > > On Thu, Aug 27, 2020 at 12:48:48PM -0700, Rishabh Bhatnagar wrote: > > >

Re: [PATCHv7 04/12] PCI: designware-ep: Modify MSI and MSIX CAP way of finding

2020-09-10 Thread Rob Herring
On Tue, Aug 11, 2020 at 05:54:33PM +0800, Zhiqiang Hou wrote: > From: Xiaowei Bao > > Each PF of EP device should have its own MSI or MSIX capabitily > struct, so create a dw_pcie_ep_func struct and move the msi_cap > and msix_cap to this struct from dw_pcie_ep, and manage the PFs > via a list.

Re: [RFC PATCH v9 0/3] Add introspect_access(2) (was O_MAYEXEC)

2020-09-10 Thread Mimi Zohar
On Thu, 2020-09-10 at 19:21 +0200, Mickaël Salaün wrote: > On 10/09/2020 19:04, Matthew Wilcox wrote: > > On Thu, Sep 10, 2020 at 06:46:09PM +0200, Mickaël Salaün wrote: > >> This ninth patch series rework the previous AT_INTERPRETED and O_MAYEXEC > >> series with a new syscall:

[PATCH v2 09/15] ARM: dts: am335x: t335: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/am335x-sbc-t335.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 00/14] get rid of the remaining kernel-doc warnings when building the docs

2020-09-10 Thread Matthew Wilcox
On Thu, Sep 10, 2020 at 12:23:53PM +0200, Mauro Carvalho Chehab wrote: > As described on its subject, this series finally get rid of all kernel-doc > warnings. > > With this series applied (plus my last series fixing other warnings), building > the docs is now clean[1] against next-20200909:

Re: [PATCH net-next v3 1/3] net: dp83869: Add ability to advertise Fiber connection

2020-09-10 Thread Andrew Lunn
> The note in the ethtool.h says > >     /* Last allowed bit for __ETHTOOL_LINK_MODE_LEGACY_MASK is bit >      * 31. Please do NOT define any SUPPORTED_* or ADVERTISED_* >      * macro for bits > 31. The only way to use indices > 31 is to >      * use the new

Re: [PATCH v2 00/28] Add support for Clang LTO

2020-09-10 Thread Masahiro Yamada
On Fri, Sep 11, 2020 at 2:46 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > Hey Ian, > It was nice to meet you at Linux plumbers. You might want to take a > look at this series. It implements builds of the Linux kernel with > LTO. It would be good to get eyes on it and help review it

[PATCH v2 12/15] ARM: dts: aspeed: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +- arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH v2 14/15] ARM: dts: armada: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx requires GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/armada-388-clearfog.dts | 4 ++-- arch/arm/boot/dts/armada-388-clearfog.dtsi | 10 +-

[PATCH v3] perf metricgroup: Fix uncore metric expressions

2020-09-10 Thread Ian Rogers
A metric like DRAM_BW_Use has on SkylakeX events uncore_imc/cas_count_read/ and uncore_imc/case_count_write/. These events open 6 events per socket with pmu names of uncore_imc_[0-5]. The current metric setup code in find_evsel_group assumes one ID will map to 1 event to be recorded in

Re: [PATCH 1/3] ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h

2020-09-10 Thread Robin Murphy
On 2020-09-10 06:40, Christoph Hellwig wrote: Move the helpers to translate to and from direct mapping DMA addresses to dma-direct.h. This not only is the most logical place, but the new placement also avoids dependency loops with pending commits. For the straightforward move as it should be,

[RESEND PATCH v3 1/3] iio: gyro: adxrs290: Add triggered buffer support

2020-09-10 Thread Nishant Malpani
Provide a way for continuous data capture by setting up buffer support. The data ready signal exposed at the SYNC pin of the ADXRS290 is exploited as a hardware interrupt which triggers to fill the buffer. Triggered buffer setup was tested with both hardware trigger (DATA_RDY) and software

[RESEND PATCH v3 3/3] iio: gyro: adxrs290: Add debugfs register access support

2020-09-10 Thread Nishant Malpani
Extend support to read/write byte data from/to the device using debugfs iio interface. Reviewed-by: Andy Shevchenko Signed-off-by: Nishant Malpani --- Changes in v3: - refactor code based on Andy's suggestions No changes in v2 --- drivers/iio/gyro/adxrs290.c | 26 ++

Re: [PATCH V6] ASoC: Intel: boards: Use FS as nau8825 sysclk in nau88125_* machine

2020-09-10 Thread Pierre-Louis Bossart
On 9/10/20 12:25 PM, Radoslaw Biernacki wrote: Since 256xFS clocks cannot be generated by SKL, the NAU8825 is configured to re-generate its system clock from the BCLK using the FLL. The link is configured to use a 48kHz frame rate, and 24 bits in 25-bit slot. The SSP configuration is

[RESEND PATCH v3 2/3] dt-bindings: iio: gyro: adxrs290: Add interrupts support

2020-09-10 Thread Nishant Malpani
Include 'interrupts' property and provide a suitable example for using a GPIO interrupt line. Signed-off-by: Nishant Malpani --- Changes in v3: - remove gpio.h header since unused Changes in v2: - remove 'interrupts' property from the required properties list - rewrite commit message

[RESEND PATCH v3 0/3] iio: gyro: adxrs290: Add triggered buffer & debugfs support

2020-09-10 Thread Nishant Malpani
Introduce DATA_RDY trigger for triggered buffer setup; this enables continuous data capture. Additionally, add support for direct register access using the debugfs iio interface. The device-tree bindings documentation illustrates an example of using a GPIO irq line to trigger a data capture.

[PATCH] build: Fix documentation checking

2020-09-10 Thread Matthew Wilcox (Oracle)
Using $(call cmd,...) requires that there be a quiet_ version of the command, otherwise it's silently skipped. Fixes: 3a2429e1faf4 ("kbuild: change if_changed_rule for multi-line recipe") Signed-off-by: Matthew Wilcox (Oracle) --- scripts/Makefile.build | 3 ++- 1 file changed, 2 insertions(+),

Re: [PATCH net-next v3 2/3] net: phy: dp83869: support Wake on LAN

2020-09-10 Thread Andrew Lunn
> > > static int dp83869_config_port_mirroring(struct phy_device *phydev) > > > { > > > struct dp83869_private *dp83869 = phydev->priv; > > Overall this code looks quite similar to dp83867, is there no way to > > factor this out? > > Factor what out?  Yes the DP83867 and DP83869 are

Re: [PATCH V2 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-09-10 Thread Andreas Kemnade
On Wed, 19 Aug 2020 07:59:23 -0500 Adam Ford wrote: > The bandgap sensor can be idled when the processor is too, but it > isn't currently being done, so the power consumption of OMAP3 > boards can elevated if the bangap sensor is enabled. > > This patch attempts to use some additional power

Re: [PATCH v2 08/15] ARM: dts: am335x: lxm: fix PCA9539 GPIO expander properties

2020-09-10 Thread Krzysztof Kozlowski
On Thu, Sep 10, 2020 at 07:57:26PM +0200, Krzysztof Kozlowski wrote: > The PCA9539 GPIO expander requires GPIO controller properties to operate > properly. > > Signed-off-by: Krzysztof Kozlowski I forgot to add here Ack from v1: Acked-by: Tony Lindgren Tony, I think it should go through

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

2020-09-10 Thread Gerald Schaefer
On Thu, 10 Sep 2020 10:02:33 -0300 Jason Gunthorpe wrote: > On Thu, Sep 10, 2020 at 11:39:25AM +0200, Alexander Gordeev wrote: > > > As Gerald mentioned, it is very difficult to explain in a clear way. > > Hopefully, one could make sense ot of it. > > I would say the page table API requires

[PATCH v2 15/15] ARM: dts: imx6q: align GPIO hog names with dtschema

2020-09-10 Thread Krzysztof Kozlowski
dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. While touching the hogs, fix indentation (spaces -> tabs). Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/imx6q-b450v3.dts | 14 +++--- arch/arm/boot/dts/imx6q-b650v3.dts | 12 ++--

[PATCH v2 13/15] ARM: dts: dove: fix PCA95xx GPIO expander properties on A510

2020-09-10 Thread Krzysztof Kozlowski
The PCA95xx GPIO expander requires GPIO controller properties to operate properly. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/dove-sbc-a510.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dove-sbc-a510.dts b/arch/arm/boot/dts/dove-sbc-a510.dts index

[PATCH v2 08/15] ARM: dts: am335x: lxm: fix PCA9539 GPIO expander properties

2020-09-10 Thread Krzysztof Kozlowski
The PCA9539 GPIO expander requires GPIO controller properties to operate properly. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/am335x-lxm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-lxm.dts b/arch/arm/boot/dts/am335x-lxm.dts index

[PATCH 15/15] habanalabs/gaudi: add NIC init/fini calls from common code

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Finally, enable the NIC engines. Initialize the NIC ports mask variable with full mask so all ports will be initialized. Call the NIC init/fini from the common code. Signed-off-by: Omer Shpigelman Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

[PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema

2020-09-10 Thread Krzysztof Kozlowski
Convert the NXP PCA953x family of GPIO expanders bindings to device tree schema. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Use additionalProperties. 2. Add wakeup-source. 3. Add hogs. 4. Extend example with hogs. --- .../devicetree/bindings/gpio/gpio-pca953x.txt | 90

[PATCH v2 00/15] ARM: dts: / gpio: Add dtschema for NXP PCA953x and correct dts

2020-09-10 Thread Krzysztof Kozlowski
Hi, Changes since v1: 1. Patch 1: Use additionalProperties, Add wakeup-source, Add hogs, Extend example with hogs. 2. New patches: 3, 4, 5, 6, 7, 9, 10, 12, 14 and 15. The patches could be picked up independently if dtschema makes sense. The fixes for pins make sense anyway, regardless of

[PATCH v3 5/8] nfc: s3fwrn5: Add missing CRYPTO_HASH dependency

2020-09-10 Thread Krzysztof Kozlowski
The driver uses crypto hash functions so it needs to select CRYPTO_HASH. This fixes build errors: arc-linux-ld: drivers/nfc/s3fwrn5/firmware.o: in function `s3fwrn5_fw_download': firmware.c:(.text+0x152): undefined reference to `crypto_alloc_shash' Signed-off-by: Krzysztof Kozlowski ---

<    3   4   5   6   7   8   9   10   11   12   >