Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-11 Thread Christopher M Riedl
> On April 11, 2019 at 8:37 AM Michael Ellerman wrote: > > > Christopher M Riedl writes: > >> On April 8, 2019 at 1:34 AM Oliver wrote: > >> On Mon, Apr 8, 2019 at 1:06 PM Christopher M. Riedl > >> wrote: > ... > >> > > >> > diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.de

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-11 Thread Michael Ellerman
Christopher M Riedl writes: >> On April 8, 2019 at 1:34 AM Oliver wrote: >> On Mon, Apr 8, 2019 at 1:06 PM Christopher M. Riedl >> wrote: ... >> > >> > diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug >> > index 4e00cb0a5464..0c7f21476018 100644 >> > --- a/arch/powerpc/Kconf

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-09 Thread Oliver
On Wed, Apr 10, 2019 at 12:35 PM Christopher M Riedl wrote: > > > > On April 8, 2019 at 1:34 AM Oliver wrote: > > > > > > On Mon, Apr 8, 2019 at 1:06 PM Christopher M. Riedl > > wrote: > > > > > > Operations which write to memory and special purpose registers should be > > > restricted on syst

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-09 Thread Christopher M Riedl
> On April 8, 2019 at 2:37 AM Andrew Donnellan > wrote: > > > On 8/4/19 1:08 pm, Christopher M. Riedl wrote: > > Operations which write to memory and special purpose registers should be > > restricted on systems with integrity guarantees (such as Secure Boot) > > and, optionally, to avoid sel

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-09 Thread Christopher M Riedl
> On April 8, 2019 at 1:34 AM Oliver wrote: > > > On Mon, Apr 8, 2019 at 1:06 PM Christopher M. Riedl > wrote: > > > > Operations which write to memory and special purpose registers should be > > restricted on systems with integrity guarantees (such as Secure Boot) > > and, optionally, to av

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-07 Thread Andrew Donnellan
On 8/4/19 1:08 pm, Christopher M. Riedl wrote: Operations which write to memory and special purpose registers should be restricted on systems with integrity guarantees (such as Secure Boot) and, optionally, to avoid self-destructive behaviors. Add a config option, XMON_RW, to control default xmo

Re: [PATCH v2] powerpc/xmon: add read-only mode

2019-04-07 Thread Oliver
On Mon, Apr 8, 2019 at 1:06 PM Christopher M. Riedl wrote: > > Operations which write to memory and special purpose registers should be > restricted on systems with integrity guarantees (such as Secure Boot) > and, optionally, to avoid self-destructive behaviors. > > Add a config option, XMON_RW,

[PATCH v2] powerpc/xmon: add read-only mode

2019-04-07 Thread Christopher M. Riedl
Operations which write to memory and special purpose registers should be restricted on systems with integrity guarantees (such as Secure Boot) and, optionally, to avoid self-destructive behaviors. Add a config option, XMON_RW, to control default xmon behavior along with kernel cmdline options xmon