-
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 '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 <tglx@linutronix.de>
- Loading branch information
Showing
2 changed files
with
87 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |