From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 1/7] arm64: Add ASM_BUG()
Date: Tue, 8 Aug 2017 16:31:12 +0100 [thread overview]
Message-ID: <20170808153112.GF19207@leverpostej> (raw)
In-Reply-To: <1501093110-3844-2-git-send-email-mark.rutland@arm.com>
On Wed, Jul 26, 2017 at 07:18:24PM +0100, Mark Rutland wrote:
> +#define __BUG_ENTRY(flags) \
> + .pushsection __bug_table,"a"; \
> + .align 2; \
> + 0: .long 1f - 0b; \
> +_BUGVERBOSE_LOCATION(__FILE__, __LINE__) \
> + .short flags; \
> + .popsection; \
> + 1:
> +#else
> +#define __BUG_ENTRY(flags)
> +#endif
> +
> +#define ASM_BUG_FLAGS(flags) \
> + __BUG_ENTRY(0) \
> + brk BUG_BRK_IMM
I accidentally dropped the flags here, which turns all WARN*s into BUGs.
I've fixed this up to pass the flags to __BUG_ENTRY(). I've pushed out
updated arm64/exception-stack and arm64/vmap-stack branches.
Thanks,
Mark.
next prev parent reply other threads:[~2017-08-08 15:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 18:18 [PATCHv2 0/7] arm64: unwind: fix broken exception stack dump Mark Rutland
2017-07-26 18:18 ` [PATCHv2 1/7] arm64: Add ASM_BUG() Mark Rutland
2017-08-08 15:31 ` Mark Rutland [this message]
2017-08-08 15:58 ` Catalin Marinas
2017-08-08 16:10 ` Mark Rutland
2017-08-09 10:07 ` Catalin Marinas
2017-08-09 13:21 ` Mark Rutland
2017-08-09 14:32 ` Catalin Marinas
2017-07-26 18:18 ` [PATCHv2 2/7] arm64: consistently use bl for C exception entry Mark Rutland
2017-07-26 18:18 ` [PATCHv2 3/7] arm64: move non-entry code out of .entry.text Mark Rutland
2017-07-26 21:38 ` Stephen Boyd
2017-07-31 10:21 ` Mark Rutland
2017-07-26 18:18 ` [PATCHv2 4/7] arm64: unwind: avoid percpu indirection for irq stack Mark Rutland
2017-07-26 18:18 ` [PATCHv2 5/7] arm64: unwind: disregard frame.sp when validating frame pointer Mark Rutland
2017-07-26 18:18 ` [PATCHv2 6/7] arm64: unwind: reference pt_regs via embedded stack frame Mark Rutland
2017-07-26 18:18 ` [PATCHv2 7/7] arm64: unwind: remove sp from struct stackframe Mark Rutland
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=20170808153112.GF19207@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).