Home
last modified time | relevance | path

Searched refs:RTAS_ERROR_LOG_MAX (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/arch/powerpc/kernel/
Drtas.c910 static u32 rtas_error_log_max __ro_after_init = RTAS_ERROR_LOG_MAX;
929 propname, RTAS_ERROR_LOG_MAX); in init_error_log_max()
930 max = RTAS_ERROR_LOG_MAX; in init_error_log_max()
933 if (max > RTAS_ERROR_LOG_MAX) { in init_error_log_max()
935 propname, max, RTAS_ERROR_LOG_MAX); in init_error_log_max()
936 max = RTAS_ERROR_LOG_MAX; in init_error_log_max()
943 static char rtas_err_buf[RTAS_ERROR_LOG_MAX];
987 buf = kmalloc(RTAS_ERROR_LOG_MAX, GFP_ATOMIC); in __fetch_rtas_last_error()
990 memmove(buf, rtas_err_buf, RTAS_ERROR_LOG_MAX); in __fetch_rtas_last_error()
996 #define get_errorlog_buffer() kmalloc(RTAS_ERROR_LOG_MAX, GFP_KERNEL)
Drtasd.c62 static unsigned char logdata[RTAS_ERROR_LOG_MAX];
/Linux-v6.6/arch/powerpc/platforms/pseries/
Dsetup.c161 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()
Dras.c21 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()
Deeh_pseries.c244 static unsigned char slot_errbuf[RTAS_ERROR_LOG_MAX];
/Linux-v6.6/arch/powerpc/include/asm/
Drtas.h477 #define RTAS_ERROR_LOG_MAX 2048 macro