cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

nmi.h (543B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _ASM_NMI_H
      3#define _ASM_NMI_H
      4
      5#ifdef CONFIG_PPC_WATCHDOG
      6extern void arch_touch_nmi_watchdog(void);
      7long soft_nmi_interrupt(struct pt_regs *regs);
      8#else
      9static inline void arch_touch_nmi_watchdog(void) {}
     10#endif
     11
     12#ifdef CONFIG_NMI_IPI
     13extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask,
     14					   bool exclude_self);
     15#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
     16#endif
     17
     18extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs);
     19
     20#endif /* _ASM_NMI_H */