From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E2E68381CD for ; Tue, 19 Dec 2023 17:45:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="VYk5jQLL" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1d3e6c86868so4410005ad.1 for ; Tue, 19 Dec 2023 09:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1703007952; x=1703612752; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=VYk5jQLLM4AbCuQyveyo78khOaNC9MRdSg+6Dx5b9GxOcudFQ7e7UJJJaklvbLhJnY bY3e0algfYGfVnuOZzN6+rEPV3BJ2dMv4ITFO/bMo259fRd4gvzv2evbiomE3p+VL0mi qkS5wrT0bn44s7/FLO5cQ3NkS43mVdlsW5aO62DAyjN/tI/bnl0uBiSiGjC19PR4cHyS QPQYwzYHxESdkXgQb4APPQ1zW/RFmjylwuF4IAwghlOoYX9MSFCxnjhNAp0UMo6ICWe/ vqzJZBAh6R5RGgQA7HW5CG9B5IS8SM6UjtYz6NyMcIzTUpxdcgmPKkr06SiKeM/OKO9m wG+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703007952; x=1703612752; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=YEpoqZA6OaWydpS6BcdDFmdWa570/YTnIgAhgakrF18y1XGGyZHJgYyPwXNJasYZAR 4R8FT6HO2d3Ay+WnVM6vypOvYEAsngFqYcjjEmKbAmgPMqn7byCFccCVF5YvJ6Dt1c97 ntmFWIAELavJlrQf+Mup9URQkp78XkeqUx2t4vXrQVgEaPpQdLl0XzT9B2q9MbVB8MO+ ig64zaeKPEXeiWBc1v1XG1JxQGAVZgQeoLXM7XnE0w5OGRUSiY/SSpVnlCDnUhvaTxKe I1WIhGeNtRCNrcF/Bj/ouQJ+T/mCa72jb/JtFFMyQkBArtxv+j5csBFPIBu5UBIckrll SaBg== X-Gm-Message-State: AOJu0YwPByuy2FiBfM+vargqWOW5wAqoEq07vZsWcGjnCb6xGHtxiS2h 9IYwCrLeKzhOJVJW8Jg3y+zaMA== X-Google-Smtp-Source: AGHT+IGWi2Va1Qi6uqFOhvnkUNZMLVftSlFBeT8Hj5dDFOU/lfjLFJQW6CDFmhglgioUotv/TL88Sg== X-Received: by 2002:a17:903:32c9:b0:1d3:c201:3bbb with SMTP id i9-20020a17090332c900b001d3c2013bbbmr3333704plr.18.1703007952281; Tue, 19 Dec 2023 09:45:52 -0800 (PST) Received: from sunil-pc.Dlink ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id n16-20020a170903111000b001d3320f6143sm14453015plh.269.2023.12.19.09.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:45:51 -0800 (PST) From: Sunil V L To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Anup Patel , Thomas Gleixner , Bjorn Helgaas , Haibo Xu , Conor Dooley , Andrew Jones , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Marc Zyngier , Sunil V L Subject: [RFC PATCH v3 03/17] PCI: Make pci_create_root_bus() declare its reliance on MSI domains Date: Tue, 19 Dec 2023 23:15:12 +0530 Message-Id: <20231219174526.2235150-4-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231219174526.2235150-1-sunilvl@ventanamicro.com> References: <20231219174526.2235150-1-sunilvl@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Similar to [1], declare this dependency for PCI probe in ACPI based flow. This is required especially for RISC-V platforms where MSI controller can be absent. [1] - https://lore.kernel.org/all/20210330151145.997953-12-maz@kernel.org/ Signed-off-by: Sunil V L --- drivers/pci/probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 795534589b98..9e941cf55d87 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -3054,6 +3054,7 @@ struct pci_bus *pci_create_root_bus(struct device *parent, int bus, bridge->sysdata = sysdata; bridge->busnr = bus; bridge->ops = ops; + bridge->msi_domain = true; error = pci_register_host_bridge(bridge); if (error < 0) -- 2.39.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0C72C46CCD for ; Tue, 19 Dec 2023 17:46:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QVrYk6A4dJ2Rj+sjMxQvbpIMVVmV4lDM+BNHZsAxgrs=; b=mLO5yQfsS3ktdP cn0GhHYr93msiN0iuVHC3XZzE8PAfuOMesSXAxxApaDYiCIODuogOdRNjLybO5f2c8RNPlSFAILx0 FiSUFA4ewwH9m3S91Jo4NiFgNmdZfv0wR7tFDOTj+T49gfiKmypfAP4dAJoZ9wEGI/bGnq20TOcEw S3cL6wM0HJ7o90FIlmLgLktVU/Z7s/56h92mCSHhkYMH8MaX2jAEOVKV8F9nQXl0hEL1hobC9ju/l K7yb0IuJQ+9z1QyhkG7zFXYxNSr2uNNhx7S98DNStmuatWMqLoJh5LwDmMNKhOqdP8h5qNc/MNwto DFZFFCDxyw/GBuTZTzrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFeAL-00F0gb-35; Tue, 19 Dec 2023 17:46:01 +0000 Received: from mail-pl1-f175.google.com ([209.85.214.175]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFeAE-00F0dT-0z for linux-riscv@lists.infradead.org; Tue, 19 Dec 2023 17:45:55 +0000 Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d3ea5cc137so1861685ad.0 for ; Tue, 19 Dec 2023 09:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1703007952; x=1703612752; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=oXJpzElgdocsq4cKSIWKDKJOpynKYUA6msSj3xM2pgp74Mnnlx1i7fYDnSJ/z7MauV chfJ467z+CEFtk1eu0OpgWGOmeEB668M0vcUCP6gBHRgyGv0ofObyLCDQCOyA5ACqYyg heRnMqP/5UQaSRuY8PRL4S7sanQ1jyC6hYbjwgkytTK4YdxVKlc5TimnwMPeOXAQiX2b cADzyp5YWL6sf/PCZ0sVEUgQJZ8HGGAR9iS2dwddr47H0M1+shi0goQTP8Lh3q8gIU9e SX4PK3wIDmRWglgNUU7a/O8Kp+rL9htc288M/xEjQvewNtHLRSWL9MEnawZVq+KfLDon GA5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703007952; x=1703612752; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=bEQ40KHG6UDaR3SYEEY7D0k1XCN78YfbxIF1cT4Z24lZQB1IbVHoYXpWxUrFJ2/HQy /4nKlvSia52KT9fIS8qZE/0HcA0B38xahd9AVTMsayEn5XynRFbknwKnm9kQOKvx/dOn nPDhlaHn2/5fOKHNCX7zEIleCM9bqxIqfkci4GecD3PDc9icpy1b/0QoMfFzKRcF1Cti RK+vQtjtc6wsscmjJsQYH6C2QbZWhYKoEGjUFEDZMM39AMiaGfKddJ34QRdWK8W83X9s Xzmd8QvNNw/Xo8gpoL33hB42h0Aqyl0c6kpO8ZB5+lsZqrEz2cholJ1yNMa1Y+HHEgZt SlqQ== X-Gm-Message-State: AOJu0Yw+D/J8TjWoRDPkyxLCllAH/jDhrrhJKcu03XpdOO+mX53nAovl k577/x8a6OKdoIibCUCKWufJjw== X-Google-Smtp-Source: AGHT+IGWi2Va1Qi6uqFOhvnkUNZMLVftSlFBeT8Hj5dDFOU/lfjLFJQW6CDFmhglgioUotv/TL88Sg== X-Received: by 2002:a17:903:32c9:b0:1d3:c201:3bbb with SMTP id i9-20020a17090332c900b001d3c2013bbbmr3333704plr.18.1703007952281; Tue, 19 Dec 2023 09:45:52 -0800 (PST) Received: from sunil-pc.Dlink ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id n16-20020a170903111000b001d3320f6143sm14453015plh.269.2023.12.19.09.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:45:51 -0800 (PST) From: Sunil V L To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Subject: [RFC PATCH v3 03/17] PCI: Make pci_create_root_bus() declare its reliance on MSI domains Date: Tue, 19 Dec 2023 23:15:12 +0530 Message-Id: <20231219174526.2235150-4-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231219174526.2235150-1-sunilvl@ventanamicro.com> References: <20231219174526.2235150-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231219_094554_341207_367FF4B7 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marc Zyngier , Albert Ou , Haibo Xu , "Rafael J . Wysocki" , Catalin Marinas , Anup Patel , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Bjorn Helgaas , Thomas Gleixner , Andrew Jones , Will Deacon , Len Brown Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Similar to [1], declare this dependency for PCI probe in ACPI based flow. This is required especially for RISC-V platforms where MSI controller can be absent. [1] - https://lore.kernel.org/all/20210330151145.997953-12-maz@kernel.org/ Signed-off-by: Sunil V L --- drivers/pci/probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 795534589b98..9e941cf55d87 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -3054,6 +3054,7 @@ struct pci_bus *pci_create_root_bus(struct device *parent, int bus, bridge->sysdata = sysdata; bridge->busnr = bus; bridge->ops = ops; + bridge->msi_domain = true; error = pci_register_host_bridge(bridge); if (error < 0) -- 2.39.2 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DCF67C41535 for ; Tue, 19 Dec 2023 17:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JbJI8r6GrfcjQrXgIF/p11bxNW24AWqQp224KNQLm/M=; b=OXYNJhjsVlmIjL MfmTLfds/WEavVv6OIpMPHkMygn4VpxPPbuqIMfaGFi4EL/RvSBSIT9CU9DXhL3A1KmL75lwnTJYl o8wjJ4NaA3TxPxlt2AOxyeRwD9so8uH2iboSGLug6/ELN6fBlAT3YBNNF4qLKUNNxat957zmKj6yF 7t7lp/MWABXPh+kGcpZYtQ7IHl3ZpE+pNtY9FUrBd0npcuh7rrvj1Tj0gA4YefwkexiZKoLSSmzG9 LJZzEDA7Nr8Fm0pSJkXxO9CGKzgf5B2OLFKr/n3LeSVh7yS+i/76o+rMLSoefVmgjL57+8j5AnMza x04jyXzcX7+53Kvuh6wA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFeAQ-00F0is-2R; Tue, 19 Dec 2023 17:46:06 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFeAJ-00F0fk-2M for linux-arm-kernel@bombadil.infradead.org; Tue, 19 Dec 2023 17:45:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=csgJeXqb1gIddKjmnoFJGn/aNi s3/2olcl6XGjP3IjIJv2/FQaO4p0xjkL+6o03R1iPYBr09eSz/IKE6YYlmYkd2LOHE53OiSK8OXec SZTq7QNuF3qb4tBaTSM8BJYBIIZ1OQxBEnHUUeSD4xklcJvT2Ehi35J2rwA5DYZpQlWFwmzxCC/V5 DncrE6/5kwBbD5LuF8rWiq0FfMgzUjzNpIwIbdx8YbXZdXFlc37eq/ULcGziWnF2j35V80gVlTp+f HF3CcDztfmmlplmO+O7PD8/gtPf/Jza44Y6T5Src3k9yvMYK6SMPIu9xGrjU3nATMj+KJV4uBd8gC qI2Gj1zQ==; Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFeAF-00DXw5-0p for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2023 17:45:58 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1d3d0faf262so14928175ad.3 for ; Tue, 19 Dec 2023 09:45:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1703007952; x=1703612752; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=oXJpzElgdocsq4cKSIWKDKJOpynKYUA6msSj3xM2pgp74Mnnlx1i7fYDnSJ/z7MauV chfJ467z+CEFtk1eu0OpgWGOmeEB668M0vcUCP6gBHRgyGv0ofObyLCDQCOyA5ACqYyg heRnMqP/5UQaSRuY8PRL4S7sanQ1jyC6hYbjwgkytTK4YdxVKlc5TimnwMPeOXAQiX2b cADzyp5YWL6sf/PCZ0sVEUgQJZ8HGGAR9iS2dwddr47H0M1+shi0goQTP8Lh3q8gIU9e SX4PK3wIDmRWglgNUU7a/O8Kp+rL9htc288M/xEjQvewNtHLRSWL9MEnawZVq+KfLDon GA5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703007952; x=1703612752; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; b=MBtDd0QgKivjh0y/hw38IvwtDyFJAN0GGW98+jOmOKMLzbVOW4zp6uOuADKfvY+/2m m+Cv8Fr+nARv2aHxTLUfXG6P0sKRXFODUSpR2qQOaFdYvFhlm6dqDR2jq0XjyvSUl6rT OkwARvY2yq/YyVjGefQezPHNBjuhUFaRmQRvN3IjAkAAP5KzwUtK/sePK0ml7xhJ109Q 6nBuIKjQNcFfAuo+j3iUUmPwWmP3y41m2rY/UkqqqlneRh4XETiHh8uvBYF9OGAkIMiQ s4JHax5Qf5MGX/awOtgzsee/JA8RlYvLjHSvFJgMexWTo/MQ0Qa665o8LBrudiVQa89K gQqg== X-Gm-Message-State: AOJu0YwCx9xfGyB6r1JSmVHj8XegOqVk4ARiKDL/0y6gvxBql9d7BHj4 /xb0uknwHQaJxNL8UJ6M7L+bLm8ViE8XgjY4pis= X-Google-Smtp-Source: AGHT+IGWi2Va1Qi6uqFOhvnkUNZMLVftSlFBeT8Hj5dDFOU/lfjLFJQW6CDFmhglgioUotv/TL88Sg== X-Received: by 2002:a17:903:32c9:b0:1d3:c201:3bbb with SMTP id i9-20020a17090332c900b001d3c2013bbbmr3333704plr.18.1703007952281; Tue, 19 Dec 2023 09:45:52 -0800 (PST) Received: from sunil-pc.Dlink ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id n16-20020a170903111000b001d3320f6143sm14453015plh.269.2023.12.19.09.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:45:51 -0800 (PST) From: Sunil V L To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Anup Patel , Thomas Gleixner , Bjorn Helgaas , Haibo Xu , Conor Dooley , Andrew Jones , =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , Marc Zyngier , Sunil V L Subject: [RFC PATCH v3 03/17] PCI: Make pci_create_root_bus() declare its reliance on MSI domains Date: Tue, 19 Dec 2023 23:15:12 +0530 Message-Id: <20231219174526.2235150-4-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231219174526.2235150-1-sunilvl@ventanamicro.com> References: <20231219174526.2235150-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231219_174555_414124_B60E4E65 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Similar to [1], declare this dependency for PCI probe in ACPI based flow. This is required especially for RISC-V platforms where MSI controller can be absent. [1] - https://lore.kernel.org/all/20210330151145.997953-12-maz@kernel.org/ Signed-off-by: Sunil V L --- drivers/pci/probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 795534589b98..9e941cf55d87 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -3054,6 +3054,7 @@ struct pci_bus *pci_create_root_bus(struct device *parent, int bus, bridge->sysdata = sysdata; bridge->busnr = bus; bridge->ops = ops; + bridge->msi_domain = true; error = pci_register_host_bridge(bridge); if (error < 0) -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel