Re: [PATCH 0/6] Clean up Shadow Call Stack patches for 5.8

From: Will Deacon
Date: Mon May 18 2020 - 12:49:58 EST


On Mon, May 18, 2020 at 08:43:16AM -0700, Sami Tolvanen wrote:
> On Mon, May 18, 2020 at 6:52 AM Will Deacon <will@xxxxxxxxxx> wrote:
> >
> > On Fri, May 15, 2020 at 01:42:40PM -0700, Sami Tolvanen wrote:
> > > On Fri, May 15, 2020 at 10:28 AM Will Deacon <will@xxxxxxxxxx> wrote:
> > > > Will Deacon (6):
> > > > arm64: scs: Store absolute SCS stack pointer value in thread_info
> > > > scs: Move accounting into alloc/free functions
> > > > arm64: scs: Use 'scs_sp' register alias for x18
> > > > scs: Move scs_overflow_check() out of architecture code
> > > > scs: Remove references to asm/scs.h from core code
> > > > scs: Move DEFINE_SCS macro into core code
> > > >
> > > > arch/Kconfig | 4 +--
> > > > arch/arm64/include/asm/scs.h | 29 ++++------------
> > > > arch/arm64/include/asm/thread_info.h | 4 +--
> > > > arch/arm64/kernel/asm-offsets.c | 2 +-
> > > > arch/arm64/kernel/entry.S | 10 +++---
> > > > arch/arm64/kernel/head.S | 2 +-
> > > > arch/arm64/kernel/process.c | 2 --
> > > > arch/arm64/kernel/scs.c | 6 +---
> > > > include/linux/scs.h | 16 +++++----
> > > > kernel/sched/core.c | 3 ++
> > > > kernel/scs.c | 52 +++++++++++++---------------
> > > > 11 files changed, 55 insertions(+), 75 deletions(-)
> > > >
> > > > --
> > > > 2.26.2.761.g0e0b3e54be-goog
> > >
> > > Thanks, Will. I tested these on my SCS tree and didn't run into any
> > > issues. Looks good to me.
> >
> > Cheers, Sami. Can I add your 'Tested-by' to the patches, please?
>
> Sure, please feel free to add Tested-by tags.

Thanks. I've updated the for-next/scs branch with that.

Will