Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-20 Thread Michael Walle
Am 2021-01-20 15:23, schrieb Rob Herring: On Wed, Jan 20, 2021 at 4:53 AM Michael Walle wrote: fw_devlink will defer the probe until all suppliers are ready. We can't use builtin_platform_driver_probe() because it doesn't retry after probe deferral. Convert it to builtin_platform_driver().

Re: [PATCH V3] clk: imx: Fix reparenting of UARTs not associated with sdout

2021-01-20 Thread Sascha Hauer
On Wed, Jan 20, 2021 at 05:28:13PM +0200, Abel Vesa wrote: > On 21-01-20 16:13:05, Sascha Hauer wrote: > > Hi Abel, > > > > On Wed, Jan 20, 2021 at 04:44:54PM +0200, Abel Vesa wrote: > > > On 21-01-18 08:00:43, Adam Ford wrote: > > > > On Mon, Jan 18, 2021 at 6:52 AM Abel Vesa wrote: > > ... >

Re: [PATCH v6 1/3] dt-bindings: input: Create macros for cros-ec keymap

2021-01-20 Thread Rob Herring
On Fri, 15 Jan 2021 14:36:15 -0800, Philip Chen wrote: > In Chrome OS, the keyboard matrix can be split to two groups: > > The keymap for the top row keys can be customized based on OEM > preference, while the keymap for the other keys is generic/fixed > across boards. > > This patch creates

Re: [PATCH 1/2] perf/smmuv3: Don't reserve the register space that overlaps with the SMMUv3

2021-01-20 Thread Robin Murphy
On 2021-01-20 14:14, Leizhen (ThunderTown) wrote: On 2021/1/20 21:27, Robin Murphy wrote: On 2021-01-20 09:26, Leizhen (ThunderTown) wrote: On 2021/1/20 11:37, Leizhen (ThunderTown) wrote: On 2021/1/19 20:32, Robin Murphy wrote: On 2021-01-19 01:59, Zhen Lei wrote: Some SMMUv3

Re: [PATCH] pwm: remove zte zx driver

2021-01-20 Thread Thierry Reding
On Wed, Jan 20, 2021 at 04:09:22PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > The zte zx platform is getting removed, so this driver is no > longer needed. > > Cc: Jun Nie > Cc: Shawn Guo > Signed-off-by: Arnd Bergmann > --- > .../devicetree/bindings/pwm/pwm-zx.txt| 22

Re: [PATCH 02/31] opp: Add devres wrapper for dev_pm_opp_set_regulators and dev_pm_opp_put_regulators

2021-01-20 Thread Dmitry Osipenko
01.01.2021 19:54, Yangtao Li пишет: > Add devres wrapper for dev_pm_opp_set_regulators() > dev_pm_opp_put_regulators () to simplify driver code. > > Signed-off-by: Yangtao Li > --- > drivers/opp/core.c | 50 ++ > include/linux/pm_opp.h | 9 >

Re: [PATCH v2 1/3] drm: bridge/panel: Cleanup connector on bridge detach

2021-01-20 Thread Daniel Vetter
On Wed, Jan 20, 2021 at 1:35 PM Paul Cercueil wrote: > > If we don't call drm_connector_cleanup() manually in > panel_bridge_detach(), the connector will be cleaned up with the other > DRM objects in the call to drm_mode_config_cleanup(). However, since our > drm_connector is devm-allocated, by

Re: [PATCH v5 01/16] asm-generic/hyperv: change HV_CPU_POWER_MANAGEMENT to HV_CPU_MANAGEMENT

2021-01-20 Thread Pavel Tatashin
On Wed, Jan 20, 2021 at 7:01 AM Wei Liu wrote: > > This makes the name match Hyper-V TLFS. > > Signed-off-by: Wei Liu > Reviewed-by: Vitaly Kuznetsov > --- > include/asm-generic/hyperv-tlfs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v2] gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default

2021-01-20 Thread Marc Zyngier
On 2021-01-20 15:48, Greg Kroah-Hartman wrote: On Wed, Jan 20, 2021 at 03:39:30PM +, Marc Zyngier wrote: Anyway, I said what I had to say. If platforms break with this change, I'll expect it to be disabled in 5.12. I'm thinking we can not change the default and will probably revert

Re: [PATCH 24/31] memory: tegra20: convert to use devm_pm_opp_* API

2021-01-20 Thread Dmitry Osipenko
01.01.2021 19:55, Yangtao Li пишет: > Use devm_pm_opp_* API to simplify code. > > Signed-off-by: Yangtao Li > --- > drivers/memory/tegra/tegra20-emc.c | 29 + > 1 file changed, 9 insertions(+), 20 deletions(-) There are also tegra30-emc.c and tegra124-emc.c with a

[PATCH] net: stmmac: dwmac-intel-plat: remove config data on error

2021-01-20 Thread Pan Bian
Remove the config data when rate setting fails. Fixes: 9efc9b2b04c7 ("net: stmmac: Add dwmac-intel-plat for GBE driver") Signed-off-by: Pan Bian --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel-plat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 00/31] Introduce devm_pm_opp_* API

2021-01-20 Thread Dmitry Osipenko
01.01.2021 19:54, Yangtao Li пишет: > Hi, > > This patchset add devm_pm_opp_set_clkname, devm_pm_opp_put_clkname, > devm_pm_opp_set_regulators, devm_pm_opp_put_regulators, > devm_pm_opp_set_supported_hw, devm_pm_opp_of_add_table and > devm_pm_opp_register_notifier. Hello Yangtao, Thank you for

