Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp44739lqz; Fri, 29 Mar 2024 08:05:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWt8cEXLgizAjk6tsPhqNUfjLqZYup51QNcuNVq4OgRdJ7omR4sXUOiOeih7nKnVVritXhGXdyFHKZSKrBns+HuNiAPUMgVuXgyKyJXA== X-Google-Smtp-Source: AGHT+IFGAz1RRGWzLx0dRF6wqTvSMKPpEzVSRuKMuXv90Xw0Ma1oyxKCeR8GNd/W3lU0kzKabsDc X-Received: by 2002:a05:6358:5294:b0:17f:58a1:12ef with SMTP id g20-20020a056358529400b0017f58a112efmr3285155rwa.4.1711724751183; Fri, 29 Mar 2024 08:05:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711724751; cv=pass; d=google.com; s=arc-20160816; b=KqkLqhSRVVAnUY9LHdiQcMeH1PFp8vD2sFoW3rfCpG5B85dnhQeJjBoG0LH4uocb+j +j2iqvPUxyOUk+cMXokDAI38BBKjxD2lNmyFLOUSCPob/ofoRIksHGilm7wlXDaQI7Qm Mk0Osahg0O13gMLU8ggA6gCDLKQMv0FuNbruZD8eH22KBSkKdWLgu/P43R18l7Rvzz2h y3H8lOskrUe7sBA2TShyz89qqMoH0dVJ0TL4zfa+Qst3S42gofYjBqOWY6NZvWRJnuCF 1SGYwq0439gYp/r+rOqPghmAVDTDOimusjQDL0MRXdo1Qu38Riabc1xgO39HDdhlGq5X 5XTw== 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:sender:dkim-signature; bh=XgauylSkuW/80aSrNllgj0l2yuKPPrlurUzNgnxWSgc=; fh=1fEfuaIpyV2w3PeIzR7lA8JuuFFrpp10YDTECJLU1f4=; b=quEQQAUTANe4fyb720phDJlmfWyefspdcTwl0idlmjWVQ21j7oW4jRwOkOd7b1iZ8G bwENkTGb08lA7mS3wVtxHnOzjQmsBY2xM8hnB350+kCb6WWtOm62cgz8/DZXXFbQN1XW zERee8Xw3AkER45LWgKeiu7suRC6A1x1/zJ1990K567ckThCust0BKOdkuggz8eVChBq P2wTjBuwWZ6N0mSXjKatCMBmxjTLlIqYVQdLFvI3OWDdAqu1NkWMJMIdvH4QW8KyxqWt sdwZm9/hupGD4lxnui6z5h7OUpW1w3J93PhK5J4IE4JKultGlFMXwhZAgQBPC6m+noks BSRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jd4gljn0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-125065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fp9-20020a0561223a0900b004d88bb3427esi645213vkb.222.2024.03.29.08.05.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 08:05:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jd4gljn0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-125065-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125065-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DBCA01C28DA2 for ; Fri, 29 Mar 2024 15:05:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0298C1327F5; Fri, 29 Mar 2024 13:30:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jd4gljn0" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79EC06A35D; Fri, 29 Mar 2024 13:30:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711719045; cv=none; b=HdiXMC4TDrkcvPKIMbIFu1toKwHBK/vikAft9pGm1TAG81SmSzdUhG/D6XBYI6EOXcZ9LphNFrd5Ta0CJDNo1pxxUbsuJgO3FY/LlbrSViofQESTpUWQkzWaI1tNWXIyfiA+hz2WpZEVBWq/OhOyYW2E0sH4Bb7guYderzr0Tmk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711719045; c=relaxed/simple; bh=WF2XgEs+0XF6N1klNHoSW4WcT2PR7Ikg5TSu/HBszLY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OxmwsUsJHKiqszhnHyyK8d+ed8WLpEBtRM7URrlEGPC1QaOXYAn4dp0QBYWhhOkrSPbb3bSIm1U+AT+W/whEjQ7H/81nGdsR8vnIWTXoohbNmBzxisUfUo2lY2dcQRTDCbwZ9Geu0gJYf5jpGPT0IoakHTk4kMOo+HMrNeT+m5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jd4gljn0; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5688eaf1165so2675618a12.1; Fri, 29 Mar 2024 06:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711719042; x=1712323842; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=XgauylSkuW/80aSrNllgj0l2yuKPPrlurUzNgnxWSgc=; b=jd4gljn0d97olS9h3VlNqogmhh1moTq+grvom0C2i3B6pUrCca/xYFtA3gt8I0GIIA iwB9BiWINUxQR092fiJYaDF/Y86e4kO4Q2HizqFKIptHWlYlxvZD2CT5NbbH6Dtc64G5 q9KtgOeaHLkoFqfVzbUWcFmKe0OodLWo6vt/UrHNf1+vW/R/PUrU8Uy321jTM5PG1EN6 VZgp1cSxqFgFTeKVA661H4PRBiWYOZVG3VY570hrSnbU+m5xH64ZZo32FwH1xlmBP6WG sf8B1CwWtVuEUFr3gxwZGhIAbk5khkmaUACjqPmmF1JX8BT+hDNR4wDIkDNCWRBm3bRi qOVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711719042; x=1712323842; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XgauylSkuW/80aSrNllgj0l2yuKPPrlurUzNgnxWSgc=; b=dzaTudoIctvDLyQXvHdH1iFjROgatuURtjlBhKztRo6JZcFlOAYmUrvVzEnCUr85cq 7izW15absvK5jUBJ9UZ7w7UloKKOX44VFn5OKDaYapqUyVGS/RTwf5UqbQFtwBwq6Teb reR63wzzRJP7pCOPlJMOme2nEcubh1LrOkeYZrsaFeBRi7GQzGODgAiVLvkWquk6nNMo 0yzjFmw/xhy/61rJF4sk5Qwb9cNUGkfANrYNW1LqaOF7JluxaiAj39e2HUkXGPQPu+cF 1hIidqgIZqTmHf7HSZec9leXbEdzUOzLJC95GR+jXiJjMUJWIM8+ZBjGFpu9Z3qEZJzs +oWw== X-Forwarded-Encrypted: i=1; AJvYcCXE3TCn3l9qIj4CbUo/g7xVBpBk1H4CKSbigJaAhuPbz6J6ABYdzkIHjSDXpKohLv97fAgADpSn9C8XSUBugU82hRYZC/djH+tko05s3PqLyyrDF95tDjUSn2XFOwR78WcgULwK X-Gm-Message-State: AOJu0YwpHWCmgueOyH0FXI+qJZkhypS15WHTtaCdF4mPW1jBZQH7cOli jfroIQZfvGOgjSFxhEFXprg8WKJqvXeErO59FZlZcOTHei0dWZBv X-Received: by 2002:a17:906:228e:b0:a47:38ba:d24a with SMTP id p14-20020a170906228e00b00a4738bad24amr1719224eja.18.1711719041396; Fri, 29 Mar 2024 06:30:41 -0700 (PDT) Received: from gmail.com (84-236-113-97.pool.digikabel.hu. [84.236.113.97]) by smtp.gmail.com with ESMTPSA id ae12-20020a17090725cc00b00a4e238e46edsm1781467ejc.223.2024.03.29.06.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 06:30:40 -0700 (PDT) Sender: Ingo Molnar Date: Fri, 29 Mar 2024 14:30:37 +0100 From: Ingo Molnar To: Pavin Joseph 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 , stable@vger.kernel.org, Eric Hagberg , Simon Horman , Eric Biederman , Dave Young , Sarah Brofeldt , Russ Anderson , Dimitri Sivanich , Hou Wenlong , Andrew Morton , Baoquan He , Yuntao Wang , Bjorn Helgaas Subject: Re: [PATCH v4] x86/mm/ident_map: On UV systems, use gbpages only where full GB page should be mapped. Message-ID: References: <20240328160614.1838496-1-steve.wahl@hpe.com> <47302624-6466-41a7-85db-f6872d58a4d2@pavinjoseph.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: * Pavin Joseph wrote: > On 3/29/24 13:45, Ingo Molnar wrote: > > Just to clarify, we have the following 3 upstream (and soon to be upstream) versions: > > > > v1: pre-d794734c9bbf kernels > > v2: d794734c9bbf x86/mm/ident_map: Use gbpages only where full GB page should be mapped. > > v3: c567f2948f57 Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped." > > > > Where v1 and v3 ought to be the same in behavior. > > > > So how does the failure matrix look like on your systems? Is my > > understanding accurate: > Slight correction: > > regular boot | regular kexec | nogbpages boot | nogbpages kexec boot > -----------------|---------------|----------------|------------------ > v1: OK | OK | OK | FAIL > v2: OK | FAIL | OK | FAIL Thanks! So the question is now: does anyone have a theory about in what fashion the kexec nogbpages bootup differs from the regular nogbpages bootup to break on your system? I'd have expected the described root cause of the firmware not properly enumerating all memory areas that need to be mapped to cause trouble on regular, non-kexec nogbpages bootups too. What makes the kexec bootup special to trigger this crash? Ingo