[PATCH v2] efi/arm64: use UEFI for system reset and poweroff

Catalin Marinas catalin.marinas at arm.com
Sat Mar 14 04:00:43 PDT 2015


On Tue, Mar 10, 2015 at 02:48:57PM +0000, Matt Fleming wrote:
> On Fri, 06 Mar, at 03:49:24PM, Ard Biesheuvel wrote:
> > If UEFI Runtime Services are available, they are preferred over direct
> > PSCI calls or other methods to reset the system.
> > 
> > For the reset case, we need to hook into machine_restart(), as the
> > arm_pm_restart function pointer may be overwritten by modules.
> > 
> > Tested-by: Mark Rutland <mark.rutland at arm.com>
> > Reviewed-by: Mark Rutland <mark.rutland at arm.com>
> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> > ---
> >  arch/arm64/kernel/efi.c     | 9 +++++++++
> >  arch/arm64/kernel/process.c | 8 ++++++++
> >  2 files changed, 17 insertions(+)
> 
> Looks good to me.
> 
> Reviewed-by: Matt Fleming <matt.fleming at intel.com>
> 
> Catalin, are you picking this up?

Yes, I will. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list