From nobody Tue Dec 16 08:32:54 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1501964906048391.71401306036114; Sat, 5 Aug 2017 13:28:26 -0700 (PDT) Received: from [127.0.0.1] (helo=ra.coresystems.de) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1de5do-0004DM-Ma; Sat, 05 Aug 2017 22:25:44 +0200 Received: from mail-lf0-f65.google.com ([209.85.215.65]) by mail.coreboot.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1de5dd-0004Au-2A for seabios@seabios.org; Sat, 05 Aug 2017 22:25:42 +0200 Received: by mail-lf0-f65.google.com with SMTP id y15so3061059lfd.5 for ; Sat, 05 Aug 2017 13:27:55 -0700 (PDT) Received: from localhost.localdomain (broadband-109-173-19-108.moscow.rt.ru. [109.173.19.108]) by smtp.gmail.com with ESMTPSA id e42sm1978197lji.81.2017.08.05.13.27.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Aug 2017 13:27:53 -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=3ZfGBL3FcTmLBBVcx+/pYcBbEuP08DHyTy4y02qSYIY=; b=AE7+h1Ab45ISwiWqgBo+GezZSs2AIlkgBg9xjuokBO+yP5JPU8B/K/e2enr9ih4+iK j97QLpSh6B7lWL83ZJN5ww0eLwyKn5Ru30PvXQNF8rirxCu/VvnquQMhZHS6VMJu47c6 UGWUkMSmYaAhPAFPrF5NsiDhDkGs6Kgpf2OyhS/WySyfdnfuzZAJWca3QRgS1+6rlzeb j1XAGCzXVEyxbHTRwfR8UoroVFdt3xjoCE0QqsGzAU0JO3LwcqZCBkZ1ITSjbpMPScen Q7PribwrRn9JL4fVruwPX10rH1LXiY1ZLN5hcOB5P8ZfCi/NgzXoA2OwOGZbsvxsoELa 7lpg== 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=3ZfGBL3FcTmLBBVcx+/pYcBbEuP08DHyTy4y02qSYIY=; b=TO1WCFOwy/Eak5E434ZNFemUfFXsXNY2+Ybn7+ssBEPJ7+7ThGeapdXPRl1+bXOgwZ 1ysMGQ65FgwWlaHBfalKFqQUQ0Uky7N9IWa7qM3jfQ7QvsoPdesTum/DXjRKqVikPP/H I+27kGLrS5UORyLkitK79/sXkFdmRpSOygRLPw9P3Yr6AUjlFxyp1LPh0H8p9BBlfdNY RDfVojfEfu7rKowmBHOcmMVSysxnh3+4kHXAtGFJ9x+nKlGIrP3lr2AvyvzyXCpTV1iM lwobskVRHv3S9g2R5NU5uoxOLkuIZlVknlVxPXsbr01PeJ5xVg/KDYatnhKoGWYpAjnD LCMw== X-Gm-Message-State: AHYfb5j7ytOF6p8eSlzQjY66sR/Wm74lfavdsYguzAi4UJNsOAUVhINZ D5mpDwInFWPRJw== X-Received: by 10.25.212.136 with SMTP id l130mr2024196lfg.189.1501964874177; Sat, 05 Aug 2017 13:27:54 -0700 (PDT) From: Aleksandr Bezzubikov To: qemu-devel@nongnu.org Date: Sat, 5 Aug 2017 23:27:34 +0300 Message-Id: <1501964858-5159-2-git-send-email-zuban32s@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501964858-5159-1-git-send-email-zuban32s@gmail.com> References: <1501964858-5159-1-git-send-email-zuban32s@gmail.com> X-Spam-Score: -2.1 (--) Subject: [SeaBIOS] [PATCH v4 1/5] hw/i386: allow SHPC for Q35 machine X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mst@redhat.com, seabios@seabios.org, kraxel@redhat.com, pbonzini@redhat.com, marcel@redhat.com, lersek@redhat.com, rth@twiddle.net MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_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 b9c245c..98dd424 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1862,9 +1862,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 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios