162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * SiFive Composable Cache Controller header file
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef __SOC_SIFIVE_CCACHE_H
862306a36Sopenharmony_ci#define __SOC_SIFIVE_CCACHE_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciextern int register_sifive_ccache_error_notifier(struct notifier_block *nb);
1162306a36Sopenharmony_ciextern int unregister_sifive_ccache_error_notifier(struct notifier_block *nb);
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#define SIFIVE_CCACHE_ERR_TYPE_CE 0
1462306a36Sopenharmony_ci#define SIFIVE_CCACHE_ERR_TYPE_UE 1
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#endif /* __SOC_SIFIVE_CCACHE_H */
17