Excerpts from Nicholas Piggin's message of May 16, 2020 5:36 pm: > Excerpts from Leonardo Bras's message of May 16, 2020 3:21 pm: >> @@ -202,6 +220,7 @@ void __init __nostackprotector initialise_paca(struct >> paca_struct *new_paca, int >> /* For now -- if we have threads this will be adjusted later */ >> new_paca->tcd_ptr = &new_paca->tcd; >> #endif >> + new_paca->reentrant_args = NULL; >> } >> >> /* Put the paca pointer into r13 and SPRG_PACA */ >> @@ -274,6 +293,7 @@ void __init allocate_paca(int cpu) >> #ifdef CONFIG_PPC_BOOK3S_64 >> paca->slb_shadow_ptr = new_slb_shadow(cpu, limit); >> #endif >> + paca->reentrant_args = new_rtas_args(cpu, limit); > > Good, I think tihs should work as you want now. Can you allocate it like > lppacas? Put it under PSERIES (and in the paca) and check for !HV?
Oh and while there, could you prefix the name with rtas_? Thanks, Nick