Re: [PATCH v11 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-03-21 Thread Daniel Axtens
Balbir Singh writes: > On Mon, Mar 22, 2021 at 11:55:08AM +1100, Daniel Axtens wrote: >> Hi Balbir, >> >> > Could you highlight the changes from >> > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170729140901.5887-1-bsinghar...@gmail.com/? >> > >> > Feel free to use my signed-off-by

Re: [PATCH v3 18/41] KVM: PPC: Book3S HV P9: Move xive vcpu context management into kvmhv_p9_guest_entry

2021-03-21 Thread Alexey Kardashevskiy
On 06/03/2021 02:06, Nicholas Piggin wrote: Move the xive management up so the low level register switching can be pushed further down in a later patch. XIVE MMIO CI operations can run in higher level code with machine checks, tracing, etc., available. Signed-off-by: Nicholas Piggin

Re: [PATCH v3 16/41] KVM: PPC: Book3S HV P9: Move radix MMU switching instructions together

2021-03-21 Thread Nicholas Piggin
Excerpts from Alexey Kardashevskiy's message of March 22, 2021 2:24 pm: > > > On 06/03/2021 02:06, Nicholas Piggin wrote: >> Switching the MMU from radix<->radix mode is tricky particularly as the >> MMU can remain enabled and requires a certain sequence of SPR updates. >> Move these together

Re: [PATCH] powerpc/numa: Fix topology_physical_package_id() on pSeries

2021-03-21 Thread David Gibson
On Tue, Mar 16, 2021 at 01:24:37PM +0100, Cédric Le Goater wrote: > The topology-id of a CPU in a pSeries machine can be queried from > sysfs but under PowerVM the value is always -1 even if NUMA nodes are > defined. This is because the topology_physical_package_id() routine is > using the

Re: [PATCH v3 17/41] KVM: PPC: Book3S HV P9: implement kvmppc_xive_pull_vcpu in C

2021-03-21 Thread Alexey Kardashevskiy
On 06/03/2021 02:06, Nicholas Piggin wrote: This is more symmetric with kvmppc_xive_push_vcpu. The extra test in the asm will go away in a later change. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/kvm_ppc.h | 2 ++ arch/powerpc/kvm/book3s_hv.c| 2 ++

Re: [PATCH v3 16/41] KVM: PPC: Book3S HV P9: Move radix MMU switching instructions together

2021-03-21 Thread Alexey Kardashevskiy
On 06/03/2021 02:06, Nicholas Piggin wrote: Switching the MMU from radix<->radix mode is tricky particularly as the MMU can remain enabled and requires a certain sequence of SPR updates. Move these together into their own functions. This also includes the radix TLB check / flush because it's

Re: Advice needed on SMP regression after cpu_core_mask change

2021-03-21 Thread David Gibson
On Wed, Mar 17, 2021 at 01:05:21PM -0300, Daniel Henrique Barboza wrote: > > > On 3/17/21 12:30 PM, Cédric Le Goater wrote: > > On 3/17/21 2:00 PM, Daniel Henrique Barboza wrote: > > > Hello, > > > > > > Patch 4bce545903fa ("powerpc/topology: Update topology_core_cpumask") > > > introduced > >

Re: [PATCH v3 15/41] KVM: PPC: Book3S 64: Minimise hcall handler calling convention differences

2021-03-21 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of March 6, 2021 1:06 am: > This sets up the same calling convention from interrupt entry to > KVM interrupt handler for system calls as exists for other interrupt > types. > > This is a better API, it uses a save area rather than SPR, and it has > more

Re: [PATCH] powerpc/mm: Revert "powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc"

2021-03-21 Thread Aneesh Kumar K.V
On 3/19/21 6:42 AM, Michael Ellerman wrote: "Aneesh Kumar K.V" writes: This reverts commit 675bceb097e6 ("powerpc/mm: Remove DEBUG_VM_PGTABLE support on powerpc") All the related issues are fixed by the series

Re: [PATCH v3 34/41] KVM: PPC: Book3S HV: Remove support for dependent threads mode on P9

2021-03-21 Thread Nicholas Piggin
Excerpts from Aneesh Kumar K.V's message of March 18, 2021 1:11 am: > Nicholas Piggin writes: > >> Radix guest support will be removed from the P7/8 path, so disallow >> dependent threads mode on P9. >> >> Signed-off-by: Nicholas Piggin >> --- >> arch/powerpc/include/asm/kvm_host.h | 1 - >>

Re: [PATCH v3 14/41] KVM: PPC: Book3S 64: move bad_host_intr check to HV handler

2021-03-21 Thread Nicholas Piggin
Excerpts from Alexey Kardashevskiy's message of March 20, 2021 7:07 pm: > > > On 06/03/2021 02:06, Nicholas Piggin wrote: >> This is not used by PR KVM. >> >> Signed-off-by: Nicholas Piggin > > > Reviewed-by: Alexey Kardashevskiy > > a small tote - it probably makes sense to move this

Re: [PATCH 5/6] powerpc/mm/64s/hash: Add real-mode change_memory_range() for hash LPAR

2021-03-21 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of March 16, 2021 4:40 pm: > Nicholas Piggin writes: >> Excerpts from Michael Ellerman's message of February 11, 2021 11:51 pm: >>> When we enabled STRICT_KERNEL_RWX we received some reports of boot >>> failures when using the Hash MMU and running under

Re: [PATCH] cxl: Fix couple of spellings

2021-03-21 Thread Randy Dunlap
On 3/21/21 7:33 PM, Bhaskar Chowdhury wrote: > > s/filesytem/filesystem/ > s/symantics/semantics/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/misc/cxl/context.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v11 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-03-21 Thread Balbir Singh
On Mon, Mar 22, 2021 at 11:55:08AM +1100, Daniel Axtens wrote: > Hi Balbir, > > > Could you highlight the changes from > > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170729140901.5887-1-bsinghar...@gmail.com/? > > > > Feel free to use my signed-off-by if you need to and add/update

Re: [PATCH 5/6] powerpc/mm/64s/hash: Add real-mode change_memory_range() for hash LPAR

2021-03-21 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of March 20, 2021 11:04 pm: > Nicholas Piggin writes: >> Excerpts from Michael Ellerman's message of February 11, 2021 11:51 pm: > ... >>> diff --git a/arch/powerpc/mm/book3s64/hash_pgtable.c >>> b/arch/powerpc/mm/book3s64/hash_pgtable.c >>> index

[PATCH] cxl: Fix couple of spellings

2021-03-21 Thread Bhaskar Chowdhury
s/filesytem/filesystem/ s/symantics/semantics/ Signed-off-by: Bhaskar Chowdhury --- drivers/misc/cxl/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/cxl/context.c b/drivers/misc/cxl/context.c index fb2eff69e449..e627b4056623 100644 ---

Re: [PATCH v3 15/41] KVM: PPC: Book3S 64: Minimise hcall handler calling convention differences

2021-03-21 Thread Alexey Kardashevskiy
On 06/03/2021 02:06, Nicholas Piggin wrote: This sets up the same calling convention from interrupt entry to KVM interrupt handler for system calls as exists for other interrupt types. This is a better API, it uses a save area rather than SPR, and it has more registers free to use. Using a

Re: [PATCH v11 6/6] powerpc: Book3S 64-bit outline-only KASAN support

2021-03-21 Thread Daniel Axtens
Hi Balbir, > Could you highlight the changes from > https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170729140901.5887-1-bsinghar...@gmail.com/? > > Feel free to use my signed-off-by if you need to and add/update copyright > headers if appropriate. There's not really anything in common

Re: [PATCH v11 1/6] kasan: allow an architecture to disable inline instrumentation

2021-03-21 Thread Daniel Axtens
Balbir Singh writes: > On Sat, Mar 20, 2021 at 01:40:53AM +1100, Daniel Axtens wrote: >> For annoying architectural reasons, it's very difficult to support inline >> instrumentation on powerpc64. > > I think we can expand here and talk about how in hash mode, the vmalloc > address space is in a

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.12-4 tag

2021-03-21 Thread pr-tracker-bot
The pull request you sent on Sun, 21 Mar 2021 16:15:35 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.12-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b35660a7cebdf438e01bba05075ae2bcc0125650 Thank you! --

Re: [PATCH] crypto: nx: fix incorrect kernel-doc comment syntax in files

2021-03-21 Thread Randy Dunlap
Looks good. Thanks. Acked-by: Randy Dunlap

[PATCH] crypto: nx: fix incorrect kernel-doc comment syntax in files

2021-03-21 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in drivers/crypto/nx, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed

Re: [PATCH next v1 2/3] printk: remove safe buffers

2021-03-21 Thread Sergey Senozhatsky
On (21/03/17 00:33), John Ogness wrote: [..] > void printk_nmi_direct_enter(void) > { > @@ -324,27 +44,8 @@ void printk_nmi_direct_exit(void) > this_cpu_and(printk_context, ~PRINTK_NMI_DIRECT_CONTEXT_MASK); > } > > -#else > - > -static __printf(1, 0) int vprintk_nmi(const char *fmt,

Re: remove the legacy ide driver

2021-03-21 Thread John Paul Adrian Glaubitz
Hello Christoph! On 3/18/21 5:56 AM, Christoph Hellwig wrote: > libata mostly covers all hardware supported by the legacy ide driver. > There are three mips drivers that are not supported, but the linux-mips > list could not identify any users of those. There also are two m68k > drivers that do