mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
ca120a79cf
Since composable cache may be L3 cache if there is a L2 cache, we should use its original name composable cache to prevent confusion. There are some new lines were generated due to adding the compatible "sifive,ccache0" into ID table and indent requirement. The sifive L2 has been renamed to sifive CCACHE, EDAC driver needs to apply the change as well. Signed-off-by: Greentime Hu <greentime.hu@sifive.com> Signed-off-by: Zong Li <zong.li@sifive.com> Co-developed-by: Zong Li <zong.li@sifive.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20220913061817.22564-3-zong.li@sifive.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
17 lines
426 B
C
17 lines
426 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* SiFive Composable Cache Controller header file
|
|
*
|
|
*/
|
|
|
|
#ifndef __SOC_SIFIVE_CCACHE_H
|
|
#define __SOC_SIFIVE_CCACHE_H
|
|
|
|
extern int register_sifive_ccache_error_notifier(struct notifier_block *nb);
|
|
extern int unregister_sifive_ccache_error_notifier(struct notifier_block *nb);
|
|
|
|
#define SIFIVE_CCACHE_ERR_TYPE_CE 0
|
|
#define SIFIVE_CCACHE_ERR_TYPE_UE 1
|
|
|
|
#endif /* __SOC_SIFIVE_CCACHE_H */
|