Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4626606ybi; Tue, 11 Jun 2019 09:39:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjanYGzWvo5syGDCi6z1yzx8gldQGAxg3r4Jf0ITwI8tH9MdvJkCteza1AAsckqx+bqGHJ X-Received: by 2002:a63:6cc3:: with SMTP id h186mr20779189pgc.292.1560271189212; Tue, 11 Jun 2019 09:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560271189; cv=none; d=google.com; s=arc-20160816; b=KTvpJT7gJdq3yQKpO729babTvhJi4gcmAxF1idYwwIsQCsplOompF9839UgXLZBLYQ 8VhOwO1PFm7qXOjb77r5kxUPAeTgys+GnGGUv2+V77ybxmwDoy6vYSPX3b9btYGMbZI0 VBVs9JVN2zDrCjkVNvpaGntEGAtqT6KHf8cuRu/evy8/e2r6ITpZ3lwsF0HvLwFRpQtb OAbqsgcFq2usnDENPbnK043xOSQPl4oWns3RNfn3PWiP9lhh5jCzxZuuW2lgSsFPk8eN D50bWDeEz6tW1hfu/rWXbo6+oMcmwpMnPLMqSve9YyppA2zgxZZE3cP004bEhhHNJtq2 rStw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dcpiuvn+B1NtFEXcVePvfVFgiPZOELh5m+DulMmX2jY=; b=cXw+Pn7wuytYBN3suuxdW6Ien7gDsI9nmi6I9FLME6qtW/QgypHSfSxloLulq6n2rz FEOR1SmcB7/Ul3RxLH31AaehZ2GJB9H3J0Gb4IPirnd4wMEaTOzYMM7RjF6lLqjtUrlP y3KYODvdy9IZfULGyiCdRH3lN3XxgdnpbXNuNE92Dm0cC0b75oq7UWo9FNnMuzWXgKP9 T+PVdPvbWItOxYKHIlY53KEW5ZOvX2d9IglpK/zEoPA1jzjh6WJOHotE9RNw5ea3A3SK bIG6NeHfXoOeH3KRbEMzgp7hY5GGV7D6TJnkeOkgk2MHrpjMe5XDRI8P6AZiYZDhWp7z hWtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R6z3c2Wf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si13255637plq.157.2019.06.11.09.39.34; Tue, 11 Jun 2019 09:39:49 -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=@kernel.org header.s=default header.b=R6z3c2Wf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390208AbfFKP06 (ORCPT + 99 others); Tue, 11 Jun 2019 11:26:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:57472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387864AbfFKP06 (ORCPT ); Tue, 11 Jun 2019 11:26:58 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E6252080A; Tue, 11 Jun 2019 15:26:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560266818; bh=1zBlTS3Nie+mVMEnxT8ngtbUEWBVODf4UqfieGxASKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R6z3c2Wfvs1aSYFX2p/bQ8TdbkA8+VWR6+YduaGWCiMIADIM2sRkbsl9+iTmO40/8 0se38PEGyvAGb8TRdb4ph0aPgJ9chqojwEkY83ethTGWXuIeDWvW8gZ+wT3xrk47KY NzuGx81caV4zNIhtctzfiYZVsHOilPnq/uVdW9rI= Date: Tue, 11 Jun 2019 17:26:55 +0200 From: Greg KH To: Christoph Hellwig , Oded Gabbay Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9 Message-ID: <20190611152655.GA3972@kroah.com> References: <20190611092144.11194-1-oded.gabbay@gmail.com> <20190611095857.GB24058@kroah.com> <20190611151753.GA11404@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190611151753.GA11404@infradead.org> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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