From: Andreas Schwab <schwab@linux-m68k.org>
To: opensbi@lists.infradead.org
Subject: [PATCH 1/1] platform: generic: allwinner: avoid buffer overrun
Date: Tue, 27 Dec 2022 20:31:38 +0100 [thread overview]
Message-ID: <87ilhwd4o5.fsf@igel.home> (raw)
In-Reply-To: <6e6e3302-ce90-f851-807f-d236499dbf83@sholland.org> (Samuel Holland's message of "Tue, 27 Dec 2022 13:12:05 -0600")
On Dez 27 2022, Samuel Holland wrote:
> "This sort of change" to avoid using space for IRQ 0, thus saving one
> *bit* in the array
??? *byte*
> used by plic_context_save(),
??? plic_priority_save/restore
> enable[i] = plic_get_ie(plic, context_id, i) >> 1 |
> plic_get_ie(plic, context_id, i + 1) << 31;
??? Nothing at all changes here.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
next prev parent reply other threads:[~2022-12-27 19:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 11:01 [PATCH 1/1] platform: generic: allwinner: avoid buffer overrun Heinrich Schuchardt
2022-12-27 11:46 ` Bin Meng
2022-12-27 12:01 ` Heinrich Schuchardt
2022-12-27 12:07 ` Bin Meng
2022-12-27 13:03 ` Andreas Schwab
2022-12-27 13:13 ` Bin Meng
2022-12-27 13:36 ` Andreas Schwab
2022-12-27 13:49 ` Bin Meng
2022-12-27 14:06 ` Andreas Schwab
2022-12-27 18:22 ` Samuel Holland
2022-12-27 18:39 ` Andreas Schwab
2022-12-27 18:49 ` Samuel Holland
2022-12-27 18:52 ` Andreas Schwab
2022-12-27 19:12 ` Samuel Holland
2022-12-27 19:31 ` Andreas Schwab [this message]
2022-12-27 12:05 ` Andreas Schwab
2022-12-27 12:28 ` Heinrich Schuchardt
2022-12-27 12:41 ` Bin Meng
2023-01-13 12:04 ` Anup Patel
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=87ilhwd4o5.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=opensbi@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.