[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1589755794.kmbg5am170.astroid@bobo.none>
Date: Mon, 18 May 2020 08:52:04 +1000
From: Nicholas Piggin <npiggin@...il.com>
To: Allison Randal <allison@...utok.net>,
Thiago Jung Bauermann <bauerman@...ux.ibm.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Daniel Axtens <dja@...ens.net>,
"Gautham R. Shenoy" <ego@...ux.vnet.ibm.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Anshuman Khandual <khandual@...ux.vnet.ibm.com>,
Leonardo Bras <leobras.c@...il.com>,
Michael Ellerman <mpe@...erman.id.au>,
Nadav Amit <namit@...are.com>,
Nathan Lynch <nathanl@...ux.ibm.com>,
Paul Mackerras <paulus@...ba.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v5 2/2] powerpc/rtas: Implement reentrant rtas call
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
Powered by blists - more mailing lists