-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'loongarch-5.20' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/chenhuacai/linux-loongson Pull LoongArch updates from Huacai Chen: - Optimise getcpu() with vDSO - PCI enablement on top of pci & irqchip changes - Stack unwinder and stack trace support - Some bug fixes and build error fixes - Update the default config file * tag 'loongarch-5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: docs/zh_CN/LoongArch: Add I14 description docs/LoongArch: Add I14 description LoongArch: Update Loongson-3 default config file LoongArch: Add USER_STACKTRACE support LoongArch: Add STACKTRACE support LoongArch: Add prologue unwinder support LoongArch: Add guess unwinder support LoongArch: Add vDSO syscall __vdso_getcpu() LoongArch: Add PCI controller support LoongArch: Parse MADT to get multi-processor information LoongArch: Jump to the link address before enable PG LoongArch: Requires __force attributes for any casts LoongArch: Fix unsigned comparison with less than zero LoongArch: Adjust arch/loongarch/Kconfig LoongArch: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
- Loading branch information
Showing
38 changed files
with
1,089 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
choice | ||
prompt "Choose kernel unwinder" | ||
default UNWINDER_PROLOGUE if KALLSYMS | ||
help | ||
This determines which method will be used for unwinding kernel stack | ||
traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack, | ||
lockdep, and more. | ||
|
||
config UNWINDER_GUESS | ||
bool "Guess unwinder" | ||
help | ||
This option enables the "guess" unwinder for unwinding kernel stack | ||
traces. It scans the stack and reports every kernel text address it | ||
finds. Some of the addresses it reports may be incorrect. | ||
|
||
While this option often produces false positives, it can still be | ||
useful in many cases. | ||
|
||
config UNWINDER_PROLOGUE | ||
bool "Prologue unwinder" | ||
depends on KALLSYMS | ||
help | ||
This option enables the "prologue" unwinder for unwinding kernel stack | ||
traces. It unwind the stack frame based on prologue code analyze. Symbol | ||
information is needed, at least the address and length of each function. | ||
Some of the addresses it reports may be incorrect (but better than the | ||
Guess unwinder). | ||
|
||
endchoice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited | ||
*/ | ||
#ifndef __ASM_DMA_H | ||
#define __ASM_DMA_H | ||
|
||
#define MAX_DMA_ADDRESS PAGE_OFFSET | ||
#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (C) 2020-2022 Loongson Technology Corporation Limited | ||
*/ | ||
#ifndef _ASM_PCI_H | ||
#define _ASM_PCI_H | ||
|
||
#include <linux/ioport.h> | ||
#include <linux/list.h> | ||
#include <linux/types.h> | ||
#include <asm/io.h> | ||
|
||
#define PCIBIOS_MIN_IO 0x4000 | ||
#define PCIBIOS_MIN_MEM 0x20000000 | ||
#define PCIBIOS_MIN_CARDBUS_IO 0x4000 | ||
|
||
#define HAVE_PCI_MMAP | ||
#define pcibios_assign_all_busses() 0 | ||
|
||
extern phys_addr_t mcfg_addr_init(int node); | ||
|
||
/* generic pci stuff */ | ||
#include <asm-generic/pci.h> | ||
|
||
#endif /* _ASM_PCI_H */ |
Oops, something went wrong.