Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp931031lqh; Fri, 29 Mar 2024 01:15:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhA3u6sLEdMiGo2lHMG6J+AJQQhU19YYd29h7UCUPjZ4aK/3nDOkq/4zuYDA12C5XJONwmvrk1ryT8yvFXNRDs8Bh2VLwcDb3pIpkn/w== X-Google-Smtp-Source: AGHT+IHvyQi8VUdYdO2vxBphDaRsBzNlkvr6WNAb9uixcfCkYlmFXJkdhlgVbIEB3dNpXdGxc/sG X-Received: by 2002:a05:6808:4444:b0:3c3:f6d6:1c1f with SMTP id ep4-20020a056808444400b003c3f6d61c1fmr224338oib.3.1711700155433; Fri, 29 Mar 2024 01:15:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711700155; cv=pass; d=google.com; s=arc-20160816; b=y8knicZR3Oq5rPO4OPp3gzExxP5MuN09d0XFLCvTxYpc/i1JQRb/imEATULcaDb0d6 tOGZdpVN5ovW1VUUoxzdz6x2ZHfZs9loEdlv/ETdQUCv3EcM7RUuwcQfLbYDH2QnW4gi r/+0za2iyhXST9c4M4bcSaWFylaT5aHfpKmzcxJxBT3/VkSsq9pX8ZRuutnX8QxyGNAB lAE4qN8ufio0rJXn1c3tGwqqviATTFfIso/gm4YJ95DX6yYTNi1ELxVHm2ZMrLPhLFpS IDkjz+PBPSB7WlyeexV0Emn1KiOxucUl2F0muHObuVxUgnLrY3CypMNUnwZK4LRscLNi u2sQ== 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=7aSYngHOh0xu8jyBiYodXCsYFEDRn/f5k50FDMhmEvE=; fh=f4QWcCSLEFXTQOY9pQpnzAg+2bqznsy5jz6Q2PJ4FVg=; b=TOWEL1sswEod4AWrmYDVChYXs7brQgb2GwsW+cgZlvwyGZ6uz+kWmNV9a6G69zTggY x+qj+IzQVuELNH4GS6zChEiGRL4lDPqbAhq4R0u9bGHKPp2gcY8/2jwIvCap07xo9qRr aJrNLSGZ9daCjL2NLdFEz6M2aTeTRAeYA00EP79cYzJLdqL5cAMUpJHS9p8ha4zNboho FpdmoWPCGkb4DeNnJtQxvc/1TDnTkbT3q7uy6LXO5NZPC543UgYVUK42+ZoUeAzdaOBL LdmLl2V/w2NaYk2xt8QShOQ90Vu0+5RzbmRjY4tC0vBo1EJwEw60iK8U0V3FJSoN+c17 IwDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="DEiJ/gTp"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-124286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124286-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id cb7-20020a056a02070700b005dc85dc982asi3482113pgb.832.2024.03.29.01.15.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 01:15:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="DEiJ/gTp"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-124286-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124286-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 B4CF7B219E8 for ; Fri, 29 Mar 2024 08:15:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A438948CCD; Fri, 29 Mar 2024 08:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DEiJ/gTp" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 196963EA62; Fri, 29 Mar 2024 08:15:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711700144; cv=none; b=f5myAdWB/c74UW7WptiTAQm7PQJ/CgOe6/q4b8KxYP3oAExCzj8XxloM688icdCmc2wv85lv9LCv3UkAGcQkrF6MDDRAyppbFpL6rMLxL4Y8KkL3XAOZaHLAAD4dL/W4vzSTF4WaZkJxSi7EBGcqo8Erjwh9CrkNIIHPmuMrhdQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711700144; c=relaxed/simple; bh=6n/QVOvkQ4BcV96xx2uONvGMr6jJ/2/o9PowaWsduw8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gc5tMJOslEAJlpHg+XTZBdB4e6ldcBm+FTiXwUczEFqmC1GOKLlmkg62gbDDdNeL//HabS3lAiC4t07M4GgE2pmZSkzhFJY0nVXpZWF6WJPhVr0VbSVo3+N0iBi0itnf/NpZSQruiYFlqu8Ht1xSIXa17EgAoV6IXXKy8VN8H/8= 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=DEiJ/gTp; arc=none smtp.client-ip=209.85.218.53 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-ej1-f53.google.com with SMTP id a640c23a62f3a-a4e0e3ef357so233797266b.2; Fri, 29 Mar 2024 01:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711700141; x=1712304941; 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=7aSYngHOh0xu8jyBiYodXCsYFEDRn/f5k50FDMhmEvE=; b=DEiJ/gTpxIsUoztm6/1oN0NztqRwGDrsU2YA7GEGVwzN8mzdeKJMAgmP0TXZcGvjBy nZhTtgrmre3Zg/+0uX/w/zgLG0aa2tOD21VxHaaSBygi5ypjx/inTEkQWhKL89rNayDn 102T6MD7jDTibIDmY7NMwS0rHaoPxtC1Izp65fLHMauSc2ZXSFnY+w5npo9Z6EWiTiYz rVDeO2zuTZTNqCJmYYZFbiplEgZIpIyzciok7C02dAsN2yrdX37OlNX3ClruM3jQL0vI m+YwdlVK3E+vbi3aF6LukaegnVseY36UF+CleFBQ0gvXY9qDIKdwUtjLaE9SLplZKXjg 2KiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711700141; x=1712304941; 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=7aSYngHOh0xu8jyBiYodXCsYFEDRn/f5k50FDMhmEvE=; b=bWDmIdm7MuR34D6ysjjkjox3cIf/A57LyDs15ddzInMQn1hrrAm68rYD3aTSzfxVJM eGfig+7ZuXqCo8M4FA4eb0b73/IUkUZvYR9oDACncya5/ZjgU88Uk8BasQpwkWnMR8W5 2c0ieeguho1DkRII82+pnHuiUJodIZLz5UKbiFD528Px9jLB4kFtPRGPdki+1f/p76b/ 21E3mvwajOSsn+38O4uI3IAsGxYSea/X6szwCUwUeWxQ976MS82NM//vZyG12G30AsR4 6gU4gky9V7iogIqkHPUgPG9YQD7kbX2aAB/ns+dGmuEtxtK0vS9wcBb40kikbwuqj6mU 96XQ== X-Forwarded-Encrypted: i=1; AJvYcCUATIMPqb348lQTAIZjmKJG4DWowk70/+C9scu6XAhp75/NZZXE8U7oExHbeYAcrmmtjpDoNotFXmih1Zy2AkmlJQtsGhoqeTp22+Ai/+8vwbbe+XlIA96Q/+qIJYaoSqlxKZ92 X-Gm-Message-State: AOJu0YyRzbHPXMBDgssAPEtte5+zG5LX6p6HP8ROmD2biRvlnp+b7sYr Hpd8KstMh+a8Ywqu1j7OORpHgd4tsVCyuI+CbqglAMRYKxvGSF4S X-Received: by 2002:a17:906:39d1:b0:a46:e0ab:40ff with SMTP id i17-20020a17090639d100b00a46e0ab40ffmr1193488eje.35.1711700140971; Fri, 29 Mar 2024 01:15:40 -0700 (PDT) Received: from gmail.com (195-38-112-2.pool.digikabel.hu. [195.38.112.2]) by smtp.gmail.com with ESMTPSA id s18-20020a170906501200b00a474d2d87efsm1646696ejj.139.2024.03.29.01.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 01:15:40 -0700 (PDT) Sender: Ingo Molnar Date: Fri, 29 Mar 2024 09:15:38 +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: <47302624-6466-41a7-85db-f6872d58a4d2@pavinjoseph.com> * Pavin Joseph wrote: > On 3/29/24 12:45, Ingo Molnar wrote: > > Does the 'nogbpages' kernel command line option fail on these systems > > even outside of kexec (ie. regular boot), or only in combination with > > kexec? > > Original reporter here, using nogbpages allows for normal bootup, but > kexec fails with it on my two similar systems. 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: regular boot | regular kexec | nogbpages boot | nogbpages kexec boot ------------------------|--------------------------------------------------- v1: OK | OK | OK | FAIL v2: OK | FAIL | FAIL | FAIL ? Thanks, Ingo