[PATCH v8 04/15] ARM: dts: rockchip: add #power-domain-cells to power domain nodes

2021-04-16 Thread Johan Jonker
Add #power-domain-cells to power domain nodes, because they are required by power-domain.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3066a.dtsi | 3 +++ arch/arm/boot/dts/rk3188.dtsi | 3 +++ arch/arm/boot/dts/rk3288.dtsi | 4 3 files changed, 10 insertions(+) diff --git

[PATCH v8 02/15] ARM: dts: rockchip: Fix power-controller node names for rk3188

2021-04-16 Thread Johan Jonker
From: Elaine Zhang Use more generic names (as recommended in the device tree specification or the binding documentation) Signed-off-by: Elaine Zhang Reviewed-by: Enric Balletbo i Serra Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3188.dtsi | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH v8 03/15] ARM: dts: rockchip: Fix power-controller node names for rk3288

2021-04-16 Thread Johan Jonker
From: Elaine Zhang Use more generic names (as recommended in the device tree specification or the binding documentation) Signed-off-by: Elaine Zhang Reviewed-by: Enric Balletbo i Serra Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3288.dtsi | 8 1 file changed, 4

[PATCH v8 06/15] arm64: dts: rockchip: Fix power-controller node names for rk3328

2021-04-16 Thread Johan Jonker
From: Elaine Zhang Use more generic names (as recommended in the device tree specification or the binding documentation) Signed-off-by: Elaine Zhang Reviewed-by: Enric Balletbo i Serra Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 +++--- 1 file changed, 3

[PATCH v8 05/15] arm64: dts: rockchip: Fix power-controller node names for px30

2021-04-16 Thread Johan Jonker
From: Elaine Zhang Use more generic names (as recommended in the device tree specification or the binding documentation) Signed-off-by: Elaine Zhang Reviewed-by: Enric Balletbo i Serra Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 16 1 file

[PATCH net-next 0/6] r8152: support new chips

2021-04-16 Thread Hayes Wang
Support new RTL8153 and RTL8156 series. Hayes Wang (6): r8152: set inter fram gap time depending on speed r8152: adjust rtl8152_check_firmware function r8152: add help function to change mtu r8152: support new chips r8152: support PHY firmware for RTL8156 series r8152: search the

[PATCH v1 1/2] coresight: Add support for device names

2021-04-16 Thread Tao Zhang
Add support to read device names from device tree entries. Before the previous process of allocating coresight device name, try to read the coresight device name from device tree entries. If it is read, the device name will be returned directly. If it is not read, the original allocation name

[PATCH v1 2/2] dt-bindings: arm: add property for coresight component name

2021-04-16 Thread Tao Zhang
Add property "coresight-name" for coresight component name. This allows coresight driver to read device name from device entries. Signed-off-by: Tao Zhang --- Documentation/devicetree/bindings/arm/coresight.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v5 net-next 05/10] net: korina: Use DMA API

2021-04-16 Thread Thomas Bogendoerfer
Instead of messing with MIPS specific macros use DMA API for mapping descriptors and skbs. Reviewed-by: Andrew Lunn Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/korina.c | 158 +- 1 file changed, 98 insertions(+), 60 deletions(-) diff --git

[PATCH v5 net-next 04/10] net: korina: Remove nested helpers

2021-04-16 Thread Thomas Bogendoerfer
Remove helpers, which are only used in one call site. Reviewed-by: Andrew Lunn Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/korina.c | 28 +++- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/drivers/net/ethernet/korina.c

[PATCH v5 net-next 02/10] net: korina: Use devres functions

2021-04-16 Thread Thomas Bogendoerfer
Simplify probe/remove code by using devm_ functions. Reviewed-by: Andrew Lunn Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/korina.c | 64 --- 1 file changed, 21 insertions(+), 43 deletions(-) diff --git a/drivers/net/ethernet/korina.c

[PATCH v5 net-next 00/10] net: Korina improvements

2021-04-16 Thread Thomas Bogendoerfer
While converting Mikrotik RB532 support to use device tree I stumbled over the korina ethernet driver, which used way too many MIPS specific hacks. This series cleans this all up and adds support for device tree. Changes in v5: - fixed email address in binding document, which prevented sending

[PATCH v5 net-next 01/10] net: korina: Fix MDIO functions

2021-04-16 Thread Thomas Bogendoerfer
Fixed MDIO functions to work reliable and not just by accident. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/Kconfig | 1 + drivers/net/ethernet/korina.c | 56 +++ 2 files changed, 38 insertions(+), 19 deletions(-) diff --git

[PATCH v5 net-next 03/10] net: korina: Remove not needed cache flushes

2021-04-16 Thread Thomas Bogendoerfer
Descriptors are mapped uncached so there is no need to do any cache handling for them. Reviewed-by: Andrew Lunn Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/korina.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/ethernet/korina.c

Re: [Outreachy kernel] [PATCH v2] staging: media: atomisp: pci: Change line break to avoid an open parenthesis at the end of the line

