[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 6/6] x86/ACPI: drop dead interpreter-related code


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 5 Nov 2021 13:35:46 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GaKPFWGowONl59x/p9INNuBefQFrOkbIUigpYW5UB78=; b=FFDhcp2ltYwTcaetsNR3PrymCj21o3jdsoZb2XI+Gv4gwce9pMXz8dzYxZFJU2ll1Y0h9+AuUE5NoFKQtnLIlNqOdFoMX9WYpU8ARJfT6WTyUEUiyP8o324BgwthL5ZxruZ4AvIX1VfxRY+lkwrXdiykPyr0vvayw7O9CQZO6I6bxwZIe7yhg2v0aczYu5LcjfjmvRUrzZ3Mlj6PJk6TogI+Nd+Q+qyIQRX9Zd8aeJu1NIwDRKZ/37baK3heSsyhYDz55vTmq4pXmAaQS0renYmLulcuU03ArjjqVVAs9uyOlUKypa657tpSPeZk5d2H6tZZ0ohLQgAdo8mAId5SjQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bT3g1O2fjo3w8l5wh/07F87aPjFggzh5gYjJXRk7PgzOS0Dz1un/TunethOuQlWtPl0o6tELzta21QFCv58eQP/TEzm45+EkGHJWCwL/cYK51QA2aUdBXSgYPmGb05zACJlmfYFh7QQg5SaoWI0SuREHnA60fvhkHUqme89zR/rtX6NmZvxXO7jDAtg1AzYr3d4dL18t7+6hAnn/KJYrlyphRSoZq8LuoniZJm7s7wg4QM1ttDe+P+6WDlfMGnT90bIzlIPIMgn8HgpQWgZai8u2GFrmqi9gO40XRToZPjb2CetQTJ6qtNprfEmaOKpvSLaf4twSMSerjaEkQLvbNA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 05 Nov 2021 12:36:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

CONFIG_ACPI_INTERPRETER does not get defined anywhere, the enclosed code
wouldn't build, and the default-to-phys logic works differently anyway
(see genapic/bigsmp.c:probe_bigsmp()).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
v2: New.

--- a/xen/arch/x86/acpi/boot.c
+++ b/xen/arch/x86/acpi/boot.c
@@ -477,16 +477,6 @@ static int __init acpi_parse_fadt(struct
        const struct acpi_table_fadt *fadt =
                container_of(table, const struct acpi_table_fadt, header);
 
-#ifdef CONFIG_ACPI_INTERPRETER
-       /* initialize sci_int early for INT_SRC_OVR MADT parsing */
-       acpi_fadt.sci_int = fadt->sci_int;
-
-       /* initialize rev and apic_phys_dest_mode for x86_64 genapic */
-       acpi_fadt.revision = fadt->revision;
-       acpi_fadt.force_apic_physical_destination_mode =
-           fadt->force_apic_physical_destination_mode;
-#endif
-
        /* detect the location of the ACPI PM Timer */
        if (fadt->header.revision >= FADT2_REVISION_ID &&
            fadt->xpm_timer_block.space_id == ACPI_ADR_SPACE_SYSTEM_IO) {




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.