From nobody Sat May 10 07:19:51 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1501285179234189.36779054446367; Fri, 28 Jul 2017 16:39:39 -0700 (PDT) Received: from localhost ([::1]:50562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbEr3-0006eS-V3 for importer@patchew.org; Fri, 28 Jul 2017 19:39:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbEpW-00048Q-39 for qemu-devel@nongnu.org; Fri, 28 Jul 2017 19:38:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbEpU-0002OE-7r for qemu-devel@nongnu.org; Fri, 28 Jul 2017 19:38:02 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:38866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbEpT-0002Nb-W4 for qemu-devel@nongnu.org; Fri, 28 Jul 2017 19:38:00 -0400 Received: by mail-lf0-x244.google.com with SMTP id y15so11400961lfd.5 for ; Fri, 28 Jul 2017 16:37:59 -0700 (PDT) Received: from localhost.localdomain (broadband-95-84-133-8.moscow.rt.ru. [95.84.133.8]) by smtp.gmail.com with ESMTPSA id v126sm732360lfa.21.2017.07.28.16.37.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Jul 2017 16:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j21YQc98FbWq62rIoNGvcMApcBNsN+myQp4+JRq9P8I=; b=ip1+toFAQhHBseSjn90u6dDYdK40bCCpWd1bgXIBNWRgk//qIDpyVSSdEUjp+8TWG2 Fke2mFeFKRFvgPyDyge/Sygzfm0M0zKN28i58szflmUuCGXNBGM2KIpLdIAlluKKNBwe rLe6IzAL/EpVMyndEj7CxlI6olsHKNt/3lu8G1csahRzQrZ3Bt/GzfEkufJHThbihzEq 9/PE9E1V2OaKDvFdZ+0NEkjAD4cfX9JjsKzdr65OnTrdhgmn0lDbXcHRE11Ax9Vdo1z9 QiTyOPMIxEYkH03iT5F/QUsKg8XAU4RuSuoaAxr9UrfuVjTt+VSE0qnvYWnyifXEZfCG Ey+g== 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:in-reply-to :references; bh=j21YQc98FbWq62rIoNGvcMApcBNsN+myQp4+JRq9P8I=; b=r4OISG8GymWJFIW7ulSqT0qXn7ED7n/XCc5DmN9Aw4O4IF4Xx/vOEX3/xUO8IDu8zE ltHi4MZZubOwMy3QHV/ksIu2b93uwNNvCuyouHrWIW2cpfSTqhKWmEvNE0bz03eDb30p /VctcbWe7v+B7JoO0e6kyId483c5Yrystj1NziyrjOsdXEGqYBOoSt8BNS18RP1scIin UKwJrIn7O/glEKJ7Vda6hnb46oQNGCDYpLSltLCPDcm5YNzkVbaotvqE/6ORvESP30+6 lsPrY5GbbCimUtXbJGX9bV8hst5KPE9+mYN2GDz+Z93fTktlrNC4nQ6rQ6lZh/PWzOfT MlLA== X-Gm-Message-State: AIVw110m3D9W6QheLTmWozt8SqC70GCPu6UXVXbx/ANMnBgJX64IpCq2 bCd46+RhbcNRb9fy2v0= X-Received: by 10.46.71.136 with SMTP id u130mr3383489lja.70.1501285078448; Fri, 28 Jul 2017 16:37:58 -0700 (PDT) From: Aleksandr Bezzubikov To: qemu-devel@nongnu.org Date: Sat, 29 Jul 2017 02:37:49 +0300 Message-Id: <1501285073-2215-2-git-send-email-zuban32s@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501285073-2215-1-git-send-email-zuban32s@gmail.com> References: <1501285073-2215-1-git-send-email-zuban32s@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PATCH v3 1/5] hw/i386: allow SHPC for Q35 machine X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ehabkost@redhat.com, mst@redhat.com, seabios@seabios.org, Aleksandr Bezzubikov , kevin@koconnor.net, kraxel@redhat.com, pbonzini@redhat.com, marcel@redhat.com, imammedo@redhat.com, lersek@redhat.com, rth@twiddle.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Unmask previously masked SHPC feature in _OSC method. Signed-off-by: Aleksandr Bezzubikov Reviewed-by: Marcel Apfelbaum --- hw/i386/acpi-build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 6b7bade..2ab32f9 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1848,9 +1848,9 @@ static Aml *build_q35_osc_method(void) =20 /* * Always allow native PME, AER (no dependencies) - * Never allow SHPC (no SHPC controller in this system) + * Allow SHPC (PCI bridges can have SHPC controller) */ - aml_append(if_ctx, aml_and(a_ctrl, aml_int(0x1D), a_ctrl)); + aml_append(if_ctx, aml_and(a_ctrl, aml_int(0x1F), a_ctrl)); =20 if_ctx2 =3D aml_if(aml_lnot(aml_equal(aml_arg(1), aml_int(1)))); /* Unknown revision */ --=20 2.7.4