Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2949215lqp; Mon, 25 Mar 2024 14:11:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXT5rTGmq1ulH8vvfS55rI043woTyt8KLtZ7UN6awZbHd0cD1tkg288dIKX60XT95GyPU810w8sJ0RCHxPEJDdUgl6iNwNpIgz7oSyrtQ== X-Google-Smtp-Source: AGHT+IEm4O3tE0DDfCByWPFp4PjL/dgAINc5iQ1P6Oz/DZzptq0SMprhSU6ZPjltCKjDx7H/h7N3 X-Received: by 2002:a17:90a:49c8:b0:29b:4a20:18b7 with SMTP id l8-20020a17090a49c800b0029b4a2018b7mr6130464pjm.8.1711401080353; Mon, 25 Mar 2024 14:11:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711401080; cv=pass; d=google.com; s=arc-20160816; b=YnYeUd1qr8LwjjyjjNFcPo/Quv3Otqxz1hOpqfLuFDkCjD+b9Be2qbgz8J7UEr3E+k 6OahOVk+6pCHcr1PaqPAcOmVw0NHE5KCZIgsK6a1jC5hdb5O1yg8862//d3x4QiSY14T BxH9mJrkZ8aDigM0fZ3xsTvZZ/kWPiF9RBvy9VfSjRNhef69Rhfl0vqJZ1WbVG7GPt4I hzVev0e/bJkxk7XRGvUAuvyBeVxw10nBDUYJEKG0sLsYj23oU5wZJIa9IJJ3jLuVvBtR Op4xuUOUX1JwqqNxb8sCMpOolEwI4csgPF3OUrddou7iNphpvXDm9wQbRq5dgK519An+ NR9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/F//wi4v4NSuFeUhp5DsElNj4hG99xI8DSoq1ERe6f0=; fh=OvJRnOqsMTm9XoNmEwebcqh9Ud7yh1CTeKAP84ols98=; b=v12+1L+IQzyiYv3h+XcmGRCbImD0FWdr91462YaUiX959MkfUmAjYv8w6CDi6Gu6aK jfZYofNuIV4akEqQwmlHdZItyKjFDSzjFQp+UjWEC27oynSUu6Qud590pfyPeNzdCXht GQyffgdg2ZtwWftMSA59MyEfoN1ogR6wdEecCvR9Y4Z3fR3uo89fPpZ//d4Tcna9U/M6 QLcpzgdSiyun0mId6584zypiqlEfAfmh1ccAHqgmt0AScODFzsLrYUp6zYaCzuya0N5V XMuVtFNIpdf0tsnvmzUgVqcMoy1zUwekVvJoe6O+Eo/fEbe8syGK0Bjz3HfGtQAnsVbh 7K3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SWdQxKTw; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-116857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116857-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w14-20020a17090a8a0e00b0029c7692a095si4794536pjn.120.2024.03.25.14.11.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 14:11:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SWdQxKTw; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-116857-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116857-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D4A6EBE0F3B for ; Mon, 25 Mar 2024 14:28:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23A161856D5; Mon, 25 Mar 2024 11:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SWdQxKTw" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9733B14A4C7 for ; Mon, 25 Mar 2024 10:40:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363219; cv=none; b=QTessnNFZvx9d1XoIhopD3k/9mFXDz3qyAMWNDCa6ralOYvI1Ur1CuDH4IpraV8RY09B03d+702HjK9s7eYS7IhAj562WT/S+gkbb6XD8tRiAEsjU6TWMz6GdCxbCRzGgOQpvSYovNzjLHcqyQ6GxTyqpCcmrfS/CLxj/1KswRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363219; c=relaxed/simple; bh=pJgXfq63C3arXvCjRGyfK5PtseQeqyNecMgpXB9cqPk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Z+k3j8GR5fHxO/AJDsiBP8k6kJtbb6os23GrZlJntD3VW4SmNCDkumYiyzI9atU3pCCnYLrTPpJL6t4UrJhJKJHPJu+tA8X+sA2NMncowA51Xl55//fPsMkJvNGvA2Qq4arztBE1JnT5I6fuloDgnKczWAnfE++le7iyTnnde7s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.helo=mgamail.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SWdQxKTw; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.helo=mgamail.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711363217; x=1742899217; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pJgXfq63C3arXvCjRGyfK5PtseQeqyNecMgpXB9cqPk=; b=SWdQxKTw3W5EiQFuIf7nlZBWQ16X1Jv8lo/q8AX6BbEbiGTRUqNjERNe HDpOYMbGjBepW9YE3l8W9ERH2Zzj/g5SRC+7Gi9m0l88plZicDY38j/LH bq6NMAoxedaLx4L0Aupe0A3KldQ11pS0385C6YlUT0sx+JkP4St1OXNLC fOv9N5pL8fRLT5SIqgJa3yXW5gybptzHWZ/qLsNg764IiE6xw3Q0JhMpc K/uwWF+oF9GIG+o8tgNs3IWaHZg2I1FGB/iLNEAYMx1CLTJLH11Lp5Sxk NJSRzNT7oQNwIKsmv1zRxPxhZwaEE61jMHRoEBxxO94wtc90uEiDNOhWi w==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="6561367" X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="6561367" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 03:40:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="937070151" X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="937070151" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 25 Mar 2024 03:40:11 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 89FDDF2B; Mon, 25 Mar 2024 12:40:05 +0200 (EET) From: "Kirill A. Shutemov" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org Cc: "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , Baoquan He , kexec@lists.infradead.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCHv9 12/17] x86/acpi: Rename fields in acpi_madt_multiproc_wakeup structure Date: Mon, 25 Mar 2024 12:39:06 +0200 Message-ID: <20240325103911.2651793-13-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240325103911.2651793-1-kirill.shutemov@linux.intel.com> References: <20240325103911.2651793-1-kirill.shutemov@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To prepare for the addition of support for MADT wakeup structure version 1, it is necessary to provide more appropriate names for the fields in the structure. The field 'mailbox_version' renamed as 'version'. This field signifies the version of the structure and the related protocols, rather than the version of the mailbox. This field has not been utilized in the code thus far. The field 'base_address' renamed as 'mailbox_address' to clarify the kind of address it represents. In version 1, the structure includes the reset vector address. Clear and distinct naming helps to prevent any confusion. Signed-off-by: Kirill A. Shutemov Reviewed-by: Kai Huang Reviewed-by: Kuppuswamy Sathyanarayanan Reviewed-by: Thomas Gleixner --- arch/x86/kernel/acpi/madt_wakeup.c | 2 +- include/acpi/actbl2.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/acpi/madt_wakeup.c b/arch/x86/kernel/acpi/madt_wakeup.c index d222be8d7a07..004801b9b151 100644 --- a/arch/x86/kernel/acpi/madt_wakeup.c +++ b/arch/x86/kernel/acpi/madt_wakeup.c @@ -75,7 +75,7 @@ int __init acpi_parse_mp_wake(union acpi_subtable_headers *header, acpi_table_print_madt_entry(&header->common); - acpi_mp_wake_mailbox_paddr = mp_wake->base_address; + acpi_mp_wake_mailbox_paddr = mp_wake->mailbox_address; cpu_hotplug_disable_offlining(); diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 9775384d61c6..e1a395af7591 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -1117,9 +1117,9 @@ struct acpi_madt_generic_translator { struct acpi_madt_multiproc_wakeup { struct acpi_subtable_header header; - u16 mailbox_version; + u16 version; u32 reserved; /* reserved - must be zero */ - u64 base_address; + u64 mailbox_address; }; #define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032 -- 2.43.0