All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@codeaurora.org>
To: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: Update processor_modes for hyp and monitor mode
Date: Wed, 26 Nov 2014 17:54:41 -0800	[thread overview]
Message-ID: <54768461.3050501@codeaurora.org> (raw)
In-Reply-To: <1416272732-20573-1-git-send-email-sboyd@codeaurora.org>

On 11/17/2014 05:05 PM, Stephen Boyd wrote:
> If the kernel is running in hypervisor mode or monitor mode we'll
> print UK6_32 or UK10_32 if we call into __show_regs(). Let's
> update these strings to indicate the new modes that didn't exist
> when this code was written.
>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---

Can I throw this into the patch tracker?

>   arch/arm/kernel/process.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
> index fe972a2f3df3..fdfa3a78ec8c 100644
> --- a/arch/arm/kernel/process.c
> +++ b/arch/arm/kernel/process.c
> @@ -51,8 +51,8 @@ EXPORT_SYMBOL(__stack_chk_guard);
>   static const char *processor_modes[] __maybe_unused = {
>     "USER_26", "FIQ_26" , "IRQ_26" , "SVC_26" , "UK4_26" , "UK5_26" , "UK6_26" , "UK7_26" ,
>     "UK8_26" , "UK9_26" , "UK10_26", "UK11_26", "UK12_26", "UK13_26", "UK14_26", "UK15_26",
> -  "USER_32", "FIQ_32" , "IRQ_32" , "SVC_32" , "UK4_32" , "UK5_32" , "UK6_32" , "ABT_32" ,
> -  "UK8_32" , "UK9_32" , "UK10_32", "UND_32" , "UK12_32", "UK13_32", "UK14_32", "SYS_32"
> +  "USER_32", "FIQ_32" , "IRQ_32" , "SVC_32" , "UK4_32" , "UK5_32" , "MON_32" , "ABT_32" ,
> +  "UK8_32" , "UK9_32" , "HYP_32", "UND_32" , "UK12_32", "UK13_32", "UK14_32", "SYS_32"
>   };
>   
>   static const char *isa_modes[] __maybe_unused = {


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Update processor_modes for hyp and monitor mode
Date: Wed, 26 Nov 2014 17:54:41 -0800	[thread overview]
Message-ID: <54768461.3050501@codeaurora.org> (raw)
In-Reply-To: <1416272732-20573-1-git-send-email-sboyd@codeaurora.org>

On 11/17/2014 05:05 PM, Stephen Boyd wrote:
> If the kernel is running in hypervisor mode or monitor mode we'll
> print UK6_32 or UK10_32 if we call into __show_regs(). Let's
> update these strings to indicate the new modes that didn't exist
> when this code was written.
>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---

Can I throw this into the patch tracker?

>   arch/arm/kernel/process.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
> index fe972a2f3df3..fdfa3a78ec8c 100644
> --- a/arch/arm/kernel/process.c
> +++ b/arch/arm/kernel/process.c
> @@ -51,8 +51,8 @@ EXPORT_SYMBOL(__stack_chk_guard);
>   static const char *processor_modes[] __maybe_unused = {
>     "USER_26", "FIQ_26" , "IRQ_26" , "SVC_26" , "UK4_26" , "UK5_26" , "UK6_26" , "UK7_26" ,
>     "UK8_26" , "UK9_26" , "UK10_26", "UK11_26", "UK12_26", "UK13_26", "UK14_26", "UK15_26",
> -  "USER_32", "FIQ_32" , "IRQ_32" , "SVC_32" , "UK4_32" , "UK5_32" , "UK6_32" , "ABT_32" ,
> -  "UK8_32" , "UK9_32" , "UK10_32", "UND_32" , "UK12_32", "UK13_32", "UK14_32", "SYS_32"
> +  "USER_32", "FIQ_32" , "IRQ_32" , "SVC_32" , "UK4_32" , "UK5_32" , "MON_32" , "ABT_32" ,
> +  "UK8_32" , "UK9_32" , "HYP_32", "UND_32" , "UK12_32", "UK13_32", "UK14_32", "SYS_32"
>   };
>   
>   static const char *isa_modes[] __maybe_unused = {


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

  reply	other threads:[~2014-11-27  1:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18  1:05 [PATCH] ARM: Update processor_modes for hyp and monitor mode Stephen Boyd
2014-11-18  1:05 ` Stephen Boyd
2014-11-27  1:54 ` Stephen Boyd [this message]
2014-11-27  1:54   ` Stephen Boyd
2014-11-27 10:30   ` Russell King - ARM Linux
2014-11-27 10:30     ` Russell King - ARM Linux

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=54768461.3050501@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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.