[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM1=_QSDhFQ6EBOi5F3cM9xEoxNFpX_4uCM71cUiOaurRpH0iw@mail.gmail.com>
Date: Thu, 29 Jul 2021 15:29:52 +0200
From: Johan Almbladh <johan.almbladh@...finetworks.com>
To: Yonghong Song <yhs@...com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>,
Tony Ambardar <Tony.Ambardar@...il.com>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH 11/14] bpf/tests: Add test for 32-bit context pointer
argument passing
On Thu, Jul 29, 2021 at 2:09 AM Yonghong Song <yhs@...com> wrote:
> On 7/28/21 10:04 AM, Johan Almbladh wrote:
> > On a 32-bit architecture, the context pointer should occupy the low
> > half of R0, and the other half should be zero.
>
> I think this is probably true. The word choice "should" indicates
> this doesn't need to be the case if people choose a different
> implementation, right?
>
Right. To the best of my knowledge this is true. I can change the
wording to "will" to remove the ambiguity.
Powered by blists - more mailing lists