From nobody Wed Nov 27 08:45:27 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=thierry.escande@vates.tech; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=vates.tech ARC-Seal: i=1; a=rsa-sha256; t=1700069743; cv=none; d=zohomail.com; s=zohoarc; b=jR/y1VAdF0LyR4Px+PHMHaOmhpgXiYkuXLzrQ0XU1FE2vP9oTvQAgnSn3wrObu8mxkxLCRkGLsF1n6EbPvhNYgbozkQIFkgp+31Wc9mSFkEzs2L0TMgI8/7TENYn6Uz0y9nfPQ6zfVq7z9qyVyYskICccTyjH7ibRrSvvRlyAPA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1700069743; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=i1KUIQO9g2CZuRmPbda+2Zt1MIb/whRGYxYd60ywESM=; b=n4oZO2MmvW0O6i1kZpian/3nz0+p3ORYMcUCk4Q76ZStyMPnquID++/zh0RLdVSlOeU0ZhAAJDWgr+Y9hc5eMKv5cnf96XEXTPVigPLzpb4AOOUXnZeI5ZQ7pV5Fr7oPqQehrhUCmmpun7ZI8s7ot6IyUySReTNoQ4uiGuGPCDc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=thierry.escande@vates.tech; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17000697433461017.4273026734031; Wed, 15 Nov 2023 09:35:43 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3Jn1-0003hj-VZ; Wed, 15 Nov 2023 12:34:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3Jmo-0003Zt-Bh for qemu-devel@nongnu.org; Wed, 15 Nov 2023 12:34:47 -0500 Received: from mail186-12.suw21.mandrillapp.com ([198.2.186.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3Jml-0000ot-P3 for qemu-devel@nongnu.org; Wed, 15 Nov 2023 12:34:45 -0500 Received: from pmta10.mandrill.prod.suw01.rsglab.com (localhost [127.0.0.1]) by mail186-12.suw21.mandrillapp.com (Mailchimp) with ESMTP id 4SVqdV239Fz705lSg for ; Wed, 15 Nov 2023 17:18:54 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 62533e98bbfc4db9867c94103d9014ee; Wed, 15 Nov 2023 17:18:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mandrill; t=1700068734; x=1700329234; i=thierry.escande@vates.tech; bh=i1KUIQO9g2CZuRmPbda+2Zt1MIb/whRGYxYd60ywESM=; h=From:Subject:To:Cc:Message-Id:In-Reply-To:References:Feedback-ID: Date:MIME-Version:Content-Type:Content-Transfer-Encoding:CC:Date: Subject:From; b=VazxA3WrRgG9hDWv8eZ6XbTouX+X4MpF2UURlDULyXTY1P3L/r6+0qtL/hJ0fGBTi NLDlz+uOzfFZkyuKT9DI+XrulWhejfPpBRxG3/SCNxE1+mwstcEu90FmwAvQR9BPKJ uPhkuyQeSNXP0u2d/+CG4Sp8DuA/BWsJHX1V8tIs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1700068734; h=from : subject : to : cc : message-id : in-reply-to : references : date : mime-version : content-type : content-transfer-encoding : from : x-mandrill-user : list-unsubscribe; bh=i1KUIQO9g2CZuRmPbda+2Zt1MIb/whRGYxYd60ywESM=; b=BzAm5UQ06P50D8CQjB8nixF+Zgw24WgGdUXxf5lIEeDFxR4TtRGuBeQ1XDIVjSbah91jt pl3XfVE8Pwc0KpAJ+v5+Ken10nVoe1BonCmnG6Q7PlkAWHSa1nwCQpih3hxmdR3E6cRvSK4 5zhmvZKTmdiW16nZ863K6tQBREpHVCA= From: Thierry Escande Subject: =?utf-8?Q?[PATCH=204/4]=20ich9:=20Enable=20root=20PCI=20hotplug=20by=20default?= X-Mailer: git-send-email 2.42.0 X-Bm-Disclaimer: Yes X-Bm-Milter-Handled: a6f8c62a-75f8-4756-90d1-92e0b788484c X-Bm-Transport-Timestamp: 1700068732696 To: qemu-devel@nongnu.org Cc: "Michael S . Tsirkin" , Marcel Apfelbaum , Igor Mammedov Message-Id: <20231115171837.18866-5-thierry.escande@vates.tech> In-Reply-To: <20231115171837.18866-1-thierry.escande@vates.tech> References: <20231115171837.18866-1-thierry.escande@vates.tech> X-Native-Encoded: 1 X-Report-Abuse: =?UTF-8?Q?Please=20forward=20a=20copy=20of=20this=20message, =20including=20all=20headers, =20to=20abuse@mandrill.com.=20You=20can=20also=20report=20abuse=20here:=20https://mandrillapp.com/contact/abuse=3Fid=3D30504962.62533e98bbfc4db9867c94103d9014ee?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20231115:md Date: Wed, 15 Nov 2023 17:18:54 +0000 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=198.2.186.12; envelope-from=bounce-md_30504962.6554fd7e.v1-62533e98bbfc4db9867c94103d9014ee@bounce.vates.tech; helo=mail186-12.suw21.mandrillapp.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity thierry.escande@vates.tech) X-ZM-MESSAGEID: 1700069744612100003 Content-Type: text/plain; charset="utf-8" This patch initializes use_acpi_root_pci_hotplug to true and enables device PCI hotplug on q35 machine by default. Signed-off-by: Thierry Escande --- hw/acpi/ich9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index e38c9bb998..ad2c8ad8ed 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -450,6 +450,7 @@ void ich9_pm_add_properties(Object *obj, ICH9LPCPMRegs = *pm) pm->disable_s4 =3D 0; pm->s4_val =3D 2; pm->acpi_pci_hotplug.use_acpi_hotplug_bridge =3D true; + pm->acpi_pci_hotplug.use_acpi_root_pci_hotplug =3D true; pm->keep_pci_slot_hpc =3D true; pm->enable_tco =3D true; =20 --=20 2.42.0 Thierry Escande | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech