mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02: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/20240526110104.470429-1-namcao@linutronix.de/ [2]
Signed-off-by: Nam Cao <namcao@linutronix.de>
Cc: Frederik Haxel <haxel@fzi.de>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260202115403.2119218-1-namcao@linutronix.de
[pjw@kernel.org: updated to apply]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
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 */
|