Release 4.14 include/linux/ras.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __RAS_H__
#define __RAS_H__
#include <asm/errno.h>
#include <linux/uuid.h>
#include <linux/cper.h>
#ifdef CONFIG_DEBUG_FS
int ras_userspace_consumers(void);
void ras_debugfs_init(void);
int ras_add_daemon_trace(void);
#else
static inline int ras_userspace_consumers(void) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Chen Gong | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
static inline void ras_debugfs_init(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Chen Gong | 7 | 87.50% | 1 | 50.00% |
Borislav Petkov | 1 | 12.50% | 1 | 50.00% |
Total | 8 | 100.00% | 2 | 100.00% |
static inline int ras_add_daemon_trace(void) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Chen Gong | 12 | 100.00% | 1 | 100.00% |
Total | 12 | 100.00% | 1 | 100.00% |
#endif
#ifdef CONFIG_RAS_CEC
void __init cec_init(void);
int __init parse_cec_param(char *str);
int cec_add_elem(u64 pfn);
#else
static inline void __init cec_init(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Borislav Petkov | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
static inline int cec_add_elem(u64 pfn) { return -ENODEV; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Borislav Petkov | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
#endif
#ifdef CONFIG_RAS
void log_non_standard_event(const guid_t *sec_type,
const guid_t *fru_id, const char *fru_text,
const u8 sev, const u8 *err, const u32 len);
void log_arm_hw_error(struct cper_sec_proc_arm *err);
#else
static inline void
log_non_standard_event(const guid_t *sec_type,
const guid_t *fru_id, const char *fru_text,
const u8 sev, const u8 *err, const u32 len)
{ return; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Tyler Baicar | 35 | 97.22% | 1 | 50.00% |
Arnd Bergmann | 1 | 2.78% | 1 | 50.00% |
Total | 36 | 100.00% | 2 | 100.00% |
static inline void
log_arm_hw_error(struct cper_sec_proc_arm *err) { return; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Tyler Baicar | 12 | 92.31% | 1 | 50.00% |
Arnd Bergmann | 1 | 7.69% | 1 | 50.00% |
Total | 13 | 100.00% | 2 | 100.00% |
#endif
#endif /* __RAS_H__ */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Tyler Baicar | 101 | 44.69% | 2 | 33.33% |
Chen Gong | 64 | 28.32% | 1 | 16.67% |
Borislav Petkov | 58 | 25.66% | 1 | 16.67% |
Arnd Bergmann | 2 | 0.88% | 1 | 16.67% |
Greg Kroah-Hartman | 1 | 0.44% | 1 | 16.67% |
Total | 226 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.