Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6145230imu; Wed, 30 Jan 2019 09:31:26 -0800 (PST) X-Google-Smtp-Source: ALg8bN7sPpe0u6EgYZi6ndWg07l8x5ktRKTCeXMB5DGHMsVnHBxOFKKdSuwoKphSctGXIhZpPc4m X-Received: by 2002:a63:451a:: with SMTP id s26mr28700245pga.150.1548869486867; Wed, 30 Jan 2019 09:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548869486; cv=none; d=google.com; s=arc-20160816; b=dk82RtkO03n5gvMedSGExZBwLdAWyOedJrVkS2zmO03zNxhAjINSPrZUiZ373Z+kmj qpmC1TmP6NiD3iGgREjO/+fK74vI76mPBxRWF6xVk8rDe/kybmAa880FQvNh9dx3T+Mk Hrq7Rmws2w4dzRJtsn6q20FD/7TgyUfHeh6lelLQORgA2U778S9KUgmsx6Nlj3eMG2Br 4k6zqLU3hVzPzKCfFjsicr+WGwhI4bh3RGRuCRCd9Dg5rhKQE/idaIfCjYTbEoaOxH7Y E9IsXCHnMEtqBup5vxlTLB7TVGM75bNfxjJf2bxGqrVHSQSbkm7a8WNN9FvSk2Mtrl+M bEzQ== 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=yEKnHHjycn02T1V1r5kuz9hdzMnfOyyx4Y/K/jcKGTs=; b=BcExpODgbcdr196fev/+8OtREGpoCer2Hf6Oa3lML9MduJH2houDtcAEVp5C9sJir+ EwOBYEehHP1tTKhLxmvKzSzUBPhWYyjunM+kCah8o1ci1tfW+gOPKGPh+UQVu1rcPq21 mDUBLCvLEaASr89vsAS8NXdHeJHB6JLf6EEd61tcD1DBQQsdmxB5E583vbw+3Ac3c2sb jCkCtwse13NDbPXIovjI6rGIJ5n0NSq7QkaLJ/UD8EvWSTMswLO2cWYWABZOR3abKRsP H1YIPtoMUzfvjjWNmYGY9PW9nL4+6Fp8/dNyoRkuIofdkDrOW3q8MHzrRZmNhPjxeF2L d5uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WXqkYgEX; 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 o192si1798965pgo.129.2019.01.30.09.31.05; Wed, 30 Jan 2019 09:31:26 -0800 (PST) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=WXqkYgEX; 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 S1732572AbfA3R3A (ORCPT + 99 others); Wed, 30 Jan 2019 12:29:00 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:46248 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbfA3R3A (ORCPT ); Wed, 30 Jan 2019 12:29:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yEKnHHjycn02T1V1r5kuz9hdzMnfOyyx4Y/K/jcKGTs=; b=WXqkYgEXqFGeMd6zxvXpRLzt5 O/+o6LGhE1/gveSHvQ1cGxak6bf4b49UpCbptlF5wtIlCfkRCWrSYuBJ9rvJPgV3W20PeqYTXpt6Z HEot6wFjBpaM0oLzXidFmxfVnjgY1GPfxRjf/9BAIk4uHrpBo8wvyhrqvEVXrm9bPA5V/Ekv3Eo17 I/PTMf8L/ugR35Rg+BdeVojC7BiXjhmvJMQDC/R4CxRM1zxxeu6doV5wjmR2aaeRbZp1EQtv6KKTg hyoQCeJTpqySQtkcifmG5cV44x4imI2xMNrF9FGWJtfVZX0o3NA2uX6lC03VBHmtJnbT7kKA9jcHH KjA0HLtWQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gotfT-00017n-KT; Wed, 30 Jan 2019 17:28:55 +0000 Date: Wed, 30 Jan 2019 09:28:55 -0800 From: Christoph Hellwig To: Thomas Bogendoerfer Cc: Christoph Hellwig , Bjorn Helgaas , James Hogan , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-pci@vger.kernel.org, Lorenzo Pieralisi , Paul Burton , Ralf Baechle Subject: Re: [PATCH 6/7] MIPS: SGI-IP27: use generic PCI driver Message-ID: <20190130172855.GA2962@infradead.org> References: <20190124174728.28812-1-tbogendoerfer@suse.de> <20190124174728.28812-7-tbogendoerfer@suse.de> <20190128133215.GC744@infradead.org> <20190129162445.8584b58862068c0a7693718c@suse.de> <20190130091706.GA3617@infradead.org> <20190130182520.2864ad962605b43f1635e4fd@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190130182520.2864ad962605b43f1635e4fd@suse.de> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 30, 2019 at 06:25:20PM +0100, Thomas Bogendoerfer wrote: > > and it's already there:-) Each struct device has a field numa_node and pci_bus has > contains a struct device. arm64 is already using it only not so nice part is the > usage of pcibios_root_bridge_prepare() to set the numa_node for the root bus. Oh, great. Maybe we can then just use that field for mips for now and gradually move all architectures over. > > Or add a add_dev callback, similar to what I did for a previous series > > that we didn't end up needing after all: > > > > http://git.infradead.org/users/hch/misc.git/commitdiff/06d9b4fc7deed336edc1292fe2e661729e98ec39 > > that's exactly what I'm looking for. Should I add the patch for my patchset or > are you going to submit it after having a use case ? Feel free to pick it up. For the dma addressing limitations we decided that exposing it through a DT property is the right way, so that series isn't going anywhere.