Searched refs:RTAS_ERROR_LOG_MAX (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | rtas.c | 930 static u32 rtas_error_log_max __ro_after_init = RTAS_ERROR_LOG_MAX; 949 propname, RTAS_ERROR_LOG_MAX); in init_error_log_max() 950 max = RTAS_ERROR_LOG_MAX; in init_error_log_max() 953 if (max > RTAS_ERROR_LOG_MAX) { in init_error_log_max() 955 propname, max, RTAS_ERROR_LOG_MAX); in init_error_log_max() 956 max = RTAS_ERROR_LOG_MAX; in init_error_log_max() 963 static char rtas_err_buf[RTAS_ERROR_LOG_MAX]; 1007 buf = kmalloc(RTAS_ERROR_LOG_MAX, GFP_ATOMIC); in __fetch_rtas_last_error() 1010 memmove(buf, rtas_err_buf, RTAS_ERROR_LOG_MAX); in __fetch_rtas_last_error() 1016 #define get_errorlog_buffer() kmalloc(RTAS_ERROR_LOG_MAX, GFP_KERNEL)
|
H A D | rtasd.c | 62 static unsigned char logdata[RTAS_ERROR_LOG_MAX];
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | setup.c | 161 mce_data_buf = memblock_alloc_try_nid_raw(RTAS_ERROR_LOG_MAX * nr_cpus, in fwnmi_init() 162 RTAS_ERROR_LOG_MAX, MEMBLOCK_LOW_LIMIT, in fwnmi_init() 166 RTAS_ERROR_LOG_MAX * nr_cpus, &ppc64_rma_size); in fwnmi_init() 170 (RTAS_ERROR_LOG_MAX * i); in fwnmi_init()
|
H A D | ras.c | 21 static unsigned char ras_log_buf[RTAS_ERROR_LOG_MAX]; 453 memset(local_paca->mce_data_buf, 0, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo() 460 len = min_t(int, error_log_length, RTAS_ERROR_LOG_MAX); in fwnmi_get_errinfo()
|
H A D | eeh_pseries.c | 244 static unsigned char slot_errbuf[RTAS_ERROR_LOG_MAX];
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | rtas.h | 477 #define RTAS_ERROR_LOG_MAX 2048 macro
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr.h | 840 #define RTAS_ERROR_LOG_MAX 2048 macro
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr.c | 986 RTAS_ERROR_LOG_MAX + in spapr_dt_rtas() 990 RTAS_ERROR_LOG_MAX)); in spapr_dt_rtas() 3482 addr = rtas_addr + RTAS_ERROR_LOG_MAX + cs->cpu_index * sizeof(uint64_t)*2; in spapr_do_system_reset_on_cpu()
|