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 X-Spam-Level: X-Spam-Status: No, score=-21.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4467CC433EF for ; Wed, 8 Sep 2021 04:13:01 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9EFA6112F for ; Wed, 8 Sep 2021 04:13:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B9EFA6112F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=anisinha.ca Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:36920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNoxH-0002MO-Jb for qemu-devel@archiver.kernel.org; Wed, 08 Sep 2021 00:12:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNowP-0001fS-Rc for qemu-devel@nongnu.org; Wed, 08 Sep 2021 00:12:05 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:38683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNowO-000171-3o for qemu-devel@nongnu.org; Wed, 08 Sep 2021 00:12:05 -0400 Received: by mail-pf1-x433.google.com with SMTP id s29so925148pfw.5 for ; Tue, 07 Sep 2021 21:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anisinha-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/1ggGu8Md7TTi+lLns9+IKriNjYPNKFjj/e93rjAnwc=; b=HYhr5eI2jjUaPpD1x0ObFsGMXNo5fMTlaXBqryAE72uC3DezxIv8YmsnENr3/GAPds VcPpIp8qLHTcP8Le40JHEZ8PLUq+20G0X0OehvRgSBM6p+tNLJWnJ5zYglBP/5WrTDuS qQbP9Oa8Wuk1wUqRgxInw+pTStB7KRxFLQVprvIUmIMnhgIE7h1smru/QP5qScR6tq3R S1K1AsVZ6cYj1BjrCLomSPh3gdYvpJp/Z8mdv5IdtFvPe91EbS+cmEkYby7m6ovp/H/0 pWf4UZYPp4aTMNTQxwINAnncBE2a/SDefRZLORO9vbCp7KzwVe8cDqFEgn2DiPTuWHCM vUEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/1ggGu8Md7TTi+lLns9+IKriNjYPNKFjj/e93rjAnwc=; b=MYcwZ/VHEvTABYtskhcit/72PWbJ5OE/xFmvIoBxXsuyEwbPHCg0b2jWyGBsVzbkpl xWojaViW79hY/AshUE2Jm1wSSNse6emLTCaJQ3uBMFQ2FoUtrJPloBh/xdsQ84Rjhi3G bwyT/DuSwynaFkDyBQ158Uk9mmdrj4LNPrmP65G3h0Z7k4y8/3K5Ehe4ejaVTFVuKmnn zbeJk10KwcgLGmyurl6pRX+nmd7ojglDX+0/rH/4gH0aveUhAvk+4P1PS9sPsITP1KKE zXPFWgkPT5SkYudfgwB8xmkSWsfTe7p0dri1nfPt2F/OP3DcsC9PIjUAdj8qmVbpZsZR bYDw== X-Gm-Message-State: AOAM531cTcwGXDHig9XA6JwPrnLerxF8BGxeEQO34wrS4gAuQcO6TLps 5xZHi05kDe9bPOrRPsxDg31wWop5cXp6sw== X-Google-Smtp-Source: ABdhPJw/0WMP7sck7eJHClSjyVPXwoB5dOY1kgm0lA7PcIs9SfVpYXSR95I2bdOW204Mld8bhcXY9w== X-Received: by 2002:a63:3c4d:: with SMTP id i13mr1790248pgn.54.1631074322233; Tue, 07 Sep 2021 21:12:02 -0700 (PDT) Received: from anisinha-lenovo.ba.nuagenetworks.net ([203.163.242.70]) by smtp.googlemail.com with ESMTPSA id n185sm575282pfn.171.2021.09.07.21.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Sep 2021 21:12:01 -0700 (PDT) From: Ani Sinha To: qemu-devel@nongnu.org Subject: [PATCH] hw/i386/acpi-build: adjust q35 IO addr range for acpi pci hotplug Date: Wed, 8 Sep 2021 09:41:39 +0530 Message-Id: <20210908041139.2219253-1-ani@anisinha.ca> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::433; envelope-from=ani@anisinha.ca; helo=mail-pf1-x433.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Michael S. Tsirkin" , jusual@redhat.com, Ani Sinha , Igor Mammedov , philmd@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Change caf108bc58790 ("hw/i386/acpi-build: Add ACPI PCI hot-plug methods to Q35") selects an IO address range for acpi based PCI hotplug for q35 arbitrarily. It starts at address 0x0cc4 and ends at 0x0cdb. It was assumed that this address range was free and available. However, upon more testing, it seems this address range to be not available for some latest versions of windows. Hence, this change modifies the IO address range so that windows can allocate the address range without any conflict. The new address range would start at 0x0dd4 and end at address 0x0deb. This change has been tested using a Windows Server 2019 guest VM. Fixes: caf108bc58790 ("hw/i386/acpi-build: Add ACPI PCI hot-plug methods to Q35") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/561 Signed-off-by: Ani Sinha --- include/hw/acpi/ich9.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/acpi/ich9.h b/include/hw/acpi/ich9.h index a329ce43ab..b68c5a2174 100644 --- a/include/hw/acpi/ich9.h +++ b/include/hw/acpi/ich9.h @@ -29,7 +29,7 @@ #include "hw/acpi/acpi_dev_interface.h" #include "hw/acpi/tco.h" -#define ACPI_PCIHP_ADDR_ICH9 0x0cc4 +#define ACPI_PCIHP_ADDR_ICH9 0x0dd4 typedef struct ICH9LPCPMRegs { /* -- 2.25.1