Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp52917lqg; Wed, 10 Apr 2024 15:15:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMlvPRIFsNKt78RBFTx1wLQhEVIjWHHoP8jrpadCyVDPEiy6E7//mN5Ds4OrdglWX6J5nfTEZyV+/GrFdtLdCZ/7BMBbDPQXTQqczIpw== X-Google-Smtp-Source: AGHT+IHMlUF71D+kxuMvtRCLYgSow+UuQnYfOhc5DrCKoyHlpA98Y+ctVeEvaCqyDMmVcRJOqOwE X-Received: by 2002:ac8:5a8a:0:b0:431:7565:c3c4 with SMTP id c10-20020ac85a8a000000b004317565c3c4mr3915874qtc.6.1712787314780; Wed, 10 Apr 2024 15:15:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712787314; cv=pass; d=google.com; s=arc-20160816; b=BhKoG5W2Grq8Ap5Mn2jlnfD22UWCRrUhMUZwznN5fM2R+ofzIkV2O6f9BAA9tYgv5Z NDgKKbUxYhF7/0PUhE8tuZlFlGSmyZ8h3EEjm+awWlilIJ3SXYzi4yfYBKsdUAbf2t3w HpRVGMVvg/2UWDsYlT71xwTj2qWwZ4AnngDy7XHNq5TF5ZradkjZ9gzUBXzKPBoSsX2d ndk2Q4jmORVAi+B6EJ+83D6XrHQBMSjgMXX6wWbXO4bYJGHfnrJ8WwpR0/PhqNdoKq1F PEKnC6Uu+bW0+OvV6IQAAJomd3d0fDvgvudIDSSVrQqE7zKeIf5SzJDasYPG72DJP/Uz nVDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qE5K68e9kNYUje2hozW16RQXbFQ2ek9itH6D0hnHTVk=; fh=vvD7kdj1At6ezffD/IEGPt3u+aV1voPJybHICWUtJ54=; b=NtYAKjTZfiTQs5WNsWcxyzRJ4f+koSKrBHL7dMNv5TxncDmEDP1AsURtP1efPDpp26 4wC2RukH3UzHIdbmpwpKqi8EhTVfnUIeUMcQFHpU+XxfpBVa9tmsjZlEcfM3lz1veeYo sjyXdfZdUjonQEU+SA5jtiM2UQFoTU3yyA1V1JJeiVjB5ts0D9ucD+ncMaqk+EE+8N+3 FdfjpsZFxAZU2lfcTZZ0StsJGmwqCx92ZPiBISUVFgbn1h9BzWepDBrxBM4mm5flfB7t 7oOPeWmvdtJyKX4eTrVweO+7VpgPjiwU05aAfVSPoW1sLkuyly4Fw7pF9K/vYlpsP5Y1 aQRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lgeTToln; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139419-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d17-20020a05622a05d100b0043657d79d49si130955qtb.362.2024.04.10.15.15.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 15:15:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lgeTToln; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139419-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139419-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 81B661C22393 for ; Wed, 10 Apr 2024 22:15:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8711F19DF5F; Wed, 10 Apr 2024 22:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lgeTToln" 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 AD5DB184134; Wed, 10 Apr 2024 22:13:29 +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=1712787209; cv=none; b=k5H7GvROlM5BjlyeE9+Z8SUW3sqebI408tlsrCAUOUuj/j0Q+PnJxx+2qOLqCRR9jh30sl1EUWvtskJU2P+VdqFXGj30XCYSgORG6DIjBH5H4SI1nE/GnizGwoxUVKGCtAvuC9gTkPgqeF2nfNuLO+4HM1LpjycsFosBNRuh9z8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712787209; c=relaxed/simple; bh=5nbfHeG60eNzQJI5iVciR/vfXygkXSoILlSxcVaWD5Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=StkHtUXaGvrUrJYq/CuK0YVed7viggIj9C8hdKuPxQjmTgngPZN1l/UpC/4m69xXu4Gyb11fwG/g9c1TQXbQRolz2Nz2YnAETCm8ErKl4/kV0SOh5Ixxqr0Jq8uDq5PkVGhe1HKWQRt2udzdjPTnpHW25BaF/VPzuiDeAOi6FRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lgeTToln; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54C25C433F1; Wed, 10 Apr 2024 22:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712787209; bh=5nbfHeG60eNzQJI5iVciR/vfXygkXSoILlSxcVaWD5Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lgeTTolnYlCAy8OAzdiKscXxM/dzYw15RbiM3PYRgReAZHNbB4uWRykeO5TnX+B9d T0hnL0JSff3HCkBFR1loHcYyJQcsrTB2OrX/20n+ga5yTsvDagkUyUxszEhr9DphZ+ 6vgaxNTTpN2CgruYbgNVDXCbYz1/cDOs7LFinWBik7WSiHNeQzKa1LlvfRId+gkekb d2C7n1vP7dJJ6FvCtzmYp8wFKZaEwReUkBPRfuY9s0N4HddmTiyQJHCCTb56uDRpvF DyCuN4wF0r85D+0olwK5kPOBeuO3enpcR8TUfYbgwN6EES7b9zgY0QO+IaaeByTcXN 5TDPoDvTo61cg== From: Bjorn Helgaas To: linux-pci@vger.kernel.org, Joerg Roedel , Will Deacon Cc: Thomas Gleixner , Kevin Tian , Marc Zyngier , Reinette Chatre , Jason Gunthorpe , Alex Williamson , Dave Jiang , Megha Dey , Suravee Suthikulpanit , Robin Murphy , David Woodhouse , Lu Baolu , iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH v2 7/7] Revert "genirq/msi: Provide constants for PCI/IMS support" Date: Wed, 10 Apr 2024 17:13:07 -0500 Message-Id: <20240410221307.2162676-8-helgaas@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240410221307.2162676-1-helgaas@kernel.org> References: <20240410221307.2162676-1-helgaas@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bjorn Helgaas This reverts commit e23d4192bf9b612bce5b24f22719fd3cc6edaa69. IMS (Interrupt Message Store) support appeared in v6.2, but there are no users yet. Remove it for now. We can add it back when a user comes along. Signed-off-by: Bjorn Helgaas --- include/linux/irqdomain_defs.h | 1 - include/linux/msi.h | 2 -- include/linux/msi_api.h | 1 - 3 files changed, 4 deletions(-) diff --git a/include/linux/irqdomain_defs.h b/include/linux/irqdomain_defs.h index 5c1fe6f1fcde..36653e2ee1c9 100644 --- a/include/linux/irqdomain_defs.h +++ b/include/linux/irqdomain_defs.h @@ -25,7 +25,6 @@ enum irq_domain_bus_token { DOMAIN_BUS_PCI_DEVICE_MSIX, DOMAIN_BUS_DMAR, DOMAIN_BUS_AMDVI, - DOMAIN_BUS_PCI_DEVICE_IMS, DOMAIN_BUS_DEVICE_MSI, DOMAIN_BUS_WIRED_TO_MSI, }; diff --git a/include/linux/msi.h b/include/linux/msi.h index 26d07e23052e..84859a9aa091 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h @@ -573,8 +573,6 @@ enum { MSI_FLAG_MSIX_CONTIGUOUS = (1 << 19), /* PCI/MSI-X vectors can be dynamically allocated/freed post MSI-X enable */ MSI_FLAG_PCI_MSIX_ALLOC_DYN = (1 << 20), - /* Support for PCI/IMS */ - MSI_FLAG_PCI_IMS = (1 << 21), }; /** diff --git a/include/linux/msi_api.h b/include/linux/msi_api.h index 391087ad99b1..5ae72d1912c4 100644 --- a/include/linux/msi_api.h +++ b/include/linux/msi_api.h @@ -15,7 +15,6 @@ struct device; */ enum msi_domain_ids { MSI_DEFAULT_DOMAIN, - MSI_SECONDARY_DOMAIN, MSI_MAX_DEVICE_IRQDOMAINS, }; -- 2.34.1