diff options
| author | Thomas Gleixner <[email protected]> | 2024-02-23 10:07:24 +0100 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-02-23 10:07:24 +0100 |
| commit | 129993da1bede32d5c605c46d4ff10384359d385 (patch) | |
| tree | cb182dd67f2593167ed75813087132f11d3b03ce /include/linux | |
| parent | 5aa3c0cf5bba6437c9e63a56f684f61de8b503d6 (diff) | |
| parent | f4cc33e78ba8624a79ba8dea98ce5c85aa9ca33c (diff) | |
Merge tag 'irq-for-riscv-02-23-24' into irq/msi
Pick up RISCV INTC changes to handle conflicts with the AIA updates.
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/soc/andes/irq.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/soc/andes/irq.h b/include/linux/soc/andes/irq.h new file mode 100644 index 000000000000..edc3182d6e66 --- /dev/null +++ b/include/linux/soc/andes/irq.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 Andes Technology Corporation + */ +#ifndef __ANDES_IRQ_H +#define __ANDES_IRQ_H + +/* Andes PMU irq number */ +#define ANDES_RV_IRQ_PMOVI 18 +#define ANDES_RV_IRQ_LAST ANDES_RV_IRQ_PMOVI +#define ANDES_SLI_CAUSE_BASE 256 + +/* Andes PMU related registers */ +#define ANDES_CSR_SLIE 0x9c4 +#define ANDES_CSR_SLIP 0x9c5 +#define ANDES_CSR_SCOUNTEROF 0x9d4 + +#endif /* __ANDES_IRQ_H */ |