[PATCH 1/2] ASoC: remove sirf prima/atlas drivers

2021-01-20 Thread Arnd Bergmann
From: Arnd Bergmann The CSR SiRF prima2/atlas platforms are getting removed, so this driver is no longer needed. Cc: Barry Song Signed-off-by: Arnd Bergmann --- .../bindings/sound/sirf-audio-codec.txt | 17 - .../devicetree/bindings/sound/sirf-usp.txt| 27 - sound/soc/Kconfig

[PATCH v2 3/3] VMCI: Enforce queuepair max size for IOCTL_VMCI_QUEUEPAIR_ALLOC

2021-01-20 Thread Jorgen Hansen
When create the VMCI queue pair tracking data structures on the host side, the IOCTL for creating the VMCI queue pair didn't validate the queue pair size parameters. This change adds checks for this. This avoids a memory allocation issue in qp_host_alloc_queue, as reported by nslusa...@gmx.net.

Re: [PATCH 03/31] opp: Add devres wrapper for dev_pm_opp_set_supported_hw

2021-01-20 Thread Dmitry Osipenko
01.01.2021 19:54, Yangtao Li пишет: > Add devres wrapper for dev_pm_opp_set_supported_hw() to simplify driver > code. > > Signed-off-by: Yangtao Li > --- > drivers/opp/core.c | 38 ++ > include/linux/pm_opp.h | 8 > 2 files changed, 46

Re: [RFC PATCH v3 5/6] dt-bindings: of: Add restricted DMA pool

2021-01-20 Thread Rob Herring
On Wed, Jan 06, 2021 at 11:41:23AM +0800, Claire Chang wrote: > Introduce the new compatible string, restricted-dma-pool, for restricted > DMA. One can specify the address and length of the restricted DMA memory > region by restricted-dma-pool in the device tree. If this goes into DT, I think we

Re: FIX Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-20 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 20, 2021 at 04:40:46PM +, Song Liu escreveu: > > > > On Jan 20, 2021, at 8:30 AM, Arnaldo Carvalho de Melo > > wrote: > > > > Em Wed, Jan 20, 2021 at 10:50:13AM -0300, Arnaldo Carvalho de Melo escreveu: > >> So sizeof(struct bpf_perf_event_value) == 24 and it is a per-cpu

Re: [PATCH v7 09/14] dt-bindings: phy: tegra-xusb: Add nvidia,pmc prop

2021-01-20 Thread Thierry Reding
On Wed, Jan 20, 2021 at 03:34:09PM +0800, JC Kuo wrote: > This commit describes the "nvidia,pmc" property for Tegra210 tegra-xusb > PHY driver. It is a phandle and specifier referring to the Tegra210 > pmc@7000e400 node. > > Signed-off-by: JC Kuo > Acked-by: Rob Herring > --- > v7: >no

Re: [PATCH v7 08/14] arm64: tegra210: XUSB PADCTL add "nvidia,pmc" prop

2021-01-20 Thread Thierry Reding
On Wed, Jan 20, 2021 at 03:34:08PM +0800, JC Kuo wrote: > PMC driver provides USB sleepwalk registers access to XUSB PADCTL > driver. This commit adds a "nvidia,pmc" property which points to > PMC node to XUSB PADCTL device node. > > Signed-off-by: JC Kuo > --- > v7: >no change > v6: >no

Re: [PATCH 3/4] cpu/hotplug: Add cpuhp_invoke_callback_range()

2021-01-20 Thread Peter Zijlstra
On Wed, Jan 20, 2021 at 06:45:16PM +0100, Peter Zijlstra wrote: > On Mon, Jan 11, 2021 at 05:10:46PM +, vincent.donnef...@arm.com wrote: > > @@ -475,6 +478,11 @@ cpuhp_set_state(struct cpuhp_cpu_state *st, enum > > cpuhp_state target) > > static inline void > > cpuhp_reset_state(struct

[PATCH v9 00/13] Add Broadcom VK driver

2021-01-20 Thread Scott Branden
This patch series drops previous patches in [1] that were incorporated by Kees Cook into patch series "Introduce partial kernel_read_file() support" [2]. Remaining patches are contained in this series to add Broadcom VK driver. (which depends on request_firmware_into_buf API addition which has

Re: [PATCH v4 7/8] mm: Use static initialisers for immutable fields of 'struct vm_fault'

2021-01-20 Thread Nick Desaulniers
On Wed, Jan 20, 2021 at 9:36 AM Will Deacon wrote: > > In preparation for const-ifying the anonymous struct field of > 'struct vm_fault', ensure that it is initialised using static > initialisers. FWIW these are known as "designated initializers", ie. struct foo my_foo = { .bar = 42, };

Re: [PATCH 2/4] sched/fair: Make CFS bandwidth controller burstable

2021-01-20 Thread kernel test robot
Hi Huaixin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on tip/master linux/master linus/master v5.11-rc4 next-20210120] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v5 3/7] mfd: Add MFD driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
On Wed, Jan 20, 2021 at 08:33:48AM +, Lee Jones wrote: > On Wed, 13 Jan 2021, Cristian Ciocaltea wrote: > > > Add initial support for the Actions Semi ATC260x PMICs which integrates > > Audio Codec, Power management, Clock generation and GPIO controller > > blocks. > > [...] > > + /*

[PATCH v6 6/7] input: atc260x: Add onkey driver for ATC260x PMICs

2021-01-20 Thread Cristian Ciocaltea
The Actions Semi ATC260x PMICs are able to manage an onkey button. This driver exposes the ATC260x onkey as an input device. It can also be configured to force a system reset on a long key-press with an adjustable duration. The currently supported chip variants are ATC2603C and ATC2609A.

[PATCH v4 0/8] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag

2021-01-20 Thread Will Deacon
Hi all, This is version four of the patches I previously posted here: v1: https://lore.kernel.org/r/20201209163950.8494-1-w...@kernel.org v2: https://lore.kernel.org/r/20210108171517.5290-1-w...@kernel.org v3: https://lore.kernel.org/r/20210114175934.13070-1-w...@kernel.org The patches

[PATCH v4 3/8] arm64: mm: Implement arch_wants_old_prefaulted_pte()

2021-01-20 Thread Will Deacon
On CPUs with hardware AF/DBM, initialising prefaulted PTEs as 'old' improves vmscan behaviour and does not appear to introduce any overhead elsewhere. Implement arch_wants_old_prefaulted_pte() to return 'true' if we detect hardware access flag support at runtime. This can be extended in future

Re: [PATCH v2 1/3] drm: bridge/panel: Cleanup connector on bridge detach

2021-01-20 Thread Daniel Vetter
On Wed, Jan 20, 2021 at 6:12 PM Paul Cercueil wrote: > > > > Le mer. 20 janv. 2021 à 17:03, Daniel Vetter a > écrit : > > On Wed, Jan 20, 2021 at 1:35 PM Paul Cercueil > > wrote: > >> > >> If we don't call drm_connector_cleanup() manually in > >> panel_bridge_detach(), the connector will be

[RFC PATCH 00/17] objtool: add base support for arm64

2021-01-20 Thread Julien Thierry
Hi, This series enables objtool to start doing stack validation on arm64 kernel builds. It relies on the previous series I sent, refactoring the arm64 decoder [1]. First, the aarch64 instruction decoder needed to be made available to code under tools/. This is done in a similar manner to x86

[PATCH v1 2/6] ACPI: PM: Clean up printing messages

2021-01-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Replace the remaining ACPI_DEBUG_PRINT() instances in device_pm.c with dev_dbg() invocations, drop the _COMPONENT and ACPI_MODULE_NAME() definitions that are not used any more, and drop the no longer needed ACPI_POWER_COMPONENT definition from the headers and

[PATCH v1 0/6] ACPI: Clean up printing messages in some source files

2021-01-20 Thread Rafael J. Wysocki
Hi, This series cleans up messaging in some source files under drivers/acpi/ and get rids of some debug code pieces that aren't needed any more. The primary goal here was to get rid of things like ACPI_DEBUG_PRINT() or ACPI_EXCEPTION() from non-ACPICA code (they are specific to ACPICA and should

Re: [PATCH v4 5/7] cpufreq: qcom-hw: Implement CPRh aware OSM programming

2021-01-20 Thread Bjorn Andersson
On Wed 20 Jan 12:25 CST 2021, Taniya Das wrote: > The CPUFREQ-HW driver is intended to be used only for CPUFREQ HW designs > where the firmware programs the look up tables. > It's obvious that this is the intended target for the current version of the driver, but what are your technical

[PATCH] fix the issue that the tick_nohz_get_sleep_length() function could return a negative value

2021-01-20 Thread Zhou Ti (x2019cwm)
Fix the issue that the tick_nohz_get_sleep_length() function could return a negative value. The variable "next_event" has a small possibility to be smaller than the variable "now" during running. Since both the menu idle governor and the teo idle governor use u64 to store the return value of the

[PATCH v1 3/6] ACPI: bus: Clean up printing messages

2021-01-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Replace all of the ACPI_DEBUG_PRINT() and ACPI_EXCEPTION() instances in bus.c with pr_debug() and pr_info(), respectively, drop the _COMPONENT and ACPI_MODULE_NAME() definitions that are not used any more and replace direct printk() invocations with the matching pr_*()

Re: [PATCH] checkpatch: add warning for avoiding .L prefix symbols in assembly files

2021-01-20 Thread Nick Desaulniers
On Wed, Jan 20, 2021 at 10:43 AM Joe Perches wrote: > > On Wed, 2021-01-20 at 18:23 +0530, Aditya wrote: > > On 20/1/21 2:51 pm, Joe Perches wrote: > > > On Wed, 2021-01-20 at 12:55 +0530, Aditya Srivastava wrote: > > > > Local symbols prefixed with '.L' do not emit symbol table entries, as > > >

Re: [PATCH bpf-next v5 4/4] selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie

2021-01-20 Thread Florent Revest
On Wed, Jan 20, 2021 at 8:04 PM Alexei Starovoitov wrote: > > On Wed, Jan 20, 2021 at 9:08 AM KP Singh wrote: > > > > On Tue, Jan 19, 2021 at 5:00 PM Florent Revest wrote: > > > > > > This builds up on the existing socket cookie test which checks whether > > > the bpf_get_socket_cookie helpers

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-20 Thread Saravana Kannan
On Wed, Jan 20, 2021 at 6:24 AM Rob Herring wrote: > > On Wed, Jan 20, 2021 at 4:53 AM Michael Walle wrote: > > > > fw_devlink will defer the probe until all suppliers are ready. We can't > > use builtin_platform_driver_probe() because it doesn't retry after probe > > deferral. Convert it to

Re: [PATCH v5 1/2] mmc: Support kmsg dumper based on pstore/blk

2021-01-20 Thread Ulf Hansson
+ linux-block, Jens, Christoph On Wed, 20 Jan 2021 at 13:11, Bhaskara Budiredla wrote: > > This patch introduces to mmcpstore. The functioning of mmcpstore > is similar to mtdpstore. mmcpstore works on FTL based flash devices > whereas mtdpstore works on raw flash devices. When the system

[PATCH net-next] net: remove aurora nb8800 driver

2021-01-20 Thread Arnd Bergmann
From: Arnd Bergmann The tango4 platform is getting removed, and this driver has no other known users, so it can be removed. Cc: Marc Gonzalez Cc: Mans Rullgard Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/Kconfig |1 - drivers/net/ethernet/Makefile|1 -

[PATCH] power/reset: remove zte zx driver

2021-01-20 Thread Arnd Bergmann
From: Arnd Bergmann The zte zx platform is getting removed, so this driver is no longer needed. Cc: Jun Nie Cc: Shawn Guo Signed-off-by: Arnd Bergmann --- drivers/power/reset/Kconfig | 7 --- drivers/power/reset/Makefile| 1 - drivers/power/reset/zx-reboot.c | 86

Re: [PATCH v2] iio: imu: bmi160: add mutex_lock for avoiding race

2021-01-20 Thread Tom Rix
On 1/19/21 5:48 PM, Guoqing Chi wrote: > On Tue, 19 Jan 2021 06:54:45 -0800 > Tom Rix wrote: > >> On 1/19/21 3:22 AM, Guoqing Chi wrote: >>> From: chiguoqing >>> >>> Adding mutex_lock, when read and write reg need to use this lock to >>> avoid race. >>> >>> Signed-off-by: Guoqing Chi >>> ---

Re: [PATCH v2] PCI: designware-ep: Fix the reference to pci->num_{ib,ob}_windows before setting

2021-01-20 Thread Rob Herring
On Mon, Jan 18, 2021 at 5:10 PM Kunihiko Hayashi wrote: > > The commit 281f1f99cf3a ("PCI: dwc: Detect number of iATU windows") gets > the values of pci->num_ib_windows and pci->num_ob_windows from iATU > registers instead of DT properties in dw_pcie_iatu_detect_regions*() or its > unroll

[PATCH] pci: remove tango host controller driver

2021-01-20 Thread Arnd Bergmann
From: Arnd Bergmann The tango platform is getting removed, so the driver is no longer needed. Cc: Marc Gonzalez Cc: Mans Rullgard Signed-off-by: Arnd Bergmann --- drivers/pci/controller/Kconfig | 14 -- drivers/pci/controller/Makefile | 1 - drivers/pci/controller/pcie-tango.c |

Re: [PATCH] nand: raw: remove tango driver

2021-01-20 Thread Arnd Bergmann
On Wed, Jan 20, 2021 at 4:29 PM Miquel Raynal wrote: > > Hi Arnd, > > Arnd Bergmann wrote on Wed, 20 Jan 2021 16:05:26 > +0100: > > > From: Arnd Bergmann > > > > The tango platform is getting removed, so the driver is no > > longer needed. > > > > Cc: Marc Gonzalez > > Cc: Mans Rullgard > >

Re: [PATCH v5 1/2] mmc: Support kmsg dumper based on pstore/blk

2021-01-20 Thread kernel test robot
Hi Bhaskara, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.11-rc4 next-20210120] [cannot apply to kees/for-next/pstore] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH v5 04/16] iommu/hyperv: don't setup IRQ remapping when running as root

2021-01-20 Thread Pavel Tatashin
On Wed, Jan 20, 2021 at 7:01 AM Wei Liu wrote: > > The IOMMU code needs more work. We're sure for now the IRQ remapping > hooks are not applicable when Linux is the root partition. > > Signed-off-by: Wei Liu > Acked-by: Joerg Roedel > Reviewed-by: Vitaly Kuznetsov > --- >

[PATCH] cachefiles: Drop superfluous readpages aops NULL check

2021-01-20 Thread David Howells
From: Takashi Iwai After the recent actions to convert readpages aops to readahead, the NULL checks of readpages aops in cachefiles_read_or_alloc_page() may hit falsely. More badly, it's an ASSERT() call, and this panics. Drop the superfluous NULL checks for fixing this regression. [DH: Note

Re: [PATCH] init/module: split CONFIG_CONSTRUCTORS to fix module gcov on UML

2021-01-20 Thread Johannes Berg
On Wed, 2021-01-20 at 17:07 +0100, Peter Oberparleiter wrote: > Do you expect other users for these new config symbols? Probably not. > If not it seems > to me that the goal of enabling module constructors for UML could also > be achieved without introducing new config symbols. Yeah, true. >

Re: [PATCH 2/2] drm/msm/a6xx: Create an A6XX GPU specific address space

2021-01-20 Thread Rob Clark
On Wed, Jan 20, 2021 at 3:04 AM AngeloGioacchino Del Regno wrote: > > Il 11/01/21 13:04, Sai Prakash Ranjan ha scritto: > > A6XX GPUs have support for last level cache(LLC) also known > > as system cache and need to set the bus attributes to > > use it. Currently we use a generic adreno iommu

Re: [PATCH V2 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property

2021-01-20 Thread Luca Ceresoli
Hi Adam, On 19/01/21 22:21, Adam Ford wrote: > There are two registers which can set the load capacitance for > XTAL1 and XTAL2. These are optional registers when using an > external crystal. Since XTAL1 and XTAL2 will set to the same value, > update the binding to support a single property

Re: [PATCH] arch/alpha: fix typo in a comment in arch/alpha/boot/bootpz.c

2021-01-20 Thread John Paul Adrian Glaubitz
On 1/20/21 5:20 PM, Randy Dunlap wrote: > On 1/20/21 5:34 AM, ChunyouTang wrote: >> From: tangchunyou >> >> "kerne" -> "kernel" >> >> Signed-off-by: tangchunyou >> --- >> arch/alpha/boot/bootpz.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git

Re: [PATCH v2 1/3] drm: bridge/panel: Cleanup connector on bridge detach

2021-01-20 Thread Paul Cercueil
Le mer. 20 janv. 2021 à 17:03, Daniel Vetter a écrit : On Wed, Jan 20, 2021 at 1:35 PM Paul Cercueil wrote: If we don't call drm_connector_cleanup() manually in panel_bridge_detach(), the connector will be cleaned up with the other DRM objects in the call to

Re: [PATCH v2 2/2] serial: 8250: Add new 8250-core based Broadcom STB driver

2021-01-20 Thread Greg Kroah-Hartman
On Wed, Jan 20, 2021 at 07:09:46PM +0200, Andy Shevchenko wrote: > On Wed, Jan 20, 2021 at 7:05 PM Greg Kroah-Hartman > wrote: > > On Wed, Jan 20, 2021 at 06:47:52PM +0200, Andy Shevchenko wrote: > > > On Tue, Jan 19, 2021 at 8:16 PM Florian Fainelli > > > wrote: > > > > On 1/19/2021 7:21 AM,

Re: [PATCH] of: property: Add device link support for interrupts

2021-01-20 Thread Saravana Kannan
On Wed, Jan 20, 2021 at 6:28 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Wed, Jan 20, 2021 at 10:53 AM Geert Uytterhoeven > wrote: > > On Fri, Dec 18, 2020 at 10:11 PM Saravana Kannan > > wrote: > > > Add support for creating device links out of interrupts property. > > > > > > Cc:

Re: [PATCH] net: systemport: free dev before on error path

2021-01-20 Thread Jakub Kicinski
On Tue, 19 Jan 2021 21:07:10 -0800 Florian Fainelli wrote: > On 1/19/2021 8:44 PM, Pan Bian wrote: > > On the error path, it should goto the error handling label to free > > allocated memory rather than directly return. > > > > Fixes: 6328a126896e ("net: systemport: Manage Wake-on-LAN clock") > >

Re: PVPANIC PCI driver

2021-01-20 Thread Andy Shevchenko
+Cc: LKML and Peng On Wed, Jan 20, 2021 at 6:48 PM Mihai Carabas wrote: > > Hello Andy, > > Some time ago you have created a patchset where you have combined > ACPI/MMIO into a single driver for pvpanic: > > commit f104060813fe79350565b68c1098fcea050a6504 > Author: Andy Shevchenko > Date: Wed

Re: [PATCH 2/4] sched/fair: Make CFS bandwidth controller burstable

2021-01-20 Thread kernel test robot
Hi Huaixin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on tip/master linux/master linus/master v5.11-rc4 next-20210120] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [RFC PATCH 4/7] irqchip/apple-aic: Add support for Apple AIC

2021-01-20 Thread Alexander Graf
On 20.01.21 14:27, Mohamed Mediouni wrote: From: Stan Skowronek Apple SoCs use the Apple AIC interrupt controller. The Arm architectural timers is wired over FIQ on that hardware. Signed-off-by: Stan Skowronek Signed-off-by: Mohamed Mediouni --- .../interrupt-controller/apple,aic.yaml

Re: [PATCH v1 4/7] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node

2021-01-20 Thread robin
On 2021-01-20 15:22, Oleksij Rempel wrote: Add touchscreen support to the Protonic VT7 board. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 20 1 file changed, 20

[PATCH v15 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

2021-01-20 Thread Mike Rapoport
From: Mike Rapoport Removing a PAGE_SIZE page from the direct map every time such page is allocated for a secret memory mapping will cause severe fragmentation of the direct map. This fragmentation can be reduced by using PMD-size pages as a pool for small pages for secret memory mappings. Add

[PATCH v9 13/13] misc: bcm-vk: add ttyVK support

2021-01-20 Thread Scott Branden
Add ttyVK support to driver to allow console access to VK card from host. Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: x is the instance of the VK card y is the tty device number on the VK card Signed-off-by: Scott Branden Acked-by: Olof Johansson ---

[PATCH v9 06/13] misc: bcm-vk: add open/release

2021-01-20 Thread Scott Branden
Add open/release to replace private data with context for other methods to use. Reason for the context is because it is allowed for multiple sessions to open sysfs. For each file open, when upper layer queries the response, only those that are tied to a specified open should be returned.

[PATCH v9 01/13] bcm-vk: add bcm_vk UAPI

2021-01-20 Thread Scott Branden
Add user space api for bcm-vk driver. Provide ioctl api to load images and issue reset command to card. FW status registers in PCI BAR space also defined as part of API so that user space is able to interpret these memory locations as needed via direct PCIe access. Signed-off-by: Scott Branden

[PATCH v9 05/13] misc: bcm-vk: add triggers when host panic or reboots to notify card

2021-01-20 Thread Scott Branden
Pass down an interrupt to card in case of panic or reboot so that card can take appropriate action to perform a clean reset. Uses kernel notifier block either directly (register on panic list), or implicitly (add shutdown method for PCI device). Co-developed-by: Desmond Yan Signed-off-by:

Re: [PATCH 0/4] drivers/perf: Constify static struct attribute_group

2021-01-20 Thread Will Deacon
On Sun, 17 Jan 2021 22:28:43 +0100, Rikard Falkeborn wrote: > Thie series makes a number of static struct attribute_group const. The > only usage of the structs is to put their address in an array of pointers > to const struct * attribute_group. With this series applied, all but two > static

Re: [PATCH v2 1/5] hugetlb: use page.private for hugetlb specific page flags

2021-01-20 Thread Mike Kravetz
On 1/20/21 1:30 AM, Oscar Salvador wrote: > On Tue, Jan 19, 2021 at 05:30:45PM -0800, Mike Kravetz wrote: >> + * Macros to create test, set and clear function definitions for >> + * hugetlb specific page flags. >> + */ >> +#ifdef CONFIG_HUGETLB_PAGE >> +#define TESTHPAGEFLAG(uname, flname)

