From patchwork Tue May 6 14:35:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 887788 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp2584791wrq; Tue, 6 May 2025 07:40:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU/PIpaoCxeZATpeI7OF+p6WAAPF79JNuhgLxFJh52MDB++xDNzffIDse7tH/foqyCuTgQBdw==@linaro.org X-Google-Smtp-Source: AGHT+IGOh4IRXoIOtLYUx+qSeqZIkJ2pJLkjKee7PvgJhdAPOBfdvocl/cabO8NdCl0kIACYFRIk X-Received: by 2002:a05:622a:5c94:b0:472:801:3e74 with SMTP id d75a77b69052e-48c32ac7430mr312951001cf.41.1746542442858; Tue, 06 May 2025 07:40:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746542442; cv=none; d=google.com; s=arc-20240605; b=SAuepLKEpo7rhMzJ/AqQ0y//2dBS9Khw8/VsYZUjsTNARktdVJPviGqW/waixIP7eb nfcra8skUl/+8B3+9sDj8d3hSo9y7h3S/nq3ljavhPtK8kH7qNcSpF8UP3W4eHeftMxN lQGWiGlzw3Ha4V2wVHEMvek2bD16LTR1KTd+JOh8cW58spjRdHujAtaF3dCHqm9onPmG M0p9nO3RuL2QIx1dMqkwMYoNmbgLBhTkAChj0P1kE0iFjdWv6YRcNhc40ka0+yWyjsFf z1HZwWjBTBqxDVbv6QUi1uEMK2NRkas/cQaTXuREJoYOfgcI28kZvLmM+Q0UNLzEyTnP Z8uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=K+ePe9xc1+7Hh1G4ScYYntuCTcijTJucTsY2+jDiMmw=; fh=DoaJzDF0xg44AjSTBoH+rzQ/aXqedjry3fEJUihUKnY=; b=TMIDehcDbcFwDzuJAQQijpggKCJa9HDVSNZLyx6MirLakzso2ypsAiFExJNoVS1C/x WS8aqZLWnLLfI735DIMNIMiftbEXtezq6bZzxF0Xeb0s4b5xc29PuAbLnSN9LoJ18PUI fj/kITQOf2P8EzY0508JSQ5HSLrGD82+H+cvPtB34st6FNdcVSOtNKWOU372Eq3ITPHh HVlJV6tuV33mnKoeMB/EypUdkoj92FruP8rh5hJ6QUWqf7axuzaYrm5JfsNXRU/+HtWo RqTYCBeWWG4HUSoqul0mNeH3zXRh8Z6Z+Avd4ByTApC9jloOUBhUIsviA9wDryQiKRcO /7QA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="o7u/7wLa"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-48ecee9e5f5si59126421cf.172.2025.05.06.07.40.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 May 2025 07:40:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="o7u/7wLa"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uCJRK-0003g6-Bv; Tue, 06 May 2025 10:38:34 -0400 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 1uCJPs-0000Zc-6X for qemu-devel@nongnu.org; Tue, 06 May 2025 10:37:11 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uCJPo-0001C3-9y for qemu-devel@nongnu.org; Tue, 06 May 2025 10:37:03 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-39ee682e0ddso3874547f8f.1 for ; Tue, 06 May 2025 07:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746542218; x=1747147018; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=K+ePe9xc1+7Hh1G4ScYYntuCTcijTJucTsY2+jDiMmw=; b=o7u/7wLaT/tZNmqmd1oElzWF5mXuTfpYzpJfOHfGNJgqW3hR5KKNOZ2OWnupUS0r5m ISooam33R/E+Wat6HBKSJTQfioij4YbGNTdjocybiZEtTb2gru1VPr6aK2cU1uqex+Iu 9zlkBcS/Vzict20K1qmMrOUHYizm1OyUhH4Gg0z4jq41gV7qGXDSmlrtwKlBNy4nrtKd 9Qt166qX8nvqlZzL8UWPFr4tShluEJhDVAF8YtLSKxLaytiME++BqwKLwiE1C8lzePEp yeWLBDLotRBY5poHQyL18rZmN4kd1j5wkk3EszfnOwPNtZ6rNg4eW6xJaPwCDH7bcG89 QXdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746542218; x=1747147018; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K+ePe9xc1+7Hh1G4ScYYntuCTcijTJucTsY2+jDiMmw=; b=HGbu5+uN6s8ROa/7Te9LJahORZZJ2lVnWooTndDNqi54KDB5ku028GQq8/QmI+GVmR 9Xz2qeSV8OMc/JNB7jxsuHoux28QRVOmG5xikbXHw4MNmVzXPLU6ePv95fu9HFlmvHkL 4HvccDOPAbTSQ6k44Xzk+8EyxU/CqpXw3NtDERPYRUAKPA4RRVHrQYO4HbeHBENsQ5/V TRADamLhpoNphhs8rdZzCnoOL9K6vygN2JwXn2nP1XRuytk5SQRzepqDbDplA/CgUe+0 fzSe3AM/DjGsUOfJUF7vgn3kb0+g0xRpafe0AWSn66LmYP/531J7Anj3R4m56krTVbM6 S3OA== X-Gm-Message-State: AOJu0YwfDHBieSzpgp5f+B/twprjJGmbzw/eSzSpL8MfqN1HKb7xBTrq j3rw7l1ovNIcJT3qaxM/WcZbKxOt0ssUAu/3Zyu34wSGFeUXvpBQeA1AFpzmcVyfhVRQ2/I0X+S E X-Gm-Gg: ASbGncvSSImgzpzpbw+umE/sqDxCn7VcoJmwdONkW8l76WUwngQLZMtr8PnFlNNK+Q4 PFNOjhekdjdqldFLEdUrflylXA1NbgIA1bdzKlsxN9ho8SlBRawvPjkT4PoCE2+TqWg214WEHif kmpKbDLGUdOGnX3WW5jAFq9z8l4zshYEwi+OwbS5ckbI+jm25yHb8SGvl3jdYLOIkAZzE1iK9/N KcKKRqMZPDvWYt20YfDctXCAwnUUghsX9o/mbJnx3LPSMT3juylaglWF2mipftxFmvWr2TZpReU qtQ8BwMYfa0YdHx4JD9O1mMSQIMhsqp46S8WLDWY9NJVAUCfS3oDHQf4pcJcTG68GXwdUqvKhPw FmZ6S0CjqLf72ICmd307+ X-Received: by 2002:a05:6000:22c7:b0:39a:ca0c:fb0c with SMTP id ffacd0b85a97d-3a0ac0eaa3dmr2709117f8f.28.1746542217769; Tue, 06 May 2025 07:36:57 -0700 (PDT) Received: from localhost.localdomain (91-163-26-170.subs.proxad.net. [91.163.26.170]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a099b0ffbfsm13649447f8f.80.2025.05.06.07.36.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 06 May 2025 07:36:57 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Gustavo Romero , Eric Auger , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 21/22] hw/acpi/pcihp: Fix typo in function name Date: Tue, 6 May 2025 16:35:10 +0200 Message-ID: <20250506143512.4315-22-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250506143512.4315-1-philmd@linaro.org> References: <20250506143512.4315-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philmd@linaro.org; helo=mail-wr1-x436.google.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, 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_NONE=0.001, SPF_PASS=-0.001 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Gustavo Romero Fix typo in QEMU's ACPI PCI hotplug API function name that checks whether a given bus is hotplug-capable. Signed-off-by: Gustavo Romero Reviewed-by: Eric Auger Message-ID: <20250504215639.54860-10-gustavo.romero@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- include/hw/acpi/pcihp.h | 2 +- hw/acpi/acpi-pci-hotplug-stub.c | 2 +- hw/acpi/ich9.c | 2 +- hw/acpi/pcihp.c | 2 +- hw/acpi/piix4.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/hw/acpi/pcihp.h b/include/hw/acpi/pcihp.h index ac21a95913c..a97904badaa 100644 --- a/include/hw/acpi/pcihp.h +++ b/include/hw/acpi/pcihp.h @@ -58,7 +58,7 @@ typedef struct AcpiPciHpState { void acpi_pcihp_init(Object *owner, AcpiPciHpState *, PCIBus *root, MemoryRegion *io, uint16_t io_base); -bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState *s, BusState *bus); +bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus); void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, Error **errp); void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s, diff --git a/hw/acpi/acpi-pci-hotplug-stub.c b/hw/acpi/acpi-pci-hotplug-stub.c index b67b4a92da7..b7bc6e40a1e 100644 --- a/hw/acpi/acpi-pci-hotplug-stub.c +++ b/hw/acpi/acpi-pci-hotplug-stub.c @@ -34,7 +34,7 @@ void acpi_pcihp_reset(AcpiPciHpState *s) { } -bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState *s, BusState *bus) +bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus) { return true; } diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index c7a735bf642..a07c9d115b3 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -570,7 +570,7 @@ void ich9_pm_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, bool ich9_pm_is_hotpluggable_bus(HotplugHandler *hotplug_dev, BusState *bus) { ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); - return acpi_pcihp_is_hotpluggbale_bus(&lpc->pm.acpi_pci_hotplug, bus); + return acpi_pcihp_is_hotpluggable_bus(&lpc->pm.acpi_pci_hotplug, bus); } void ich9_pm_ospm_status(AcpiDeviceIf *adev, ACPIOSTInfoList ***list) diff --git a/hw/acpi/pcihp.c b/hw/acpi/pcihp.c index 5f79c9016b4..aac90013d4a 100644 --- a/hw/acpi/pcihp.c +++ b/hw/acpi/pcihp.c @@ -371,7 +371,7 @@ void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev, acpi_send_event(DEVICE(hotplug_dev), ACPI_PCI_HOTPLUG_STATUS); } -bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState *s, BusState *bus) +bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus) { Object *o = OBJECT(bus->parent); diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c index b16d45f03e1..d98b80df6dd 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -406,7 +406,7 @@ static bool piix4_is_hotpluggable_bus(HotplugHandler *hotplug_dev, BusState *bus) { PIIX4PMState *s = PIIX4_PM(hotplug_dev); - return acpi_pcihp_is_hotpluggbale_bus(&s->acpi_pci_hotplug, bus); + return acpi_pcihp_is_hotpluggable_bus(&s->acpi_pci_hotplug, bus); } static void piix4_pm_machine_ready(Notifier *n, void *opaque)