Re: [PATCH v4 04/16] powerpc/vas: Create take/drop pid and mm references

2021-06-04 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of June 5, 2021 10:31 am: > Excerpts from Haren Myneni's message of June 4, 2021 2:08 pm: >> On Thu, 2021-06-03 at 14:21 +1000, Nicholas Piggin wrote: >>> Excerpts from Haren Myneni's message of May 21, 2021 7:31 pm: >>> > Take pid and mm references when

Re: [PATCH v3 0/4] shoot lazy tlbs

2021-06-04 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of June 5, 2021 10:26 am: > Excerpts from Nicholas Piggin's message of June 5, 2021 10:17 am: >> Excerpts from Andy Lutomirski's message of June 5, 2021 3:05 am: >>> On 6/4/21 9:54 AM, Andy Lutomirski wrote: On 5/31/21 11:22 PM, Nicholas Piggin wrote:

Re: [PATCH] powerpc: Remove klimit

2021-06-04 Thread Kefeng Wang
On 2021/6/4 17:57, Christophe Leroy wrote: klimit is a global variable initialised at build time with the value of _end. This variable is never modified, so _end symbol can be used directly. Remove klimit. Reviewed-by: Kefeng Wang Signed-off-by: Christophe Leroy Cc: Kefeng Wang ---

[PATCH v4 4/4] powerpc/64s: enable MMU_LAZY_TLB_SHOOTDOWN

2021-06-04 Thread Nicholas Piggin
On a 16-socket 192-core POWER8 system, a context switching benchmark with as many software threads as CPUs (so each switch will go in and out of idle), upstream can achieve a rate of about 1 million context switches per second. After this patch it goes up to 118 million. Signed-off-by: Nicholas

[PATCH v4 3/4] lazy tlb: shoot lazies, a non-refcounting lazy tlb option

2021-06-04 Thread Nicholas Piggin
On big systems, the mm refcount can become highly contented when doing a lot of context switching with threaded applications (particularly switching between the idle thread and an application thread). Abandoning lazy tlb slows switching down quite a bit in the important user->idle->user cases, so

[PATCH v4 2/4] lazy tlb: allow lazy tlb mm refcounting to be configurable

2021-06-04 Thread Nicholas Piggin
Add CONFIG_MMU_TLB_REFCOUNT which enables refcounting of the lazy tlb mm when it is context switched. This can be disabled by architectures that don't require this refcounting if they clean up lazy tlb mms when the last refcount is dropped. Currently this is always enabled, which is what existing

[PATCH v4 1/4] lazy tlb: introduce lazy mm refcount helper functions

2021-06-04 Thread Nicholas Piggin
Add explicit _lazy_tlb annotated functions for lazy mm refcounting. This makes lazy mm references more obvious, and allows explicit refcounting to be removed if it is not used. Signed-off-by: Nicholas Piggin --- arch/arm/mach-rpc/ecard.c| 2 +- arch/powerpc/kernel/smp.c

[PATCH v4 0/4] shoot lazy tlbs

2021-06-04 Thread Nicholas Piggin
The additional unused config option was a valid criticism, so this now purely just toggles refcounting of the lazy tlb mm. Thanks, Nick Since v3: - Removed the extra config option, MMU_LAZY_TLB=n. This can be resurrected if an arch wants it. Nicholas Piggin (4): lazy tlb: introduce lazy mm

Re: [PATCH v4 12/16] powerpc/pseries/vas: Setup IRQ and fault handling

2021-06-04 Thread Nicholas Piggin
Excerpts from Haren Myneni's message of June 4, 2021 11:19 am: > On Thu, 2021-06-03 at 15:48 +1000, Nicholas Piggin wrote: >> Excerpts from Haren Myneni's message of May 21, 2021 7:39 pm: >> > NX generates an interrupt when sees a fault on the user space >> > buffer and the hypervisor forwards

Re: [PATCH v4 07/16] powerpc/pseries/vas: Define VAS/NXGZIP HCALLs and structs

2021-06-04 Thread Nicholas Piggin
Excerpts from Haren Myneni's message of June 4, 2021 11:30 am: > On Thu, 2021-06-03 at 14:47 +1000, Nicholas Piggin wrote: >> Excerpts from Haren Myneni's message of May 21, 2021 7:34 pm: >> > This patch adds HCALLs and other definitions. Also define structs >> > that are used in VAS

