/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * 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 distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Copyright IBM Corp. 2015 * * Authors: Gavin Shan <gwshan@linux.vnet.ibm.com> */ #ifndef _ASM_POWERPC_EEH_H #define _ASM_POWERPC_EEH_H /* PE states */ #define EEH_PE_STATE_NORMAL 0 /* Normal state */ #define EEH_PE_STATE_RESET 1 /* PE reset asserted */ #define EEH_PE_STATE_STOPPED_IO_DMA 2 /* Frozen PE */ #define EEH_PE_STATE_STOPPED_DMA 4 /* Stopped DMA only */ #define EEH_PE_STATE_UNAVAIL 5 /* Unavailable */ /* EEH error types and functions */ #define EEH_ERR_TYPE_32 0 /* 32-bits error */ #define EEH_ERR_TYPE_64 1 /* 64-bits error */ #define EEH_ERR_FUNC_MIN 0 #define EEH_ERR_FUNC_LD_MEM_ADDR 0 /* Memory load */ #define EEH_ERR_FUNC_LD_MEM_DATA 1 #define EEH_ERR_FUNC_LD_IO_ADDR 2 /* IO load */ #define EEH_ERR_FUNC_LD_IO_DATA 3 #define EEH_ERR_FUNC_LD_CFG_ADDR 4 /* Config load */ #define EEH_ERR_FUNC_LD_CFG_DATA 5 #define EEH_ERR_FUNC_ST_MEM_ADDR 6 /* Memory store */ #define EEH_ERR_FUNC_ST_MEM_DATA 7 #define EEH_ERR_FUNC_ST_IO_ADDR 8 /* IO store */ #define EEH_ERR_FUNC_ST_IO_DATA 9 #define EEH_ERR_FUNC_ST_CFG_ADDR 10 /* Config store */ #define EEH_ERR_FUNC_ST_CFG_DATA 11 #define EEH_ERR_FUNC_DMA_RD_ADDR 12 /* DMA read */ #define EEH_ERR_FUNC_DMA_RD_DATA 13 #define EEH_ERR_FUNC_DMA_RD_MASTER 14 #define EEH_ERR_FUNC_DMA_RD_TARGET 15 #define EEH_ERR_FUNC_DMA_WR_ADDR 16 /* DMA write */ #define EEH_ERR_FUNC_DMA_WR_DATA 17 #define EEH_ERR_FUNC_DMA_WR_MASTER 18 #define EEH_ERR_FUNC_DMA_WR_TARGET 19 #define EEH_ERR_FUNC_MAX 19 #endif /* _ASM_POWERPC_EEH_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 211 B | 0644 |
|
auxvec.h | File | 1.73 KB | 0644 |
|
bitsperlong.h | File | 312 B | 0644 |
|
bootx.h | File | 4.31 KB | 0644 |
|
byteorder.h | File | 550 B | 0644 |
|
cputable.h | File | 2.22 KB | 0644 |
|
eeh.h | File | 2.18 KB | 0644 |
|
elf.h | File | 12.99 KB | 0644 |
|
epapr_hcalls.h | File | 4.17 KB | 0644 |
|
errno.h | File | 278 B | 0644 |
|
fcntl.h | File | 367 B | 0644 |
|
ioctl.h | File | 302 B | 0644 |
|
ioctls.h | File | 4.07 KB | 0644 |
|
ipcbuf.h | File | 1.03 KB | 0644 |
|
kvm.h | File | 22.22 KB | 0644 |
|
kvm_para.h | File | 2.73 KB | 0644 |
|
mman.h | File | 1.33 KB | 0644 |
|
msgbuf.h | File | 1.02 KB | 0644 |
|
nvram.h | File | 2.03 KB | 0644 |
|
opal-prd.h | File | 1.74 KB | 0644 |
|
perf_event.h | File | 565 B | 0644 |
|
perf_regs.h | File | 1.2 KB | 0644 |
|
posix_types.h | File | 738 B | 0644 |
|
ps3fb.h | File | 1.74 KB | 0644 |
|
ptrace.h | File | 7.4 KB | 0644 |
|
sembuf.h | File | 1.07 KB | 0644 |
|
setup.h | File | 203 B | 0644 |
|
shmbuf.h | File | 1.61 KB | 0644 |
|
sigcontext.h | File | 4.28 KB | 0644 |
|
siginfo.h | File | 576 B | 0644 |
|
signal.h | File | 3.27 KB | 0644 |
|
socket.h | File | 592 B | 0644 |
|
spu_info.h | File | 1.48 KB | 0644 |
|
stat.h | File | 2.26 KB | 0644 |
|
swab.h | File | 602 B | 0644 |
|
termbits.h | File | 5.1 KB | 0644 |
|
termios.h | File | 1.67 KB | 0644 |
|
tm.h | File | 734 B | 0644 |
|
types.h | File | 1.29 KB | 0644 |
|
ucontext.h | File | 975 B | 0644 |
|
unistd.h | File | 10.87 KB | 0644 |
|