On Tue, 2019-04-16 at 03:26:38 UTC, "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_DEFAULT_RO_MODE, to set default xmon behavior. > The kernel cmdline options xmon=ro and xmon=rw override this default. > > The following xmon operations are affected: > memops: > disable memmove > disable memset > disable memzcan > memex: > no-op'd mwrite > super_regs: > no-op'd write_spr > bpt_cmds: > disable > proc_call: > disable > > Signed-off-by: Christopher M. Riedl <c...@informatik.wtf> > Reviewed-by: Oliver O'Halloran <ooh...@gmail.com> > Reviewed-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/0acb5f64560a052fd66ab37b212a7296 cheers