Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3028318lqp; Mon, 25 Mar 2024 17:40:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlnHK6+MFajNg5OB0ZJj4ifVtgeu+hDj8WUKQKWQgFmHGIKBHH2LzqeOa/3D6x1DzhfUdoRlQrlA92NyDIYaL2iORESIFQesGt4l4wrQ== X-Google-Smtp-Source: AGHT+IEJTukyxaCl/2UVCfVjP8pgRKZqBWjgEzyCyCmt9jDZfkQ5eSlI8JePrFlydvkLdJ5lz7VD X-Received: by 2002:a17:90a:bf05:b0:2a0:844b:4270 with SMTP id c5-20020a17090abf0500b002a0844b4270mr1043952pjs.46.1711413658582; Mon, 25 Mar 2024 17:40:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711413658; cv=pass; d=google.com; s=arc-20160816; b=SfZvyw7FBAvYeWA4+ZC/om/KUqj9J7V9gWL9i8Y0rnd2mk5U3c8HIlFwyI6EyX7Tqj J5C3qLLJggu+eHS2pJtp1OiX3kF2j2AIwQlQANssKJwE6evebroY+w/QTnhrIBcGgEC0 BVpscYGsFgsThfD3zJNoNRfpFCGI0rYlAGUa2bwPDl8EM40V7YA25POGn5WBD5nZXGqj xUWpIejzGcpcW+yxNvTZI+sImzidNGfIMGdraRUmU5k4qk5StfVtwlrJVS05SfmiBFEP 4D1f2QLYxb77LcmKikJ6TMg3Wpiyfb22WZM0kWsm0nnGzC8bxfnEsti8PU2RZsAsHwW+ dGqw== 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=DhYi/4Kwoqd+aMH4bZbT7Tk7UOmwG8WruxUswzwA/zs=; fh=+PnbLZB1pkSBgMdmM4wez94eRXTSpmVU2D/iFKTD7lE=; b=zsQabxtAGqGQbyrjXPTXyJEqHNVSfse163bD+byZYJdeZM1p/wBHMHEnv8pHyXxXm1 8AO54ILKBXJJkL4klXAgR1oJAgG0s/WOvIEPFT1uGC+bbKDJe6rvQt0xL/EBqj2c6Fq5 3bIYwDB/t00v13CwnxnKQ74YmyQO6jGkrPommLzak1v7MCf21aJZuDlrpziT4k6uh0as /3DzSG3ngxKO/qKA24ColA89BuVi7/SneNN+Wwy1XqhbTSWBCiM0eDPaKZK3lULXBez8 wJR+OHGOpC81Dkd/sW+oWAB06aRGVsmNlkWwbMFqW9EkXdpfwZf1uFywATnrnbYq1gNN Ze4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=f1Vj+EL7; arc=pass (i=1 spf=pass spfdomain=hpe.com dkim=pass dkdomain=hpe.com dmarc=pass fromdomain=hpe.com); spf=pass (google.com: domain of linux-kernel+bounces-117807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w23-20020a17090a8a1700b002a010403dcdsi8806307pjn.3.2024.03.25.17.40.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 17:40:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117807-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=@hpe.com header.s=pps0720 header.b=f1Vj+EL7; arc=pass (i=1 spf=pass spfdomain=hpe.com dkim=pass dkdomain=hpe.com dmarc=pass fromdomain=hpe.com); spf=pass (google.com: domain of linux-kernel+bounces-117807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com 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 B5B55BE5B6B for ; Mon, 25 Mar 2024 19:23:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D62418645; Mon, 25 Mar 2024 19:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b="f1Vj+EL7" Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) (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 3186E182DF; Mon, 25 Mar 2024 19:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.143.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711394589; cv=none; b=CanTKA68IJ/Hf5FUufR5gWUHLvnGvVy6ZTKL2wFw1ivP9mQ0B74XB79aqOsczvdFkIncxfEdFzH9MyHG5h9YlhDv0ieFn08UdoQSr2VSBw9QTnvV1w4u6YU3w/6UKMeZERE8HNCAnaEzFaAO0kzNl+mfMaVTDIjJr36omD+nRI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711394589; c=relaxed/simple; bh=7culdjHPWtO4rCw2JPlSW0eveazDTAT80DhwvtzRH7g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=du6/AtN0GekhhgADQxVcwTUzT6waBW/te204i2i2tNRyNDWmJ+PEZclme/Wgo12vXp/1BGbL9orzHOqhxzx8OVrg+8zGRYTj/Cu94LoFE5iu67kF3XMX0n210MNej16ElepIzLrQui2pCAOihv4IOrlYNqshtCdwtfmFLpWaYFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hpe.com; spf=pass smtp.mailfrom=hpe.com; dkim=pass (2048-bit key) header.d=hpe.com header.i=@hpe.com header.b=f1Vj+EL7; arc=none smtp.client-ip=148.163.143.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hpe.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hpe.com Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 42PJ2els018274; Mon, 25 Mar 2024 19:22:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pps0720; bh=DhYi/4Kwoqd+aMH4bZbT7Tk7UOmwG8WruxUswzwA/zs=; b=f1Vj+EL7+PjrC+2oI0sZ+K3dIjFcfb+VAd0qB0Cf0nbk2t5EySN2/OGPUON9w8+VgvbH ajCzVABPj6rIR0B+CY9WxVkVpgLkxTiulCUrlgMYT1vpXdr7SWjI117BMGihoYfodPuN tsPMWr0rdPN/hYfXf+5mYq9E6buZ0R6AQioOX7ldBYd6IX0tNTZB7z2O3FeEtfm9T5EZ WUG3y/TYTBHV34p0cwX0Exj1xIcrjSgEU2zVsZov6iRZkEpoXws4/qITfDdf6J3SYHkx UeAt/tEaWH16Vznh2QDdTemH6vGnz6HUzoDzJ4ppq8VfO90aofAdds6GIsYua5ALruWa 1w== Received: from p1lg14881.it.hpe.com ([16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3x37c4vg5w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 19:22:32 +0000 Received: from p1lg14886.dc01.its.hpecorp.net (unknown [10.119.18.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id AA769805EB9; Mon, 25 Mar 2024 19:22:31 +0000 (UTC) Received: from swahl-home.5wahls.com (unknown [16.231.227.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by p1lg14886.dc01.its.hpecorp.net (Postfix) with ESMTPS id 3AF18808E91; Mon, 25 Mar 2024 19:22:27 +0000 (UTC) Date: Mon, 25 Mar 2024 14:22:25 -0500 From: Steve Wahl To: Ingo Molnar Cc: Steve Wahl , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, Linux regressions mailing list , Pavin Joseph , stable@vger.kernel.org, Eric Hagberg , Simon Horman , Eric Biederman , Dave Young , Sarah Brofeldt , Russ Anderson , Dimitri Sivanich Subject: Re: [PATCH] x86/mm/ident_map: Use full gbpages in identity maps except on UV platform. Message-ID: References: <20240322162135.3984233-1-steve.wahl@hpe.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=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-ORIG-GUID: EJ20KfSpLGvNUN8sK5aTGqJOTVRgmrYW X-Proofpoint-GUID: EJ20KfSpLGvNUN8sK5aTGqJOTVRgmrYW X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-25_18,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 impostorscore=0 suspectscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1011 lowpriorityscore=0 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2403210000 definitions=main-2403250116 On Sun, Mar 24, 2024 at 11:31:39AM +0100, Ingo Molnar wrote: > > * Steve Wahl wrote: > > > Some systems have ACPI tables that don't include everything that needs > > to be mapped for a successful kexec. These systems rely on identity > > maps that include the full gigabyte surrounding any smaller region > > requested for kexec success. Without this, they fail to kexec and end > > up doing a full firmware reboot. > > > > So, reduce the use of GB pages only on systems where this is known to > > be necessary (specifically, UV systems). > > > > Signed-off-by: Steve Wahl > > Fixes: d794734c9bbf ("x86/mm/ident_map: Use gbpages only where full GB page should be mapped.") > > Reported-by: Pavin Joseph > > Sigh, why was d794734c9bbf marked for a -stable backport? The commit > never explains ... > > If it's broken, it should be reverted - instead of trying to partially > revert and then maybe break some other systems. > > When there's boot breakage with new patches, we back out the bad patch > and re-try in 99.9% of the cases. Fine with me, especially as you've already done the revert. :-) I will create a new patch that combines the two. If you have any specific actions you'd like to be sure I do for this, let me know. Thanks, --> Steve Wahl -- Steve Wahl, Hewlett Packard Enterprise