From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] arm64: debug: remove unused local_dbg_{enable, disable} macros
Date: Tue, 19 Jul 2016 15:38:17 +0100 [thread overview]
Message-ID: <20160719143812.GC22473@leverpostej> (raw)
In-Reply-To: <1468937260-23988-4-git-send-email-will.deacon@arm.com>
On Tue, Jul 19, 2016 at 03:07:40PM +0100, Will Deacon wrote:
> The debug enable/disable macros are not used anywhere in the kernel, so
> remove them from irqflags.h
>
> Reported-by: Robin Murphy <robin.murphy@arm.com>
> Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Mark.
> ---
> arch/arm64/include/asm/irqflags.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm64/include/asm/irqflags.h b/arch/arm64/include/asm/irqflags.h
> index 11cc941bd107..8c581281fa12 100644
> --- a/arch/arm64/include/asm/irqflags.h
> +++ b/arch/arm64/include/asm/irqflags.h
> @@ -110,8 +110,5 @@ static inline int arch_irqs_disabled_flags(unsigned long flags)
> : : "r" (flags) : "memory"); \
> } while (0)
>
> -#define local_dbg_enable() asm("msr daifclr, #8" : : : "memory")
> -#define local_dbg_disable() asm("msr daifset, #8" : : : "memory")
> -
> #endif
> #endif
> --
> 2.1.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
next prev parent reply other threads:[~2016-07-19 14:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 14:07 [PATCH 1/4] arm64: debug: unmask PSTATE.D earlier Will Deacon
2016-07-19 14:07 ` Will Deacon
2016-07-19 14:07 ` [PATCH 2/4] arm64: debug: remove redundant spsr manipulation Will Deacon
2016-07-19 14:36 ` Mark Rutland
2016-07-19 14:07 ` [PATCH 3/4] arm64: kprobes: WARN if attempting to step with PSTATE.D=1 Will Deacon
2016-07-19 14:37 ` Mark Rutland
2016-08-03 12:22 ` Pratyush Anand
2016-08-09 12:48 ` Will Deacon
2016-08-10 8:01 ` Pratyush Anand
2016-08-10 12:04 ` Masami Hiramatsu
2016-08-12 12:46 ` Pratyush Anand
2016-08-15 12:56 ` Pratyush Anand
2016-07-19 14:07 ` [PATCH 4/4] arm64: debug: remove unused local_dbg_{enable, disable} macros Will Deacon
2016-07-19 14:38 ` Mark Rutland [this message]
2016-07-19 14:23 ` [PATCH 1/4] arm64: debug: unmask PSTATE.D earlier Catalin Marinas
2016-07-19 14:23 ` Catalin Marinas
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=20160719143812.GC22473@leverpostej \
--to=mark.rutland@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.