mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 12:45:16 +07:00
d2912cb15b
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
100 lines
2.1 KiB
C
100 lines
2.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* arch/arm/include/asm/glue-df.h
|
|
*
|
|
* Copyright (C) 1997-1999 Russell King
|
|
* Copyright (C) 2000-2002 Deep Blue Solutions Ltd.
|
|
*/
|
|
#ifndef ASM_GLUE_DF_H
|
|
#define ASM_GLUE_DF_H
|
|
|
|
#include <asm/glue.h>
|
|
|
|
/*
|
|
* Data Abort Model
|
|
* ================
|
|
*
|
|
* We have the following to choose from:
|
|
* arm7 - ARM7 style
|
|
* v4_early - ARMv4 without Thumb early abort handler
|
|
* v4t_late - ARMv4 with Thumb late abort handler
|
|
* v4t_early - ARMv4 with Thumb early abort handler
|
|
* v5t_early - ARMv5 with Thumb early abort handler
|
|
* v5tj_early - ARMv5 with Thumb and Java early abort handler
|
|
* xscale - ARMv5 with Thumb with Xscale extensions
|
|
* v6_early - ARMv6 generic early abort handler
|
|
* v7_early - ARMv7 generic early abort handler
|
|
*/
|
|
#undef CPU_DABORT_HANDLER
|
|
#undef MULTI_DABORT
|
|
|
|
#ifdef CONFIG_CPU_ABRT_EV4
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v4_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_LV4T
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v4t_late_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_EV4T
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v4t_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_EV5T
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v5t_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_EV5TJ
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v5tj_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_EV6
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v6_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_EV7
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER v7_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef CONFIG_CPU_ABRT_NOMMU
|
|
# ifdef CPU_DABORT_HANDLER
|
|
# define MULTI_DABORT 1
|
|
# else
|
|
# define CPU_DABORT_HANDLER nommu_early_abort
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef CPU_DABORT_HANDLER
|
|
#error Unknown data abort handler type
|
|
#endif
|
|
|
|
#endif
|