mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/3] ARM: psci: Remove unused code in psci_entry()
Date: Mon, 18 Jun 2018 08:59:18 +0200	[thread overview]
Message-ID: <20180618065918.6sijgqa7y66zjffo@pengutronix.de> (raw)
In-Reply-To: <20180615042102.12345-1-andrew.smirnov@gmail.com>

On Thu, Jun 14, 2018 at 09:21:00PM -0700, Andrey Smirnov wrote:
> Remove what looks like a leftover code that doesn't appear to be
> referenced anywhere.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  arch/arm/cpu/psci.c | 6 ------
>  1 file changed, 6 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/cpu/psci.c b/arch/arm/cpu/psci.c
> index 435ec92cc..f63f66855 100644
> --- a/arch/arm/cpu/psci.c
> +++ b/arch/arm/cpu/psci.c
> @@ -139,12 +139,6 @@ static unsigned long psci_system_reset(void)
>  void psci_entry(u32 r0, u32 r1, u32 r2, u32 r3, u32 r4, u32 r5, u32 r6,
>  		struct arm_smccc_res *res)
>  {
> -	int mmuon;
> -	unsigned long ttb;
> -
> -	mmuon = get_cr() & CR_M;
> -	asm volatile ("mrc p15, 0, %0, c2, c0, 0" : "=r"(ttb));
> -
>  	psci_printf("%s entry, function: 0x%08x\n", __func__, r0);
>  
>  	switch (r0) {
> -- 
> 2.17.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2018-06-18  6:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15  4:21 Andrey Smirnov
2018-06-15  4:21 ` [PATCH 2/3] ARM: psci: Make use of set_ttbr() in armv7_secure_monitor_install() Andrey Smirnov
2018-06-15  4:21 ` [PATCH 3/3] ARM: mmu: psci: Make use of get_ttbr() Andrey Smirnov
2018-06-18  6:59 ` Sascha Hauer [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=20180618065918.6sijgqa7y66zjffo@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=andrew.smirnov@gmail.com \
    --cc=barebox@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox