Geert Uytterhoeven
40e0dd851e
nds32: Fix bogus reference to <asm/procinfo.h>
...
Andestech(nds32) never had <asm/procinfo.h>.
Signed-off-by: Geert Uytterhoeven <[email protected] >
Acked-by: Greentime Hu <[email protected] >
Signed-off-by: Greentime Hu <[email protected] >
2021-02-25 14:31:49 +08:00
Mike Rapoport
80c4574417
h8300, nds32, openrisc: simplify detection of memory extents
...
Instead of traversing memblock.memory regions to find memory_start and
memory_end, simply query memblock_{start,end}_of_DRAM().
Signed-off-by: Mike Rapoport <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Acked-by: Stafford Horne <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Baoquan He <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: Daniel Axtens <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: Emil Renner Berthing <[email protected] >
Cc: Hari Bathini <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jonathan Cameron <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Max Filippov <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Miguel Ojeda <[email protected] >
Cc: Palmer Dabbelt <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Paul Walmsley <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Russell King <[email protected] >
Cc: Thomas Bogendoerfer <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected] >
2020-10-13 18:38:35 -07:00
Arvind Sankar
4b15a5b205
arch/nds32/setup: Drop dummy_con initialization
...
con_init in tty/vt.c will now set conswitchp to dummy_con if it's unset.
Drop it from arch setup code.
Signed-off-by: Arvind Sankar <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2020-01-14 15:29:17 +01:00
Nylon Chen
e2f3f8b4a4
nds32: support hardware prefetcher
...
We add a config for user to enable or disable this feature.
It can be used to control the hardware prefetch function.
Signed-off-by: Nylon Chen <[email protected] >
Acked-by: Greentime Hu <[email protected] >
Signed-off-by: Greentime Hu <[email protected] >
2018-11-22 18:13:51 +08:00
Nylon Chen
a5234068e6
nds32: Fix the items of hwcap_str ordering issue.
...
The hwcap_str should be set in a correct order according to HWCAP_xx.
We also add the missing "fpu_dp" to it.
Signed-off-by: Nylon Chen <[email protected] >
Acked-by: Greentime Hu <[email protected] >
Signed-off-by: Greentime Hu <[email protected] >
2018-11-22 18:13:51 +08:00
Vincent Chen
e46bf83c18
nds32: nds32 FPU port
...
This patch set contains basic components for supporting the nds32 FPU,
such as exception handlers and context switch for FPU registers. By
default, the lazy FPU scheme is supported and the user can configure it via
CONFIG_LZAY_FPU.
Signed-off-by: Vincent Chen <[email protected] >
Acked-by: Greentime Hu <[email protected] >
Signed-off-by: Greentime Hu <[email protected] >
2018-11-22 18:13:13 +08:00
Mike Rapoport
57c8a661d9
mm: remove include/linux/bootmem.h
...
Move remaining definitions and declarations from include/linux/bootmem.h
into include/linux/memblock.h and remove the redundant header.
The includes were replaced with the semantic patch below and then
semi-automated removal of duplicated '#include <linux/memblock.h>
@@
@@
- #include <linux/bootmem.h>
+ #include <linux/memblock.h>
[[email protected] : dma-direct: fix up for the removal of linux/bootmem.h]
Link: http://lkml.kernel.org/r/[email protected]
[[email protected] : powerpc: fix up for removal of linux/bootmem.h]
Link: http://lkml.kernel.org/r/[email protected]
[[email protected] : x86/kaslr, ACPI/NUMA: fix for linux/bootmem.h removal]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected] >
Signed-off-by: Stephen Rothwell <[email protected] >
Acked-by: Michal Hocko <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Greentime Hu <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: "James E.J. Bottomley" <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Ley Foon Tan <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Palmer Dabbelt <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Russell King <[email protected] >
Cc: Serge Semin <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2018-10-31 08:54:16 -07:00
Greentime Hu
6897e6ecb3
nds32: Fix the dts pointer is not passed correctly issue.
...
We found that the original implementation will only use the built-in dtb
pointer instead of the pointer pass from bootloader. This bug is fixed
by this patch.
Signed-off-by: Greentime Hu <[email protected] >
2018-07-03 11:12:06 +08:00
Greentime Hu
3ff2228dce
nds32: Fix the virtual address may map too much range by tlbop issue.
...
We use tlbop to map virtual address in the first beginning, however it
may map too much if DRAM size is not that big. We have to invalidate the
mapping when the page table is created.
Signed-off-by: Greentime Hu <[email protected] >
2018-05-23 13:26:21 +08:00
Greentime Hu
001d953ede
nds32: Kernel booting and initialization
...
This patch includes the kernel startup code. It can get dtb pointer
passed from bootloader. It will create a temp mapping by tlb
instructions at beginning and goto start_kernel.
Signed-off-by: Vincent Chen <[email protected] >
Signed-off-by: Greentime Hu <[email protected] >
Acked-by: Arnd Bergmann <[email protected] >
2018-02-22 10:44:31 +08:00