Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-03-10 Thread Paolo Bonzini
On 10/03/21 15:58, Babu Moger wrote: There is no upstream version 4.9.258. Sure there is, check out https://cdn.kernel.org/pub/linux/kernel/v4.x/ The easiest way to do it is to bisect on the linux-4.9.y branch of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git. paolo

Re: [PATCH v2] ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet

2021-03-10 Thread Tudor.Ambarus
On 3/10/21 5:20 PM, nicolas.fe...@microchip.com wrote: > From: Nicolas Ferre > > Fix the whole mux-mask table according to datasheet for the sam9x60 > product. Too much functions for pins were disabled leading to > misunderstandings when enabling more peripherals or taking this table > as an

Re: [PATCH 02/25] x86/cpufeatures: Add SGX1 and SGX2 sub-features

2021-03-10 Thread Jarkko Sakkinen
On Tue, Mar 02, 2021 at 07:58:37AM -0800, Dave Hansen wrote: > On 3/2/21 7:48 AM, Haitao Huang wrote: > > > > Hi Haitao, Jarkko, > > > > Do you have more concrete use case of needing "sgx2" in /proc/cpuinfo? > > Kai, please remove it from your series. I'm not hearing any arguments > remotely

Re: [syzbot] possible deadlock in io_sq_thread_finish

2021-03-10 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+ac39856cb1b332dbb...@syzkaller.appspotmail.com Tested on: commit: 7d41e854 io_uring: remove indirect ctx into sqo injection git tree:

[PATCH] mmc: core: Fix hanging on I/O during system suspend for removable cards

2021-03-10 Thread Ulf Hansson
The mmc core uses a PM notifier to temporarily during system suspend, turn off the card detection mechanism for removal/insertion of (e)MMC/SD/SDIO cards. Additionally, the notifier may be used to remove an SDIO card entirely, if a corresponding SDIO functional driver don't have the system

Re: [PATCH v1 02/14] vfio: Update vfio_add_group_dev() API

2021-03-10 Thread Alex Williamson
On Wed, 10 Mar 2021 08:19:13 -0400 Jason Gunthorpe wrote: > On Wed, Mar 10, 2021 at 07:48:38AM +, Christoph Hellwig wrote: > > On Mon, Mar 08, 2021 at 02:47:40PM -0700, Alex Williamson wrote: > > > Rather than an errno, return a pointer to the opaque vfio_device > > > to allow the bus

Re: [PATCH v18 5/9] mm: hugetlb: set the PageHWPoison to the raw error page

2021-03-10 Thread Michal Hocko
On Mon 08-03-21 18:28:03, Muchun Song wrote: > Because we reuse the first tail vmemmap page frame and remap it > with read-only, we cannot set the PageHWPosion on some tail pages. > So we can use the head[4].private (There are at least 128 struct > page structures associated with the optimized

Re: [PATCH v3 4/6] phy: ti: j721e-wiz: Model the internal clocks without device tree input

2021-03-10 Thread kernel test robot
Hi Kishon, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc2 next-20210310] [cannot apply to phy/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH v2] block: rsxx: fix error return code of rsxx_pci_probe()

2021-03-10 Thread Jens Axboe
On 3/9/21 8:30 PM, Jia-Ju Bai wrote: > When create_singlethread_workqueue returns NULL to card->event_wq, no > error return code of rsxx_pci_probe() is assigned. > > To fix this bug, st is assigned with -ENOMEM in this case. Thanks, this looks much better. Applied. -- Jens Axboe

[PATCH v2] ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet

2021-03-10 Thread nicolas.ferre
From: Nicolas Ferre Fix the whole mux-mask table according to datasheet for the sam9x60 product. Too much functions for pins were disabled leading to misunderstandings when enabling more peripherals or taking this table as an example for another board. Take advantage of this fix to move the

[PATCH] perf/x86/kvm: Fix inverted pebs_no_isolation check

2021-03-10 Thread Andi Kleen
The pebs_no_isolation optimization check is inverted. We want to disable PEBS isolation when the microcode is at least the revision in the table, not for older microcode. So remove the extra !. It meant that the new microcodes did unnecessary work, and the old microcodes could crash the PEBS.

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-10 Thread Masahiro Yamada
On Wed, Mar 10, 2021 at 11:48 PM Viresh Kumar wrote: > > On 10-03-21, 20:29, Masahiro Yamada wrote: > > BTW, is the attached patch good for DTC? > > > > I do not know when '-O dtbo' is useful, > > unless I am missing something. > > It is useful if we are sending the -O option all the time (I have

Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Michal Hocko
On Mon 08-03-21 18:28:02, Muchun Song wrote: [...] > -static void update_and_free_page(struct hstate *h, struct page *page) > +static int update_and_free_page(struct hstate *h, struct page *page) > + __releases(_lock) __acquires(_lock) > { > int i; > struct page *subpage = page; >

Re: [PATCH 2/2] mips: syscalls: switch to generic syscallhdr.sh

2021-03-10 Thread Thomas Bogendoerfer
On Mon, Mar 01, 2021 at 11:48:25PM +0900, Masahiro Yamada wrote: > Many architectures duplicate similar shell scripts. > > This commit converts mips to use scripts/syscallhdr.sh. > > Signed-off-by: Masahiro Yamada > --- > > arch/mips/kernel/syscalls/Makefile | 10 ++- >

Re: [PATCH 2/2] MIPS: Remove KVM_TE support

2021-03-10 Thread Thomas Bogendoerfer
On Mon, Mar 01, 2021 at 04:29:57PM +0100, Thomas Bogendoerfer wrote: > After removal of the guest part of KVM TE (trap and emulate), also remove > the host part. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/configs/loongson3_defconfig |1 - > arch/mips/include/asm/kvm_host.h

Re: [PATCH 1/2] MIPS: Remove KVM_GUEST support

2021-03-10 Thread Thomas Bogendoerfer
On Mon, Mar 01, 2021 at 04:29:56PM +0100, Thomas Bogendoerfer wrote: > KVM_GUEST is broken and unmaintained, so let's remove it. > > Signed-off-by: Thomas Bogendoerfer > --- > arch/mips/Kconfig | 17 - > arch/mips/configs/malta_kvm_guest_defconfig | 436

Re: [PATCH] MIPS: Enable some missed configs in loongson3_defconfig to support bpftrace

2021-03-10 Thread Thomas Bogendoerfer
On Mon, Mar 08, 2021 at 02:48:18PM +0800, Tiezhu Yang wrote: > bpftrace is a high-level tracing language for Linux enhanced Berkeley > Packet Filter (eBPF) available in recent Linux kernels (4.x). bpftrace > uses LLVM as a backend to compile scripts to BPF-bytecode and makes use > of BCC for

Re: [PATCH] arch: mips: bcm63xx: Spello fix in the file clk.c

2021-03-10 Thread Thomas Bogendoerfer
On Fri, Mar 05, 2021 at 07:35:35AM +0530, Bhaskar Chowdhury wrote: > > > s/revelant/relevant/ > > Signed-off-by: Bhaskar Chowdhury > --- > arch/mips/bcm63xx/clk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to mips-next with fixed subject. Thomas. -- Crap can work.

Re: [PATCH 1/2] mips: syscalls: switch to generic syscalltbl.sh

2021-03-10 Thread Thomas Bogendoerfer
On Mon, Mar 01, 2021 at 11:48:24PM +0900, Masahiro Yamada wrote: > Many architectures duplicate similar shell scripts. > > This commit converts mips to use scripts/syscalltbl.sh. This also > unifies syscall_table_32_o32.h and syscall_table_64_o32.h into > syscall_table_o32.h. > > The offset

Re: [PATCHv2 0/4] perf/core: Add support to exclude kernel mode PMU tracing

2021-03-10 Thread Sai Prakash Ranjan
Hi Andi, On 2021-03-09 20:14, Andi Kleen wrote: The disk encryption is just one example and there might be others which we might not be aware of yet and we are not suspecting there is something wrong with the crypto code that needs to be fixed. Then you don't have any leaks relating to

Re: [PATCH v3 2/5] x86/sgx: Use sgx_free_epc_page() in sgx_reclaim_pages()

2021-03-10 Thread Jarkko Sakkinen
On Wed, Mar 03, 2021 at 08:59:17AM -0800, Dave Hansen wrote: > On 3/3/21 7:03 AM, Jarkko Sakkinen wrote: > > diff --git a/arch/x86/kernel/cpu/sgx/main.c b/arch/x86/kernel/cpu/sgx/main.c > > index 52d070fb4c9a..ed99c60024dc 100644 > > --- a/arch/x86/kernel/cpu/sgx/main.c > > +++

[PATCH v4 4/4] mm: Make alloc_contig_range handle in-use hugetlb pages

2021-03-10 Thread Oscar Salvador
alloc_contig_range() will fail if it finds a HugeTLB page within the range, without a chance to handle them. Since HugeTLB pages can be migrated as any LRU or Movable page, it does not make sense to bail out without trying. Enable the interface to recognize in-use HugeTLB pages so we can migrate

[PATCH v4 2/4] mm,compaction: Let isolate_migratepages_{range,block} return error codes

2021-03-10 Thread Oscar Salvador
Currently, isolate_migratepages_{range,block} and their callers use a pfn == 0 vs pfn != 0 scheme to let the caller know whether there was any error during isolation. This does not work as soon as we need to start reporting different error codes and make sure we pass them down the chain, so they

[PATCH v4 3/4] mm: Make alloc_contig_range handle free hugetlb pages

2021-03-10 Thread Oscar Salvador
alloc_contig_range will fail if it ever sees a HugeTLB page within the range we are trying to allocate, even when that page is free and can be easily reallocated. This has proved to be problematic for some users of alloc_contic_range, e.g: CMA and virtio-mem, where those would fail the call even

Re: [PATCH -tip 0/5] kprobes: Fix stacktrace in kretprobes

2021-03-10 Thread Josh Poimboeuf
On Wed, Mar 10, 2021 at 06:57:34PM +0900, Masami Hiramatsu wrote: > > If I understand correctly, for #1 you need an unwind hint which treats > > the instruction *after* the "pushq %rsp" as the beginning of the > > function. > > Thanks for the patch. In that case, should I still change the stack

[PATCH v4 0/4] Make alloc_contig_range handle Hugetlb pages

2021-03-10 Thread Oscar Salvador
v3 -> v4: - Addressed some feedback from David and Michal - Make more clear what hugetlb_lock protects in isolate_or_dissolve_huge_page - Start reporting proper error codes from isolate_migratepages_{range,block} - Bail out earlier in __alloc_contig_migrate_range on -ENOMEM - Addressed

[PATCH v4 1/4] mm,page_alloc: Bail out earlier on -ENOMEM in alloc_contig_migrate_range

2021-03-10 Thread Oscar Salvador
Currently, __alloc_contig_migrate_range can generate -EINTR, -ENOMEM or -EBUSY, and report them down the chain. The problem is that when migrate_pages() reports -ENOMEM, we keep going till we exhaust all the try-attempts (5 at the moment) instead of bailing out. migrate_pages bails out right away

[PATCH v4 1/1] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

2021-03-10 Thread Tony Krowiak
This patch fixes a lockdep splat introduced by commit f21916ec4826 ("s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated"). The lockdep splat only occurs when starting a Secure Execution guest. Crypto virtualization (vfio_ap) is not yet supported for SE guests; however, in order

[PATCH v4 0/1] s390/vfio-ap: fix circular lockdep when starting

2021-03-10 Thread Tony Krowiak
*Commit f21916ec4826 ("s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated") introduced a change that results in a circular lockdep when a Secure Execution guest that is configured with crypto devices is started. The problem resulted due to the fact that the patch moved the

Re: [RFC v2 3/5] arm64: socfpga: rename ARCH_STRATIX10 to ARCH_SOCFPGA64

2021-03-10 Thread Krzysztof Kozlowski
On 10/03/2021 15:45, Tom Rix wrote: > > On 3/10/21 1:45 AM, Lee Jones wrote: >> On Wed, 10 Mar 2021, Krzysztof Kozlowski wrote: >> >>> Prepare for merging Stratix 10, Agilex and N5X into one arm64 >>> architecture by first renaming the ARCH_STRATIX10 into ARCH_SOCFPGA64. >>> >>> The existing

[PATCH 0/3] sched: Fix remaining balance_push vs hotplug hole

2021-03-10 Thread Peter Zijlstra
Hi, While the patches here: https://lkml.kernel.org/r/20210121101702.402798...@infradead.org fixed the immediate hotplug regression, there was still a pending issue with hotplug rollback (which basically never happens). I had written these patches at the time, but never got around to

Re: [RFC PATCH v1] Bluetooth: hci_qca: Add device_may_wakeup support

2021-03-10 Thread Bjorn Andersson
On Wed 10 Mar 05:41 CST 2021, Venkata Lakshmi Narayana Gubba wrote: > Added device_may_wakeup() support. This would be an excellent place to describe _why_ this is necessary, instead of just repeating $subject. Something along the lines of the comment in the patch. Regards, Bjorn > >

[PATCH 3/3] sched: Use cpu_dying() to fix balance_push vs hotplug-rollback

2021-03-10 Thread Peter Zijlstra
Use the new cpu_dying() state to simplify and fix the balance_push() vs CPU hotplug rollback state. Specifically, we currently rely on notifiers sched_cpu_dying() / sched_cpu_activate() to terminate balance_push, however if the cpu_down() fails when we're past sched_cpu_deactivate(), it should

[PATCH 2/3] cpumask: Introduce DYING mask

2021-03-10 Thread Peter Zijlstra
Introduce a cpumask that indicates (for each CPU) what direction the CPU hotplug is currently going. Notably, it tracks rollbacks. Eg. when an up fails and we do a roll-back down, it will accurately reflect the direction. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/cpumask.h | 20

[PATCH 1/3] cpumask: Make cpu_{online,possible,present,active}() inline

2021-03-10 Thread Peter Zijlstra
Prepare for addition of another mask. Primarily a code movement to avoid having to create more #ifdef, but while there, convert everything with an argument to an inline function. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/cpumask.h | 97

Re: [PATCH v3 1/5] x86/sgx: Fix a resource leak in sgx_init()

2021-03-10 Thread Jarkko Sakkinen
On Wed, Mar 03, 2021 at 08:56:52AM -0800, Dave Hansen wrote: > On 3/3/21 7:03 AM, Jarkko Sakkinen wrote: > > If sgx_page_cache_init() fails in the middle, a trivial return > > statement causes unused memory and virtual address space reserved for > > the EPC section, not freed. Fix this by using

[PATCH] Correct 'so'

2021-03-10 Thread Xiaofeng Cao
In Kconfig it should be 'to' In c8sectpfe-core.c it should be 'do' Signed-off-by: Xiaofeng Cao --- drivers/media/Kconfig | 2 +- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[tip: x86/cleanups] stacktrace: Move documentation for arch_stack_walk_reliable() to header

2021-03-10 Thread tip-bot2 for Mark Brown
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: b18adee4ce4443399963826b5d28d9e63d40740c Gitweb: https://git.kernel.org/tip/b18adee4ce4443399963826b5d28d9e63d40740c Author:Mark Brown AuthorDate:Tue, 09 Mar 2021 19:41:25 Committer:

Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-03-10 Thread Babu Moger
On 3/10/21 8:55 AM, Babu Moger wrote: > > >> -Original Message- >> From: Paolo Bonzini >> Sent: Wednesday, March 10, 2021 3:09 AM >> To: Moger, Babu ; Jim Mattson >> >> Cc: Vitaly Kuznetsov ; Wanpeng Li >> ; kvm list ; Joerg Roedel >> ; the arch/x86 maintainers ; LKML >

Re: arm: lockdep complaining about locks allocations in static memory

2021-03-10 Thread Russell King - ARM Linux admin
On Wed, Mar 10, 2021 at 02:54:30PM +0100, Jan Kardell wrote: > Hi, > > During work lift the software and kernel versions on our custom TI am3352 > board I started to see lockdep warnings after enabling CONFIG_PREEMT. > Lockdep seems to think the memory that previously was initmem is static >

Re: [PATCH v1 1/7] PCI: Introduce pci_bus_*() printing macros when device is not available

2021-03-10 Thread Jean Delvare
On Mon, 8 Mar 2021 14:20:14 +0200, Andy Shevchenko wrote: > In some cases PCI device structure is not available and we want to print > information based on the bus and devfn parameters. For this cases introduce > pci_bus_*() printing macros and replace in existing users. > > Signed-off-by: Andy

RE: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-03-10 Thread Babu Moger
> -Original Message- > From: Paolo Bonzini > Sent: Wednesday, March 10, 2021 3:09 AM > To: Moger, Babu ; Jim Mattson > > Cc: Vitaly Kuznetsov ; Wanpeng Li > ; kvm list ; Joerg Roedel > ; the arch/x86 maintainers ; LKML ker...@vger.kernel.org>; Ingo Molnar ; Borislav Petkov > ; H .

Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in htb_select_queue

2021-03-10 Thread Maxim Mikityanskiy
On 2021-03-09 17:20, Eric Dumazet wrote: On 3/9/21 4:13 PM, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:38b5133a octeontx2-pf: Fix otx2_get_fecparam() git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=166288a8d0 kernel

Re: [PATCH v9 3/6] arm64: kvm: Save/restore MTE registers

2021-03-10 Thread Steven Price
On 09/03/2021 17:27, Marc Zyngier wrote: On Mon, 01 Mar 2021 14:23:12 +, Steven Price wrote: Define the new system registers that MTE introduces and context switch them. The MTE feature is still hidden from the ID register as it isn't supported in a VM yet. Signed-off-by: Steven Price

Re: [PATCH v3 6/6] phy: cadence-torrent: Add support to drive refclk out

2021-03-10 Thread kernel test robot
Hi Kishon, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc2 next-20210310] [cannot apply to phy/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH v9 2/6] arm64: kvm: Introduce MTE VM feature

2021-03-10 Thread Steven Price
On 09/03/2021 17:06, Marc Zyngier wrote: On Mon, 01 Mar 2021 14:23:11 +, Steven Price wrote: Add a new VM feature 'KVM_ARM_CAP_MTE' which enables memory tagging for a VM. This will expose the feature to the guest and automatically tag memory pages touched by the VM as PG_mte_tagged (and

Re: [PATCH v2] include: Remove pagemap.h from blkdev.h

2021-03-10 Thread Martin K. Petersen
Matthew, > My UEK-derived config has 1030 files depending on pagemap.h before > this change. Afterwards, just 326 files need to be rebuilt when I > touch pagemap.h. I think blkdev.h is probably included too widely, > but untangling that dependency is harder and this solves my problem. > x86

Re: [PATCH v1 7/7] i2c: i801: convert to use common P2SB accessor

2021-03-10 Thread Jean Delvare
Hi Andy, On Mon, 8 Mar 2021 14:20:20 +0200, Andy Shevchenko wrote: > Since we have a common P2SB accessor in tree we may use it instead of > open coded variants. > > Replace custom code by pci_p2sb_bar() call. I like the idea. Just two things... > Signed-off-by: Andy Shevchenko > --- >

Re: [PATCH v3 3/5] x86/sgx: Replace section->init_laundry_list with a temp list

2021-03-10 Thread Jarkko Sakkinen
On Wed, Mar 03, 2021 at 10:02:27AM -0800, Dave Hansen wrote: > ... > > -static void sgx_sanitize_section(struct sgx_epc_section *section) > > +static void sgx_sanitize_section(struct list_head *laundry) > > { > > Does this need a better function name now that it's not literally > dealing with

Re: [PATCH 1/3] ASoC: simple-card-utils: Fix device module clock

2021-03-10 Thread Sameer Pujar
On 3/10/2021 4:00 AM, Michael Walle wrote: Am 2021-03-09 17:27, schrieb Sameer Pujar: On 3/9/2021 8:11 PM, Michael Walle wrote: If "clocks = <>" is specified from the CPU or Codec component device node, the clock is not getting enabled. Thus audio playback or capture fails. Fix this by

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-10 Thread Viresh Kumar
On 10-03-21, 20:29, Masahiro Yamada wrote: > BTW, is the attached patch good for DTC? > > I do not know when '-O dtbo' is useful, > unless I am missing something. It is useful if we are sending the -O option all the time (I have already given more details to your patch) as outform will not be

Re: [PATCH 11/18] arm64: qcom: sdm660: don't use underscore in node name

2021-03-10 Thread Konrad Dybcio
On 08.03.2021 07:08, Vinod Koul wrote: > We have underscore (_) in node name so fix that up as well. > > Fix this by changing node name to use dash (-) > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sdm660.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > We

Re: [PATCH] i2c: i2c-scmi: Drop unused ACPI_MODULE_NAME definition

2021-03-10 Thread Rafael J. Wysocki
On Fri, Mar 5, 2021 at 7:29 PM Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > The ACPI_MODULE_NAME() definition is only used by the message > printing macros from ACPICA that are not used by the code in > question, so it is redundant. Drop it. > > No functional impact. > >

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-10 Thread Viresh Kumar
On 10-03-21, 20:24, Masahiro Yamada wrote: > On Wed, Mar 10, 2021 at 2:35 PM Viresh Kumar wrote: > > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > > index bc045a54a34e..59e86f67f9e0 100644 > > --- a/scripts/Makefile.lib > > +++ b/scripts/Makefile.lib > > @@ -339,7 +339,7 @@

Re: [PATCH 12/18] arm64: qcom: msm8996: don't use empty memory node

2021-03-10 Thread Konrad Dybcio
On 08.03.2021 07:08, Vinod Koul wrote: > We expect bootloader to full memory details but passing empty values > can give warning, so add a default value > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [RFC v2 3/5] arm64: socfpga: rename ARCH_STRATIX10 to ARCH_SOCFPGA64

2021-03-10 Thread Tom Rix
On 3/10/21 1:45 AM, Lee Jones wrote: > On Wed, 10 Mar 2021, Krzysztof Kozlowski wrote: > >> Prepare for merging Stratix 10, Agilex and N5X into one arm64 >> architecture by first renaming the ARCH_STRATIX10 into ARCH_SOCFPGA64. >> >> The existing ARCH_SOCFPGA (in ARMv7) Kconfig symbol cannot be

Re: [v5.12-rc2 regression] io_uring: high CPU use after suspend-to-ram

2021-03-10 Thread Jens Axboe
On 3/9/21 8:23 PM, Kevin Locke wrote: > On Tue, 2021-03-09 at 19:48 -0700, Jens Axboe wrote: >> On 3/9/21 6:55 PM, Kevin Locke wrote: >>> With kernel 5.12-rc2 (and torvalds/master 144c79ef3353), if mpd is >>> playing or paused when my system is suspended-to-ram, when the system is >>> resumed mpd

Re: [PATCH v4 15/19] sched: Fix migrate_disable() vs rt/dl balancing

2021-03-10 Thread Qais Yousef
On 03/05/21 15:41, Valentin Schneider wrote: > On 05/03/21 15:56, Peter Zijlstra wrote: > > On Sat, Dec 26, 2020 at 01:54:45PM +, Qais Yousef wrote: > >> > >> > +static inline struct task_struct *get_push_task(struct rq *rq) > >> > +{ > >> > +struct task_struct *p = rq->curr; > >> > >>

Re: [PATCH 5/6] clk: ingenic: Support overriding PLLs M/N/OD calc algorithm

2021-03-10 Thread Zhou Yanjie
Hi Paul, On 2021/3/7 下午10:17, Paul Cercueil wrote: SoC-specific code can now provide a callback if they need to compute the M/N/OD values in a specific way. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/cgu.c | 40 ++- drivers/clk/ingenic/cgu.h |

Re: [PATCH v6 05/12] x86/alternative: support ALTERNATIVE_TERNARY

2021-03-10 Thread Jürgen Groß
On 10.03.21 15:27, Borislav Petkov wrote: On Tue, Mar 09, 2021 at 02:48:06PM +0100, Juergen Gross wrote: diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 89889618ae01..4fb844e29d26 100644 --- a/arch/x86/include/asm/alternative.h +++

Re: [PATCH v6 04/12] x86/alternative: support not-feature

2021-03-10 Thread Jürgen Groß
On 10.03.21 15:15, Borislav Petkov wrote: On Wed, Mar 10, 2021 at 08:52:40AM +0100, Jürgen Groß wrote: Did you look at patch 13? :-) Well, I usually review in increasing patch order. :-P But make that change here pls because otherwise unnecessary churn. Okay. Juergen

Re: [PATCH] kbuild: remove unneeded -O option to dtc

2021-03-10 Thread Viresh Kumar
On 10-03-21, 20:08, Masahiro Yamada wrote: > This piece of code converts the target suffix to the dtc -O option: > > *.dtb -> -O dtb > *.dt.yaml -> -O yaml > > Commit ce88c9c79455 ("kbuild: Add support to build overlays (%.dtbo)") > added the third case: > > *.dtbo ->

Re: [PATCH 0/6] clk: Ingenic JZ4760(B) support

2021-03-10 Thread Zhou Yanjie
Hi Paul, On 2021/3/7 下午10:17, Paul Cercueil wrote: Hi, Here are a set of patches to add support for the Ingenic JZ4760(B) SoCs. One thing to note is that the ingenic,jz4760-tcu is undocumented for now, as I will update the TCU documentation in a different patchset. Zhou: the CGU code now

Re: [PATCH v3 06/15] mfd: Add ROHM BD71815 ID

2021-03-10 Thread Matti Vaittinen
On Wed, 2021-03-10 at 13:31 +, Lee Jones wrote: > On Wed, 10 Mar 2021, Matti Vaittinen wrote: > > > On Wed, 2021-03-10 at 11:17 +, Lee Jones wrote: > > > On Wed, 10 Mar 2021, Vaittinen, Matti wrote: > > > > > > > Hello Lee, > > > > > > > > On Wed, 2021-03-10 at 10:36 +, Lee Jones

Re: [RFC PATCH 0/5] RPMB internal and user-space API + WIP virtio-rpmb frontend

2021-03-10 Thread Alex Bennée
Avri Altman writes: > The mmc driver has some hooks to support rpmb access, but access is > mainly facilitated from user space, e.g. mmc-utils. > > The ufs driver has no concept of rpmb access - it is facilitated via > user space, e.g. ufs-utils and similar. > > Both for ufs and mmc, rpmb

Re: [syzbot] possible deadlock in io_sq_thread_finish

2021-03-10 Thread Jens Axboe
#syz test: git://git.kernel.dk/linux-block io_uring-5.12 -- Jens Axboe

Re: [PATCH v18 3/9] mm: hugetlb: free the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Michal Hocko
On Mon 08-03-21 18:28:01, Muchun Song wrote: > Every HugeTLB has more than one struct page structure. We __know__ that > we only use the first 4(HUGETLB_CGROUP_MIN_ORDER) struct page structures > to store metadata associated with each HugeTLB. I think it would be great to make this explicit

Re: [PATCH 0/2] software node: Two fixes

2021-03-10 Thread Rafael J. Wysocki
On Wed, Mar 10, 2021 at 3:16 PM Rafael J. Wysocki wrote: > > On Wed, Mar 10, 2021 at 8:36 AM Heikki Krogerus > wrote: > > > > On Tue, Mar 09, 2021 at 02:51:22PM +0100, Rafael J. Wysocki wrote: > > > On Tue, Mar 9, 2021 at 11:51 AM Andy Shevchenko > > > wrote: > > > > > > > > On Mon, Mar 01,

Re: The killing of ideal_nops[]

2021-03-10 Thread Peter Zijlstra
On Wed, Mar 10, 2021 at 03:24:47PM +0100, Peter Zijlstra wrote: > On Wed, Mar 10, 2021 at 09:13:24AM -0500, Steven Rostedt wrote: > > On Wed, 10 Mar 2021 11:22:48 +0100 > > Peter Zijlstra wrote: > > > > > After this FEATURE_NOPL is unused except for required-features for > > > x86_64. FEATURE_K8

Re: [PATCH v3 0/6] AM64: Add SERDES driver support

2021-03-10 Thread Kishon Vijay Abraham I
Hi, On 10/03/21 5:38 pm, Kishon Vijay Abraham I wrote: > AM64 uses the same SERDES as in J7200, however AM642 EVM doesn't > have a clock generator (unlike J7200 base board). Here the clock from > the SERDES has to be routed to the PCIE connector. This series adds > support to drive reference

Re: [PATCH v6 05/12] x86/alternative: support ALTERNATIVE_TERNARY

2021-03-10 Thread Borislav Petkov
On Tue, Mar 09, 2021 at 02:48:06PM +0100, Juergen Gross wrote: > diff --git a/arch/x86/include/asm/alternative.h > b/arch/x86/include/asm/alternative.h > index 89889618ae01..4fb844e29d26 100644 > --- a/arch/x86/include/asm/alternative.h > +++ b/arch/x86/include/asm/alternative.h > @@ -178,6

Re: [PATCH 1/3] pinctrl: Ingenic: Fix bug and reformat the code.

2021-03-10 Thread Zhou Yanjie
Hi Paul, On 2021/3/10 下午10:19, Paul Cercueil wrote: Le mer. 10 mars 2021 à 16:03, Andy Shevchenko a écrit : On Tue, Mar 9, 2021 at 6:42 PM 周琰杰 (Zhou Yanjie) wrote:  1.Add tabs before values to align the code in the macro definition section.  2.Fix bugs related to the MAC of JZ4770, add

Re: [PATCH 1/3] pinctrl: Ingenic: Fix bug and reformat the code.

2021-03-10 Thread Zhou Yanjie
Hi Andy, On 2021/3/10 下午10:03, Andy Shevchenko wrote: On Tue, Mar 9, 2021 at 6:42 PM 周琰杰 (Zhou Yanjie) wrote: 1.Add tabs before values to align the code in the macro definition section. 2.Fix bugs related to the MAC of JZ4770, add missing pins to the MII group. 3.Adjust the sequence of

Re: [PATCH v2 00/10] fsdax,xfs: Add reflink support for fsdax

2021-03-10 Thread Matthew Wilcox
On Wed, Mar 10, 2021 at 08:21:59AM -0600, Goldwyn Rodrigues wrote: > On 13:02 10/03, Matthew Wilcox wrote: > > On Wed, Mar 10, 2021 at 07:30:41AM -0500, Neal Gompa wrote: > > > Forgive my ignorance, but is there a reason why this isn't wired up to > > > Btrfs at the same time? It seems weird to me

Re: [syzbot] possible deadlock in io_sq_thread_finish

2021-03-10 Thread Jens Axboe
On 3/10/21 6:40 AM, Pavel Begunkov wrote: > On 10/03/2021 04:10, Hillf Danton wrote:> >> Fix 05ff6c4a0e07 ("io_uring: SQPOLL parking fixes") in the current tree >> by removing the extra set of IO_SQ_THREAD_SHOULD_STOP in response to >> the arrival of urgent signal because it misleads

Re: [PATCH 8/9] vfio/pci: export nvlink2 support into vendor vfio_pci drivers

2021-03-10 Thread Alexey Kardashevskiy
On 11/03/2021 00:02, Jason Gunthorpe wrote: On Wed, Mar 10, 2021 at 02:57:57PM +0200, Max Gurtovoy wrote: +    .err_handler    = _pci_core_err_handlers, +}; + +#ifdef CONFIG_VFIO_PCI_DRIVER_COMPAT +struct pci_driver *get_nvlink2gpu_vfio_pci_driver(struct pci_dev *pdev) +{ +    if

Re: The killing of ideal_nops[]

2021-03-10 Thread Peter Zijlstra
On Wed, Mar 10, 2021 at 09:13:24AM -0500, Steven Rostedt wrote: > On Wed, 10 Mar 2021 11:22:48 +0100 > Peter Zijlstra wrote: > > > After this FEATURE_NOPL is unused except for required-features for > > x86_64. FEATURE_K8 is only used for PTI and FEATURE_K7 is unused. > > > > AFAICT this

Re: [PATCH v3 4/6] phy: ti: j721e-wiz: Model the internal clocks without device tree input

2021-03-10 Thread kernel test robot
Hi Kishon, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc2 next-20210310] [cannot apply to phy/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH v2] greybus/operation: Drop reference when message has been sent

2021-03-10 Thread Johan Hovold
On Wed, Mar 10, 2021 at 06:17:36AM -0800, Lv Yunlong wrote: > In gb_operation_response_send, get an extra reference > before gb_message_send() with this comment "/* Reference will > be dropped when message has been sent. */". Therefore, we > should drop the got reference not only in the error

Re: [PATCH v2 00/10] fsdax,xfs: Add reflink support for fsdax

2021-03-10 Thread Goldwyn Rodrigues
On 13:02 10/03, Matthew Wilcox wrote: > On Wed, Mar 10, 2021 at 07:30:41AM -0500, Neal Gompa wrote: > > Forgive my ignorance, but is there a reason why this isn't wired up to > > Btrfs at the same time? It seems weird to me that adding a feature > > btrfs doesn't support DAX. only ext2, ext4,

Re: [PATCH v18 4/9] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-03-10 Thread Oscar Salvador
On Mon, Mar 08, 2021 at 06:28:02PM +0800, Muchun Song wrote: > When we free a HugeTLB page to the buddy allocator, we need to allocate > the vmemmap pages associated with it. However, we may not be able to > allocate the vmemmap pages when the system is under memory pressure. In > this case, we

Re: [PATCH -tip 3/5] kprobes: treewide: Remove trampoline_address from kretprobe_trampoline_handler()

2021-03-10 Thread Miroslav Benes
Hi Masami, > --- a/include/linux/kprobes.h > +++ b/include/linux/kprobes.h > @@ -205,15 +205,23 @@ extern void arch_prepare_kretprobe(struct > kretprobe_instance *ri, > struct pt_regs *regs); > extern int arch_trampoline_kprobe(struct kprobe *p); > > +void

Re: [PATCH 1/3] pinctrl: Ingenic: Fix bug and reformat the code.

2021-03-10 Thread Paul Cercueil
Le mer. 10 mars 2021 à 16:03, Andy Shevchenko a écrit : On Tue, Mar 9, 2021 at 6:42 PM 周琰杰 (Zhou Yanjie) wrote: 1.Add tabs before values to align the code in the macro definition section. 2.Fix bugs related to the MAC of JZ4770, add missing pins to the MII group. 3.Adjust the

Re: [PATCH v6 19/37] clk: scmi: port driver to the new scmi_clk_proto_ops interface

2021-03-10 Thread Cristian Marussi
Hi Stephen, any chance you could have a look at this and, possibly, ack ? The rationale for the change in the SCMI layer interface is in the series cover-letter here: https://lore.kernel.org/lkml/20210202221555.41167-1-cristian.maru...@arm.com/ Thanks Cristian On Tue, Feb 02, 2021 at

Re: [PATCH 8/9] vfio/pci: export nvlink2 support into vendor vfio_pci drivers

2021-03-10 Thread Alexey Kardashevskiy
On 10/03/2021 23:57, Max Gurtovoy wrote: On 3/10/2021 8:39 AM, Alexey Kardashevskiy wrote: On 09/03/2021 19:33, Max Gurtovoy wrote: The new drivers introduced are nvlink2gpu_vfio_pci.ko and npu2_vfio_pci.ko. The first will be responsible for providing special extensions for NVIDIA GPUs

[PATCH v2] greybus/operation: Drop reference when message has been sent

2021-03-10 Thread Lv Yunlong
In gb_operation_response_send, get an extra reference before gb_message_send() with this comment "/* Reference will be dropped when message has been sent. */". Therefore, we should drop the got reference not only in the error branch, but also in the complete branch. Signed-off-by: Lv Yunlong ---

Re: [PATCH 0/2] software node: Two fixes

2021-03-10 Thread Rafael J. Wysocki
On Wed, Mar 10, 2021 at 8:36 AM Heikki Krogerus wrote: > > On Tue, Mar 09, 2021 at 02:51:22PM +0100, Rafael J. Wysocki wrote: > > On Tue, Mar 9, 2021 at 11:51 AM Andy Shevchenko > > wrote: > > > > > > On Mon, Mar 01, 2021 at 05:30:10PM +0300, Heikki Krogerus wrote: > > > > Hi, > > > > > > > >

Re: [PATCH] bus: mhi: Make firmware image optional for controller

2021-03-10 Thread Manivannan Sadhasivam
On Tue, Mar 09, 2021 at 10:46:35AM -0800, Bhaumik Bhatt wrote: > Some controllers can opt to not have MHI download a firmware > image to have the device bootup and can find the device in a > pass through execution environment, ready to go. Thus, MHI > controllers for those devices do not need

Re: [PATCH v6 04/12] x86/alternative: support not-feature

2021-03-10 Thread Borislav Petkov
On Wed, Mar 10, 2021 at 08:52:40AM +0100, Jürgen Groß wrote: > Did you look at patch 13? :-) Well, I usually review in increasing patch order. :-P But make that change here pls because otherwise unnecessary churn. Thx. -- Regards/Gruss, Boris.

Re: [PATCH v18 1/9] mm: memory_hotplug: factor out bootmem core functions to bootmem_info.c

2021-03-10 Thread Michal Hocko
[I am sorry for a late review] On Mon 08-03-21 18:27:59, Muchun Song wrote: > Move bootmem info registration common API to individual bootmem_info.c. > And we will use {get,put}_page_bootmem() to initialize the page for the > vmemmap pages or free the vmemmap pages to buddy in the later patch. >

Re: [PATCH v6 02/12] x86/paravirt: switch time pvops functions to use static_call()

2021-03-10 Thread Borislav Petkov
On Wed, Mar 10, 2021 at 08:51:22AM +0100, Jürgen Groß wrote: > It is combining the two needed actions: update the static call and > set the paravirt_using_native_sched_clock boolean. I actually meant what the point of using_native_sched_clock() is but put this comment at the wrong place, sorry.

Re: [PATCH] bus: mhi: Make firmware image optional for controller

2021-03-10 Thread Manivannan Sadhasivam
On Tue, Mar 09, 2021 at 10:46:35AM -0800, Bhaumik Bhatt wrote: > Some controllers can opt to not have MHI download a firmware > image to have the device bootup and can find the device in a > pass through execution environment, ready to go. Thus, MHI > controllers for those devices do not need

