From: Jason Gunthorpe <jgg@ziepe.ca>
To: Bernard Metzler <BMT@zurich.ibm.com>
Cc: Doug Ledford <dledford@redhat.com>, linux-rdma@vger.kernel.org
Subject: Re: Re: Re: [PATCH 1/1] Make user mmapped CQ arming flags field 32 bit size to remove 64 bit architecture dependency of siw.
Date: Thu, 8 Aug 2019 12:39:36 -0300 [thread overview]
Message-ID: <20190808153936.GC1989@ziepe.ca> (raw)
In-Reply-To: <OF960ACAF9.E44A6FA7-ON00258450.003C6AE7-00258450.004E8C35@notes.na.collabserv.com>
On Thu, Aug 08, 2019 at 02:17:57PM +0000, Bernard Metzler wrote:
>
> >To: "Bernard Metzler" <BMT@zurich.ibm.com>, "Jason Gunthorpe"
> ><jgg@ziepe.ca>
> >From: "Doug Ledford" <dledford@redhat.com>
> >Date: 08/07/2019 08:53PM
> >Cc: linux-rdma@vger.kernel.org
> >Subject: [EXTERNAL] Re: Re: [PATCH 1/1] Make user mmapped CQ arming
> >flags field 32 bit size to remove 64 bit architecture dependency of
> >siw.
> >
> >On Wed, 2019-08-07 at 17:49 +0000, Bernard Metzler wrote:
> >>
> >> It hurts, but I did finally setup qemu with a ppc image to check,
> >> and so you are right!
> >>
> >> ...
> >>
> >> #ifdef __BIG_ENDIAN__
> >>
> >> seem to be available in both kernel and user land...
> >>
> >> But, general question: siw in its current shape isn't out
> >> for long, older versions from github are already broken with
> >> the abi. So, silently changing the abi at this stage of siw
> >> deployment is no option? It's a hassle to see an old mistake
> >> carried along forever with that #ifdef statement...no?
> >
> >I was thinking about that myself.
> >
> >This really hasn't been out long enough to completely tie our hands
> >here. A point update to rdma-core will resolve any user side issues.
> >
>
> What we are aiming at is ensuring backward compatibility
> for 64bit-BE architectures, which are using siw since this year.
> The community is likely of size zero.
> I found it hard to find a machine, even in the ppc world, which
> let me test that BE thing. I ended up with an emulator. So I
> assume it is no real world issue to now just change the 64bits
> flag into 32bits and add a 32bit pad for ABI compliance.
This seems reasonable to me, document all these details in the commit
message.
Jason
prev parent reply other threads:[~2019-08-08 15:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-05 14:17 [PATCH 0/1] Fix siw CQ processing for 32 bit archtecture support Bernard Metzler
2019-08-05 14:17 ` [PATCH 1/1] Make user mmapped CQ arming flags field 32 bit size to remove 64 bit architecture dependency of siw Bernard Metzler
2019-08-05 17:09 ` Leon Romanovsky
2019-08-06 11:58 ` Bernard Metzler
2019-08-06 12:10 ` Jason Gunthorpe
2019-08-06 12:32 ` Doug Ledford
2019-08-06 13:09 ` Bernard Metzler
2019-08-06 14:53 ` Bernard Metzler
2019-08-06 15:31 ` Jason Gunthorpe
2019-08-06 16:36 ` Bernard Metzler
2019-08-06 16:39 ` Jason Gunthorpe
2019-08-06 17:01 ` Bernard Metzler
2019-08-06 17:35 ` Jason Gunthorpe
2019-08-07 17:49 ` Bernard Metzler
2019-08-07 18:53 ` Doug Ledford
2019-08-08 14:17 ` Bernard Metzler
2019-08-08 15:39 ` Jason Gunthorpe [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=20190808153936.GC1989@ziepe.ca \
--to=jgg@ziepe.ca \
--cc=BMT@zurich.ibm.com \
--cc=dledford@redhat.com \
--cc=linux-rdma@vger.kernel.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