Re: [PATCH v4 04/16] powerpc/vas: Create take/drop pid and mm references

2021-06-04 Thread Nicholas Piggin
Excerpts from Haren Myneni's message of June 4, 2021 2:08 pm: > On Thu, 2021-06-03 at 14:21 +1000, Nicholas Piggin wrote: >> Excerpts from Haren Myneni's message of May 21, 2021 7:31 pm: >> > Take pid and mm references when each window opens and drops during >> > close. This functionality is

Re: [PATCH v3 0/4] shoot lazy tlbs

2021-06-04 Thread Nicholas Piggin
Excerpts from Nicholas Piggin's message of June 5, 2021 10:17 am: > Excerpts from Andy Lutomirski's message of June 5, 2021 3:05 am: >> On 6/4/21 9:54 AM, Andy Lutomirski wrote: >>> On 5/31/21 11:22 PM, Nicholas Piggin wrote: There haven't been objections to the series since last posting,

Re: [PATCH v3 0/4] shoot lazy tlbs

2021-06-04 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of June 5, 2021 3:05 am: > On 6/4/21 9:54 AM, Andy Lutomirski wrote: >> On 5/31/21 11:22 PM, Nicholas Piggin wrote: >>> There haven't been objections to the series since last posting, this >>> is just a rebase and tidies up a few comments minor patch

Re: [PATCH v2] lockdown,selinux: avoid bogus SELinux lockdown permission checks

2021-06-04 Thread Alexei Starovoitov
On Fri, Jun 4, 2021 at 4:34 PM Paul Moore wrote: > > > Again, the problem is not limited to BPF at all. kprobes is doing register- > > time hooks which are equivalent to the one of BPF. Anything in run-time > > trying to prevent probe_read_kernel by kprobes or BPF is broken by design. > > Not

Re: [PATCH v2] lockdown,selinux: avoid bogus SELinux lockdown permission checks

