Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp76810rdb; Tue, 19 Dec 2023 09:46:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHt8x/7oJGWJc3FZxbgPO+oOQDXdwEKLAets5ZuG8h6FswK/Tv05qSYPTL3aCFwJk4KrDQr X-Received: by 2002:a05:622a:409:b0:425:4043:8d55 with SMTP id n9-20020a05622a040900b0042540438d55mr17346590qtx.112.1703008017413; Tue, 19 Dec 2023 09:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703008017; cv=none; d=google.com; s=arc-20160816; b=upAh1WYkS1I8mCFlqsRNcFIAdU30LmLBByLaEKVnS/jOaSfp3h725wJ7CIM0g/sCpY UZlePNO94mpnYEZAXS5w1wfbKJYjdfi/xdJFMBI5GSWkZXf/iEOnk0yeWAcqh6tDWpHG ALjPblAgQ3VMLLc40HRtifNIhTpLDhIpWBa5eK4i3HwK+RUMqtHLTPSat5M1E12RRXdp gRzIixU07dB+RV5Gwr68YWPiy4/SrPvGhIE4DVEC+smoTIPex4znbkNBgxnwPOtuEhhX 8eSBT08FUWG0Pp0o6rBCcJ4uumI22q49ftZ4JSHNFrI7ZQy12rv6xXt+aE13BdRA3U+Q K41A== ARC-Message-Signature: i=1; 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=BmjC4RdyrxsTphcSUlyn0FA/9YESGtMGM8wLh/XfFs8=; fh=G3MkS2cP7FkeH+7kxy0LRzNpJgfwnUWZciURRBohxGI=; b=sWgtK8BSncWwOggsocM2YF6BwC58pQH25ku5OGEdcsKg/bY6uDO8BKfPLf8XtH61HP UQOTKxYERuR30+1F2Z4pWe0FIUY7O95IcO3kkxXrRZBS2J+7s/0+65uMXmgrgsuGw5Tt aOfSpZoJAk4wHF2h/SwJPOFfAvs75bejUFEkFxWq2dR58vYFoBkk9fa2xIt5UOqBSbgn YxaaM2vfd6I4QR/938+SQP48zgcYif9gHYHKEvv9MfedecIkisSY7GnWkYY1R87+EGaT fTZrgkDfrSsOJru6azGlx300atOlpeCdDQykHcyxfsAy6HJyJPIIf9/x1WV6d22UceEE BXPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=VYk5jQLL; spf=pass (google.com: domain of linux-kernel+bounces-5715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5715-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x13-20020ac87ecd000000b00423839d0315si24552418qtj.249.2023.12.19.09.46.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:46:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=VYk5jQLL; spf=pass (google.com: domain of linux-kernel+bounces-5715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5715-linux.lists.archive=gmail.com@vger.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 304461C249ED for ; Tue, 19 Dec 2023 17:46:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C9B1F381D7; Tue, 19 Dec 2023 17:45:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="VYk5jQLL" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 DD9ED381CA 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 Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1d3d0faf262so14927965ad.3 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=kVgWFgVZt5rz0oPSqvxlvy8rpzWNFgp+cqgAd2TWdAv81Tq5GF/gT6VtEmKlphPORI 7Vcb3AbDjxUrBYMDj8R/HMsEM3CBWzUL05aXAFjqTegvvMYJvLg6fE5E/P728wpGcacy gVhtlxtL8IzJjKLoMbJZIvD3et0xo8gVbKRuFpgSU971eG/b4Zv5UdcirvIaKmO8Tod9 VedjShpsAi/ypT/WF7zgP1DJT4y4CJ4lW+Tvvc8yd2OK/q+1XWAAV23l80heSyMVL1Is asc/F+4H1u577JTOqu60rNOYi+6TAsOzjNRtFGHKdrT0kKXAKWuKPBQNJx2/WcU57n/c sZyg== X-Gm-Message-State: AOJu0YyrRi1F5FnwCqsV7QJzbM2NsWJ369TtxTnpazsDO4vJaQUF/vYT 4iNttgRmmSFHC9rv6oHevt7SuA== 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-kernel@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