2021-04-16 Thread Julia Lawall
On Fri, 16 Apr 2021, Sakari Ailus wrote: > On Fri, Apr 16, 2021 at 10:46:54AM +0200, Julia Lawall wrote: > > > > If you're running into the 80 character limit, then it's fine to use > > > > two tabs. I think we have been rejecting patches that push align the > > > > parameters but push past

[PATCH v2 3/4] arm64: dts: add DRAMC node for MT6779

2021-04-16 Thread Po-Kai Chi
Add the DRAMC node for the DRAMC kernel driver. Properties are divided into three categories: - Platform DTS: MediaTek DRAMC platform common part. - Project DTS: Runtime filled in by bootloader according to the board hardware configuration. - Driver level: Hardware-specific

[PATCH v2 4/4] arm64: defconfig: Enable MediaTek DRAMC common driver

2021-04-16 Thread Po-Kai Chi
This commit enables MediaTek DRAMC common driver to be built as a module by default for the ARM64 builds. Signed-off-by: Po-Kai Chi --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH v2] memory: mediatek: add DRAM controller driver

2021-04-16 Thread Po-Kai Chi
These patch series introduces the MediaTek DRAM controller driver (DRAMC) on MT6779 SoC, and enables to be built as a module by default for the ARM64 builds. MediaTek DRAMC driver provides cross-platform features as below: - API provided to other kernel modules for querying DRAM type, rank

[PATCH v2 2/4] memory: mediatek: add DRAM controller driver

2021-04-16 Thread Po-Kai Chi
MediaTek DRAM controller (DRAMC) driver provides cross-platform features as below: 1. provide APIs for low power feature queries 2. create sysfs to pass the DRAM information to user-space Signed-off-by: Po-Kai Chi --- drivers/memory/Kconfig |1 + drivers/memory/Makefile

Re: [PATCH v8 4/8] dt-bindings: pwm: Support new PWM_USAGE_POWER flag

2021-04-16 Thread Uwe Kleine-König
Hello Thierry, On Thu, Apr 15, 2021 at 06:27:02PM +0200, Thierry Reding wrote: > On Tue, Apr 13, 2021 at 07:56:31PM +0200, Uwe Kleine-König wrote: > > On Tue, Apr 13, 2021 at 01:51:15PM +0200, Thierry Reding wrote: > > > On Mon, Apr 12, 2021 at 06:27:23PM +0200, Uwe Kleine-König wrote: > > > > On

[PATCH v2 1/4] dt-bindings: memory: Add binding for MediaTek DRAM Controller

2021-04-16 Thread Po-Kai Chi
This patch adds the documentation of the device-tree binding for MediaTek DRAM Controller. Signed-off-by: Po-Kai Chi --- .../memory-controllers/mediatek,dramc.yaml | 162 1 file changed, 162 insertions(+) create mode 100644

Re: [PATCH v2 0/1] arm: topology: parse the topology from the dt

2021-04-16 Thread Valentin Schneider
On 16/04/21 15:47, Ruifeng Zhang wrote: > For more requirements, if all cores in one physical cluster, the > {aff2} of all cores are the same value. > i.e. the sc9863a, > core0: 8100 > core1: 81000100 > core2: 81000200 > core3: 81000300 > core4: 81000400

Re: [PATCH 4.14 16/68] net: ensure mac header is set in virtio_net_hdr_to_skb()

2021-04-16 Thread Eric Dumazet
On Fri, Apr 16, 2021 at 10:49 AM Balazs Nemeth wrote: > > On Thu, 2021-04-15 at 16:46 +0200, Greg Kroah-Hartman wrote: > > From: Eric Dumazet > > > > commit 61431a5907fc36d0738e9a547c7e1556349a03e9 upstream. > > > > Commit 924a9bc362a5 ("net: check if protocol extracted by > >

[RFC PATCH] f2fs: reduce expensive checkpoint trigger frequency

2021-04-16 Thread Chao Yu
We may trigger high frequent checkpoint for below case: 1. mkdir /mnt/dir1; set dir1 encrypted 2. touch /mnt/file1; fsync /mnt/file1 3. mkdir /mnt/dir2; set dir2 encrypted 4. touch /mnt/file2; fsync /mnt/file2 ... Although, newly created dir and file are not related, due to commit bbf156f7afa7

Re: [PATCH v19 1/2] scsi: ufs: Enable power management for wlun

2021-04-16 Thread Adrian Hunter
On 16/04/21 12:22 pm, Adrian Hunter wrote: > On 16/04/21 2:36 am, Asutosh Das wrote: >> During runtime-suspend of ufs host, the scsi devices are >> already suspended and so are the queues associated with them. >> But the ufs host sends SSU (START_STOP_UNIT) to wlun >> during its runtime-suspend.

Re: [PATCH RFC 01/22] asm-generic/hyperv: add HV_STATUS_ACCESS_DENIED definition

2021-04-16 Thread Wei Liu
On Thu, Apr 15, 2021 at 05:33:17PM +0200, Vitaly Kuznetsov wrote: > Wei Liu writes: > > > On Tue, Apr 13, 2021 at 02:26:09PM +0200, Vitaly Kuznetsov wrote: > >> From TLFSv6.0b, this status means: "The caller did not possess sufficient > >> access rights to perform the requested operation." > >>

Re: [PATCH] riscv: Protect kernel linear mapping only if CONFIG_STRICT_KERNEL_RWX is set

2021-04-16 Thread Anup Patel
On Thu, Apr 15, 2021 at 4:34 PM Alexandre Ghiti wrote: > > If CONFIG_STRICT_KERNEL_RWX is not set, we cannot set different permissions > to the kernel data and text sections, so make sure it is defined before > trying to protect the kernel linear mapping. > > Signed-off-by: Alexandre Ghiti

Re: [PATCH] ALSA: seq: oss: Fix inconsistent indenting

2021-04-16 Thread Takashi Iwai
On Fri, 16 Apr 2021 12:00:44 +0200, Yang Li wrote: > > Kernel test robot throws below warning -> > > smatch warnings: > sound/core/seq/oss/seq_oss_event.c:297 note_on_event() warn: > inconsistent indenting > > Fixed the inconsistent indenting. > > Reported-by: Abaci Robot > Signed-off-by:

Re: [PATCH v8 4/8] dt-bindings: pwm: Support new PWM_USAGE_POWER flag

2021-04-16 Thread Thierry Reding
On Fri, Apr 16, 2021 at 11:32:12AM +0200, Uwe Kleine-König wrote: > Hello Thierry, > > On Thu, Apr 15, 2021 at 06:27:02PM +0200, Thierry Reding wrote: > > On Tue, Apr 13, 2021 at 07:56:31PM +0200, Uwe Kleine-König wrote: > > > On Tue, Apr 13, 2021 at 01:51:15PM +0200, Thierry Reding wrote: > > >

[PATCH net] vsock/vmci: log once the failed queue pair allocation

2021-04-16 Thread Stefano Garzarella
VMCI feature is not supported in conjunction with the vSphere Fault Tolerance (FT) feature. VMware Tools can repeatedly try to create a vsock connection. If FT is enabled the kernel logs is flooded with the following messages: qp_alloc_hypercall result = -20 Could not attach to queue

[tip: x86/cleanups] MAINTAINERS: Remove me from IDE/ATAPI section

2021-04-16 Thread tip-bot2 for Borislav Petkov
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: df448cdfc01ffc117702a494ef302e7fb76df78a Gitweb: https://git.kernel.org/tip/df448cdfc01ffc117702a494ef302e7fb76df78a Author:Borislav Petkov AuthorDate:Mon, 12 Apr 2021 10:59:51 +02:00

Re: [PATCH v1 2/2] dt-bindings: arm: add property for coresight component name

2021-04-16 Thread Alexander Shishkin
Tao Zhang writes: > Add property "coresight-name" for coresight component name. This > allows coresight driver to read device name from device entries. > > Signed-off-by: Tao Zhang > --- > Documentation/devicetree/bindings/arm/coresight.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff

[PATCH v9 1/8] drivers/base/memory: Introduce memory_block_{online,offline}

2021-04-16 Thread Oscar Salvador
This is a preparatory patch that introduces two new functions: memory_block_online() and memory_block_offline(). For now, these functions will only call online_pages() and offline_pages() respectively, but they will be later in charge of preparing the vmemmap pages, carrying out the

[PATCH v9 2/8] mm,memory_hotplug: Relax fully spanned sections check

2021-04-16 Thread Oscar Salvador
When using self-hosted vmemmap pages, the number of pages passed to {online,offline}_pages might not fully span sections, but they always fully span pageblocks. Relax the check account for that case. Signed-off-by: Oscar Salvador Reviewed-by: David Hildenbrand --- mm/memory_hotplug.c | 18

Re: [PATCH 0/3] crypto: hisilicon/hpre - add debug log

2021-04-16 Thread Herbert Xu
On Sat, Apr 10, 2021 at 05:46:58PM +0800, Hui Tang wrote: > This patchset adds the debug log and cleanup code style. > > Hui Tang (3): > crypto: hisilicon/hpre - delete the rudundant space after return > crypto: hisilicon/hpre - use the correct variable type > crypto: hisilicon/hpre - add

Re: [PATCH 0/2] drm/bridge: dw-hdmi: disable loading of DW-HDMI CEC sub-driver

2021-04-16 Thread Neil Armstrong
On 16/04/2021 11:58, Laurent Pinchart wrote: > Hi Neil, > > On Fri, Apr 16, 2021 at 11:27:35AM +0200, Neil Armstrong wrote: >> This adds DW-HDMI driver a glue option to disable loading of the CEC >> sub-driver. >> >> On some SoCs, the CEC functionality is enabled in the IP config bits, but the

Re: [PATCH net v3] net: sched: fix packet stuck problem for lockless qdisc

2021-04-16 Thread Jiri Kosina
On Tue, 13 Apr 2021, Juergen Gross wrote: > > what Jiri said about "I am still planning to have Yunsheng Lin's > > (CCing) fix [1] tested in the coming days." is that Juergen has > > done the test and provide a "Tested-by" tag. > > Correct. And I did this after Jiri asking me to do so. Exactly,

[PATCH net-next 4/6] r8152: support new chips

2021-04-16 Thread Hayes Wang
Support RTL8153C, RTL8153D, RTL8156A, and RTL8156B. The RTL8156A and RTL8156B are the 2.5G ethernet. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 2634 +++ 1 file changed, 2359 insertions(+), 275 deletions(-) diff --git a/drivers/net/usb/r8152.c

Re: [PATCH 00/13] [RFC] Rust support

2021-04-16 Thread Michal Kubecek
On Thu, Apr 15, 2021 at 08:58:16PM +0200, Peter Zijlstra wrote: > > This; can we mercilessly break the .rs bits when refactoring? What > happens the moment we cannot boot x86_64 without Rust crap on? > > We can ignore this as a future problem, but I think it's only fair to > discuss now. I

[PATCH V2 net-next] net: mvpp2: Add parsing support for different IPv4 IHL values

2021-04-16 Thread stefanc
From: Stefan Chulski Add parser entries for different IPv4 IHL values. Each entry will set the L4 header offset according to the IPv4 IHL field. L3 header offset will set during the parsing of the IPv4 protocol. Because of missed parser support for IP header length > 20, RX IPv4 checksum HW

Re: [PATCH v2 1/7] hyperv: Detect Nested virtualization support for SVM

2021-04-16 Thread Vitaly Kuznetsov
Vineeth Pillai writes: > Detect nested features exposed by Hyper-V if SVM is enabled. > It may make sense to expand this a bit as it is probably unclear how the change is related to SVM. Something like: HYPERV_CPUID_NESTED_FEATURES CPUID leaf can be present on both Intel and AMD Hyper-V

Re: linux-next: manual merge of the rust tree with the char-misc tree

2021-04-16 Thread Stephen Rothwell
Hi all, On Fri, 16 Apr 2021 17:58:06 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the rust tree got a conflict in: > > include/uapi/linux/android/binder.h > > between commits: > > 432ff1e91694 ("binder: BINDER_FREEZE ioctl") > ae28c1be1e54 ("binder:

Re: [PATCH] mm: ptdump: Fix build failure

2021-04-16 Thread Steven Price
On 15/04/2021 10:31, Christophe Leroy wrote: CC mm/ptdump.o In file included from : mm/ptdump.c: In function 'ptdump_pte_entry': ././include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_207' declared with attribute error: Unsupported

Re: [PATCHv3] Introduced new tracing mode KCOV_MODE_UNIQUE.

2021-04-16 Thread Dmitry Vyukov
On Sat, Mar 27, 2021 at 3:56 PM Andrey Konovalov wrote: > > On Fri, Mar 26, 2021 at 9:52 PM Alexander Lochmann > wrote: > > > > Hi Alexander, > > > It simply stores the executed PCs. > > The execution order is discarded. > > Each bit in the shared buffer represents every fourth > > byte of the

[gustavoars-linux:testing/warray-bounds] BUILD SUCCESS WITH WARNING 8bd0f043b3e94069930bec5cb3fbb5c857748c80

2021-04-16 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/warray-bounds branch HEAD: 8bd0f043b3e94069930bec5cb3fbb5c857748c80 HID: cp2112: Fix out-of-bounds warning Warning reports: https://lore.kernel.org/lkml/202104160817.a5foa0xa-...@intel.com

Re: [Outreachy kernel] [PATCH v2] staging: media: atomisp: pci: Change line break to avoid an open parenthesis at the end of the line

2021-04-16 Thread Sakari Ailus
On Fri, Apr 16, 2021 at 10:46:54AM +0200, Julia Lawall wrote: > > > If you're running into the 80 character limit, then it's fine to use > > > two tabs. I think we have been rejecting patches that push align the > > > parameters but push past the 80 character limit. Using one tab is > > >

Re: [PATCH v2 5/7] KVM: SVM: hyper-v: Remote TLB flush for SVM

2021-04-16 Thread Vitaly Kuznetsov
Vineeth Pillai writes: > Enable remote TLB flush for SVM. > > Signed-off-by: Vineeth Pillai > --- > arch/x86/kvm/svm/svm.c | 37 + > 1 file changed, 37 insertions(+) > > diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c > index

Re: [PATCH] kernel:irq:manage: request threaded irq with a specified priority

2021-04-16 Thread Thomas Gleixner
On Fri, Apr 16 2021 at 12:57, chensong wrote: > On 2021/4/13 下午4:39, Thomas Gleixner wrote: >> It breaks because the system designer failed to assign proper priorities >> to the irq threads int_a, int_b and to the user space process task_a. > > yes, it's designers' responsibility to assign proper

Re: [PATCH v1 1/1] powerpc/papr_scm: Properly handle UUID types and API

2021-04-16 Thread Andy Shevchenko
On Fri, Apr 16, 2021 at 01:28:21PM +0530, Aneesh Kumar K.V wrote: > On 4/15/21 7:16 PM, Andy Shevchenko wrote: > > Parse to and export from UUID own type, before dereferencing. > > This also fixes wrong comment (Little Endian UUID is something else) > > and should fix Sparse warnings about

[V3] drm/i915/gt: Fix a lockdep warning with interrupts enabled

2021-04-16 Thread Jun Miao
Don`t simplely disable local interrupt delivery of CPU hardware irq, should race the region inside signal_irq_work, include intel_breadcrumbs_disarm_irq/intel_breadcrumbs_arm_irq. RT complains about might sleep inside signal_irq_work() because spin_lock will be invoked after disabling

Re: [PATCH 5.10 00/25] 5.10.31-rc1 review

2021-04-16 Thread Naresh Kamboju
On Thu, 15 Apr 2021 at 20:33, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.31 release. > There are 25 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] dma-buf: Add DmaBufTotal counter in meminfo

2021-04-16 Thread Peter Enderborg
This adds a total used dma-buf memory. Details can be found in debugfs, however it is not for everyone and not always available. Signed-off-by: Peter Enderborg --- drivers/dma-buf/dma-buf.c | 12 fs/proc/meminfo.c | 2 ++ include/linux/dma-buf.h | 1 + 3 files changed,

[PATCH] drm/bridge: nwl-dsi: Get MIPI DSI controller and PHY ready in ->mode_set()

2021-04-16 Thread Liu Ying
Some MIPI DSI panel drivers like 'raydium,rm68200' send MIPI_DCS_SET_DISPLAY_ON commands in panel_funcs->prepare(), which requires the MIPI DSI controller and PHY to be ready beforehand. Without this patch, the nwl-dsi driver gets the MIPI DSI controller and PHY ready in

Re: [PATCH 4.19 00/13] 4.19.188-rc1 review

2021-04-16 Thread Naresh Kamboju
On Thu, 15 Apr 2021 at 20:29, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.188 release. > There are 13 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH] usb: misc: adutux: fix whitespace coding style issue

2021-04-16 Thread Sergei Shtylyov
On 16.04.2021 11:08, Malte Deiseroth wrote: Correct missing space error ceckpatch.pl is complaining about. It's called checkpatch.pl. :-) Signed-off-by: Malte Deiseroth [...] MBR, Sergei

Re: [PATCH v3 1/2] perf/core: Share an event with multiple cgroups

2021-04-16 Thread Namhyung Kim
On Fri, Apr 16, 2021 at 6:29 PM Peter Zijlstra wrote: > > > Duh.. this is a half-finished email I meant to save for later. Anyway, > I'll reply more. Nevermind, and thanks for your time! :-) Namhyung

Re: [PATCH v3 1/2] perf/core: Share an event with multiple cgroups

2021-04-16 Thread Peter Zijlstra
On Fri, Apr 16, 2021 at 11:29:30AM +0200, Peter Zijlstra wrote: > > So I think we've had proposals for being able to close fds in the past; > > while preserving groups etc. We've always pushed back on that because of > > the resource limit issue. By having each counter be a filedesc we get a > >

Re: [PATCH v1 3/5] mm: ptdump: Provide page size to notepage()

2021-04-16 Thread Christophe Leroy
Le 16/04/2021 à 12:51, Steven Price a écrit : On 16/04/2021 11:38, Christophe Leroy wrote: Le 16/04/2021 à 11:28, Steven Price a écrit : On 15/04/2021 18:18, Christophe Leroy wrote: In order to support large pages on powerpc, notepage() needs to know the page size of the page. Add a

[PATCH] MAINTAINERS: gemini: add missing dts pattern

2021-04-16 Thread Corentin Labbe
The MAINTAINERS entry for cortina/gemini miss all dts of this platform. Signed-off-by: Corentin Labbe --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f64a75945b06..927fa29f05ed 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1816,6 +1816,7 @@

Re: x86/crash: fix crash_setup_memmap_entries() out-of-bounds access

2021-04-16 Thread Dave Young
On 04/16/21 at 01:28pm, Mike Galbraith wrote: > On Fri, 2021-04-16 at 19:07 +0800, Dave Young wrote: > > > > > We're excluding two ranges, allocate the scratch space we need to do that. > > > > I think 1 range should be fine, have you tested 1? > > Have now, and vzalloc(struct_size(cmem, ranges,

[PATCH v8 07/15] arm64: dts: rockchip: Fix power-controller node names for rk3399

2021-04-16 Thread Johan Jonker
From: Elaine Zhang Use more generic names (as recommended in the device tree specification or the binding documentation) Signed-off-by: Elaine Zhang Reviewed-by: Enric Balletbo i Serra Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 40

linux-next: manual merge of the rust tree with the printk tree

2021-04-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rust tree got a conflict in: kernel/printk/printk.c between commit: cf5b0208fda4 ("printk: introduce CONSOLE_LOG_MAX") from the printk tree and commit: fd1e637b9b4b ("Rust: Kernel crate") from the rust tree. I fixed it up (see below) and can

[PATCH v8 08/15] arm64: dts: rockchip: add #power-domain-cells to power domain nodes

2021-04-16 Thread Johan Jonker
Add #power-domain-cells to power domain nodes, because they are required by power-domain.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 8 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 3 +++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 20

Re: linux-next: manual merge of the rust tree with the char-misc tree

2021-04-16 Thread Greg KH
On Fri, Apr 16, 2021 at 05:58:06PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the rust tree got a conflict in: > > include/uapi/linux/android/binder.h > > between commits: > > 432ff1e91694 ("binder: BINDER_FREEZE ioctl") > ae28c1be1e54 ("binder:

Re: [PATCH 0/2] *** SUBJECT HERE ***

2021-04-16 Thread Greg Kroah-Hartman
On Fri, Apr 16, 2021 at 04:07:54PM +0800, Tao Zhang wrote: > *** BLURB HERE *** Where is the blurb? And your subject is not ok :(

[PATCH 0/5] Another small set of cleanups for floppy driver

2021-04-16 Thread Denis Efremov
Just a couple of patches to make checkpatch.pl a bit more happy. All these patches preserve original semantics of the code and only memset(), memcpy() patches change binary code. Denis Efremov (5): floppy: cleanups: remove trailing whitespaces floppy: cleanups: use ST0 as reply_buffer index 0

Re: [PATCH] extcon: maxim: Fix missing IRQF_ONESHOT as only threaded handler

2021-04-16 Thread Krzysztof Kozlowski
On 15/04/2021 13:36, zhuguangqin...@gmail.com wrote: > From: Guangqing Zhu > > Coccinelle noticed: > 1. drivers/extcon/extcon-max14577.c:699:8-33: ERROR: Threaded IRQ with > no primary handler requested without IRQF_ONESHOT > 2. drivers/extcon/extcon-max77693.c:1143:8-33: ERROR: Threaded IRQ

Re: [PATCH v2] serial: stm32: optimize spin lock usage

2021-04-16 Thread Johan Hovold
[ Please avoid top-posting. ] On Thu, Apr 15, 2021 at 07:09:14PM +0200, Erwan LE RAY wrote: > Hi Dillon, > > STM32MP151 is mono-core, but both STM32MP153 and STM32MP157 are > dual-core (see >

Re: [PATCH v19 1/2] scsi: ufs: Enable power management for wlun

2021-04-16 Thread Adrian Hunter
On 16/04/21 2:36 am, Asutosh Das wrote: > During runtime-suspend of ufs host, the scsi devices are > already suspended and so are the queues associated with them. > But the ufs host sends SSU (START_STOP_UNIT) to wlun > during its runtime-suspend. > During the process blk_queue_enter checks if the

Re: [PATCH] mmc: meson-gx: remove useless warning about scatterlist size alignment in block mode

2021-04-16 Thread Neil Armstrong
On 15/04/2021 11:07, Ulf Hansson wrote: > On Wed, 14 Apr 2021 at 12:00, Neil Armstrong wrote: >> >> Since commit e085b51c74cc ("mmc: meson-gx: check for scatterlist size >> alignment in block mode"), >> support for SDIO SD_IO_RW_EXTENDED transferts are properly filtered but some >> driver >>

Re: [PATCH] powerpc/kdump: fix kdump kernel hangup issue with hot add CPUs

2021-04-16 Thread Hari Bathini
On 16/04/21 12:17 pm, Sourabh Jain wrote: With the kexec_file_load system call when system crashes on the hot add CPU the capture kernel hangs and failed to collect the vmcore. Kernel panic - not syncing: sysrq triggered crash CPU: 24 PID: 6065 Comm: echo Kdump: loaded Not tainted

[PATCH] ALSA: isa: Fix inconsistent indenting

2021-04-16 Thread Yang Li
Kernel test robot throws below warning -> smatch warnings: sound/isa/opti9xx/opti92x-ad1848.c:191 snd_opti9xx_init() warn: inconsistent indenting sound/isa/opti9xx/opti92x-ad1848.c:488 snd_opti9xx_init() warn: inconsistent indenting Reported-by: Abaci Robot Signed-off-by: Yang Li ---

[PATCH v2] lsm:fix a missing-check bug in smack_sb_eat_lsm_opts()

2021-04-16 Thread  Zhongjun Tan
From: Zhongjun Tan In smack_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It returns NULL when fails. So 'arg' should be checked. And 'mnt_opts' should be freed when error. Signed-off-by: Zhongjun Tan --- v2:fix brace error security/smack/smack_lsm.c | 19 ++- 1

Re: [PATCH 2/2] perf cs-etm: Set time on synthesised samples to preserve ordering

2021-04-16 Thread James Clark
On 15/04/2021 22:54, Mathieu Poirier wrote: > On Wed, Apr 14, 2021 at 05:39:19PM +0300, James Clark wrote: >> The following attribute is set when synthesising samples in >> timed decoding mode: >> >> attr.sample_type |= PERF_SAMPLE_TIME; >> >> This results in new samples that appear to have

Re: [PATCH v3] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h

2021-04-16 Thread Michael Ellerman
Tony Ambardar writes: > Hello Michael, > > The latest version of this patch addressed all feedback I'm aware of > when submitted last September, and I've seen no further comments from > reviewers since then. > > Could you please let me know where this stands and if anything further > is needed?

Re: [PATCH] Input: twl4030_keypad - Fix missing IRQF_ONESHOT as only threaded handler

2021-04-16 Thread Felipe Balbi
zhuguangqin...@gmail.com writes: > From: Guangqing Zhu > > Coccinelle noticed: > drivers/input/keyboard/twl4030_keypad.c:413:9-34: ERROR: Threaded IRQ with > no primary handler requested without IRQF_ONESHOT > > Signed-off-by: Guangqing Zhu Reviewed-by: Felipe Balbi -- balbi signature.asc

Re: [PATCH v8 4/8] mm,memory_hotplug: Allocate memmap from the added memory range

2021-04-16 Thread David Hildenbrand
On 16.04.21 12:37, Oscar Salvador wrote: On Fri, Apr 16, 2021 at 12:33:34PM +0200, David Hildenbrand wrote: IIRC, we have to add the zero shadow first, before touching the memory. This is also what mm/memremap.c does. In mhp_deinit_memmap_on_memory(), you already remove in the proper

Re: [PATCH v8 4/8] mm,memory_hotplug: Allocate memmap from the added memory range

2021-04-16 Thread Oscar Salvador
On Fri, Apr 16, 2021 at 12:51:31PM +0200, David Hildenbrand wrote: > The thing is: move_pfn_range_to_zone() in case of ordinary online_pages() > won't touch the pages but only the memmap. The memmap has a proper kasan > shadow already. Pages won't be touched before exposing them to the page >

Re: x86/crash: fix crash_setup_memmap_entries() out-of-bounds access

2021-04-16 Thread Mike Galbraith
On Fri, 2021-04-16 at 19:07 +0800, Dave Young wrote: > > > We're excluding two ranges, allocate the scratch space we need to do that. > > I think 1 range should be fine, have you tested 1? Have now, and vzalloc(struct_size(cmem, ranges, 1)) worked just fine. -Mike

Re: [PATCH] coresight: add support to enable more coresight paths

2021-04-16 Thread taozha
On 2021-04-15 17:49, Suzuki K Poulose wrote: Hi On 15/04/2021 10:33, Tao Zhang wrote: Current coresight implementation only supports enabling source ETMs or STM. This patch adds support to enable more kinds of coresight source to sink paths. We build a path from source to sink when any source

Re: [PATCH 4.9 00/47] 4.9.267-rc1 review

2021-04-16 Thread Naresh Kamboju
On Thu, 15 Apr 2021 at 20:23, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.267 release. > There are 47 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v4] kernel/resource: Fix locking in request_free_mem_region

2021-04-16 Thread David Hildenbrand
On 16.04.21 06:19, Dan Williams wrote: On Thu, Apr 15, 2021 at 7:58 PM Alistair Popple wrote: request_free_mem_region() is used to find an empty range of physical addresses for hotplugging ZONE_DEVICE memory. It does this by iterating over the range of possible addresses using

[PATCH] sched/core: Add in additional const on preempt_modes array declaration

2021-04-16 Thread Colin King
From: Colin Ian King Checkpatch warnings that there is a missing const, fix this by adding it. Clean us up warning: "WARNING: static const char * array should probably be static const char * const" Signed-off-by: Colin Ian King --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 1/5] floppy: cleanups: remove trailing whitespaces

2021-04-16 Thread Denis Efremov
Cleanup trailing whitespaces as checkpatch.pl suggests. Signed-off-by: Denis Efremov --- include/uapi/linux/fd.h | 46 - 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/include/uapi/linux/fd.h b/include/uapi/linux/fd.h index

[PATCH 2/5] floppy: cleanups: use ST0 as reply_buffer index 0

2021-04-16 Thread Denis Efremov
Use ST0 as 0 index for reply_buffer array. get_fdc_version() is the only function that uses index 0 directly instead of the ST0 define. Signed-off-by: Denis Efremov --- drivers/block/floppy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/block/floppy.c

[PATCH 4/5] floppy: cleanups: use memcpy() to copy reply_buffer

2021-04-16 Thread Denis Efremov
Use memcpy() in raw_cmd_done() to copy reply_buffer instead of a for loop. Signed-off-by: Denis Efremov --- drivers/block/floppy.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index c58b0b079afc..c584657bacab 100644 ---

[PATCH 5/5] floppy: cleanups: remove FLOPPY_SILENT_DCL_CLEAR undef

2021-04-16 Thread Denis Efremov
FLOPPY_SILENT_DCL_CLEAR is not defined anywhere and comes from pre-git era. Just drop this undef. There is FD_SILENT_DCL_CLEAR which is really used. Signed-off-by: Denis Efremov --- drivers/block/floppy.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/block/floppy.c

[PATCH 3/5] floppy: cleanups: use memset() to zero reply_buffer

2021-04-16 Thread Denis Efremov
Use memset() to zero reply buffer in raw_cmd_copyin() instead of a for loop. Signed-off-by: Denis Efremov --- drivers/block/floppy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index df5c32900539..c58b0b079afc 100644 ---

Re: [PATCH v2] serial: stm32: optimize spin lock usage

2021-04-16 Thread Johan Hovold
On Tue, Apr 13, 2021 at 07:44:39AM +0800, dillon min wrote: > Hi Johan, Erwan > > It seems still a bit of a problem in the current version, not deadlock > but access register at the same time. > > For driver , we should consider it running under smp, let's think > about it for this case: > >

Re: [PATCH v9 6/7] mm: Make alloc_contig_range handle in-use hugetlb pages

2021-04-16 Thread David Hildenbrand
-int isolate_or_dissolve_huge_page(struct page *page) +int isolate_or_dissolve_huge_page(struct page *page, struct list_head *list) { struct hstate *h; struct page *head; + int ret = -EBUSY; /* * The page might have been dissolved from under our feet, so

Re: [PATCH v2 3/7] KVM: x86: hyper-v: Move the remote TLB flush logic out of vmx

2021-04-16 Thread Vitaly Kuznetsov
Vineeth Pillai writes: > Currently the remote TLB flush logic is specific to VMX. > Move it to a common place so that SVM can use it as well. > > Signed-off-by: Vineeth Pillai > --- > arch/x86/include/asm/kvm_host.h | 14 + > arch/x86/kvm/hyperv.c | 87

Re: [v2 1/2] dt-bindings: Add bindings for aspeed pwm-tach and pwm.

2021-04-16 Thread Billy Tsai
On 2021/4/15, 10:44 PM,Rob Herringwrote: >On Wed, Apr 14, 2021 at 10:44 PM Billy Tsai wrote: >> >> Hi Rob, >> >> On 2021/4/15, 6:16 AM,Rob Herringwrote: >> >> On Wed, Apr 14, 2021 at 06:49:38PM +0800, Billy Tsai wrote: >> >> This patch adds device

Re: [RFC 0/2] Add a new translation tool scripts/trslt.py

2021-04-16 Thread Wu X.C.
Hi Federico, On Wed, Apr 14, 2021 at 01:27:23AM +0200, Federico Vaga wrote: > Hi, > > Yes, you are touching a good point where things can be improved. I admit that > I > did not have a look at the code yet, if not very quickly. Perhaps I'm missing > something. However, let me give you my two

Re: [PATCH] regulator: mt6360: Fix missing IRQF_ONESHOT as only threaded handler

2021-04-16 Thread Krzysztof Kozlowski
On Fri, 16 Apr 2021 at 06:30, wrote: > > From: Guangqing Zhu > > Coccinelle noticed: > drivers/regulator/mt6360-regulator.c:386:8-33: ERROR: Threaded IRQ with no > primary handler requested without IRQF_ONESHOT This should be tested. There are several patches like this all over the tree so it

Re: [PATCH v2] serial: stm32: optimize spin lock usage

2021-04-16 Thread dillon min
Hi Johan, On Fri, Apr 16, 2021 at 4:35 PM Johan Hovold wrote: > > On Tue, Apr 13, 2021 at 07:44:39AM +0800, dillon min wrote: > > Hi Johan, Erwan > > > > It seems still a bit of a problem in the current version, not deadlock > > but access register at the same time. > > > > For driver , we

Re: [PATCH v3 01/12] iommu: Introduce dirty log tracking framework

2021-04-16 Thread Keqian Zhu
Hi Baolu, On 2021/4/15 18:21, Lu Baolu wrote: > Hi, > > On 2021/4/15 15:43, Keqian Zhu wrote: design it as not switchable. I will modify the commit message of patch#12, thanks! >>> I am not sure that I fully get your point. But I can't see any gaps of >>> using

Re: [PATCH] drm/omap: dsi: Add missing IRQF_ONESHOT

2021-04-16 Thread Krzysztof Kozlowski
On Mon, 22 Mar 2021 at 09:53, Yang Li wrote: > > fixed the following coccicheck: > ./drivers/gpu/drm/omapdrm/dss/dsi.c:4329:7-27: ERROR: Threaded IRQ with > no primary handler requested without IRQF_ONESHOT > > Make sure threaded IRQs without a primary handler are always request > with

Re: [PATCH v1 1/1] powerpc/papr_scm: Properly handle UUID types and API

2021-04-16 Thread Aneesh Kumar K.V
On 4/16/21 2:39 PM, Andy Shevchenko wrote: On Fri, Apr 16, 2021 at 01:28:21PM +0530, Aneesh Kumar K.V wrote: On 4/15/21 7:16 PM, Andy Shevchenko wrote: Parse to and export from UUID own type, before dereferencing. This also fixes wrong comment (Little Endian UUID is something else) and should

Re: [PATCH 2/3] arm64: syscall.h: Add sign extension handling in syscall_get_return_value for compat

2021-04-16 Thread Oleg Nesterov
On 04/16, He Zhe wrote: > > --- a/arch/arm64/include/asm/syscall.h > +++ b/arch/arm64/include/asm/syscall.h > @@ -44,7 +44,12 @@ static inline long syscall_get_error(struct task_struct > *task, > static inline long syscall_get_return_value(struct task_struct *task, >

[PATCH v2] mmc: meson-gx: replace WARN_ONCE with dev_warn_once about scatterlist size alignment in block mode

2021-04-16 Thread Neil Armstrong
Since commit e085b51c74cc ("mmc: meson-gx: check for scatterlist size alignment in block mode"), support for SDIO SD_IO_RW_EXTENDED transferts are properly filtered but some driver like brcmfmac still gives a block sg buffer size not aligned with SDIO block, triggerring a WARN_ONCE() with scary

  1   2   3   4   5   6   7   8   9   10   >