[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190611152655.GA3972@kroah.com>
Date: Tue, 11 Jun 2019 17:26:55 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Christoph Hellwig <hch@...radead.org>,
Oded Gabbay <oded.gabbay@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9
On Tue, Jun 11, 2019 at 08:17:53AM -0700, Christoph Hellwig wrote:
> On Tue, Jun 11, 2019 at 11:58:57AM +0200, Greg KH wrote:
> > That feels like a big hack. ppc doesn't have any "what arch am I
> > running on?" runtime call? Did you ask on the ppc64 mailing list? I'm
> > ok to take this for now, but odds are you need a better fix for this
> > sometime...
>
> That isn't the worst part of it. The whole idea of checking what I'm
> running to set a dma mask just doesn't make any sense at all.
Oded, I thought I asked if there was a dma call you should be making to
keep this type of check from being needed. What happened to that? As
Christoph points out, none of this should be needed, which is what I
thought I originally said :)
thanks,
greg k-h
Powered by blists - more mailing lists