From: Catalin Marinas <catalin.marinas@arm.com>
To: Xi Wang <xi.wang@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org,
Zi Shen Lim <zlim.lnx@gmail.com>,
linux-kernel@vger.kernel.org,
Alexei Starovoitov <ast@plumgrid.com>
Subject: Re: [RFC PATCH] arm64: bpf: fix endianness conversion bugs
Date: Fri, 26 Jun 2015 14:17:44 +0100 [thread overview]
Message-ID: <20150626131744.GF3078@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <1435282755-12011-1-git-send-email-xi.wang@gmail.com>
On Thu, Jun 25, 2015 at 06:39:15PM -0700, Xi Wang wrote:
> Upper bits should be zeroed in endianness conversion:
>
> - even when there's no need to change endianness (i.e., BPF_FROM_BE
> on big endian or BPF_FROM_LE on little endian);
>
> - after rev16.
>
> This patch fixes such bugs by emitting extra instructions to clear
> upper bits.
>
> Cc: Zi Shen Lim <zlim.lnx@gmail.com>
> Cc: Alexei Starovoitov <ast@plumgrid.com>
> Fixes: e54bcde3d69d ("arm64: eBPF JIT compiler")
> Signed-off-by: Xi Wang <xi.wang@gmail.com>
Applied. Thanks.
--
Catalin
prev parent reply other threads:[~2015-06-26 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 1:39 Xi Wang
2015-06-26 8:25 ` Alexei Starovoitov
2015-06-26 13:17 ` Catalin Marinas [this message]
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=20150626131744.GF3078@e104818-lin.cambridge.arm.com \
--to=catalin.marinas@arm.com \
--cc=ast@plumgrid.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xi.wang@gmail.com \
--cc=zlim.lnx@gmail.com \
/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
all inboxes | Powered by JetHome®