Re: The killing of ideal_nops[]

2021-03-10 Thread Steven Rostedt
On Wed, 10 Mar 2021 11:22:48 +0100 Peter Zijlstra wrote: > After this FEATURE_NOPL is unused except for required-features for > x86_64. FEATURE_K8 is only used for PTI and FEATURE_K7 is unused. > > AFAICT this negatively affects lots of 32bit (DONTCARE) and 32bit on > 64bit CPUs (CARELESS) and

Re: [PATCH RESEND 0/2] Common protected-clocks implementation

2021-03-10 Thread Samuel Holland
On 3/10/21 2:56 AM, Maxime Ripard wrote: > Hi, > > On Tue, Mar 09, 2021 at 09:03:14AM +0100, Rasmus Villemoes wrote: >> On 03/09/2020 06.00, Samuel Holland wrote: >>> Stephen, Maxime, >>> >>> You previously asked me to implement the protected-clocks property in a >>> driver-independent way: >>>

Re: [PATCH] bus: mhi: core: Fix check for syserr at power_up

2021-03-10 Thread Manivannan Sadhasivam
On Fri, Feb 12, 2021 at 02:27:23PM -0700, Jeffrey Hugo wrote: > The check to see if we have reset the device after detecting syserr at > power_up is inverted. wait_for_event_timeout() returns 0 on failure, > and a positive value on success. The check is looking for non-zero > as a failure, which

