Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp1022838lqp; Thu, 23 May 2024 07:05:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUIQU1cHyaO+O2Br6i+AFhwFiKOXardTIsVWkdz6dPjwbmU3//E3XZkQQgjGjTRBJ+1l4Kv4dOS3rg+N3IUf3eRdOQAiJY4zPWEu04KtA== X-Google-Smtp-Source: AGHT+IF8WOUSkq7K9vWCbec26P0bEnRWQq7h/LmpGhiTv7Cwcv55UWjygXj+ihSEGaa2H1TYMia9 X-Received: by 2002:a17:90b:1991:b0:2bd:f1d5:8e3f with SMTP id 98e67ed59e1d1-2bdf1d590d2mr1052091a91.41.1716473115383; Thu, 23 May 2024 07:05:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716473115; cv=pass; d=google.com; s=arc-20160816; b=jSMp+wBH+AkViIuB7gYjIJkfF8Gk4a3S/1pox4iGGTB/w3UVukMvNH0Xl08mWJHbt9 1l9ptEuUvz/d8TUaZMcM1PTSUVJ52PJoQGi+cXB/9sF8DdHVY8zHnPww2oVy9vhz5t9J J51H3E+FWXeASP/1d2rBtofI47L9M0BWL+X+w8UqySOT6YDgldohuSHN5bNl/k+qdE8o 4z+3Ll5rOcM4FQlUS3q39Tbvw1Nq5DGqtN7+f0X7QfSPnoiDIT8iFOLj3Dz0taYg625T SAmabSMyOldUdB9GznpwQdAh1WrxU0RLdxv2W3gCvszbwaT3P57j/67sz8hS0b5lnR4s nYJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=+N81KTAmxqigDRwmaMjHxrB3yOtm6eDGK4EsQAR05Bo=; fh=xG1IXIHIGFitFTRbgRq00EfDULZiM9UOUNj5vv64dDk=; b=MyErTF2swBjsmFd6apXsVTqGDGpjZ7i/fSSu50GlOHP1ES968WDpQhYZc6CTaQjVPS yvqd+6v0jndf49SOeM7UJGfN9RexDdVYpQn6m1I2TK5di7Sa9ZZVX5L5dWg73m3XjH3P EI1laedjLO1hJn5G8a6AMX5Tv+GhMtdKfX+n4H39BxPjDwVbZCVfE1Bm21MYjECW22SZ cSLmDUNml4Rig/4EsieSPbVX5b3tE84XZJ5X1DBEvwce7xP3qYG8L4yQONDxrSG4ZhQF sb9nhQAX11lYrWeZzevqpcOcpodhJ42ZVc6LqL48EWlx672EOrrpsbAHFe/VTGUGJ9Vk fyGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3qmiiYvM; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-187611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187611-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bdd9f4d5desi1678108a91.114.2024.05.23.07.05.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 07:05:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187611-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=@linutronix.de header.s=2020 header.b=3qmiiYvM; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-187611-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187611-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6D489B240EF for ; Thu, 23 May 2024 13:59:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 65AC714B084; Thu, 23 May 2024 13:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="3qmiiYvM"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qzAcmqid" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 2DDA714AD35 for ; Thu, 23 May 2024 13:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716472788; cv=none; b=SYh3TArZ2Pju1AbLgBiLfo4T7/CBTOmrbrSyW1BSotf7rbXu9aRHwd6m/BRsMqtCMmegxjb1mjGf1aM2ACj4cXT1jrgLoYR//V2ahHpi/MASPe2CYj9Km59mmqjB8SThSRtMSLeBni2MnDssxYDn2049I0QQvcgA/Bt301/2gtI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716472788; c=relaxed/simple; bh=mzoDj4XgSAO01IWyiH0sPXg7AFLMH9G0O81MdqxOCts=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=YDhYhJW0sAMHJlwbZyvCrWBR+wCfI13jK03tVkunqeGdIqAmIoBs8m4XK3AFYn2QMpwfyGkKLH+lptZ2tRU6Wpc0d51L8nnVII6OpEl44urhizvo3GBG9o/Iy9U5iFkCIZb/dmgRL5i6q3238rGBiu8LC4l0iplcXiImXw3X/uE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=3qmiiYvM; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qzAcmqid; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1716472784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+N81KTAmxqigDRwmaMjHxrB3yOtm6eDGK4EsQAR05Bo=; b=3qmiiYvMYsQdwmhYZykoeLa6Ht9fNsda+B+xGXs1GtINIlgZdCjyTJxslL4JHmYMirFkmA SvFhg2Yar0leAwdeE7tbU0Bky3TyxDTKYATe8y+t/OnZ+9L32Gw7F/oWxSsWmrOwynHI0S pHlqIVsfymFZHsvS3PhYBeT1ZxzJa+Zp7+atlGMS3+LmymRRIBFD/HSrI44rxk/LcoBMht fEfMlF3G/a5qS1R5y7cncVNz7xWrTNHaZGvb/MiwRsMwXknOqBIoomgsChudRKmYvrhwx4 3Egt3PuNvKTnlIjEc+PfKb+drs2SzYCsWB3J21eH1pJiCu9I/zMWJyTizxUfNQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1716472784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+N81KTAmxqigDRwmaMjHxrB3yOtm6eDGK4EsQAR05Bo=; b=qzAcmqidEnAzvYGxC+ikZM7oqaU+gz4H5u+F3oRQcbZSXUCYE9t+BXk0btN4JIBr2WNikD 7+9Q3vd5MlBPdbCQ== To: Jason Andryuk , Juergen Gross , Boris Ostrovsky , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Stefano Stabellini , Oleksandr Tyshchenko , Paolo Bonzini Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, Jason Andryuk Subject: Re: [PATCH 4/5] x86/kernel: Move page table macros to new header In-Reply-To: <20240410194850.39994-5-jason.andryuk@amd.com> References: <20240410194850.39994-1-jason.andryuk@amd.com> <20240410194850.39994-5-jason.andryuk@amd.com> Date: Thu, 23 May 2024 15:59:43 +0200 Message-ID: <87pltcfx2o.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Apr 10 2024 at 15:48, Jason Andryuk wrote: > --- > arch/x86/kernel/head_64.S | 22 ++-------------------- > arch/x86/kernel/pgtable_64_helpers.h | 28 ++++++++++++++++++++++++++++ That's the wrong place as you want to include it from arch/x86/platform. arch/x86/include/asm/.... Thanks, tglx