From nobody Wed Nov 27 08:43:53 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=1700069759; cv=none; d=zohomail.com; s=zohoarc; b=ZSwlSlt5IcM+QWCyEYFQnmq3MCnIdrE6+CvSrVYTc3YB5qdlloOzGYUlbgyCNSF7artsIMUnd7SKvjmCZ6fKMJ8dhXrTVKIOqc2bEfbdHc/YthIZD+1Hm4Iuy7IUXtPk/qWnYtZ5fpaSrVh72c5rYUnpoNRjOl14PasHG5T3s3c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1700069759; 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=772UvSNMErfiNXPs1WP9aAygWLVrIlAWrweCRbp74Kg=; b=jMk9Jg0UnsavHOzfnNp83b+J1yhkYbHOsDmShvWz4bhrPLu3OmoGXQKnTYhr6bWCaEsM7irMlYWS24mOJADn4+vxkXGtSgScsR3tj3HakcTgiVhuJ8wO4RHw21kX2D76FzPO6/0HRA6Ia4y2CS6Rab3H2YY4SRDmRaljhDaP1vM= 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 1700069759187574.9069100905847; Wed, 15 Nov 2023 09:35:59 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3Jnq-00057M-K7; Wed, 15 Nov 2023 12:35:52 -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 1r3Jnn-00056R-NK for qemu-devel@nongnu.org; Wed, 15 Nov 2023 12:35:47 -0500 Received: from mail132-20.atl131.mandrillapp.com ([198.2.132.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3Jnl-0001j1-3F for qemu-devel@nongnu.org; Wed, 15 Nov 2023 12:35:47 -0500 Received: from pmta09.mandrill.prod.atl01.rsglab.com (localhost [127.0.0.1]) by mail132-20.atl131.mandrillapp.com (Mailchimp) with ESMTP id 4SVqdT0DNNzFCWscr for ; Wed, 15 Nov 2023 17:18:53 +0000 (GMT) Received: from [37.26.189.201] by mandrillapp.com id 20b5511b4cb34608958f8e8a5fc5fd67; Wed, 15 Nov 2023 17:18:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; s=mandrill; t=1700068733; x=1700329233; i=thierry.escande@vates.tech; bh=772UvSNMErfiNXPs1WP9aAygWLVrIlAWrweCRbp74Kg=; 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=hDwEqpFA0qqmP22kbUFjuWrLziCAOczYQCOhiFc5NtAt2CCqEBUhKLSeCjcvQ8aey S13qBYDq1SRo74HkMHdUNTN6UaA92D2I9Y0Buc2lkqo0/qoo+auvLQoklXDClUzXjB MSBk1QH1xd93iAlZUU+0+LjFTjXuNNX3eCLAO+G0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1700068732; 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=772UvSNMErfiNXPs1WP9aAygWLVrIlAWrweCRbp74Kg=; b=Y17s3VkUpGQuywqwbPLMvnCJvbcZWZa2DFfr/Rgi7o4mYLxsR9+peB+xlI9KqMP+CLybe XV4Q9wYHja3Dn8cjYxd7ehZRWftYSxduHKe+9TQhPS4B+Pj1r/ZgvOkkmzNhPQEKt+b4u8r MGbV7REthkw9baHHrkgpfFZHc9bXODU= From: Thierry Escande Subject: =?utf-8?Q?[PATCH=202/4]=20ich9:=20Renamed=20use=5Facpi=5Fhotplug=5Fbridge=20accessors?= 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: 1700068732078 To: qemu-devel@nongnu.org Cc: "Michael S . Tsirkin" , Marcel Apfelbaum , Igor Mammedov Message-Id: <20231115171837.18866-3-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.20b5511b4cb34608958f8e8a5fc5fd67?= X-Mandrill-User: md_30504962 Feedback-ID: 30504962:30504962.20231115:md Date: Wed, 15 Nov 2023 17:18:52 +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.132.20; envelope-from=bounce-md_30504962.6554fd7c.v1-20b5511b4cb34608958f8e8a5fc5fd67@bounce.vates.tech; helo=mail132-20.atl131.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: 1700069760676100003 Content-Type: text/plain; charset="utf-8" The accessors were named as ich9_pm_get/set_acpi_pci_hotplug(). This patch renames them as ich9_pm_get/set_acpi_hotplug_bridge(). Signed-off-by: Thierry Escande --- hw/acpi/ich9.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 25e2c7243e..e21732b547 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -398,14 +398,15 @@ static void ich9_pm_set_enable_tco(Object *obj, bool = value, Error **errp) s->pm.enable_tco =3D value; } =20 -static bool ich9_pm_get_acpi_pci_hotplug(Object *obj, Error **errp) +static bool ich9_pm_get_acpi_hotplug_bridge(Object *obj, Error **errp) { ICH9LPCState *s =3D ICH9_LPC_DEVICE(obj); =20 return s->pm.acpi_pci_hotplug.use_acpi_hotplug_bridge; } =20 -static void ich9_pm_set_acpi_pci_hotplug(Object *obj, bool value, Error **= errp) +static void ich9_pm_set_acpi_hotplug_bridge(Object *obj, bool value, + Error **errp) { ICH9LPCState *s =3D ICH9_LPC_DEVICE(obj); =20 @@ -461,8 +462,8 @@ void ich9_pm_add_properties(Object *obj, ICH9LPCPMRegs = *pm) ich9_pm_get_enable_tco, ich9_pm_set_enable_tco); object_property_add_bool(obj, ACPI_PM_PROP_ACPI_PCIHP_BRIDGE, - ich9_pm_get_acpi_pci_hotplug, - ich9_pm_set_acpi_pci_hotplug); + ich9_pm_get_acpi_hotplug_bridge, + ich9_pm_set_acpi_hotplug_bridge); object_property_add_bool(obj, "x-keep-pci-slot-hpc", ich9_pm_get_keep_pci_slot_hpc, ich9_pm_set_keep_pci_slot_hpc); --=20 2.42.0 Thierry Escande | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech