From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [Query] ARM64 : arm_pm_restart intialization
Date: Mon, 19 Jan 2015 13:19:31 +0000 [thread overview]
Message-ID: <87fvb6hpr0.fsf@approximate.cambridge.arm.com> (raw)
In-Reply-To: <BLUPR03MB167FE14DFB49FB4251C503F904A0@BLUPR03MB167.namprd03.prod.outlook.com> (Pankaj Chauhan's message of "Mon, 19 Jan 2015 12:27:04 +0000")
On Mon, Jan 19 2015 at 12:27:04 pm GMT, Pankaj Chauhan <Pankaj.Chauhan@freescale.com> wrote:
> Hello,
>
> I have a small query regarding machine_restart() for ARM64.
>
> For both ARM64 and ARM32 machine_restart()
> (arch/arm*/kernel/process.c) calls arm_pm_restart, for doing machine
> specific restart. For ARM32 arm_pm_restart, gets initialized by
> 'machine_desc.restart' provided by each machine/platform
> implementation.
>
> For ARM64 how are different platforms supposed to initialize
> arm_pm_restart pointer? (As there is no struct machine_desc defined
> for ARM64). Is there a framework similar to machine_desc for setting
> up the restart handlers?
Have a look at the stuff implemented in drivers/power/reset. The main
idea is to use a restart notifier, which works for both 32 and 64bit
kernels.
M.
--
Jazz is not dead. It just smells funny.
prev parent reply other threads:[~2015-01-19 13:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 12:27 [Query] ARM64 : arm_pm_restart intialization Pankaj Chauhan
2015-01-19 13:19 ` Marc Zyngier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fvb6hpr0.fsf@approximate.cambridge.arm.com \
--to=marc.zyngier@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.