2021-06-04 Thread Paul Moore
On Fri, Jun 4, 2021 at 2:02 PM Daniel Borkmann wrote: > > On 6/4/21 6:50 AM, Paul Moore wrote: > > On Thu, Jun 3, 2021 at 2:53 PM Daniel Borkmann wrote: > [...] > >> I did run this entire discussion by both of the other BPF co-maintainers > >> (Alexei, Andrii, CC'ed) and together we did further

Re: [PATCH v4 09/16] powerpc/pseries/vas: Add HCALL wrappers for VAS handling

2021-06-04 Thread Haren Myneni
On Fri, 2021-06-04 at 21:52 +1000, Michael Ellerman wrote: > Haren Myneni writes: > > This patch adds the following HCALL wrapper functions to allocate, > > Normal spelling is "hcall". > > > modify and deallocate VAS windows, and retrieve VAS capabilities. > > > > H_ALLOCATE_VAS_WINDOW:

Re: [PATCH v4 06/16] powerpc/vas: Define and use common vas_window struct

2021-06-04 Thread Haren Myneni
On Fri, 2021-06-04 at 21:52 +1000, Michael Ellerman wrote: > Haren Myneni writes: > > On Thu, 2021-06-03 at 14:38 +1000, Nicholas Piggin wrote: > > > Excerpts from Haren Myneni's message of May 21, 2021 7:33 pm: > > > > Same vas_window struct is used on powerNV and pseries. So this > > > > patch

Re: [PATCH 4/4] powerpc/32: Avoid #ifdef nested with FTR_SECTION on booke syscall entry

2021-06-04 Thread Christophe Leroy
Le 04/06/2021 à 19:02, Andreas Schwab a écrit : On Jun 04 2021, Christophe Leroy wrote: On booke, SYSCALL_ENTRY macro nests an FTR_SECTION with a That sentence lacks an Argh ! It was . FTR_SECTION with a #ifdef CONFIG_KVM_BOOKE_HV. And git discarded the line starting with a #

Re: [PATCH v2 2/9] arc: update comment about HIGHMEM implementation

2021-06-04 Thread Vineet Gupta
On 6/3/21 11:49 PM, Mike Rapoport wrote: > From: Mike Rapoport > > Arc does not use DISCONTIGMEM to implement high memory, update the comment > describing how high memory works to reflect this. > > Signed-off-by: Mike Rapoport Acked-by: Vineet Gupta Thx, -Vineet > --- > arch/arc/mm/init.c

Re: [PATCH v2 3/9] arc: remove support for DISCONTIGMEM

2021-06-04 Thread Vineet Gupta
On 6/3/21 11:49 PM, Mike Rapoport wrote: > From: Mike Rapoport > > DISCONTIGMEM was replaced by FLATMEM with freeing of the unused memory map > in v5.11. > > Remove the support for DISCONTIGMEM entirely. > > Signed-off-by: Mike Rapoport Looks non intrusive, but I'd still like to give this a

Re: [PATCH v2] lockdown,selinux: avoid bogus SELinux lockdown permission checks

2021-06-04 Thread Daniel Borkmann
On 6/4/21 6:50 AM, Paul Moore wrote: On Thu, Jun 3, 2021 at 2:53 PM Daniel Borkmann wrote: [...] I did run this entire discussion by both of the other BPF co-maintainers (Alexei, Andrii, CC'ed) and together we did further brainstorming on the matter on how we could solve this, but couldn't

Re: [PATCH v8 00/15] Restricted DMA

2021-06-04 Thread Will Deacon
Hi Claire, On Thu, May 27, 2021 at 08:58:30PM +0800, Claire Chang wrote: > This series implements mitigations for lack of DMA access control on > systems without an IOMMU, which could result in the DMA accessing the > system memory at unexpected times and/or unexpected addresses, possibly >

Re: [PATCH v4 16/16] crypto/nx: Add sysfs interface to export NX capabilities

2021-06-04 Thread Haren Myneni
On Fri, 2021-06-04 at 21:52 +1000, Michael Ellerman wrote: > Haren Myneni writes: > > On Thu, 2021-06-03 at 14:57 +1000, Nicholas Piggin wrote: > > > Excerpts from Haren Myneni's message of May 21, 2021 7:42 pm: > > > > Changes to export the following NXGZIP capabilities through > > > > sysfs: >

Re: [PATCH v3 0/4] shoot lazy tlbs

2021-06-04 Thread Andy Lutomirski
On 6/4/21 9:54 AM, Andy Lutomirski wrote: > On 5/31/21 11:22 PM, Nicholas Piggin wrote: >> There haven't been objections to the series since last posting, this >> is just a rebase and tidies up a few comments minor patch rearranging. >> > > I continue to object to having too many modes. I like

Re: [PATCH 4/4] powerpc/32: Avoid #ifdef nested with FTR_SECTION on booke syscall entry

2021-06-04 Thread Andreas Schwab
On Jun 04 2021, Christophe Leroy wrote: > On booke, SYSCALL_ENTRY macro nests an FTR_SECTION with a That sentence lacks an Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH v3 0/4] shoot lazy tlbs

2021-06-04 Thread Andy Lutomirski
On 5/31/21 11:22 PM, Nicholas Piggin wrote: > There haven't been objections to the series since last posting, this > is just a rebase and tidies up a few comments minor patch rearranging. > I continue to object to having too many modes. I like my more generic improvements better. Let me try to

[RFC] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-06-04 Thread Pratik R. Sampat
Adds a generic interface to represent the energy and frequency related PAPR attributes on the system using the new H_CALL "H_GET_ENERGY_SCALE_INFO". H_GET_EM_PARMS H_CALL was previously responsible for exporting this information in the lparcfg, however the H_GET_EM_PARMS H_CALL will be deprecated

Re: simplify gendisk and request_queue allocation for blk-mq based drivers

2021-06-04 Thread Konrad Rzeszutek Wilk
On Wed, Jun 02, 2021 at 09:53:15AM +0300, Christoph Hellwig wrote: > Hi all, Hi! You wouldn't have a nice git repo to pull so one can test it easily? Thank you! Cc-ing Boris/Juergen - pls see below xen. > > this series is the scond part of cleaning up lifetimes and allocation of > the gendisk

[PATCH v2 1/2] powerpc/ps3: Add firmware version to sysfs

2021-06-04 Thread Geoff Levand
Add a new sysfs entry /sys/firmware/ps3/fw-version that exports the PS3's firmware version. The firmware version is available through an LV1 hypercall, and we've been printing it to the boot log, but haven't provided an easy way for user utilities to get it. Signed-off-by: Geoff Levand ---

[PATCH v2 0/2] PS3 Updates

2021-06-04 Thread Geoff Levand
Hi Michael, I've rebased the V1 patches to v5.13-rc4, and moved the firmware version export from procfs to sysfs/firmware. Please consider. -Geoff The following changes since commit 8124c8a6b35386f73523d27eacb71b5364a68c4c: Linux 5.13-rc4 (2021-05-30 11:58:25 -1000) are available in the

[PATCH v2 2/2] powerpc/ps3: Re-align DTB in image

2021-06-04 Thread Geoff Levand
Change the PS3 linker script to align the DTB at 8 bytes, the same alignment as that of the of the 'generic' powerpc linker script. Signed-off-by: Geoff Levand --- arch/powerpc/boot/zImage.ps3.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 4/4] powerpc/interrupt: Refactor interrupt_exit_user_prepare()

