From patchwork Wed Jul 10 16:06:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shishkin X-Patchwork-Id: 811914 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 AEE9A194AE2; Wed, 10 Jul 2024 16:09:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720627771; cv=none; b=VzyS8JHy7/lZYOIgwRsTOesNHoI0Z3Zljf91DUNeK85qhQ3Ee4xEl0BZSZnnsHFPYaK1Q4fnOOVVgUi6j+r/fQUaaRrtaKcDUNiN3+2WgDu79DjcdX5mYG1gi0O+LTXFIEn4kxc9wSLFFDkGcX+ylEtc5Vroz9EBdLgchKefq+8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720627771; c=relaxed/simple; bh=nz8XjyzhYNMxDlabKb77u9LlLIFM1GNNSB/NinucYEA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sCnqDiMlIA3e74VOEOBDlW+bI7O7+Nt52/v62mNWi+44r+bu+8jt9bQgWk8IBTRX2Gh0YaD91poDf+vRO4MIXLAOZ/trHAp7AO54vXZlDICzzWj4vSQDy9kQgMcjwOOB9LBt4OEBukksSmqg3gC1LIVtBnYXNoR3fXBjgBRLrsk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=bfCBrATz; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="bfCBrATz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720627769; x=1752163769; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nz8XjyzhYNMxDlabKb77u9LlLIFM1GNNSB/NinucYEA=; b=bfCBrATz9/Dnq4w53WW5CC+aIsDgfgLhFYSauX+J4jCEv4hVJxyVcgs0 99yEyn56/gqZjeJnEpJpKETs76OnfZmFAXa1DlqjgCQVqYAAPO83A9N5P h0ll3PBXf9Y77l74GNtueBrwrfKKb/QhciregN/qJD5LVl6QQ7d/0vLzj 5/orkDuduaoNIY9VC08WybBUu9K9v3ToBwQhP1xx/B6n7qAe9xIiiLT9N uxCtbMFE6HKJnY+IGpkieBZRRyaj/lzu0j+q8nAapwgpKUYo78YzpvRZD EgCsKalztBex45KJnpnjeuCJg3jDP5mq87xTKFFszdCvrRUMB/+9ud7/x A==; X-CSE-ConnectionGUID: +xnDjeX8QCOMwC9FOpULcQ== X-CSE-MsgGUID: 20i98NlJRb6/MxfMrFGLGw== X-IronPort-AV: E=McAfee;i="6700,10204,11129"; a="18103053" X-IronPort-AV: E=Sophos;i="6.09,198,1716274800"; d="scan'208";a="18103053" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2024 09:09:28 -0700 X-CSE-ConnectionGUID: r+GX81G/RPiw+uA49QrD5w== X-CSE-MsgGUID: 9Y6XVd4QR/iIhKJ39KXJbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,198,1716274800"; d="scan'208";a="53084748" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by orviesa003.jf.intel.com with ESMTP; 10 Jul 2024 09:09:15 -0700 From: Alexander Shishkin To: Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Ard Biesheuvel , "Paul E. McKenney" , Josh Poimboeuf , Xiongwei Song , Xin Li , "Mike Rapoport (IBM)" , Brijesh Singh , Michael Roth , Tony Luck , "Kirill A. Shutemov" , Alexey Kardashevskiy Cc: Jonathan Corbet , Alexander Shishkin , Sohil Mehta , Ingo Molnar , Pawan Gupta , Daniel Sneddon , Kai Huang , Sandipan Das , Breno Leitao , Rick Edgecombe , Yian Chen , Alexei Starovoitov , Hou Tao , Juergen Gross , Vegard Nossum , Kees Cook , Eric Biggers , Jason Gunthorpe , "Masami Hiramatsu (Google)" , Andrew Morton , Luis Chamberlain , Yuntao Wang , Rasmus Villemoes , Christophe Leroy , Tejun Heo , Changbin Du , Huang Shijie , Geert Uytterhoeven , Namhyung Kim , Arnaldo Carvalho de Melo , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org Subject: [PATCH v4 05/16] x86/cpu: Remove redundant comment during feature setup Date: Wed, 10 Jul 2024 19:06:41 +0300 Message-ID: <20240710160655.3402786-6-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240710160655.3402786-1-alexander.shishkin@linux.intel.com> References: <20240710160655.3402786-1-alexander.shishkin@linux.intel.com> Precedence: bulk X-Mailing-List: linux-efi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Sohil Mehta The code below the comment is self explanatory. Instead of updating the comment with the newly added LASS feature, it is better to just remove it. Signed-off-by: Sohil Mehta Signed-off-by: Alexander Shishkin --- arch/x86/kernel/cpu/common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index dcf61a66e462..33a76256a6f5 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -1841,7 +1841,6 @@ static void identify_cpu(struct cpuinfo_x86 *c) /* Disable the PN if appropriate */ squash_the_stupid_serial_number(c); - /* Set up SMEP/SMAP/UMIP */ setup_smep(c); setup_smap(c); setup_umip(c);