[PATCH v9 08/13] misc: bcm-vk: add get_card_info, peerlog_info, and proc_mon_info

2021-01-20 Thread Scott Branden
Add support to get card_info (details about card), peerlog_info (to get details of peerlog on card), and proc_mon_info (process monitoring on card). This info is used for collection of logs via direct read of BAR space and by sysfs access (in a follow on commit). Co-developed-by: Desmond Yan

[PATCH v15 01/11] mm: add definition of PMD_PAGE_ORDER

2021-01-20 Thread Mike Rapoport
From: Mike Rapoport The definition of PMD_PAGE_ORDER denoting the number of base pages in the second-level leaf page is already used by DAX and maybe handy in other cases as well. Several architectures already have definition of PMD_ORDER as the size of second level page table, so to avoid

Re: [PATCH v4 4/8] mm: Move immutable fields of 'struct vm_fault' into anonymous struct

2021-01-20 Thread Nick Desaulniers
On Wed, Jan 20, 2021 at 9:36 AM Will Deacon wrote: > > 'struct vm_fault' contains both information about the fault being > serviced alongside mutable fields contributing to the state of the > fault-handling logic. Unfortunately, the distinction between the two is > not clear-cut, and a number of

[PATCH v15 08/11] secretmem: add memcg accounting

2021-01-20 Thread Mike Rapoport
From: Mike Rapoport Account memory consumed by secretmem to memcg. The accounting is updated when the memory is actually allocated and freed. Signed-off-by: Mike Rapoport Acked-by: Roman Gushchin Reviewed-by: Shakeel Butt Cc: Alexander Viro Cc: Andy Lutomirski Cc: Arnd Bergmann Cc:

