From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (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 847DA3644D1 for ; Thu, 5 Mar 2026 23:38:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772753893; cv=none; b=Ff2eS6NppVNyG09vhuJPJDpHxCgJ73p3n95Vd+dpYqfVQ3BrEA9ablvYh9olGNUzzpfDIYXBXD5DSelKzpcvfnRgaKEe1c2fHH01Ks/c0824A011oOJGGdmTbN9VsH1FO/dYypT43SE6SzLcgqW0BSHfZmspAKDoxPifkBUEncc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772753893; c=relaxed/simple; bh=4rYGJlnDz2s82ebRzgFmsfqc2LSHPZrsFGVVT3AUiIw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XFQJxeFfC1ah5fi4DTnenyaQvHzG68LigGucOn2/eQ4/J4hmyoPl2V7+7kWzSuFN1h1WWkBQCMd6k/1LB2hdY5P0LBqPAT3COAqM3IifKpt7PGymv4nOUnn9T+CGO2GxxPulSSq7MVZ00zmniiv9JibUkLiItmbOTQFLGHT87Jc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=Sxf1Hvrd; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="Sxf1Hvrd" Received: from mail.zytor.com (c-76-133-66-138.hsd1.ca.comcast.net [76.133.66.138]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 625NLj8c4093851 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 5 Mar 2026 15:21:45 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 625NLj8c4093851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2026022301; t=1772752906; bh=C6KKZ94lKy21aUARibB9Qf61tyvITjxLCVh1AEY4ojQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Sxf1HvrdTYjTAYG0wMFbl/YBZC7JMmuY8GovTdEb4vnRJ52c8jKZNhCPfzz+a6K6Q ijGdmM3RqylMf/JxJrE6kvCYKB4ySwXTp15ja7Xqr8tZtCYColmIG8nidy0XjHZ9bz 0eLvoQZF/wLmAegZ6a4sakzkTVEtms74DSiJtpQDeKxzhpfwLkCPARSYsmPumt1Fen ErxHUgjxGR69qIzEwZy47Z1ud0Aq6LPBcTGXJM+TfF0OrDd1OaaKay36WekN535bRC RbwEtSSXVQiewi0N4+2iuRZpO6An+3nBSsOXREjznkzJErtUsRe2/v3xJToH5scPjS JSDxs3WPAW7+Q== From: "H. Peter Anvin" To: Dave Hansen , x86@kernel.org, Andy Lutomirski , Borislav Petkov Cc: "H. Peter Anvin" , Jonathan Corbet , Shuah Khan , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Sohil Mehta , linux-kernel@vger.kernel.org Subject: [PATCH 0/1] x86/fault: cleanup: move x86-64 test into is_vsyscall_vaddr() Date: Thu, 5 Mar 2026 15:21:34 -0800 Message-ID: <20260305232136.224922-1-hpa@zytor.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260305214026.3887452-1-sohil.mehta@intel.com> References: <20260305214026.3887452-1-sohil.mehta@intel.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 Reviewing Sohil's LASS patchset inspired me to cook up a very small cleanup patch, removing some unnecessary conditional compilation. It is on top of Sohil's patchset, but it is really orthogonal to it; the patch applies with fuzz (line changes and the renaming of emulate_vsyscall() to emulate_vsyscall_pf() in the context) to the unmodified upstream kernel as well. -hpa --- arch/x86/include/asm/vsyscall.h | 3 ++- arch/x86/mm/fault.c | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-)