Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2151589lqz; Tue, 2 Apr 2024 08:37:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaildZYoDXA8OQF1C6KHg0VexztdzMIGh9HtXRrog9KKTRBoZaKY3bJTnmKnxZDiqazx/P5KFkrZduJvLql9Ooo0yC/+vFyyyCsAZoDw== X-Google-Smtp-Source: AGHT+IGcUUhWctEEoL4JYzmPmYNu9UhkNAMjb6yqlD0BjyshHuEz1E0olxuAeVGs2+/ucyxVxDJ4 X-Received: by 2002:a05:6a21:3296:b0:1a5:bc18:97d8 with SMTP id yt22-20020a056a21329600b001a5bc1897d8mr12373377pzb.3.1712072243368; Tue, 02 Apr 2024 08:37:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712072243; cv=pass; d=google.com; s=arc-20160816; b=VEqhHBupA0ZUczUutpyMCkxkbTrO3msmhKyCySG6zXqSdjg78XbSfzeEXeKibWJzvu N9j3r9sIW7WCltlrQx9HCPQhqzpme9pJsEW6YXbgl7A1Zv3BzQM7LFn4mWEiTKH7ZUC8 RffRYt6ceVumgynHP135Le6OOMVt1xkIsc4PNjG06FsyXLMWI0vuKjS9+Q/sn8z9FqHv qhbVTDfM0lfT0VNZCqibJoo+TAUNPn261dflEsIdIw8+NOqQa+zLWBAdXYou18hdarGo 6yapgkw71MDau3IjAwctJ4zr4Goim5v0sSZSbAE4JlcnCRsrta6R54tdkYd3wzOBHyBP tdvA== 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=jTaYn2+ynUZ1tZvE1yp5WwIV4Jj0/I91xZKhAcsnrlE=; fh=JOBfhV/ljUmuV3V6Ymwmfulaq2KVESBAgA4twl/K8W4=; b=rLskQ+mYZtJs5Kr+1Ptr9Jj4mtdKGzj4pKlC2shdGfmb7U6g6MOfsPYPYbQ1D96eJD pDTqCatpxM1qEc5lggfZZ1vfr7Udf1snrRKxvPUzm9B/fH8KRZhO2xOSXbGTdeiN0Ntg OuVy/tvDLNW8VmYJAbJwKaL5sNYnyLhvNasAn+se/MY6z72OEEvQAdycSNcwkuUy3qFA ErAED84OlTjLdDbew9I4LcUv9i/qqRsiKITNuvjI9lnASKH26bMasRadGZROxPWgonCj b0bor5XHTLdixMl1C2mSqzgTXkc4pfNRg7uRyVqGdimHgFDs/wTc6ersvJ/BGj1BIr5G iU/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kBsZ77iU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128196-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s6-20020a656906000000b005f0a53a29d4si6658876pgq.730.2024.04.02.08.37.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 08:37:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128196-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=@kernel.org header.s=k20201202 header.b=kBsZ77iU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128196-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 C7CFAB2ECB5 for ; Tue, 2 Apr 2024 14:50:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7289A13440B; Tue, 2 Apr 2024 14:45:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kBsZ77iU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7ABB413175D; Tue, 2 Apr 2024 14:45:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712069152; cv=none; b=e182k1nsMKY8DwOdXiVOQ+KFcutT97W4sgg1JDriH8Ba2ebOAN724NlDMu2103NVMk2aTVqHD/SSyCY3LR7nG1R3GEhj0a+O3DAqpi7H3LpUE6K/Up/KIHnmKbI509mPcoLlfuBF0y+95F24xAAyyi7lS8wgQpf4IV889KbpYPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712069152; c=relaxed/simple; bh=Oke7dPH1XW52s7l/sASmdAoJ79tX8X7qCVqa+hbu58s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qKZ2Sk2Kj8iCgmiCz0748IK66wzrGNnJFluCEhGb5WpME04R4xiDddGX495mtoRnc15IgODSinaSLmAkK74zHQ9vSZPP3Tm0iFOm8z+GpqWwQnRrrJFz5jf2YsN6yWvcWuFzDDrk6wyz00uWZ6NvBIJLZUikcmprfQALIkS6VV0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kBsZ77iU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 568FCC433F1; Tue, 2 Apr 2024 14:45:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712069152; bh=Oke7dPH1XW52s7l/sASmdAoJ79tX8X7qCVqa+hbu58s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kBsZ77iUPx5k5HYeQ/ICMipaKKVdimcFnPUlDAkjyHpG74Vlkg9AAMQDuF30r1kft /uI78tkn3P8FyEu7w1efXzPpk7Cip54AW0DfE9x3Hq0/yrccOFJgRykIWQngKicpDs lE1l0JXCWfDkKjC3OxzWvtEY/msWDVF3EYirtfK4/53BxXSYZ3GBbfudlQyv+4s/gY ADri7C2kaxNU3Rh/mQ8Gx0XTF3gOEorXQGtmNx6cWk4c3iPPPh28Aq4GoOTDgCdEZz W7txwItTlgEK2yYoJtLTYq1ANNBmVd57/0UP9NFk4VHJ4aCCLy7vUMSyBvSFJAyn3y s4+vOK/UM9gGQ== From: bp@kernel.org To: ashish.kalra@amd.com, Ashish Kalra Cc: bp@alien8.de, linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, michael.roth@amd.com, thomas.lendacky@amd.com, x86@kernel.org Subject: Re: [PATCH] x86/sev: Apply RMP table fixups for kexec. Date: Tue, 2 Apr 2024 16:45:47 +0200 Message-ID: <20240402144547.18869-1-bp@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240312184757.52699-1-Ashish.Kalra@amd.com> References: <20240312184757.52699-1-Ashish.Kalra@amd.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 From: Borislav Petkov On Tue, Mar 12, 2024 at 06:47:57PM +0000, Ashish Kalra wrote: > From: Ashish Kalra > > RMP table start and end physical range may not be aligned to 2MB in > the e820 tables This already sounds fishy. Why may the range not be aligned? This is BIOS, right? And BIOS can be fixed to align them properly. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette