Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9

From: Oded Gabbay
Date: Mon Jun 17 2019 - 04:40:52 EST

On Mon, Jun 17, 2019 at 11:19 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Sun, Jun 16, 2019 at 02:24:08PM +0300, Oded Gabbay wrote:
> > So the alternative is that my device won't work on POWER9.
> The alternative is that we fix the powerpc code to do the right
> thing, which already is in progress.
Great, I agree this is the correct approach, and that's why I wrote in
my earlier email:

"I'll of course monitor the PPC code upstream and if they will manage
to push a fix to their current DMA mask limitation (that will allow
setting dma mask of 48 bits and without setting bit 59 in outbound
transactions), I will modify my code accordingly and then this hack
won't be necessary. But for now, it is what it is."

So I don't get it why you object for this temporary fix in my driver.