/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ALPHA_ERR_EV7_H #define __ALPHA_ERR_EV7_H 1 /* * Data for el packet class PAL (14), type LOGOUT_FRAME (1) */ struct ev7_pal_logout_subpacket { u32 mchk_code; u32 subpacket_count; u64 whami; u64 rbox_whami; u64 rbox_int; u64 exc_addr; union el_timestamp timestamp; u64 halt_code; u64 reserved; }; /* * Data for el packet class PAL (14), type EV7_PROCESSOR (4) */ struct ev7_pal_processor_subpacket { u64 i_stat; u64 dc_stat; u64 c_addr; u64 c_syndrome_1; u64 c_syndrome_0; u64 c_stat; u64 c_sts; u64 mm_stat; u64 exc_addr; u64 ier_cm; u64 isum; u64 pal_base; u64 i_ctl; u64 process_context; u64 cbox_ctl; u64 cbox_stp_ctl; u64 cbox_acc_ctl; u64 cbox_lcl_set; u64 cbox_gbl_set; u64 bbox_ctl; u64 bbox_err_sts; u64 bbox_err_idx; u64 cbox_ddp_err_sts; u64 bbox_dat_rmp; u64 reserved[2]; }; /* * Data for el packet class PAL (14), type EV7_ZBOX (5) */ struct ev7_pal_zbox_subpacket { u32 zbox0_dram_err_status_1; u32 zbox0_dram_err_status_2; u32 zbox0_dram_err_status_3; u32 zbox0_dram_err_ctl; u32 zbox0_dram_err_adr; u32 zbox0_dift_timeout; u32 zbox0_dram_mapper_ctl; u32 zbox0_frc_err_adr; u32 zbox0_dift_err_status; u32 reserved1; u32 zbox1_dram_err_status_1; u32 zbox1_dram_err_status_2; u32 zbox1_dram_err_status_3; u32 zbox1_dram_err_ctl; u32 zbox1_dram_err_adr; u32 zbox1_dift_timeout; u32 zbox1_dram_mapper_ctl; u32 zbox1_frc_err_adr; u32 zbox1_dift_err_status; u32 reserved2; u64 cbox_ctl; u64 cbox_stp_ctl; u64 zbox0_error_pa; u64 zbox1_error_pa; u64 zbox0_ored_syndrome; u64 zbox1_ored_syndrome; u64 reserved3[2]; }; /* * Data for el packet class PAL (14), type EV7_RBOX (6) */ struct ev7_pal_rbox_subpacket { u64 rbox_cfg; u64 rbox_n_cfg; u64 rbox_s_cfg; u64 rbox_e_cfg; u64 rbox_w_cfg; u64 rbox_n_err; u64 rbox_s_err; u64 rbox_e_err; u64 rbox_w_err; u64 rbox_io_cfg; u64 rbox_io_err; u64 rbox_l_err; u64 rbox_whoami; u64 rbox_imask; u64 rbox_intq; u64 rbox_int; u64 reserved[2]; }; /* * Data for el packet class PAL (14), type EV7_IO (7) */ struct ev7_pal_io_one_port { u64 pox_err_sum; u64 pox_tlb_err; u64 pox_spl_cmplt; u64 pox_trans_sum; u64 pox_first_err; u64 pox_mult_err; u64 pox_dm_source; u64 pox_dm_dest; u64 pox_dm_size; u64 pox_dm_ctrl; u64 reserved; }; struct ev7_pal_io_subpacket { u64 io_asic_rev; u64 io_sys_rev; u64 io7_uph; u64 hpi_ctl; u64 crd_ctl; u64 hei_ctl; u64 po7_error_sum; u64 po7_uncrr_sym; u64 po7_crrct_sym; u64 po7_ugbge_sym; u64 po7_err_pkt0; u64 po7_err_pkt1; u64 reserved[2]; struct ev7_pal_io_one_port ports[4]; }; /* * Environmental subpacket. Data used for el packets: * class PAL (14), type AMBIENT_TEMPERATURE (10) * class PAL (14), type AIRMOVER_FAN (11) * class PAL (14), type VOLTAGE (12) * class PAL (14), type INTRUSION (13) * class PAL (14), type POWER_SUPPLY (14) * class PAL (14), type LAN (15) * class PAL (14), type HOT_PLUG (16) */ struct ev7_pal_environmental_subpacket { u16 cabinet; u16 drawer; u16 reserved1[2]; u8 module_type; u8 unit_id; /* unit reporting condition */ u8 reserved2; u8 condition; /* condition reported */ }; /* * Convert environmental type to index */ static inline int ev7_lf_env_index(int type) { BUG_ON((type < EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE) || (type > EL_TYPE__PAL__ENV__HOT_PLUG)); return type - EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE; } /* * Data for generic el packet class PAL. */ struct ev7_pal_subpacket { union { struct ev7_pal_logout_subpacket logout; /* Type 1 */ struct ev7_pal_processor_subpacket ev7; /* Type 4 */ struct ev7_pal_zbox_subpacket zbox; /* Type 5 */ struct ev7_pal_rbox_subpacket rbox; /* Type 6 */ struct ev7_pal_io_subpacket io; /* Type 7 */ struct ev7_pal_environmental_subpacket env; /* Type 10-16 */ u64 as_quad[1]; /* Raw u64 */ } by_type; }; /* * Struct to contain collected logout from subpackets. */ struct ev7_lf_subpackets { struct ev7_pal_logout_subpacket *logout; /* Type 1 */ struct ev7_pal_processor_subpacket *ev7; /* Type 4 */ struct ev7_pal_zbox_subpacket *zbox; /* Type 5 */ struct ev7_pal_rbox_subpacket *rbox; /* Type 6 */ struct ev7_pal_io_subpacket *io; /* Type 7 */ struct ev7_pal_environmental_subpacket *env[7]; /* Type 10-16 */ unsigned int io_pid; }; #endif /* __ALPHA_ERR_EV7_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 320 B | 0644 |
|
a.out-core.h | File | 2.41 KB | 0644 |
|
a.out.h | File | 574 B | 0644 |
|
agp.h | File | 457 B | 0644 |
|
agp_backend.h | File | 948 B | 0644 |
|
asm-offsets.h | File | 35 B | 0644 |
|
asm-prototypes.h | File | 405 B | 0644 |
|
atomic.h | File | 9.15 KB | 0644 |
|
barrier.h | File | 2.17 KB | 0644 |
|
bitops.h | File | 8.83 KB | 0644 |
|
bug.h | File | 571 B | 0644 |
|
bugs.h | File | 294 B | 0644 |
|
cache.h | File | 507 B | 0644 |
|
cacheflush.h | File | 2.68 KB | 0644 |
|
checksum.h | File | 1.93 KB | 0644 |
|
cmpxchg.h | File | 1.67 KB | 0644 |
|
compiler.h | File | 498 B | 0644 |
|
console.h | File | 1.06 KB | 0644 |
|
core_apecs.h | File | 16.91 KB | 0644 |
|
core_cia.h | File | 15.43 KB | 0644 |
|
core_irongate.h | File | 6.63 KB | 0644 |
|
core_lca.h | File | 11.36 KB | 0644 |
|
core_marvel.h | File | 9.15 KB | 0644 |
|
core_mcpcia.h | File | 11.45 KB | 0644 |
|
core_polaris.h | File | 2.92 KB | 0644 |
|
core_t2.h | File | 19.13 KB | 0644 |
|
core_titan.h | File | 11.2 KB | 0644 |
|
core_tsunami.h | File | 8.29 KB | 0644 |
|
core_wildfire.h | File | 8.45 KB | 0644 |
|
delay.h | File | 264 B | 0644 |
|
device.h | File | 129 B | 0644 |
|
div64.h | File | 31 B | 0644 |
|
dma-mapping.h | File | 276 B | 0644 |
|
dma.h | File | 12.37 KB | 0644 |
|
elf.h | File | 5.71 KB | 0644 |
|
emergency-restart.h | File | 149 B | 0644 |
|
err_common.h | File | 3.24 KB | 0644 |
|
err_ev6.h | File | 116 B | 0644 |
|
err_ev7.h | File | 4.37 KB | 0644 |
|
extable.h | File | 1.42 KB | 0644 |
|
floppy.h | File | 3.07 KB | 0644 |
|
fpu.h | File | 1.78 KB | 0644 |
|
ftrace.h | File | 12 B | 0644 |
|
futex.h | File | 1.97 KB | 0644 |
|
gct.h | File | 1.02 KB | 0644 |
|
hardirq.h | File | 223 B | 0644 |
|
hw_irq.h | File | 302 B | 0644 |
|
hwrpb.h | File | 6.9 KB | 0644 |
|
io.h | File | 15.03 KB | 0644 |
|
io_trivial.h | File | 3.07 KB | 0644 |
|
irq.h | File | 2.31 KB | 0644 |
|
irq_regs.h | File | 34 B | 0644 |
|
irqflags.h | File | 1.17 KB | 0644 |
|
jensen.h | File | 8.39 KB | 0644 |
|
kdebug.h | File | 32 B | 0644 |
|
kmap_types.h | File | 265 B | 0644 |
|
linkage.h | File | 256 B | 0644 |
|
local.h | File | 2.59 KB | 0644 |
|
local64.h | File | 33 B | 0644 |
|
machvec.h | File | 3.68 KB | 0644 |
|
mc146818rtc.h | File | 680 B | 0644 |
|
mce.h | File | 4.04 KB | 0644 |
|
mmu.h | File | 203 B | 0644 |
|
mmu_context.h | File | 7.09 KB | 0644 |
|
mmzone.h | File | 2.98 KB | 0644 |
|
module.h | File | 329 B | 0644 |
|
page.h | File | 2.46 KB | 0644 |
|
pal.h | File | 5.01 KB | 0644 |
|
param.h | File | 284 B | 0644 |
|
parport.h | File | 536 B | 0644 |
|
pci.h | File | 2.87 KB | 0644 |
|
percpu.h | File | 527 B | 0644 |
|
perf_event.h | File | 105 B | 0644 |
|
pgalloc.h | File | 1.82 KB | 0644 |
|
pgtable.h | File | 13.17 KB | 0644 |
|
processor.h | File | 2.07 KB | 0644 |
|
ptrace.h | File | 754 B | 0644 |
|
rwsem.h | File | 4.62 KB | 0644 |
|
segment.h | File | 132 B | 0644 |
|
serial.h | File | 1.01 KB | 0644 |
|
sfp-machine.h | File | 2.86 KB | 0644 |
|
shmparam.h | File | 191 B | 0644 |
|
signal.h | File | 627 B | 0644 |
|
smp.h | File | 1.34 KB | 0644 |
|
socket.h | File | 310 B | 0644 |
|
special_insns.h | File | 925 B | 0644 |
|
spinlock.h | File | 2.85 KB | 0644 |
|
spinlock_types.h | File | 413 B | 0644 |
|
string.h | File | 2.42 KB | 0644 |
|
switch_to.h | File | 406 B | 0644 |
|
syscall.h | File | 235 B | 0644 |
|
termios.h | File | 2.98 KB | 0644 |
|
thread_info.h | File | 3.63 KB | 0644 |
|
timex.h | File | 827 B | 0644 |
|
tlb.h | File | 473 B | 0644 |
|
tlbflush.h | File | 3.37 KB | 0644 |
|
topology.h | File | 957 B | 0644 |
|
types.h | File | 143 B | 0644 |
|
uaccess.h | File | 9.56 KB | 0644 |
|
ucontext.h | File | 348 B | 0644 |
|
unaligned.h | File | 340 B | 0644 |
|
unistd.h | File | 494 B | 0644 |
|
user.h | File | 2.14 KB | 0644 |
|
vga.h | File | 2 KB | 0644 |
|
word-at-a-time.h | File | 1.34 KB | 0644 |
|
wrperfmon.h | File | 2.56 KB | 0644 |
|
xchg.h | File | 5.74 KB | 0644 |
|
xor.h | File | 21.71 KB | 0644 |
|