2021-06-04 Thread Christophe Leroy
interrupt_exit_user_prepare() is a superset of interrupt_exit_user_prepare_main(). Refactor to avoid code duplication. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/interrupt.c | 57 ++--- 1 file changed, 3 insertions(+), 54 deletions(-) diff --git

[PATCH v2 3/4] powerpc/interrupt: Rename and lightly change syscall_exit_prepare_main()

2021-06-04 Thread Christophe Leroy
Rename syscall_exit_prepare_main() into interrupt_exit_prepare_main() Make it static as it is not used anywhere else. Pass it the 'ret' so that it can 'or' it directly instead of oring twice, once inside the function and once outside. And remove 'r3' parameter which is not used. Also fix a

[PATCH v2 2/4] powerpc/interrupt: Refactor prep_irq_for_user_exit()

2021-06-04 Thread Christophe Leroy
prep_irq_for_user_exit() is a superset of prep_irq_for_kernel_enabled_exit(). Refactor it. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/interrupt.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/kernel/interrupt.c

[PATCH v2 1/4] powerpc/interrupt: Interchange prep_irq_for_{kernel_enabled/user}_exit()

2021-06-04 Thread Christophe Leroy
prep_irq_for_user_exit() is a superset of prep_irq_for_kernel_enabled_exit(). In order to allow refactoring in following patch, interchange the two as prep_irq_for_user_exit() will call prep_irq_for_kernel_enabled_exit(). Signed-off-by: Christophe Leroy --- This series applies on top of Nic's

[PATCH 4/4] powerpc/32: Avoid #ifdef nested with FTR_SECTION on booke syscall entry

2021-06-04 Thread Christophe Leroy
On booke, SYSCALL_ENTRY macro nests an FTR_SECTION with a Duplicate the single instruction alternative to avoid nesting. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_booke.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/head_booke.h

[PATCH 3/4] powerpc/32: Reduce code duplication of system call entry

2021-06-04 Thread Christophe Leroy
booke and non booke do pretty similar things in SYSCALL_ENTRY macro just before calling jumping to transfer_to_syscall(). Do them in transfer_to_syscall() instead. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/entry_32.S | 19 +++ arch/powerpc/kernel/head_32.h|

[PATCH 2/4] powerpc/32: Interchange r1 and r11 in SYSCALL_ENTRY on booke

2021-06-04 Thread Christophe Leroy
To better match non booke version of SYSCALL_ENTRY macro, interchange r1 and r11 in the booke version. While at it, in both versions use r1 instead of r11 to save _NIP and _CCR. All other uses of r11 will go away in next patch, so don't bother changing them for now. Signed-off-by: Christophe

[PATCH 1/4] powerpc/32: Interchange r10 and r12 in SYSCALL_ENTRY on non booke

2021-06-04 Thread Christophe Leroy
To better match booke version of SYSCALL_ENTRY macro, interchange r10 and r12 in the non booke version. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.h | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git

