Message ID | 20211104125449.16540-38-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=Unr4DC/0; 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 4HlNvs3Dhsz9sPf for <incoming@patchwork.ozlabs.org>; Thu, 4 Nov 2021 23:57:29 +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 1micIx-0000iY-OV; Thu, 04 Nov 2021 12:57:19 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.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 1micHU-0004xE-9U for kernel-team@lists.ubuntu.com; Thu, 04 Nov 2021 12:55:48 +0000 Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) (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-1.canonical.com (Postfix) with ESMTPS id 885FB3F1C7 for <kernel-team@lists.ubuntu.com>; Thu, 4 Nov 2021 12:55:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1636030545; bh=T8TgzuLOASpgSuxItCmrn8FZTXqR2I5gU3Qawr0vsSo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Unr4DC/07DEIc5P50pRYKM81l5AdZatWxfBivgepHHTBCd7FODy4h1fY8TTrnUjBj a8aevFhmAP+69Uecx1SLnUCJUs0s7AMwLBpayZ+3lFbTWLFaRDGCRpcQlH/rQ+7umB UPOdR1Nyicqsn3XCcZ5v3GPM7TEPbW+Rn8HhmJ4s4DW/SI97anReEiH5RRmlpIw0dB 4QeoqIEmW9eXy/TB0KshcNae+Tfidqk3n1hU5JUAH72RbKg+0oGY8IApnZmMfx2xnX vrZZ1ApXoJ0R0ICix8dIHQM0XOHzV5xdje6sEL4i50IX0lBIvGbXKm7JmZR1V89VcH qAmRvwP4Kgdmg== Received: by mail-pg1-f197.google.com with SMTP id p35-20020a635b23000000b002cc3b82cc32so3630565pgb.14 for <kernel-team@lists.ubuntu.com>; Thu, 04 Nov 2021 05:55:45 -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=T8TgzuLOASpgSuxItCmrn8FZTXqR2I5gU3Qawr0vsSo=; b=o/0+DccnrUJZcbGj0HGqp0cm3YITeXseTR0r/OOBuEJeGxweqawf6fQt8ubM2SsqG+ goJVs6fh/9xYocI4/gfuXaIpHRH5EO2lNgnaxVjIMWVTZBdxlxQEQB9YlPeIX4jghU3G Lu2bSgXhCCFCuPQipZqae/G9XCZgute/b8GjZQ5qOpeLflYKPVtkRVbmlOdxPanfOm4l 95Ko62QMRx8cA9xQEmnwJ7FiCmfIKaeOdJvx70ILSB2MovmJnXqbdpv9KmbBZOv01I53 ussF/gX+a/hxOe/QUUq1ozYKCiKjwcCJykD0QwmnU3dhjiD5cIiYTtl3YntdO82khdd7 NcNw== X-Gm-Message-State: AOAM5326NB5Dhi63CTJkkTQQ/Juj1Vxd6PAhy5nSaZ/GTzklT8GDQzXK Um1Qirs6DtGaNjNv40I6xNQkQVb/AqIFoF7WToGmVvX3YNKnkU+uI/KjoekSej8OXJDmbv0o6sq t645VaAxWzeSChuPzlQdt/IvRY+rf2PQQqC06dZMdAA== X-Received: by 2002:a65:648b:: with SMTP id e11mr38663094pgv.138.1636030542576; Thu, 04 Nov 2021 05:55:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoYm8DgMdH225CEH0pDDNTPzZ7RzFeKMoKFceoyQzLNxcDOzvX1DOuLCtdwxcGCmfazKxgqA== X-Received: by 2002:a65:648b:: with SMTP id e11mr38663080pgv.138.1636030542390; Thu, 04 Nov 2021 05:55:42 -0700 (PDT) Received: from localhost.localdomain ([69.163.84.166]) by smtp.gmail.com with ESMTPSA id y4sm5283859pfi.178.2021.11.04.05.55.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 05:55:42 -0700 (PDT) From: Tim Gardner <tim.gardner@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 37/41] PCI: hv: Turn on the host bridge probing on ARM64 Date: Thu, 4 Nov 2021 06:54:45 -0600 Message-Id: <20211104125449.16540-38-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/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 38b4b42bae13..6b5cff113e62 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -40,6 +40,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> +#include <linux/pci-ecam.h> #include <linux/delay.h> #include <linux/semaphore.h> #include <linux/irqdomain.h> @@ -448,7 +449,11 @@ enum hv_pcibus_state { }; struct hv_pcibus_device { +#ifdef CONFIG_X86 struct pci_sysdata sysdata; +#elif defined(CONFIG_ARM64) + struct pci_config_window sysdata; +#endif struct pci_host_bridge *bridge; /* Protocol version negotiated with the host */ enum pci_protocol_version_t protocol_version; @@ -3100,7 +3105,9 @@ static int hv_pci_probe(struct hv_device *hdev, dom_req, dom); hbus->bridge->domain_nr = dom; +#ifdef CONFIG_X86 hbus->sysdata.domain = dom; +#endif hbus->hdev = hdev; refcount_set(&hbus->remove_lock, 1);