Message ID | 20240528095522.509667-3-kirill.shutemov@linux.intel.com |
---|---|
State | Superseded |
Headers | show
Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 68C0016D339; Tue, 28 May 2024 09:55:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890148; cv=none; b=eMUDsDvJGPPpqsRfthKgKRagBYKH7KoYVbUC1C2FvaBYau9w1TjJtlLgGOUbzsZbDlJ8qXAN+Q5DByCsBiKr9CHwpniwozSGIED42p4VtbDtss9b2l/mImK7f7+9l7+wc8cOha8KEx9Zk9ufnQy9ceyowH2rLe6IFzOytaPErCo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890148; c=relaxed/simple; bh=TxEZrVwney4pCeOb1c0lFVUFay3kAApGY+zEuDo/6UA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u94XHSWGhBWfuxKA3XOw2AtBlTY9u/+d7ZS2QqIb+iTBi5LjelgCSYgcm/1QRY9C6HD10wbaj0QbHFxJi/S2sVqfpdDK3aLhbS1alyYK6wpNCs+Ggn68g5ErXVknexyd89ylaKT9fqoDS5vLBgav5xixTiv5Y4toJzT1Yud+hSU= 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=ISSI28J9; arc=none smtp.client-ip=198.175.65.21 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ISSI28J9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716890148; x=1748426148; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TxEZrVwney4pCeOb1c0lFVUFay3kAApGY+zEuDo/6UA=; b=ISSI28J9J/En6TL2TiA5HKrph5PBi9+w9zvi23WejtHcG1Ex2vrKRLVC Ep/YyFeRWq3ZBF2pukkSed8YZnp4A4I8lG/93jqy2ikfWHxY4gYEPkOQ4 rseldJq2Ud9bXCxrR4k8/1BZ5xBXUh0lhGvS8dBU/uzigZmoLSLsNjgRh u1gdUEBEVLcpMzHNqh76QYbUaYecmBCEdkEHIDxqdMapsSaDxpgNkDaLY Hdzep2FX09dQ2ipcSvFiKp7/PRkuF0zRUhxDOGWUrmBmA3Npm+fquDdUB A2MJj6s/jkqrpjCtry+FCT4lZ5CNJ6AkOb4LyX8skiggtJGj3dp9NFi8c w==; X-CSE-ConnectionGUID: cPG2r3aVS1ap3q9X2SbLhQ== X-CSE-MsgGUID: EvFXpF/cTI606YtjQNgD8w== X-IronPort-AV: E=McAfee;i="6600,9927,11085"; a="13172084" X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="13172084" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2024 02:55:34 -0700 X-CSE-ConnectionGUID: LChHeAAwTgClYQS56T0jqA== X-CSE-MsgGUID: c3CvS80vRMKDBemgyyhjBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,194,1712646000"; d="scan'208";a="39984735" Received: from black.fi.intel.com ([10.237.72.28]) by orviesa004.jf.intel.com with ESMTP; 28 May 2024 02:55:27 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 4BE1E40F; Tue, 28 May 2024 12:55:26 +0300 (EEST) From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org Cc: "Rafael J. Wysocki" <rafael@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Adrian Hunter <adrian.hunter@intel.com>, Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>, Elena Reshetova <elena.reshetova@intel.com>, Jun Nakajima <jun.nakajima@intel.com>, Rick Edgecombe <rick.p.edgecombe@intel.com>, Tom Lendacky <thomas.lendacky@amd.com>, "Kalra, Ashish" <ashish.kalra@amd.com>, Sean Christopherson <seanjc@google.com>, "Huang, Kai" <kai.huang@intel.com>, Ard Biesheuvel <ardb@kernel.org>, Baoquan He <bhe@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, "K. Y. Srinivasan" <kys@microsoft.com>, Haiyang Zhang <haiyangz@microsoft.com>, kexec@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-acpi@vger.kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Tao Liu <ltao@redhat.com> Subject: [PATCHv11 02/19] x86/apic: Mark acpi_mp_wake_* variables as __ro_after_init Date: Tue, 28 May 2024 12:55:05 +0300 Message-ID: <20240528095522.509667-3-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240528095522.509667-1-kirill.shutemov@linux.intel.com> References: <20240528095522.509667-1-kirill.shutemov@linux.intel.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: <linux-acpi.vger.kernel.org> List-Subscribe: <mailto:linux-acpi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-acpi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
x86/tdx: Add kexec support
|
expand
|
diff --git a/arch/x86/kernel/acpi/madt_wakeup.c b/arch/x86/kernel/acpi/madt_wakeup.c index 7f164d38bd0b..cf79ea6f3007 100644 --- a/arch/x86/kernel/acpi/madt_wakeup.c +++ b/arch/x86/kernel/acpi/madt_wakeup.c @@ -6,10 +6,10 @@ #include <asm/processor.h> /* Physical address of the Multiprocessor Wakeup Structure mailbox */ -static u64 acpi_mp_wake_mailbox_paddr; +static u64 acpi_mp_wake_mailbox_paddr __ro_after_init; /* Virtual address of the Multiprocessor Wakeup Structure mailbox */ -static struct acpi_madt_multiproc_wakeup_mailbox *acpi_mp_wake_mailbox; +static struct acpi_madt_multiproc_wakeup_mailbox *acpi_mp_wake_mailbox __ro_after_init; static int acpi_wakeup_cpu(u32 apicid, unsigned long start_ip) {