Re: [PATCH v2 3/9] arc: remove support for DISCONTIGMEM

2021-06-04 Thread Mike Rapoport
On Fri, Jun 04, 2021 at 02:07:39PM +, Vineet Gupta wrote: > On 6/3/21 11:49 PM, Mike Rapoport wrote: > > From: Mike Rapoport > > > > DISCONTIGMEM was replaced by FLATMEM with freeing of the unused memory map > > in v5.11. > > > > Remove the support for DISCONTIGMEM entirely. > > > >

[PATCH] powerpc/selftests: Use gettid() instead of getppid() for null_syscall

2021-06-04 Thread Christophe Leroy
gettid() is 10% lighter than getppid(), use it for null_syscall selftest. Signed-off-by: Christophe Leroy --- tools/testing/selftests/powerpc/benchmarks/null_syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/powerpc/benchmarks/null_syscall.c

Re: [PATCH v4 09/16] powerpc/pseries/vas: Add HCALL wrappers for VAS handling

2021-06-04 Thread Michael Ellerman
Haren Myneni writes: > This patch adds the following HCALL wrapper functions to allocate, Normal spelling is "hcall". > modify and deallocate VAS windows, and retrieve VAS capabilities. > > H_ALLOCATE_VAS_WINDOW: Allocate VAS window > H_DEALLOCATE_VAS_WINDOW: Close VAS window >

Re: [PATCH v4 16/16] crypto/nx: Add sysfs interface to export NX capabilities

2021-06-04 Thread Michael Ellerman
Haren Myneni writes: > On Thu, 2021-06-03 at 14:57 +1000, Nicholas Piggin wrote: >> Excerpts from Haren Myneni's message of May 21, 2021 7:42 pm: >> > Changes to export the following NXGZIP capabilities through sysfs: >> > >> > /sys/devices/vio/ibm,compression-v1/NxGzCaps: >> >> Where's the

Re: [PATCH v4 06/16] powerpc/vas: Define and use common vas_window struct

2021-06-04 Thread Michael Ellerman
Haren Myneni writes: > On Thu, 2021-06-03 at 14:38 +1000, Nicholas Piggin wrote: >> Excerpts from Haren Myneni's message of May 21, 2021 7:33 pm: >> > Same vas_window struct is used on powerNV and pseries. So this >> > patch >> > changes in struct vas_window to support both platforms and also the

[PATCH] powerpc: Remove klimit

2021-06-04 Thread Christophe Leroy
klimit is a global variable initialised at build time with the value of _end. This variable is never modified, so _end symbol can be used directly. Remove klimit. Signed-off-by: Christophe Leroy Cc: Kefeng Wang --- arch/powerpc/include/asm/setup.h | 1 -

[PATCH] powerpc: Fix kernel-jump address for ppc64 wrapper boot

2021-06-04 Thread He Ying
>From "64-bit PowerPC ELF Application Binary Interface Supplement 1.9", we know that the value of a function pointer in a language like C is the address of the function descriptor and the first doubleword of the function descriptor contains the address of the entry point of the function. So, when

Re: [PATCH v2] powerpc/papr_scm: Add support for reporting dirty-shutdown-count

2021-06-04 Thread Aneesh Kumar K.V
Vaibhav Jain writes: > Persistent memory devices like NVDIMMs can loose cached writes in case > something prevents flush on power-fail. Such situations are termed as > dirty shutdown and are exposed to applications as > last-shutdown-state (LSS) flag and a dirty-shutdown-counter(DSC) as >

[PATCH v2 11/15] powerpc: convert to setup_initial_init_mm()

2021-06-04 Thread Kefeng Wang
Use setup_initial_init_mm() helper to simplify code. Note klimit is (unsigned long) _end, with new helper, will use _end directly. Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Kefeng Wang --- arch/powerpc/kernel/setup-common.c | 5 + 1

[PATCH v2 00/15] init_mm: cleanup ARCH's text/data/brk setup code

2021-06-04 Thread Kefeng Wang
Add setup_initial_init_mm() helper, then use it to cleanup the text, data and brk setup code. v2: - change argument from "char *" to "void *" setup_initial_init_mm() suggested by Geert Uytterhoeven - use NULL instead of (void *)0 on h8300 and m68k - collect ACKs Cc:

