diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2026-01-13 16:59:34 +0800 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-01-18 14:39:16 +0100 |
| commit | d9e7035a51b89ef6041ce7c00b629e7877134a51 (patch) | |
| tree | 9b1aa323f865a2910e33a6b1dbe0b3ff80827ce3 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 95a8ddde36601d0a645475fb080ed118db59c8c3 (diff) | |
irqchip/loongarch-avec: Adjust irqchip driver for 32BIT/64BIT
csr_read64() is only available on 64BIT LoongArch platform, so use the
recently added adaptive csr_read() instead to make the driver work on both
32BIT and 64BIT platforms.
This makes avecintc_enable() a no-op for 32-bit as it is only required on
64-bit systems.
Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260113085940.3344837-2-chenhuacai@loongson.cn
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
