Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1313940

RE: [PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge

From "Allen Hubbe" <Allen.Hubbe@emc.com>
Newsgroups linux.kernel
Subject RE: [PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge
Date 2016-01-21 07:20 +0100
Message-ID <qTgL8-1eb-5@gated-at.bofh.it> (permalink)
References <qTezD-7XT-3@gated-at.bofh.it> <qTfcm-8t1-3@gated-at.bofh.it> <qTgrL-Pf-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Yu, Xiangliang [mailto:Xiangliang.Yu@amd.com]
> > > Signed-off-by: Jon Mason <jdmason@kudzu.us>
> > > Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
> >
> > NO.
> 
> Ok, I'll change it if you doesn't want to change it.

Nah, just remember it for next time...

I'm satisfied with this v5.

Reviewed-by: Allen Hubbe <Allen.Hubbe@emc.com>

> I don’t think so. In here, the i/o memory is only happened when
> pci_iomap return
> Success, so the register can't be accessed through IO port way. And
> ioread* will
> Check if the memory type is mmio type or IO port type (please see the
> definition).
>  I don’t think we need to check It, so I use read* because It can make
> more efficient.
> I think we need to think about actual usage, not only follow book.
> And, I have said it in previous version, I don’t like explain it again,
> and again.
> If you have any concern, please tell me after my comment.

It's not more efficient, on this platform it's the same.

If it were my driver I would change it... but you can keep it this way.

> > This is different from v4.  It used to be:
> 
> Because peer_sta is change to 0, so amd_link_is_up will return 0
> (offline)
> And will not check hardware link status. So It maybe make it offline
> forever

It fixed a bug?  Great!

> > I'm nervous about ndev->peer_sta, the behavior of link_is_up,
> > timers...
>
> Actually, the code is designed according to Atom NTB, except for the
> peer_sta.

Except for peer_sta, and that's a pretty critical design change.  I'm still nervous, but I'll trust that you have been able to test this behavior thourougly.

> I'll add the explaination when having changes.

Thanks.

Allen

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

RE: [PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge "Allen Hubbe" <Allen.Hubbe@emc.com> - 2016-01-21 05:40 +0100
  RE: [PATCH V5 1/1] NTB: Add support for AMD PCI-Express  Non-Transparent Bridge "Yu, Xiangliang" <Xiangliang.Yu@amd.com> - 2016-01-21 07:00 +0100
    RE: [PATCH V5 1/1] NTB: Add support for AMD PCI-Express Non-Transparent Bridge "Allen Hubbe" <Allen.Hubbe@emc.com> - 2016-01-21 07:20 +0100
      RE: [PATCH V5 1/1] NTB: Add support for AMD PCI-Express  Non-Transparent Bridge "Yu, Xiangliang" <Xiangliang.Yu@amd.com> - 2016-01-21 07:40 +0100

csiph-web