From patchwork Sun Apr 26 20:46:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 1277235 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com 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 ozlabs.org (Postfix) with ESMTPS id 499Kj80V36z9sSb; Mon, 27 Apr 2020 06:47:24 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jSoBK-0004DQ-GD; Sun, 26 Apr 2020 20:47:18 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jSoAg-0003mM-Ib for kernel-team@lists.ubuntu.com; Sun, 26 Apr 2020 20:46:38 +0000 Received: from mail-qt1-f200.google.com ([209.85.160.200]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jSoAc-0001fW-KJ for kernel-team@lists.ubuntu.com; Sun, 26 Apr 2020 20:46:34 +0000 Received: by mail-qt1-f200.google.com with SMTP id g8so18147078qtq.2 for ; Sun, 26 Apr 2020 13:46:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+Hyw/KSb1lH/Umun15P3MKOE2mIAKmJk/o5sFYgLxwI=; b=IlW+nldS27e8l2EPVaHkXjwK4EWeW27k+LYv1FoSMhEJ6sEt0NaIEeX7vbj9Arl9HB hw+lmDSBf3KnukWdpMh3bPYMwcVkdiW5up9lPHHhuSmm4BbE1I8OfHG/akv01t/0zmsZ qd2VDqsEMcxkgvXfTUx7ErqN+84YG/3Rh6BWoQdd9Bvl2A4eR9z6irbTHsItQOMxDuTt U9726R5BL9SiYAqkt4egHHNmT9t3YULjRx6j+PqHYOMwDW7l4H2gQtNgmSrdkKS3HNFu c9bzNHFTN+AZ4RmjjT0H6EypKQEo2eGMDBBtNqkSabAuD7TwskC4zEO9/zvMhywBCQpS dWVg== X-Gm-Message-State: AGi0PuZvTXmuEqP7WJUOVSNkQR+/HhIWahZtvVeM+trQryxilA6fJITM qEc2Pn+GWmeLee9hexPNgw4vtNKvHOlnzS9TZeOH+kBBzX8wJk7Wm56It/d1GFUh+r8YbItZzK0 OTV44II4pYGmSTrOyVnUkHOOv8eh7jSd/niPzeooD X-Received: by 2002:a0c:c190:: with SMTP id n16mr19819838qvh.107.1587933993321; Sun, 26 Apr 2020 13:46:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIN5LcFz64DVKF82ID7V99xbyg/5uAUzjgseDDJ6PK/Z32wqA30rhdmHemgyNSETRFleqIJ/A== X-Received: by 2002:a0c:c190:: with SMTP id n16mr19819825qvh.107.1587933992992; Sun, 26 Apr 2020 13:46:32 -0700 (PDT) Received: from gallifrey.lan ([201.82.186.200]) by smtp.gmail.com with ESMTPSA id h63sm8261654qkd.49.2020.04.26.13.46.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2020 13:46:32 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [eoan:linux-azure][PATCH 1/4] Revert "UBUNTU: SAUCE: pci-hyperv: Use only 16 bit integer for PCI domain" Date: Sun, 26 Apr 2020 17:46:24 -0300 Message-Id: <20200426204627.121419-2-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200426204627.121419-1-marcelo.cerri@canonical.com> References: <20200426203646.115503-1-marcelo.cerri@canonical.com> <20200426204627.121419-1-marcelo.cerri@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1867220 This reverts commit 5106ea7eace25bac7add4da0940431439f06cdd7. Signed-off-by: Marcelo Henrique Cerri --- drivers/pci/controller/pci-hyperv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 2c6a82a41d5c..8a30c1693699 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -1630,11 +1630,9 @@ static struct hv_pci_dev *new_pcichild_device(struct hv_pcibus_device *hbus, * can have shorter names than based on the bus instance UUID. * Only the first device serial number is used for domain, so the * domain number will not change after the first device is added. - * The lower 16 bits of the serial number is used, otherwise some - * drivers may not be able to handle it. */ if (list_empty(&hbus->children)) - hbus->sysdata.domain = desc->ser & 0xFFFF; + hbus->sysdata.domain = desc->ser; list_add_tail(&hpdev->list_entry, &hbus->children); spin_unlock_irqrestore(&hbus->device_list_lock, flags); return hpdev;