linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Please pull rdma.git
@ 2019-04-29 16:28 Doug Ledford
  2019-04-29 16:48 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Doug Ledford @ 2019-04-29 16:28 UTC (permalink / raw)
  To: Torvalds, Linus; +Cc: linux-rdma, linux-kernel, Gunthorpe, Jason

[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]

Hi Linus,

As per the thread on our last pull request, this is the two line build
fix for s390 and mips.

The following changes since commit
2557fabd6e29f349bfa0ac13f38ac98aa5eafc74:

  RDMA/hns: Bugfix for mapping user db (2019-04-25 10:40:04 -0300)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-
linus

for you to fetch changes up to d79a26b99f5f40db6863b1973750fd1d134d99b4:

  RDMA/uverbs: Fix compilation error on s390 and mips platforms (2019-
04-29 11:47:55 -0400)

----------------------------------------------------------------
Pull request for 5.1-rc

- Build fix for the last pull request on s390

----------------------------------------------------------------
Leon Romanovsky (1):
      RDMA/uverbs: Fix compilation error on s390 and mips platforms

 drivers/infiniband/core/uverbs_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Doug Ledford <dledford@redhat.com>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Please pull rdma.git
  2019-04-29 16:28 [GIT PULL] Please pull rdma.git Doug Ledford
@ 2019-04-29 16:48 ` Linus Torvalds
  2019-04-29 17:13   ` Doug Ledford
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2019-04-29 16:48 UTC (permalink / raw)
  To: Doug Ledford; +Cc: linux-rdma, linux-kernel, Gunthorpe, Jason

On Mon, Apr 29, 2019 at 9:29 AM Doug Ledford <dledford@redhat.com> wrote:
>
>
>  drivers/infiniband/core/uverbs_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This trivial one-liner is actually incorrect.

It should use 'vmf->address', because the point of the ZERO_PAGE
argument is to pick the page with the right virtual address alias for
broken architectures that need those kinds.

I'm actually surprised s390 wants it, usually it's just MIPS that has
the horribly broken virtual address translation stuff. But it looks
like for s390 it's at least only a performance issue (ie it causes
some aliases in L1 that cause cacheline ping-pong rather than anything
else).

                 Linus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Please pull rdma.git
  2019-04-29 16:48 ` Linus Torvalds
@ 2019-04-29 17:13   ` Doug Ledford
  2019-04-29 18:00     ` Leon Romanovsky
  0 siblings, 1 reply; 5+ messages in thread
From: Doug Ledford @ 2019-04-29 17:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-rdma, linux-kernel, Gunthorpe, Jason

[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]

On Mon, 2019-04-29 at 09:48 -0700, Linus Torvalds wrote:
> On Mon, Apr 29, 2019 at 9:29 AM Doug Ledford <dledford@redhat.com> wrote:
> > 
> >  drivers/infiniband/core/uverbs_main.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> This trivial one-liner is actually incorrect.
> 
> It should use 'vmf->address', because the point of the ZERO_PAGE
> argument is to pick the page with the right virtual address alias for
> broken architectures that need those kinds.
> 
> I'm actually surprised s390 wants it, usually it's just MIPS that has
> the horribly broken virtual address translation stuff. But it looks
> like for s390 it's at least only a performance issue (ie it causes
> some aliases in L1 that cause cacheline ping-pong rather than anything
> else).

That's what I get for listening to Jason ;-)

Well, since you have just essentially re-written the patch to be
correct, you are now the developer of origin.  Do you want to commit the
fix directly or shall I respin it for you to pull?

-- 
Doug Ledford <dledford@redhat.com>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Please pull rdma.git
  2019-04-29 17:13   ` Doug Ledford
@ 2019-04-29 18:00     ` Leon Romanovsky
  2019-04-29 18:17       ` Doug Ledford
  0 siblings, 1 reply; 5+ messages in thread
