linux/arch/loongarch
Mike Rapoport (IBM) 7ce6048d3a loongarch: drop ranges for definition of ARCH_FORCE_MAX_ORDER
LoongArch defines insane ranges for ARCH_FORCE_MAX_ORDER allowing
MAX_ORDER up to 63, which implies maximal contiguous allocation size of
2^63 pages.

Drop bogus definitions of ranges for ARCH_FORCE_MAX_ORDER and leave it a
simple integer with sensible defaults.

Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER will
be able to do so but they won't be mislead by the bogus ranges.

Link: https://lkml.kernel.org/r/20230322081727.2516291-1-rppt@kernel.org
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-05 19:42:47 -07:00
..
boot loongarch: efi: enable generic EFI compressed boot 2022-09-20 09:50:31 +02:00
configs LoongArch: kdump: Add single kernel image implementation 2023-02-25 22:12:17 +08:00
include LoongArch changes for v6.3 2023-03-01 09:27:00 -08:00
kernel LoongArch changes for v6.3 2023-03-01 09:27:00 -08:00
lib LoongArch: Mark some assembler symbols as non-kprobe-able 2023-02-25 22:12:17 +08:00
mm LoongArch: Add kprobes support 2023-02-25 22:12:17 +08:00
net LoongArch, bpf: Use 4 instructions for function address in JIT 2023-02-17 17:43:07 +01:00
pci LoongArch: Add FDT booting support from efi system table 2022-12-14 08:41:53 +08:00
power LoongArch: Add JUMP_VIRT_ADDR macro implementation to avoid using la.abs 2023-02-25 22:12:16 +08:00
vdso LoongArch: Fix build warnings in VDSO 2022-08-25 19:34:59 +08:00
Kbuild LoongArch: Add BPF JIT support 2022-10-12 16:36:20 +08:00
Kconfig loongarch: drop ranges for definition of ARCH_FORCE_MAX_ORDER 2023-04-05 19:42:47 -07:00
Kconfig.debug LoongArch: Add prologue unwinder support 2022-08-12 13:10:11 +08:00
Makefile LoongArch: kdump: Add single kernel image implementation 2023-02-25 22:12:17 +08:00