mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
XIP has a history of being broken for long periods of time. In 2023, it was
broken for 18 months before getting fixed [1]. In 2024 it was 4 months [2].
And now it is broken again since commit a44fb57221 ("riscv: Add runtime
constant support"), 10 months ago.
These are clear signs that XIP feature is not being used.
I occasionally looked after XIP, but mostly because I was bored and had
nothing better to do.
Remove XIP support. Revert is possible if someone shows up complaining.
Link: https://lore.kernel.org/linux-riscv/20231212-customary-hardcover-e19462bf8e75@wendy/ [1]
Link: https://lore.kernel.org/linux-riscv/[email protected]/ [2]
Signed-off-by: Nam Cao <[email protected]>
Cc: Frederik Haxel <[email protected]>
Cc: Vitaly Wool <[email protected]>
Reviewed-by: Jisheng Zhang <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Link: https://patch.msgid.link/[email protected]
[[email protected]: updated to apply]
Signed-off-by: Paul Walmsley <[email protected]>
21 lines
416 B
C
21 lines
416 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2019 SiFive, Inc.
|
|
*/
|
|
#ifndef __ASM_HEAD_H
|
|
#define __ASM_HEAD_H
|
|
|
|
#include <linux/linkage.h>
|
|
#include <linux/init.h>
|
|
|
|
extern atomic_t hart_lottery;
|
|
|
|
asmlinkage void __init setup_vm(uintptr_t dtb_pa);
|
|
|
|
#ifdef CONFIG_RISCV_BOOT_SPINWAIT
|
|
extern void *__cpu_spinwait_stack_pointer[];
|
|
extern void *__cpu_spinwait_task_pointer[];
|
|
#endif
|
|
|
|
#endif /* __ASM_HEAD_H */
|