From: Leon Romanovsky @ 2019-04-29 18:00 UTC (permalink / raw)
  To: Doug Ledford; +Cc: Linus Torvalds, linux-rdma, linux-kernel, Gunthorpe, Jason

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

On Mon, Apr 29, 2019 at 01:13:01PM -0400, Doug Ledford wrote:
> On Mon, 2019-04-29 at 09:48 -0700, Linus Torvalds wrote:
> > On Mon, Apr 29, 2019 at 9:29 AM Doug Ledford <dledford@redhat.com> wrote:
> > >
> > >  drivers/infiniband/core/uverbs_main.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > This trivial one-liner is actually incorrect.
> >
> > It should use 'vmf->address', because the point of the ZERO_PAGE
> > argument is to pick the page with the right virtual address alias for
> > broken architectures that need those kinds.
> >
> > I'm actually surprised s390 wants it, usually it's just MIPS that has
> > the horribly broken virtual address translation stuff. But it looks
> > like for s390 it's at least only a performance issue (ie it causes
> > some aliases in L1 that cause cacheline ping-pong rather than anything
> > else).
>
> That's what I get for listening to Jason ;-)
>
> Well, since you have just essentially re-written the patch to be
> correct, you are now the developer of origin.  Do you want to commit the
> fix directly or shall I respin it for you to pull?

Linus already committed it.

The whole breakage is mystery for me, the patch which introduced
breakage, got successful build report from 0-build.

Thanks

>
> --
> Doug Ledford <dledford@redhat.com>
>     GPG KeyID: B826A3330E572FDD
>     Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Please pull rdma.git
  2019-04-29 18:00     ` Leon Romanovsky
@ 2019-04-29 18:17       ` Doug Ledford
  0 siblings, 0 replies; 5+ messages in thread
From: Doug Ledford @ 2019-04-29 18:17 UTC (permalink / raw)
  To: Leon Romanovsky
  Cc: Linus Torvalds, linux-rdma, linux-kernel, Gunthorpe, Jason

[-- Attachment #1: Type: text/plain, Size: 1829 bytes --]

On Mon, 2019-04-29 at 21:00 +0300, Leon Romanovsky wrote:
> On Mon, Apr 29, 2019 at 01:13:01PM -0400, Doug Ledford wrote:
> > On Mon, 2019-04-29 at 09:48 -0700, Linus Torvalds wrote:
> > > On Mon, Apr 29, 2019 at 9:29 AM Doug Ledford <dledford@redhat.com> wrote:
> > > >  drivers/infiniband/core/uverbs_main.c | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > This trivial one-liner is actually incorrect.
> > > 
> > > It should use 'vmf->address', because the point of the ZERO_PAGE
> > > argument is to pick the page with the right virtual address alias for
> > > broken architectures that need those kinds.
> > > 
> > > I'm actually surprised s390 wants it, usually it's just MIPS that has
> > > the horribly broken virtual address translation stuff. But it looks
> > > like for s390 it's at least only a performance issue (ie it causes
> > > some aliases in L1 that cause cacheline ping-pong rather than anything
> > > else).
> > 
> > That's what I get for listening to Jason ;-)
> > 
> > Well, since you have just essentially re-written the patch to be
> > correct, you are now the developer of origin.  Do you want to commit the
> > fix directly or shall I respin it for you to pull?
> 
> Linus already committed it.
> 
> The whole breakage is mystery for me, the patch which introduced
> breakage, got successful build report from 0-build.

Yeah, successful 0-day build is a good indicator, but not a guarantee. 
You just can't test all possible permutations and sometimes things slip
by.  But it's still way better than 20 years ago when half the patches
weren't even compile tested before coming to Linus ;-)


-- 
Doug Ledford <dledford@redhat.com>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-29 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 16:28 [GIT PULL] Please pull rdma.git Doug Ledford
2019-04-29 16:48 ` Linus Torvalds
2019-04-29 17:13   ` Doug Ledford
2019-04-29 18:00     ` Leon Romanovsky
2019-04-29 18:17       ` Doug Ledford

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).