Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2656217lqb; Tue, 28 May 2024 06:48:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgaZLbCn7GvCLnPMSphyQBgRQIDK7Fi+8OR3Ww08nDcMW3Th/W5CM/pqKhXXq5hfc9Z8uET7r54v31tdzTRW90qLr4emhPxdoVMNCW5w== X-Google-Smtp-Source: AGHT+IGcpdfOvwZQyf4YSDIhaI9VM6lwdgcHN28gnq8bF0stdSgaA/+bzz8ZWRu+IvKBBqfyaKmX X-Received: by 2002:a05:620a:1712:b0:792:9d41:3636 with SMTP id af79cd13be357-794aa84d24fmr2300364885a.26.1716904107672; Tue, 28 May 2024 06:48:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716904107; cv=pass; d=google.com; s=arc-20160816; b=vze1D265xiYEOqJ5Yq5MeQbF2OedYsHJaksns9p1ZQF2pkAN1o5siGmE5fMOzltVyn 3D3D5qpQjtENsFyb1hGjbZcaZSwyNWzXFk8f1klZhCrV+gUQQjgbTpLrIpS6o/ExRW4d u2Jwr3Er8lP3CRDfrsBf35M8FGXPlFQvPMerRE0aXTfXR5PeytakOh3SGOUoDdpbVfOY dTI2AYj2xtPMMUxUbtfkxsPVU+oUWMN9T22noJviMVJel2IQbL5yGuZQTSd5NurCxL9D kB+dsq12ZksOdQs2q5Hz41sgahzgrlYlKugOhUBhuvkwor6ZvRYSas6wdvRhSjYVK5ss Vpow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Guy/h4AS3sgPsJ1ZoSa+dXWo2WOj/mHMhGiRjv7+LKw=; fh=piasXJPflwfYPkFBKDr6N9IZtYaC2VWyLCr2f1cEFs0=; b=rW8Mkkg673li5OVtMGk3f8hIEKztu/dj/fuvoaacBNU2itMg/Rd1zw9OHwViHP+OiU 82lhcGorVuWs05mdUAs8+C5tZd7RZ7M19hAsf50djm9bHfLC/d5pOL1Ftx3oSZ5O+8Jg gMkp9kWEcmzs8avp+Wz7/LI6XW+UMQ1xBM7bKhVE6jJSCqhG9w+8vJt2aI5wyIt5OFs+ hjlAUWHVcz7NIGbNdrp7IkL+33mYshkgafyoUBdXwzXKmNh1IhbASn79SPst2pyZ4PiL Bbt/sOu5/Lxx75EPUncQiKqbwFlXwt/9dN84zYPDxy4sn98yfbxGB89wlLLctVNCotmX +URQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=UHVe+VJL; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-192448-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192448-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd12ca5si994978985a.303.2024.05.28.06.48.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 06:48:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192448-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=UHVe+VJL; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-192448-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192448-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6965C1C2240D for ; Tue, 28 May 2024 13:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E33E816F28C; Tue, 28 May 2024 13:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="UHVe+VJL" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 ED0E2131E3C; Tue, 28 May 2024 13:48:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716904101; cv=none; b=qH2m6rmoNgNJrhacGbH1haptkTA6sHEcOpBXtnkiKc/Z4nGX2QheQwfB8ciyOZk1AD+4oNzA7ymgfnwyzY78WPHHt5geCFhSiKxQD84DOEShtuYaS5GN4jJPn+AMX2yeOOcZcVT58ZgTDY38CPXnQ4XbWET3Cn4FbXO93lhwQtA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716904101; c=relaxed/simple; bh=9aFLJYx1hIAqcxpFsUeOvsy64ziF3w0rQBQVlCme1Ck=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A3vOtPbV+rSNjmQ7n76IDhFOZWWm9Ahs2YJx+p8C3XXsvoo1OqYa2c7/sQQ0ujKVAAXcPkJWZFfkdLhmk5kIxI9W1VMNDx0xX5KhZfU5nszhHKB2dTNVwMTfTrOCG7EJaVV7yrnRRKuMWnX7nE5MhjSTB0qVOLX1DO8gB+X71xc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=UHVe+VJL; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 7FD7E40E01E8; Tue, 28 May 2024 13:48:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CWC8d6f-MDCs; Tue, 28 May 2024 13:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1716904086; bh=Guy/h4AS3sgPsJ1ZoSa+dXWo2WOj/mHMhGiRjv7+LKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UHVe+VJLKxqmmtkpxms4dUr0g/20OaUMpQ+JRwZRuN1GSfREbHsKJk+wWNo3sBASH vViwlJqr0X3E50WR/RV2rb9br0vG7P4HHCH+X992vEcu8o8VsXdOmeuyfkfzoRk5Id mgzRod/x6CXL2OrgSEKzUVLq8Uu+vHMoXNjAgq196nD2B3h+A/Tw27OwxJebUsH6uE ijScMkhRN+y/S96jP/wtRYQSKM/SYysV+8dzCx6FOYVYob4GUH/b9wd0fB5Hg5CtQ6 IKtuoxENR6sgoU7MP53+xCfRN09gw1R31Hzmebne7xKPw0EUGPFOJZrOO1HX1X6Tq6 Bqct9q38hnC59egLzl+drAo7XKWQqQTUBT5/DjFEO036M7T0dZKdEadmeKJPsX6qXo 39ffhazzPIfSkpdril9twBshfoyvbb1EPnKelclQpzgWk0dl27wyKIn76sUM1R95Xq ss4FKsfTLH7ncDroEpTC6jg8+W17ilVa/IviXbOgLEZTADalBxOE/TQEoEEy/LWHI3 lIlJ10Yqxydv1RkkysonL81mOsbiVkj0UQ2B01qSOiVfNrB8x2TMWJ9mGUzbujVkb9 bEbNGx+hklBRDxaaRRN1F5gGFwwkpY94w/BnLkhbtNxmwdA2zwdecVb4DnRC2XzFjU DMFJEQBguDr6la4S4voQfyOU= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 0A1B840E0177; Tue, 28 May 2024 13:47:39 +0000 (UTC) Date: Tue, 28 May 2024 15:47:32 +0200 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , Ard Biesheuvel , Baoquan He , "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , 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 Subject: Re: [PATCHv11 01/19] x86/acpi: Extract ACPI MADT wakeup code into a separate file Message-ID: <20240528134732.GHZlXgdO88f3j0Biu9@fat_crate.local> References: <20240528095522.509667-1-kirill.shutemov@linux.intel.com> <20240528095522.509667-2-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-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240528095522.509667-2-kirill.shutemov@linux.intel.com> On Tue, May 28, 2024 at 12:55:04PM +0300, Kirill A. Shutemov wrote: > In order to prepare for the expansion of support for the ACPI MADT > wakeup method, move the relevant code into a separate file. > > Introduce a new configuration option to clearly indicate dependencies > without the use of ifdefs. > > There have been no functional changes. > > Signed-off-by: Kirill A. Shutemov > Reviewed-by: Kuppuswamy Sathyanarayanan > Acked-by: Kai Huang > Reviewed-by: Baoquan He > Reviewed-by: Thomas Gleixner > Tested-by: Tao Liu > --- > arch/x86/Kconfig | 7 +++ > arch/x86/include/asm/acpi.h | 5 ++ > arch/x86/kernel/acpi/Makefile | 1 + > arch/x86/kernel/acpi/boot.c | 86 +----------------------------- > arch/x86/kernel/acpi/madt_wakeup.c | 82 ++++++++++++++++++++++++++++ > 5 files changed, 96 insertions(+), 85 deletions(-) > create mode 100644 arch/x86/kernel/acpi/madt_wakeup.c Acked-by: Borislav Petkov (AMD) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette