[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200103163606.GC9706@ziepe.ca>
Date: Fri, 3 Jan 2020 12:36:06 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: Liran Alon <liran.alon@...cle.com>
Cc: Will Deacon <will@...nel.org>, saeedm@...lanox.com,
leon@...nel.org, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, eli@...lanox.com, tariqt@...lanox.com,
danielm@...lanox.com,
HÃ¥kon Bugge <haakon.bugge@...cle.com>
Subject: Re: [PATCH] net: mlx5: Use writeX() to ring doorbell and remove
reduntant wmb()
On Fri, Jan 03, 2020 at 06:31:18PM +0200, Liran Alon wrote:
> > I am surprised that AMD is different here, the evolution of the WC
> > feature on x86 was to transparently speed up graphics, so I'm pretty
> > surprised AMD can get away with not ordering the same as Intel..
>
> Completely agree. I was very surprised to see this from AMD SDM and
> Optimization Guide SDM. It made sense to me too that graphics frame
> buffer is written to WC memory and then is committed to GPU by
> writing to some doorbell register mapped as UC memory.
It is possible this manual is wrong or misleading?
Having WC writes not strongly order after UC writes to the same
device, on x86, seems very, very surprising to me. Everything is
ordered on x86 :)
Jason
Powered by blists - more mailing lists