1*ca120a79SGreentime Hu /* SPDX-License-Identifier: GPL-2.0 */ 2*ca120a79SGreentime Hu /* 3*ca120a79SGreentime Hu * SiFive Composable Cache Controller header file 4*ca120a79SGreentime Hu * 5*ca120a79SGreentime Hu */ 6*ca120a79SGreentime Hu 7*ca120a79SGreentime Hu #ifndef __SOC_SIFIVE_CCACHE_H 8*ca120a79SGreentime Hu #define __SOC_SIFIVE_CCACHE_H 9*ca120a79SGreentime Hu 10*ca120a79SGreentime Hu extern int register_sifive_ccache_error_notifier(struct notifier_block *nb); 11*ca120a79SGreentime Hu extern int unregister_sifive_ccache_error_notifier(struct notifier_block *nb); 12*ca120a79SGreentime Hu 13*ca120a79SGreentime Hu #define SIFIVE_CCACHE_ERR_TYPE_CE 0 14*ca120a79SGreentime Hu #define SIFIVE_CCACHE_ERR_TYPE_UE 1 15*ca120a79SGreentime Hu 16*ca120a79SGreentime Hu #endif /* __SOC_SIFIVE_CCACHE_H */ 17