Message ID | 20211104125449.16540-33-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=RVDosDCu; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HlNvV1KH5z9sPf for <incoming@patchwork.ozlabs.org>; Thu, 4 Nov 2021 23:57:10 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1micId-0007tY-GO; Thu, 04 Nov 2021 12:56:59 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <tim.gardner@canonical.com>) id 1micHN-0004r8-EH for kernel-team@lists.ubuntu.com; Thu, 04 Nov 2021 12:55:41 +0000 Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 253AB3F33C for <kernel-team@lists.ubuntu.com>; Thu, 4 Nov 2021 12:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1636030540; bh=QwbNoQw6kfNfTnr95tNlBU/F4vg9qnVFrrL13pC7JFM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RVDosDCuzySRFf0/oPzQOBzmPY3Clhm1mfimBYcp4ldTX92vJzqDwQOYns3uzOrZd 3xpx1i+NWK/V8DUtQd/DHY0pocI+Bty/5R3yhf7ipo6PdZcCewR8EDhbrv+Fnexxwe TFO93jT5lW9OfFjwSMx9P+Hx6u32OMjkMf7RpvzjRr/6FPHyrzf3jvcIOkRpmJrQ7e qbeOfi+JliZ1DrB7nBT8MWBq0EVPFO2NNiZDHMe39iupF5xV5wCEdf5c4yGDdsHUiA 2xgmRK0LK8eWOPixoeAhhXXoMxCFJnPW+ce4IFTrj1/EWfJjFPdUx9DL1xvMiHSVVY 99OYD0Q1vDhCA== Received: by mail-pg1-f200.google.com with SMTP id i25-20020a631319000000b002cce0a43e94so3712065pgl.0 for <kernel-team@lists.ubuntu.com>; Thu, 04 Nov 2021 05:55:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QwbNoQw6kfNfTnr95tNlBU/F4vg9qnVFrrL13pC7JFM=; b=URL6kuXdRCKGVM1U7YLTusachHIrYiTT6rJlAdsRfB64IhbyHQj3fYlWy/UdyEtc80 87bV/XxEu33iQJeEo6Ez9zkMjOcbs1NVOHHn0koPBVYbhXfgdpstzLRi6lsbvcgGsAS4 6e45mlUlO7dMZMG4HGS0DBDUxlnAUZBoYGoV/7RFWUOaW5WOA4z28ChYvi/LZHuV9NCQ StW7bRxy46DN0zUhXhKNiwchSt+BNIQxE6mEf884GN+9PEc/il7BT4/UvMhZT4t6Hgd/ cRhILEVQE49PZuaSYd9ZFMwx9hScUgfjaMX+Yjjhl1kNV9lyFxguN/LvMMnsQ7nkOWUl TuiA== X-Gm-Message-State: AOAM5322jo20yShnoJUGS+FG3VCwGXnZsQOUQOXsZ1UC5B5cVQtaJc+j U6qqWjz4wmkHntO39vpE0TlKiZt3u4QzV8W7teXRnqjf7QlB+N30oiYtf6Co+B+JqJa/rclT5fb GjerC+4DsQRqToOmND+dgWx/H+xnEoVGbRX11DUpxYg== X-Received: by 2002:a63:684:: with SMTP id 126mr26653219pgg.213.1636030538474; Thu, 04 Nov 2021 05:55:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaU/Z/bZrwi6/gPfgsQu8yukxq3uFRL2MGg+pMYbmUrEFLcQjZMXChSODb2oM0kygTIzDpnQ== X-Received: by 2002:a63:684:: with SMTP id 126mr26653206pgg.213.1636030538272; Thu, 04 Nov 2021 05:55:38 -0700 (PDT) Received: from localhost.localdomain ([69.163.84.166]) by smtp.gmail.com with ESMTPSA id y4sm5283859pfi.178.2021.11.04.05.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 05:55:37 -0700 (PDT) From: Tim Gardner <tim.gardner@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 32/41] PCI: Support populating MSI domains of root buses via bridges Date: Thu, 4 Nov 2021 06:54:40 -0600 Message-Id: <20211104125449.16540-33-tim.gardner@canonical.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211104125449.16540-1-tim.gardner@canonical.com> References: <20211104125449.16540-1-tim.gardner@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Enable arm64
|
expand
|
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 4f7db14133a2..d74be47679a6 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -830,11 +830,15 @@ static struct irq_domain *pci_host_bridge_msi_domain(struct pci_bus *bus) { struct irq_domain *d; + /* If the host bridge driver sets a MSI domain of the bridge, use it */ + d = dev_get_msi_domain(bus->bridge); + /* * Any firmware interface that can resolve the msi_domain * should be called from here. */ - d = pci_host_bridge_of_msi_domain(bus); + if (!d) + d = pci_host_bridge_of_msi_domain(bus); if (!d) d = pci_host_bridge_acpi_msi_domain(bus);