From: Max Filippov <jcmvbkbc@gmail.com>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [PATCH for-5.0?] target/xtensa: Statically allocate xtensa_insnbufs
Date: Mon, 6 Apr 2020 21:08:29 -0700 [thread overview]
Message-ID: <CAMo8BfKW5NE7jPGbzk10_chUeSbHj5GPOjA9WoFOB9Wsj27tsw@mail.gmail.com> (raw)
In-Reply-To: <CAMo8BfJ9+fnA2xp8PMKm039oW-qVtTxpON6Ux=tkBySS=cQhxQ@mail.gmail.com>
On Mon, Apr 6, 2020 at 9:04 PM Max Filippov <jcmvbkbc@gmail.com> wrote:
> diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c
> index 376a61f3397c..278415ae0e06 100644
> --- a/target/xtensa/helper.c
> +++ b/target/xtensa/helper.c
> @@ -96,6 +96,7 @@ static void init_libisa(XtensaConfig *config)
>
> config->isa = xtensa_isa_init(config->isa_internal, NULL, NULL);
> assert(xtensa_isa_maxlength(config->isa) <= MAX_INSN_LENGTH);
> + assert(xtensa_insnbuf_size(dc->config->isa) <= MAX_INSNBUF_LENGTH);
No 'dc->' here...
--
Thanks.
-- Max
next prev parent reply other threads:[~2020-04-07 4:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 3:09 [PATCH for-5.0?] target/xtensa: Statically allocate xtensa_insnbufs Richard Henderson
2020-04-07 4:04 ` Max Filippov
2020-04-07 4:08 ` Max Filippov [this message]
2020-04-07 4:59 ` Richard Henderson
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=CAMo8BfKW5NE7jPGbzk10_chUeSbHj5GPOjA9WoFOB9Wsj27tsw@mail.gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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).