Re: [PATCH 4.4 3/3] futex: fix dead code in attach_to_pi_owner()

2021-03-10 Thread Greg KH
On Wed, Mar 10, 2021 at 01:28:02PM +, Lee Jones wrote: > On Wed, 10 Mar 2021, Greg KH wrote: > > > On Tue, Mar 09, 2021 at 06:14:37PM +, Lee Jones wrote: > > > On Tue, 09 Mar 2021, Greg KH wrote: > > > > > > > On Tue, Mar 09, 2021 at 11:06:05AM +0800, Zheng Yejian wrote: > > > > > From:

Re: [PATCH v3 6/6] phy: cadence-torrent: Add support to drive refclk out

2021-03-10 Thread kernel test robot
Hi Kishon, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc2 next-20210310] [cannot apply to phy/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH] arm64: mm: fix runtime fallback to 48-bt VA when 52-bit VA is enabled

2021-03-10 Thread Mark Salter
On Wed, 2021-03-10 at 14:29 +0100, Ard Biesheuvel wrote: > (+ James) > > On Wed, 10 Mar 2021 at 13:41, Ard Biesheuvel wrote: > > > > On Wed, 10 Mar 2021 at 12:18, Will Deacon wrote: > > > > > > On Tue, Mar 09, 2021 at 07:32:16PM -0500, Mark Salter wrote: > > > > I ran into an early boot soft

[PATCH] dt-bindings: display: sitronix,st7789v: Add Waveshare 2inch LCD module

2021-03-10 Thread Carlis
From: "Carlis" Document support for the Waveshare 2inch LCD module display, which is a 240x320 2" TFT display driven by a Sitronix ST7789V TFT Controller. Signed-off-by: Carlis --- .../bindings/display/sitronix,st7789v.yaml | 72 ++ 1 file changed, 72 insertions(+)

Re: [PATCH v6 0/4] Serialize execution environment changes for MHI

2021-03-10 Thread Manivannan Sadhasivam
On Wed, Feb 24, 2021 at 03:23:01PM -0800, Bhaumik Bhatt wrote: > v6: > -Add patch to improve debug message > -Fix switch-case fall through warning for EE serialization patch > -Address review comments and update commit text > > v5: > -Update commit text for "clear devices when moving execution

<    7   8   9   10   11   12   13   14   15   16   >