Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1152630iol; Fri, 10 Jun 2022 01:06:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1S69LhUq4g9XVgIGgQuphCtXhB5taRqg3T0yVyMVfbKZyVoFLyiEBg+fwiMXHKr9viM8W X-Received: by 2002:a17:907:a0c8:b0:711:d82a:1caa with SMTP id hw8-20020a170907a0c800b00711d82a1caamr20296084ejc.702.1654848401799; Fri, 10 Jun 2022 01:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654848401; cv=none; d=google.com; s=arc-20160816; b=WEJj5QBx8eznt4/S8d/IrmineFqAoZ6qVFlHD9Nm7UNP3WlOhDwmAkDsFXyZ+7hRo+ /D5ZqCka+2AbtZ0vdKyaugJTMhTlRNMxZN3lVxa3zPxWAldlqCHNcbSp7UVB5vsMcEyY CM6c/ClP4WRwvV61U0dd357LL02F57QUrJ44c8z3zPYm6hGeWun6LPGmQiG/yP6rw3X7 DKnvdyaNdlSmFH2jcYNRYgG7iQfa9D0fyTxuRdcw8ABZrsFQxl2vTRM/EGk0Plbwr4hH 6VQPJddFddLD2vc0CxRuBjzATpLK+wLprJYkTEOLB5ciPujeug4XEhQEOgeTVl4W1LZr iBIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uTbaZzKG7C/xctt/sOZ6EpBYH3dQrKSYHH0fK1iFLK0=; b=k4auIZG9GEqZRjDXoZbwR1iLV4Xe4uDXdCgA6XJI0bRVZ305EKvqi+jynpSxin7qVY XotRCnX9RpwhMVanMvU5+VB+X1GlsYnUbldmhclnCLZSq3SxmntcxGsZWc7576Dmi03N JK1kx/nr6+Davm5bVBa2j95Fg61iKdhJmktzjBNrO+6djYT7a+7vPdw9FpvlFXuMNoQ8 nI2oFm247MAqs48FKR4OTzD9YIaBo+6GKwRmBPXYicUAklGpjZsQ+xWnORSV65a2R3Xf OKOTupZnRIG3edN+86mJvcvla61UyeTMJnDr188tYd1eLuaYlaymX4o6I6loPvRRQpJk Gwkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gZ5pqO33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp21-20020a1709073e1500b006feb76dbd51si19820266ejc.289.2022.06.10.01.05.53; Fri, 10 Jun 2022 01:06:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gZ5pqO33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346356AbiFJHfl (ORCPT + 99 others); Fri, 10 Jun 2022 03:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245087AbiFJHff (ORCPT ); Fri, 10 Jun 2022 03:35:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9F3031516 for ; Fri, 10 Jun 2022 00:35:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 660C561FE2 for ; Fri, 10 Jun 2022 07:35:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BCF4C34114; Fri, 10 Jun 2022 07:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654846532; bh=uTbaZzKG7C/xctt/sOZ6EpBYH3dQrKSYHH0fK1iFLK0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gZ5pqO33Ns/B9uSn8GR3qtAfNcd+gbzjbG/Ls3JBJpOHVh3jglilpPPz9xIU/gVUp 8AvD7t4f9u8Au3yiYBNEsOyh2jhR1p50nVhaeQEpANfpqCkgWRM/N9OTphYgBuS8Mr BsBWfcPDeENDI2jliRbaIwxWepYS1b069mEGxw6cOVsrC+ifJhNTeoSkp75EHQKI4E fDKAMSmlrhxrTg2DZXy8VR0E8LmgQv/jtKSCWsfUhICcpu2R/o0a9nipk/ElUjOlxS F3Dl7WhSUWEib39ncLEQx/2TW/2AClfTKqsrkotx31Mt4mBBzn6+pf3ffY3dVmnTxP N8wfWJzPGmZPg== Received: by pali.im (Postfix) id 902131D32; Fri, 10 Jun 2022 09:35:29 +0200 (CEST) Date: Fri, 10 Jun 2022 09:35:29 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , Bjorn Helgaas , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/pci: Add config option for using OF 'reg' for PCI domain Message-ID: <20220610073529.n263gub3pv7jej7a@pali> References: <20220504175718.29011-1-pali@kernel.org> <87edzxc6r7.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87edzxc6r7.fsf@mpe.ellerman.id.au> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 10 June 2022 17:33:32 Michael Ellerman wrote: > If you have scripts that are looking for certain devices they can use > the vendor/device fields in sysfs to find the actual devices they want, > not just whatever happens to be at 0000:01:00.0. This does not work if you have more cards with same vendor+device ids in system.