Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2092452ybd; Mon, 24 Jun 2019 00:16:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqza0NrXN8zNv+l9+QKA82O+f4E+mlJStK8RDPQWuUtIQLyjeADPzDLSQAxji1D1bgYJWDzj X-Received: by 2002:a17:90a:d814:: with SMTP id a20mr23216534pjv.48.1561360563592; Mon, 24 Jun 2019 00:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561360563; cv=none; d=google.com; s=arc-20160816; b=twSMkxaotWLu6L9gEDBgG0DH0SfYSttrc4yZ/Lo4RrXsmg+DBfE56dA8uvR3sapR4i wPT96EPIdH4sMc+0b8vI2MhHeT5yMheE6jGeWd//5N/p12zk3qcm3jEUp/wfcci8hyXk TBHNSjEv+tH3kJsRe+rCHmy7F4322zT/BiTKncT4UojC0hZ/m1sAKxpVV6sfQf0x0JVG QryiITyXEM1v0K1blnh+DSg8g1pfQEWklI3YKMGilU3ADWaYXUqH3VRmlLega1PfzNOA 0fWKGIGJfWUnhQ/DdKy0bPb52GQFAqjWxr3PiwhJhORloYmfHFMooYyxBHyfz1VTSU2+ HkJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=o2gwAPWz1h5rDD6zyhzVYh+M1UssmJq3hfGAoa2j9xw=; b=nupHAzjv1HMnx84s/k1aH8bAivGj0Br+GSyeP1C203zoSPt4G7vBO/R44xLnIiJLue vB/7ScoveXYA6YGD3jeDBa3wkevBoE//8MD6QIMi2QJ9cVnEox4Fnfs7k0NNoOYpe4OO oVaviYqXRV1U+qqzXij3ZjbG0NlWfNOrGfdXzqymGdNvGKsgQ6oH+DSfHYJuy4YUcGDQ 0513KJz4xB3K68Nwg3g4YDlZc45RDTsmLxjIvH94wPAxHjvVGgEI/EombFJwfWaKQzuM ddp2skmnvUarm/WuzjiEbXCWuX4AFzruWPaZyOT/MQU5sjZK9u4rJjhkYWab3JJpL0GL 14OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ux1gttXw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r24si9706882pgj.342.2019.06.24.00.15.47; Mon, 24 Jun 2019 00:16:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ux1gttXw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727157AbfFXGxr (ORCPT + 99 others); Mon, 24 Jun 2019 02:53:47 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:46020 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727030AbfFXGxr (ORCPT ); Mon, 24 Jun 2019 02:53:47 -0400 Received: by mail-ua1-f68.google.com with SMTP id v18so5228678uad.12 for ; Sun, 23 Jun 2019 23:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o2gwAPWz1h5rDD6zyhzVYh+M1UssmJq3hfGAoa2j9xw=; b=Ux1gttXwe527yndr7Uha9yz9CVrFVSqEsU5JQn3CPwYkwVHg92QKnEMM8LDd76QSsS f4YMoNjHuDdtFFnzekXz+8hAIF8afhjI6iQO9419yyVw62jrbBQMExr231bO+c0Jdhj1 YwpLVQYAyvTMo4GGejjpdvkva/ns2ME93zfEnasWiKwUHOHwArjmtE5kSINUPw0rSjAY Io4/eu/MNVWNnfg0Ie8mfJqzrrHjs+TSJ4ij4j4T7C6Wx1mXZdMmuzeDB55QRyrgIf6Z xeMDxqZQmzhjjda+uteoSNVub+sRcDt6C/DjNdpyRsK4s4Jiia5/eoQVUBrf9MN27Vvk j3yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o2gwAPWz1h5rDD6zyhzVYh+M1UssmJq3hfGAoa2j9xw=; b=CkIFHlFTI4c+U5sq9ko/D0A9SyXabTxh0gr0S2A1Rk+T6cVRlmUQg9dWQo0lK+Mlkd +PG8PFQvNPB00d3APr9l9hIHo5eCKUxFi5D7ylkVPnr1etL6i+h1f0X7tAGxxEcr3pB3 IIeXImxjTNTLwDEpshv8yHBMrJ2g7Smnp+uO9jKq/NMRTFlO02u1MLUChDMqkSKJ8jDe GQ8QE1y2/ruCudZ8LyHzeCvyAvmFLW8EKnF+LMlZ8d1E0Esy9XZYChXY9kKpnbCaK0Co aUzMmtZ3R8HGtEVATXZm+uczKtTRQvKxOIhivJVw3uspqLwfB62dAqLTEpV6eTdurfwB BFFA== X-Gm-Message-State: APjAAAVxlaq94xniarNOuQBZA5VkNk1iXwymkO/f/e4Hb5MskbDUh4rX /QM7+C/MwnpLlXlTrSE5ntw/YhHPtYwjjoZ2jywl4EzF X-Received: by 2002:a9f:2372:: with SMTP id 105mr34194145uae.85.1561359226485; Sun, 23 Jun 2019 23:53:46 -0700 (PDT) MIME-Version: 1.0 References: <20190611092144.11194-1-oded.gabbay@gmail.com> <20190611095857.GB24058@kroah.com> <20190611151753.GA11404@infradead.org> <20190611152655.GA3972@kroah.com> <20190616095554.GA5156@infradead.org> <20190617081943.GA11274@infradead.org> In-Reply-To: From: Oded Gabbay Date: Mon, 24 Jun 2019 09:53:20 +0300 Message-ID: Subject: Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9 To: Christoph Hellwig , Greg KH Cc: "Linux-Kernel@Vger. Kernel. Org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 11:35 AM Oded Gabbay wrote: > > On Mon, Jun 17, 2019 at 11:19 AM Christoph Hellwig 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. > > Thanks, > Oded Hi, I didn't get any reply to my last email. Can we continue this discussion ? Thanks, Oded