18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * SiFive L2 Cache Controller header file 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef __SOC_SIFIVE_L2_CACHE_H 88c2ecf20Sopenharmony_ci#define __SOC_SIFIVE_L2_CACHE_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciextern int register_sifive_l2_error_notifier(struct notifier_block *nb); 118c2ecf20Sopenharmony_ciextern int unregister_sifive_l2_error_notifier(struct notifier_block *nb); 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define SIFIVE_L2_ERR_TYPE_CE 0 148c2ecf20Sopenharmony_ci#define SIFIVE_L2_ERR_TYPE_UE 1 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif /* __SOC_SIFIVE_L2_CACHE_H */ 17