Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2541589rdb; Wed, 15 Nov 2023 04:03:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+yl7EsKSvoXm52zSUu1jAR7EUBTi/MmwqEnyaZX5orMrfLq3awyGF2yHZBWKQxQ8GHuiR X-Received: by 2002:a05:6a20:a112:b0:14c:c393:6af with SMTP id q18-20020a056a20a11200b0014cc39306afmr11234124pzk.0.1700049785153; Wed, 15 Nov 2023 04:03:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700049785; cv=none; d=google.com; s=arc-20160816; b=KAPvE9EqBZIwOsz5+bOSRD4WQ0QcH7fWN/+duB7TsmockklFicLJNUK+AtCatlnTbg iz6i9/xfQfXx4jkWrMO61QxG0D3GmIEmAsesfFGy/BZ9b897v0MjJ7bgPzy5blbdj6gh vhL94uZm8L9smg0Aiuvo7hgQ7KFDngydGQlU9wIMRVhdCnu8FbIy4/y5E0Ya5rx3QZYI N2oig9bDE5m6tQC4Rkcmikqt7ezm9mtm5LtZos/cK3T+kT/vMaZ08uH1NgylmV1MSn7G EZbAM8uwHv0br+V5Ody+pL6OpFRYGQEA1oSfb7a4SHkygw8Pdtn1ZLlMA0zkG+UzlUVi 9RlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kbS9M/VCR4R4ax1MR+N4t7Dh9OgLBvrzDCZdKzmPiTc=; fh=OvJRnOqsMTm9XoNmEwebcqh9Ud7yh1CTeKAP84ols98=; b=YJGk6CWe48t0A+pPwrBVR5jc6zYN6H+heckWcvoGCNtGAzpjxI2yo7cZgYhLM7LpqS 4hwya75/yMFi1la5N+lao2nrN/TLLgLU8wZwspGBd4vr4b19P1mJ36Si/aSYsx8sLRQ6 5zURarzfO5VzZm854L/CtVMSBWUf3I1lQ9NLMmFe9FGRHwTHU0S7YDEz8Ry6ycGkSVwU yuTiySoD05RRh54inCV1/E6PdmWy+H7YUiaqtUL+3U6k/K+I3TbkNs5pFfAfnv6AWNcT Y7a/YK7asfpGmaDlUq5FccOqRP9FrFlh24kYa3QratN0YUpFQtGe6KaP/qtFB7WYJI4R 045g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mEbotIKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bq19-20020a056a02045300b005898e10f9cbsi11278668pgb.572.2023.11.15.04.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 04:03:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mEbotIKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9A09A806A439; Wed, 15 Nov 2023 04:01:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343702AbjKOMBY (ORCPT + 99 others); Wed, 15 Nov 2023 07:01:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343683AbjKOMBW (ORCPT ); Wed, 15 Nov 2023 07:01:22 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2D0DCC for ; Wed, 15 Nov 2023 04:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700049679; x=1731585679; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=grWz3r0NZsaYw33wiQVRx3D5CHNgKdyp6X9/NDUvA9w=; b=mEbotIKkxwhc93UYj5LmUAo4WOdY34GGd2V51hfNdKxa0xKUY7rfgUub 8xB9cOAQujqjGFcxG6Dzk8qkS2WLO96JkuBip1nU6CiQwJ+0iQLi0sjXP cbNdmjfvDv4kmj/6qGNYVOW1ietzfSAn9F9berBjr3iRGQ8n0ecxQqWVF qQus4mHE2mn7IwnmOauMvm5d82Ltr1OFHH/ouO3dxi0hHkzdY1pZ52UO3 bVa2txeXEJvvAw8VqbrRaREC5vtUh1tVTPYs8THt7fkiX3Iu0mGsUNoQ2 1NYI2c7XLj8eBNGkTz4uHetyr23dTFz0uqoWbp4Cr9wiPfwUAMsKYD04l Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10894"; a="394780383" X-IronPort-AV: E=Sophos;i="6.03,304,1694761200"; d="scan'208";a="394780383" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 04:01:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,304,1694761200"; d="scan'208";a="13160207" Received: from mituomis-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.249.44.135]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 04:01:14 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id 4688710A096; Wed, 15 Nov 2023 15:01:12 +0300 (+03) 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: [PATCHv3 02/14] x86/apic: Mark acpi_mp_wake_* variables as __ro_after_init Date: Wed, 15 Nov 2023 15:00:32 +0300 Message-ID: <20231115120044.8034-3-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231115120044.8034-1-kirill.shutemov@linux.intel.com> References: <20231115120044.8034-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 15 Nov 2023 04:01:37 -0800 (PST) acpi_mp_wake_mailbox_paddr and acpi_mp_wake_mailbox initialized once during ACPI MADT init and never changed. Signed-off-by: Kirill A. Shutemov --- arch/x86/kernel/acpi/madt_wakeup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/acpi/madt_wakeup.c b/arch/x86/kernel/acpi/madt_wakeup.c index f4be492b7e4c..38ffd4524e44 100644 --- a/arch/x86/kernel/acpi/madt_wakeup.c +++ b/arch/x86/kernel/acpi/madt_wakeup.c @@ -5,10 +5,10 @@ #include /* 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) { -- 2.41.0