Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2265179ybi; Mon, 17 Jun 2019 01:38:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQZvODMCmIeSGfSH8W7XZOdVwdNhs9Qzr9ny32/1e367DF3d4y5YE1+TC/buVWq2GVja8k X-Received: by 2002:aa7:8dd2:: with SMTP id j18mr42929983pfr.88.1560760693824; Mon, 17 Jun 2019 01:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560760693; cv=none; d=google.com; s=arc-20160816; b=a7eVV5K+C2mQDH0+mdhd0gkmx+aVG6Wp1pC2iFhb/OPscRhlNGd4DHyMlWXeCA10Wt M2xkaT0PpDNiVxyo13ZcuOzaDp3SW0uPoPIFRX2ZCc2UjoRJWMm0MN8p1lHVPIjxrESt 7yVfr7t7JgwB+CkTydu3VYoCC1B2wgTynozPfp/aLrwGBiPQf+KUABSGcM31VPqxGc0Y tSPC3voOxtZ9rCKIEYYREg2bQDXYdr9A4s0KITMl/AVD9SJsHYKlfwQbLBAS5AVHBI/E NeeGo90n732OTg4Y+p8B5RNpPbyFM16oohI8bVFZPuuuZ8s3fOqviE+yNu68jutxG08Y sXcQ== 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=513oun3fB/AaoCJhmRCGHz1Y6XSqMQqHeEu/q0dIm08=; b=bZsJLnkXsFXc0mTHSFDANBIqOpNnSaovxy2QY8GeEVrZtOcDAm3GxECY5Qz/Pxk/+x pGJkWZg4D41IcKdxeboeEc/6OJMiOI5ioKiz8Zl47EjjOJB+aDLBTGVa6j+tWK3vMUuM UOW5wvvC3d4772AZ6nsmV/63FvWfgmG8NTQURlmgLilSFpV+KNWk0UjExNIUXyEVwYuK W6NUQf7210ozkfJFZiFzQSH8NjPNuCUZ+jiLnVUpsWKziRRAxM6Q4wQbTY5ME2n0jRe3 tGRU8qyEJs5IVzRjdWQMB3vVi8hPPV7qv7mSGNw9G3ej84hX0EJbfRf+kZ4EEJammCv3 ryOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OAZptm6V; 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 e66si9928609pfh.88.2019.06.17.01.37.57; Mon, 17 Jun 2019 01:38:13 -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=OAZptm6V; 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 S1727518AbfFQIgA (ORCPT + 99 others); Mon, 17 Jun 2019 04:36:00 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:36413 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbfFQIf7 (ORCPT ); Mon, 17 Jun 2019 04:35:59 -0400 Received: by mail-vs1-f68.google.com with SMTP id l20so5604870vsp.3 for ; Mon, 17 Jun 2019 01:35:59 -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=513oun3fB/AaoCJhmRCGHz1Y6XSqMQqHeEu/q0dIm08=; b=OAZptm6VC4b+K0M7ElRWchl9EZAfB89DTnfSe3yHFU+2S4lwzWgBPmE6iuE5XFZyzo FgBRIMkZU4upnNpjaWcfJWrclWPrsOwLNFhwHgZ4JmebDqVn8P+k0Sq+vW4yIAMBgqtx ZZhaopSyRpGIb4dPYIdgsrgNa0IRaDzkOTelq6yt2LlSMgMMDS5pxM6qgvkwFYNxAA3d ZWjGgpQSkLn61fAy9ZCfLbMpnN9sfnOP03lTe3Xt9FpP7QhSYLS14QUzU1EL2sVt+lIA qOPgnipxQ4U4h5D18u62zPWYOAOHH5jLTKvbvsmCuX6CqV3P0KBRNLjw+M3al9MJ0uAC /W2A== 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=513oun3fB/AaoCJhmRCGHz1Y6XSqMQqHeEu/q0dIm08=; b=UDs/OarXSHtrKnIlVDl/3J9Fxbwdcnd5X/kA1gf2hrWgzIzOJ2ZjtTpsKlOWES0F5D 0uhhm48VI9tKx1tqVsG+b5lIJxmuPTH5OJ6QUs9qMv7IkmVPb96oS/ICMhCAT+phkMGT SZINp7qVvoSkViy/4wVPUPo3p954oHu1NEwJChr48iH74YQDVa2pSH4qSIMt8CPdMNnb Zt8TFDB9LJPHZE60SyGGbigJFot4YhWWL7ezYoRWr/PNryYJIZoIkOO0S0o1J5fBoiIN erLR0pFt4PoF5UNQdXSxL7JeaGAhyL6z2XguuhAlZjXJ3A92wTnA2XEZDm97RQJ4bk6G 8Nag== X-Gm-Message-State: APjAAAV0b/qad+yQct6I8dBp08IydhPaJ8eIter98OQI27L10Tr9OvcR 9gfa5d/lgezk/9rxccxs3Ap5kOnD6OokV3Ge1jk= X-Received: by 2002:a67:d410:: with SMTP id c16mr52008964vsj.61.1560760558769; Mon, 17 Jun 2019 01:35:58 -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: <20190617081943.GA11274@infradead.org> From: Oded Gabbay Date: Mon, 17 Jun 2019 11:35:32 +0300 Message-ID: Subject: Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9 To: Christoph Hellwig Cc: Greg KH , "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: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