Re: [PATCH RFC] powerpc/rtas: Make it possible to disable sys_rtas

2023-09-08 Thread Nathan Lynch
>> > There are about 3 known use cases that absolutely need access by other >> > means than sys_rtas to work with lockdown, and about other 3 that would >> > work either way. >> >> How do you figure that? I count 11 librtas APIs that use work areas (and >> therefore /dev/mem) that are definitely

Re: [PATCH RFC] powerpc/rtas: Make it possible to disable sys_rtas

2023-09-07 Thread Michal Suchánek
On Thu, Sep 07, 2023 at 11:52:44AM -0500, Nathan Lynch wrote: > Michal Suchánek writes: > > On Wed, Sep 06, 2023 at 02:34:59PM -0500, Nathan Lynch wrote: > >> Michal Suchanek writes: > >> > >> > Additional patch suggestion to go with the rtas devices: > >> > > >> > --

Re: [PATCH RFC] powerpc/rtas: Make it possible to disable sys_rtas

2023-09-07 Thread Nathan Lynch
Michal Suchánek writes: > On Wed, Sep 06, 2023 at 02:34:59PM -0500, Nathan Lynch wrote: >> Michal Suchanek writes: >> >> > Additional patch suggestion to go with the rtas devices: >> > >> > --- >> > >> > With most important rtas

Re: [PATCH RFC] powerpc/rtas: Make it possible to disable sys_rtas

2023-09-07 Thread Michal Suchánek
On Wed, Sep 06, 2023 at 02:34:59PM -0500, Nathan Lynch wrote: > Michal Suchanek writes: > > > Additional patch suggestion to go with the rtas devices: > > > > --- > > > > With most important rtas functions available through diffe

Re: [PATCH RFC] powerpc/rtas: Make it possible to disable sys_rtas

2023-09-06 Thread Nathan Lynch
Michal Suchanek writes: > Additional patch suggestion to go with the rtas devices: > > --- > > With most important rtas functions available through different > interfaces the sys_rtas interface can be disabled completely. > > Do