[PATCH v2 01/15] mm: add setup_initial_init_mm() helper

2021-06-04 Thread Kefeng Wang
Add setup_initial_init_mm() helper to setup kernel text, data and brk. Cc: linux-snps-...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-c...@vger.kernel.org Cc: uclinux-h8-de...@lists.sourceforge.jp Cc: linux-m...@lists.linux-m68k.org Cc: openr...@lists.librecores.org Cc:

[PATCH v2 9/9] mm: replace CONFIG_FLAT_NODE_MEM_MAP with CONFIG_FLATMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport After removal of the DISCONTIGMEM memory model the FLAT_NODE_MEM_MAP configuration option is equivalent to FLATMEM. Drop CONFIG_FLAT_NODE_MEM_MAP and use CONFIG_FLATMEM instead. Signed-off-by: Mike Rapoport --- include/linux/mmzone.h | 4 ++-- kernel/crash_core.c| 2

[PATCH v2 8/9] mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMA

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport After removal of DISCINTIGMEM the NEED_MULTIPLE_NODES and NUMA configuration options are equivalent. Drop CONFIG_NEED_MULTIPLE_NODES and use CONFIG_NUMA instead. Done with $ sed -i 's/CONFIG_NEED_MULTIPLE_NODES/CONFIG_NUMA/' \ $(git grep -wl

[PATCH v2 7/9] docs: remove description of DISCONTIGMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport Remove description of DISCONTIGMEM from the "Memory Models" document and update VM sysctl description so that it won't mention DISCONIGMEM. Signed-off-by: Mike Rapoport --- Documentation/admin-guide/sysctl/vm.rst | 12 +++ Documentation/vm/memory-model.rst | 45

[PATCH v2 6/9] arch, mm: remove stale mentions of DISCONIGMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport There are several places that mention DISCONIGMEM in comments or have stale code guarded by CONFIG_DISCONTIGMEM. Remove the dead code and update the comments. Signed-off-by: Mike Rapoport --- arch/ia64/kernel/topology.c | 5 ++--- arch/ia64/mm/numa.c | 5

[PATCH v2 5/9] mm: remove CONFIG_DISCONTIGMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport There are no architectures that support DISCONTIGMEM left. Remove the configuration option and the dead code it was guarding in the generic memory management code. Signed-off-by: Mike Rapoport --- include/asm-generic/memory_model.h | 37 --

[PATCH v2 4/9] m68k: remove support for DISCONTIGMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport DISCONTIGMEM was replaced by FLATMEM with freeing of the unused memory map in v5.11. Remove the support for DISCONTIGMEM entirely. Signed-off-by: Mike Rapoport Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven --- arch/m68k/Kconfig.cpu | 10

[PATCH v2 3/9] arc: remove support for DISCONTIGMEM

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport DISCONTIGMEM was replaced by FLATMEM with freeing of the unused memory map in v5.11. Remove the support for DISCONTIGMEM entirely. Signed-off-by: Mike Rapoport --- arch/arc/Kconfig | 13 arch/arc/include/asm/mmzone.h | 40

[PATCH v2 2/9] arc: update comment about HIGHMEM implementation

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport Arc does not use DISCONTIGMEM to implement high memory, update the comment describing how high memory works to reflect this. Signed-off-by: Mike Rapoport --- arch/arc/mm/init.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git

[PATCH v2 1/9] alpha: remove DISCONTIGMEM and NUMA

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport NUMA is marked broken on alpha for more than 15 years and DISCONTIGMEM was replaced with SPARSEMEM in v5.11. Remove both NUMA and DISCONTIGMEM support from alpha. Signed-off-by: Mike Rapoport --- arch/alpha/Kconfig| 22 ---

[PATCH v2 0/9] Remove DISCINTIGMEM memory model

2021-06-04 Thread Mike Rapoport
From: Mike Rapoport Hi, SPARSEMEM memory model was supposed to entirely replace DISCONTIGMEM a (long) while ago. The last architectures that used DISCONTIGMEM were updated to use other memory models in v5.11 and it is about the time to entirely remove DISCONTIGMEM from the kernel. This set