Re: [PATCH v4 08/21] arm64: Move SCTLR_EL1 initialisation to EL-agnostic code

2021-01-20 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 09:45:20AM +, Marc Zyngier wrote: > We can now move the initial SCTLR_EL1 setup to be used for both > EL1 and EL2 setup. > > Signed-off-by: Marc Zyngier Acked-by: Catalin Marinas

Re: [PATCH v2 4/4] x86/fpu/64: Don't FNINIT in kernel_fpu_begin()

2021-01-20 Thread Borislav Petkov
On Wed, Jan 20, 2021 at 11:07:11AM +0100, Peter Zijlstra wrote: > On Tue, Jan 19, 2021 at 09:39:02AM -0800, Andy Lutomirski wrote: > > The remaining callers of kernel_fpu_begin() in 64-bit kernels don't use 387 > > instructions, so there's no need to sanitize the FPU state. Skip it to get > >

Re: [PATCH v2] xen-blkfront: allow discard-* nodes to be optional

2021-01-20 Thread Arthur Borsboom
This time the patch applied cleanly. The trim command seems to work as well, meaning no error messages and a certain amount of blocks (5GB) is trimmed. The trimming did consume a bit of time (10-20 seconds), assuming it is actually discarding the blocks at the host. First run: [arthur@test-arch

Re: [PATCH] opp: Prepare for ->set_opp() helper to work without regulators

2021-01-20 Thread Dmitry Osipenko
20.01.2021 10:39, Viresh Kumar пишет: > On 19-01-21, 20:16, Dmitry Osipenko wrote: >> 19.01.2021 09:35, Viresh Kumar пишет: >>> + mutex_lock(_table->lock); >>> + opp_table->set_opp_data = data; >>> + if (opp_table->sod_supplies) { >>> + data->old_opp.supplies =

Re: [PATCH] drivers/scsi/qla4xxx: use scnprintf() instead of snprintf()

2021-01-20 Thread James Bottomley
On Wed, 2021-01-20 at 15:22 +0800, Jiapeng Zhong wrote: > Fix the following coccicheck warning: > > ./drivers/scsi/qla4xxx/ql4_attr.c: WARNING: use scnprintf or > sprintf > > The snprintf() function returns the number of characters which would > have been printed if there were enough space, but

Re: [PATCH V5 0/5] dt: build overlays

2021-01-20 Thread Rob Herring
On Wed, Jan 20, 2021 at 1:07 AM Viresh Kumar wrote: > > Hi Frank/Rob, > > I have picked all the related patches together into a single patchset, > so they can be properly reviewed/tested. > > This patchset makes necessary changes to the kernel to add support for > building overlays (%.dtbo) and

RE: Expense of read_iter

2021-01-20 Thread David Laight
From: Mikulas Patocka > Sent: 20 January 2021 15:12 > > On Wed, 20 Jan 2021, Jan Kara wrote: > > > Yeah, I agree. I'm against ext4 private solution for this read problem. And > > I'm also against duplicating ->read_iter functionatily in ->read handler. > > The maintenance burden of this code

FIX Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-20 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 20, 2021 at 10:50:13AM -0300, Arnaldo Carvalho de Melo escreveu: > So sizeof(struct bpf_perf_event_value) == 24 and it is a per-cpu array, the > machine has 24 cpus, why is the kernel thinking it has more and end up zeroing > entries after the 24 cores? Some percpu map subtlety (or

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Michael Walle
Am 2021-01-20 17:25, schrieb tudor.amba...@microchip.com: On 1/20/21 5:49 PM, Michael Walle wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Am 2021-01-20 16:39, schrieb tudor.amba...@microchip.com: On 1/20/21 5:02 PM, Michael Walle wrote:

[PATCH] virt: vbox: Do not use wait_event_interruptible when called from kernel context

2021-01-20 Thread Hans de Goede
Do not use wait_event_interruptible when vbg_hgcm_call() gets called from kernel-context, such as it being called by the vboxsf filesystem code. This fixes some filesystem related system calls on shared folders unexpectedly failing with -EINTR. Fixes: 0532a1b0d045 ("virt: vbox: Implement passing

Re: [RFC PATCH 3/7] arm64: mm: use nGnRnE instead of nGnRE on Apple processors

2021-01-20 Thread Alexander Graf
On 20.01.21 14:27, Mohamed Mediouni wrote: Use nGnRnE instead of nGnRE on Apple SoCs to workaround a serious hardware quirk. On Apple processors, writes using the nGnRE device memory type get dropped in flight, getting to nowhere. Signed-off-by: Stan Skowronek Signed-off-by: Mohamed

Re: [PATCH] include: linux: Fix in two lines in the file list_lru.sh ,resposible -> responsible

2021-01-20 Thread Randy Dunlap
On 1/20/21 6:46 AM, Bhaskar Chowdhury wrote: > s/resposible/responsible/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap Thanks. > --- > include/linux/list_lru.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/list_lru.h

Re: [PATCH net] net: usb: cdc_ncm: don't spew notifications

2021-01-20 Thread Jakub Kicinski
On Wed, 20 Jan 2021 03:38:32 + Hayes Wang wrote: > Grant Grundler > > Sent: Wednesday, January 20, 2021 9:12 AM > > Subject: [PATCH net] net: usb: cdc_ncm: don't spew notifications > > > > RTL8156 sends notifications about every 32ms. > > Only display/log notifications when something

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Michael Walle
Am 2021-01-20 16:39, schrieb tudor.amba...@microchip.com: On 1/20/21 5:02 PM, Michael Walle wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Am 2021-01-20 15:52, schrieb tudor.amba...@microchip.com: On 1/20/21 4:05 PM, Michael Walle wrote:

Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2021-01-20 Thread . Christoph Hellwig
On Fri, Jan 15, 2021 at 02:08:14PM +0100, Ricardo Ribalda wrote: > > > Did you have time to look into this? > > > > > > No hurry, I just want to make sure that I didn't miss anything ;) > > > > Haven't managed to get to it, sorry. > > No worries!, is there something we can do to help you with

RE: [PATCH v4] x86/mce: Avoid infinite loop for copy from user recovery

2021-01-20 Thread Luck, Tony
> Yah, some printk sprinkling might be a good start. But debugging in that > atomic context is always nasty. ;-\ Some very light printk sprinkling (one message in queue_task_work() in atomic context, one each in kill_me_now() and kill_me_maybe() to check when task_work actually called them.

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Tudor.Ambarus
On 1/20/21 5:02 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2021-01-20 15:52, schrieb tudor.amba...@microchip.com: >> On 1/20/21 4:05 PM, Michael Walle wrote: diff --git a/drivers/mtd/spi-nor/sst.c

Re: [PATCH 1/3] tty: hvcs: Drop unnecessary if block

2021-01-20 Thread Tyrel Datwyler
On 1/14/21 9:57 AM, Uwe Kleine-König wrote: > If hvcs_probe() succeeded dev_set_drvdata() is called with a non-NULL > value, and if hvcs_probe() failed hvcs_remove() isn't called. > > So there is no way dev_get_drvdata() can return NULL in hvcs_remove() and > the check can just go away. > >

Re: [PATCH v6 0/3] AMS, Collision Avoidance, and Protocol Error

2021-01-20 Thread Greg KH
On Wed, Jan 20, 2021 at 02:45:02PM +0100, Hans de Goede wrote: > Hi, > > On 1/14/21 3:50 PM, Kyle Tso wrote: > > v5 https://lore.kernel.org/r/20210105163927.1376770-1-kyle...@google.com > > > > "usb: typec: tcpm: AMS and Collision Avoidance" > > - removed the signed-off > > - modified the

[PATCH v4 6/8] mm: Avoid modifying vmf.address in __collapse_huge_page_swapin()

2021-01-20 Thread Will Deacon
In preparation for const-ifying the anonymous struct field of 'struct vm_fault', rework __collapse_huge_page_swapin() to avoid continuously updating vmf.address and instead populate a new 'struct vm_fault' on the stack for each page being processed. Cc: Kirill A. Shutemov Cc: Linus Torvalds

Re: [PATCH 2/2] interconnect: qcom: Add SDX55 interconnect provider driver

2021-01-20 Thread Georgi Djakov
Hi Mani, On 1/20/21 18:37, Manivannan Sadhasivam wrote: Hi Georgi, On Wed, Jan 20, 2021 at 04:59:31PM +0200, Georgi Djakov wrote: Hi Mani, Thanks for the patch! On 1/20/21 10:06, Manivannan Sadhasivam wrote: Add driver for the Qualcomm interconnect buses found in SDX55 based platforms. The

[PATCH v4 7/8] mm: Use static initialisers for immutable fields of 'struct vm_fault'

2021-01-20 Thread Will Deacon
In preparation for const-ifying the anonymous struct field of 'struct vm_fault', ensure that it is initialised using static initialisers. Cc: Kirill A. Shutemov Cc: Linus Torvalds Signed-off-by: Will Deacon --- mm/shmem.c| 6 +++--- mm/swapfile.c | 11 ++- 2 files changed, 9

[PATCH v4 5/8] mm: Pass 'address' to map to do_set_pte() and drop FAULT_FLAG_PREFAULT

2021-01-20 Thread Will Deacon
Rather than modifying the 'address' field of the 'struct vm_fault' passed to do_set_pte(), leave that to identify the real faulting address and pass in the virtual address to be mapped by the new pte as a separate argument. This makes FAULT_FLAG_PREFAULT redundant, as a prefault entry can be

Re: [RFC PATCH v0] mm/slub: Let number of online CPUs determine the slub page order

2021-01-20 Thread Vincent Guittot
Hi, On Wed, 18 Nov 2020 at 09:28, Bharata B Rao wrote: > > The page order of the slab that gets chosen for a given slab > cache depends on the number of objects that can be fit in the > slab while meeting other requirements. We start with a value > of minimum objects based on nr_cpu_ids that is

Re: [PATCH 3/4] cpu/hotplug: Add cpuhp_invoke_callback_range()

2021-01-20 Thread Peter Zijlstra
On Mon, Jan 11, 2021 at 05:10:46PM +, vincent.donnef...@arm.com wrote: > @@ -475,6 +478,11 @@ cpuhp_set_state(struct cpuhp_cpu_state *st, enum > cpuhp_state target) > static inline void > cpuhp_reset_state(struct cpuhp_cpu_state *st, enum cpuhp_state prev_state) > { > + st->target =

Re: [PATCH] ext4: stop update inode before return

2021-01-20 Thread harshad shirwadkar
Thanks Pan for the fix. Looks good to me. Reviewed-by: Harshad Shirwadkar On Tue, Jan 19, 2021 at 3:04 AM Pan Bian wrote: > > Stop inode updating before returning the error code. > > Fixes: aa75f4d3daae ("ext4: main fast-commit commit path") > Signed-off-by: Pan Bian > --- > fs/ext4/inode.c

Re: [PATCH v2 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-01-20 Thread Greg KH
On Fri, Jan 08, 2021 at 01:25:35PM -0800, mgr...@linux.intel.com wrote: > From: Srikanth Thokala > > Add PCIe EPF driver for local host (lh) to configure BAR's and other > HW resources. Underlying PCIe HW controller is a Synopsys DWC PCIe core. > > Cc: Derek Kiernan > Cc: Dragan Cvetic > Cc:

Re: [PATCH] soc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model()

2021-01-20 Thread Dmitry Baryshkov
On Wed, 20 Jan 2021 at 12:58, Dan Carpenter wrote: > > These need to be < ARRAY_SIZE() instead of <= ARRAY_SIZE() to prevent > accessing one element beyond the end of the array. > > Fixes: e9247e2ce577 ("soc: qcom: socinfo: fix printing of pmic_model") > Signed-off-by: Dan Carpenter Acked-by:

Re: [PATCH 3/4] cpu/hotplug: Add cpuhp_invoke_callback_range()

2021-01-20 Thread Peter Zijlstra
On Wed, Jan 20, 2021 at 02:11:14PM +0100, Peter Zijlstra wrote: > On Mon, Jan 11, 2021 at 05:10:46PM +, vincent.donnef...@arm.com wrote: > > @@ -157,26 +162,24 @@ static int cpuhp_invoke_callback(unsigned int cpu, > > enum cpuhp_state state, > > > > if (st->fail == state) { > >

[PATCH v9 12/13] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2021-01-20 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden Acked-by: Olof Johansson --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 00836f6452f0..76f3817cf22c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3744,6

  1   2   3   4   5   6   7   8   9   10   >