Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp19718lqe; Tue, 9 Apr 2024 13:03:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmAIp1zzbFfV47Q+aASC0s1vhWRBmX5jowzotfbgqCG5YeeJIDVcUhCWShwT5/A5HPhBFnOTPqZq6rMLLAVagSoPSnBa5e8vKZGJBeYg== X-Google-Smtp-Source: AGHT+IHI1DxC8VhbQFkcC3QjIZ6OLV5xFU3Bpwj8KCw46PmmODeRf20JS9dMEdgiXYD8w6/PFxGM X-Received: by 2002:a50:8d5d:0:b0:56d:fa24:8ab3 with SMTP id t29-20020a508d5d000000b0056dfa248ab3mr386411edt.13.1712693006713; Tue, 09 Apr 2024 13:03:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712693006; cv=pass; d=google.com; s=arc-20160816; b=dyA8p3AnZ7IukEu2eOTDW391+kobFDgu0Ebwb3nStpa55j9adi46EYRPzTPQXQJaQL 5F+gwiA3tx/I9mnQrMllmRHSnyGr5bExl6LU6qWqExForvyEvfllBs7lLNbT6373s6oI g+HoLRfRR8rZymTTaRnbk9wPstuwQ/iVtb7pL8Bxzo6fK4FnTPdfhhZJ3mK+eEeNUikF JByZhRU8FFcZBmz3mFVqcD7Sh4tTyWCdnaws1YvojQ0pt+A7nUIXXSTAZseZ+gWRkinK 81yc7I7ekbd4V/+4+bB+Cre2AbR99LOc3vLRjYzOU/PVrgXnY5K7OZu+PH7T31xrXHJx OTlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=wgTKx5dFF1WZTA5zKFY/L4fL3EpV73/MUco+ynJuSFE=; fh=oXyKJJ9f9egk9Kj4lA2L2OadTmVvGdhkOyfXq7sI7PU=; b=tRz8NW8yl8wI7R4nqW/3yfxVzym00J8LTqkRC3v7ozifdgDRlOm7IwqJLG1GY8KTRg AQLIpIqrltvxOGHkeiVg/mCd2HUgsB0kTpbxPKCuTLFyUrQRgoBai8ZZwMYbAa+YrJ8o n+irj1B6m5qzvY0u9V6t6m8nTidt1JUISApBpaKvLFUSGQmAxT5Hbu+GlJmoFExmNaK/ GpXJ3mmTtuxqg4T6GVIGRcCjhww2JlW1NZvXITnYv4yRlGDJFnPs9IVTCCqKbYfnoz3m WyTEHQkQ3ZN+ZC/C+7QvBR0mlkDT1AX17tLdvS76hhnA1ayoZwCMMYykZgletJZ5GlZX kyEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qIuyFRFe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s15-20020a056402520f00b0056e219b4d29si5308797edd.679.2024.04.09.13.03.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 13:03:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qIuyFRFe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 735841F21B5D for ; Tue, 9 Apr 2024 20:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DA831581FD; Tue, 9 Apr 2024 20:03:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qIuyFRFe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 663E5157E97; Tue, 9 Apr 2024 20:03:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712692997; cv=none; b=XUGDn4huTeDDLeIEzpZFb2IMwBH4NODFGBgYohddeQF5EkP/8IpyzDIVuZ9Y9m3B/1bkjdDs/F48jc2KjR7ob2D64/smTumuy76O1ogeE8BhE/Ev9BSyEo2yI2N8NO3ZwCfMQwoMMXRnsPE5SAC3w3en648+G0L+Pu3WMQdv/n8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712692997; c=relaxed/simple; bh=W0Dg/LFVG/zk6w1OJr/E+L0AAUiXJ9nwCf1h17aljN0=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=sEGvYlcbhqDEsS7NXV/N/qly7zcZeuI8EcKPv4/B3CEJDua/pnaMPjFqx+k+mJieJdmLZuigtdla7VtDjQIRjv/JoHYAqHH/cCVlVPhHENvL59lHqJ4ul+0awBxzwoPSjH/ReLTlMcJDrbWV89hMDs8q98nZH4TBOJCVdcdGEXw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qIuyFRFe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6EFDC433F1; Tue, 9 Apr 2024 20:03:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712692996; bh=W0Dg/LFVG/zk6w1OJr/E+L0AAUiXJ9nwCf1h17aljN0=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=qIuyFRFe8Io8vngdx3pCHOgr9fPX5ND0sl//x5REFfEOjyjYNU76rWwfsRqAw6vDv 3Vib8zwLf743gCAZaVORYHFdeQSWBjOKZ5k0yJxTbO8HsUfJZDiZYbd+hGnpXRUc8T ZX109BdQn0wlxURG5F2KlWvXYdgcHPHFf6tjCnChvmRiY33b/a4pYTzJv4R6bTTcJV UJroth14Lrg1CsSiP/NUrmp8jlcJIsPDDTTsOWZfa7qKaHWkbebDvYgcu2xGVpWZr/ GzkTGJMCToZ8xhCzRsQn1IAetrwX0w0O9cWHbWXO6ZVomimvxzE2jhBqO8B+I131GQ I2c2hOSkzQ4Xg== Date: Tue, 9 Apr 2024 15:03:14 -0500 From: Bjorn Helgaas To: "Chen, Jiqian" , "Rafael J . Wysocki" Cc: Roger Pau =?utf-8?B?TW9ubsOp?= , Len Brown , Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko , Boris Ostrovsky , Bjorn Helgaas , "xen-devel@lists.xenproject.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "Hildebrand, Stewart" , "Huang, Ray" Subject: Re: [RFC KERNEL PATCH v4 3/3] PCI/sysfs: Add gsi sysfs for pci_dev Message-ID: <20240409200314.GA2086199@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: [+to Rafael] On Mon, Apr 08, 2024 at 06:42:31AM +0000, Chen, Jiqian wrote: > Hi Bjorn, > It has been almost two months since we received your reply last time. > This series are blocking on this patch, since there are patches on Xen and Qemu side depending on it. > Do you still have any confusion about this patch? Or do you have other suggestions? > If no, may I get your Reviewed-by? - This is ACPI-specific, but exposes /sys/.../gsi for all systems, including non-ACPI systems. I don't think we want that. - Do you care about similar Xen configurations on non-ACPI systems? If so, maybe the commit log could mention how you learn about PCI INTx routing on them in case there's some way to unify this in the future. - Missing an update to Documentation/ABI/. - A nit: I asked about s/dumU/DomU/ in the commit log earlier, haven't seen any response. - Commit log mentions "and for other potential scenarios." It's another nit, but unless you have another concrete use for this, that phrase is meaningless hand waving and should be dropped. - A _PRT entry may refer directly to a GSI or to an interrupt link device (PNP0C0F) that can be routed to one of several GSIs: ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15) I don't think the kernel reconfigures interrupt links after enumeration, but if they are reconfigured at run-time (via _SRS), the cached GSI will be wrong. I think setpnp could do this, but that tool is dead. So maybe this isn't a concern anymore, but I *would* like to get Rafael's take on this. If we don't care enough, I think we should mention it in the commit log just in case. Bjorn