Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp135796lqo; Wed, 27 Mar 2024 08:51:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcDA1e+E8yb+NFOHh7ezyvZJGGstGjbBnO6Z0Oxz3fxw0qFAr79sImD+K2dpGpZgWiDmr+6+8oO+kqQnJa4n5qONKukn36rdQ2HoBm+g== X-Google-Smtp-Source: AGHT+IEBEyGfNBcdK8vObTSaiSai9BVq8LdrMvsFu/VizZTrymOUo+D2VcflReM6sBpUMo1rcS2z X-Received: by 2002:a05:6a00:b47:b0:6ea:2501:d607 with SMTP id p7-20020a056a000b4700b006ea2501d607mr38214pfo.0.1711554695195; Wed, 27 Mar 2024 08:51:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711554695; cv=pass; d=google.com; s=arc-20160816; b=QEd4Q4R6lyO/Z35oROA8IVodvXB1I4Vz5+npVB+O4tgj1aNiFOVPuIUHo7HxEofz0G 8eVf4B/beQm+pimPEo/XNzi2v38paRJOh1vc0UdVcodz7tChIP04rYIe5nRdHuJTsV6b Dx5Ap74RWZCJCPG+WlqDuZhXiZcnJwD6Z9/ysdkzFtzjXdlEzY7veZWPHZvRJpNmndq5 dPwJlioHxoQv9Szwu5DJ4EoKtePNzwjJhm/fgGiS9bDWXtM8B1o3xT7Anzi99jbdASKx 2P9lhHm7uZGT0O3GqDd3Pr+tPnw/eKyzMTmY3WgrUuDVHT3DUBavOd/yz4I0t8EBeStB UWLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=vv+Isj1zqqz+sxswLAn1xU911kexUfDFzJ6hQ+QkbhY=; fh=NOzzcwpGCCVd3KhMilQXeBbCRmtNVEnUdr1sER8Xt9E=; b=FoUOfyj9jKUI+fp6v8DQpkILJv8SZI2rPV/IcPrBrCl5wDNrvM2TrmTQZ0CJy7spwz 9McKV5IabysNFcqugex4UYFiTx3QuPBfKA6lYZXW202dKbs0M8lMIgDb8aMVFmbz0H+F FpYJqsd27KSWg2fD/N+HjJh4FCn2oqyUoUxmn8namxQgDxEyg9aqPO2UWdU512A2oWi4 HY1uF3IOPIrytMlDNZzipxwv5gnxAKmkIp9+ES23Triq0F+A/YzhEQhKZAPS3Q2Rh1Rx 0+hWa5HpLiYAU4uSiaMrF16dh4WV5XLebvGlhwdHRAdWtemt64pvxYmMprGbEhs6AED3 mE8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=neutral (body hash did not verify) header.i=@alien8.de header.s=alien8 header.b=jc59lUDr; arc=pass (i=1 spf=pass spfdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-121555-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f6-20020a056a00238600b006eab7ca0061si4422875pfc.229.2024.03.27.08.51.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 08:51:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121555-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@alien8.de header.s=alien8 header.b=jc59lUDr; arc=pass (i=1 spf=pass spfdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-121555-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 964E8292148 for ; Wed, 27 Mar 2024 15:46:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A706130E20; Wed, 27 Mar 2024 15:43:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="jc59lUDr" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 A09BC12FF93; Wed, 27 Mar 2024 15:43:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711554235; cv=none; b=StM7r2492W5zZ3ckVxJdrY+1GynNv40RAcWUj+kwEtUHmcC2z0ePeazbrxsTlWwfh8Qso51S/DHwvxrnXjkr4oEjdwbMKlFZeL/dNvUwqwrIbrsIaCGzQ6kXh27sC6O60+XScm0s6VFlfqtOfU2xi+miIu4vMe2cLUqg03pbp6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711554235; c=relaxed/simple; bh=KPfUWJQyZW2bCdqaMrNIY6ngoo0Dhq6iciPb0rjmCPE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=vEVjjPU1HyJlz20FUEbMmKMSWWSmNMXBj6icXs56lofNy5gZKnj8V3lEwv3FXgyUB+YBHKR3prk2MOqhbOvL/CzbZ6vTU835r8k1366g4G/Sji0gh0gaQBwFWSQ6qAXgywXbJSZhknrqijrZCqX9bEvH0Cu1Zz/7QI8rZ5toppY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=fail (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=jc59lUDr reason="signature verification failed"; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 622A340E02A6; Wed, 27 Mar 2024 15:43:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SvYh-JZ9w_kP; Wed, 27 Mar 2024 15:43:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1711554221; bh=9+bM4s99ZaYsSepq5xH3Z7iP2Cx0eYjP06s88fa4x+k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jc59lUDrfs3r1+A8xZDGG1/saR8DBogIHOpKjcAukHqKnHSSmGTGI6r30cOEu6sIO 8C307fQkklozrD7EZacEYdUkKGHyw8KluBXsEZVY1dG84FKtXEpvYgjwkoRNREkd+a dIWVBs6zdedScc+rtGMqwoT2eMrUKeoEDeglqJl3Pl7Xd7mmPdCsxeR8FNvu0P//uz XBT8zGsUX2rG3aJw9Olo2i1gICLr+ue+vbTLe/yicYx8A5P0XjdZHj+9ezPciZa91H EgORf09oQtsfesv3v6sDHIss1p/KfCCEvfEarBUZJNlB27bIE69eUhFJo9D6z/0C07 /SeykjpdAFyJvT7UmSqq5d/nB9wpR3xiHDYJgFmIFSeMFJlCK0WGSh7iWNl6lmQduA FoqOL9M17TbvswUuiJ3zUBqF/14iAU9+4Ng4E7wduijdpo9E/zAmscbzNNF8PKkv8P QkGS1zrkLiDj1ocmkTepCeWAFbex1cOrh/ZMAS5IS0t7HuWDlTUxXLRPjTHZkNLONb xMCiVRvr9xezbbBvDVGTQgyBR44cUy3JOKqR3Q+ljPxqfn2UHB0w7nbYB0/7xFkwww WS2fP5CJdl0roSTXVVTmf7dZ/6PkaFqaDsHuYr1QkGrbIoiXBk612McOAUWmXTHf02 uPo1Jwb802Zwel4jvqDFZ8oA= Received: from zn.tnic (p5de8ecf7.dip0.t-ipconnect.de [93.232.236.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id C90A540E0028; Wed, 27 Mar 2024 15:43:34 +0000 (UTC) From: Borislav Petkov To: X86 ML Cc: LKML , KVM , Ashish Kalra , Joerg Roedel , Michael Roth , Tom Lendacky Subject: [PATCH 1/5] x86/alternatives: Remove a superfluous newline in _static_cpu_has() Date: Wed, 27 Mar 2024 16:43:13 +0100 Message-ID: <20240327154317.29909-2-bp@alien8.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240327154317.29909-1-bp@alien8.de> References: <20240327154317.29909-1-bp@alien8.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: "Borislav Petkov (AMD)" No functional changes. Signed-off-by: Borislav Petkov (AMD) --- arch/x86/include/asm/cpufeature.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpu= feature.h index a1273698fc43..1ef620d508f4 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h @@ -168,8 +168,7 @@ extern void clear_cpu_cap(struct cpuinfo_x86 *c, unsi= gned int bit); */ static __always_inline bool _static_cpu_has(u16 bit) { - asm goto( - ALTERNATIVE_TERNARY("jmp 6f", %P[feature], "", "jmp %l[t_no]") + asm goto(ALTERNATIVE_TERNARY("jmp 6f", %P[feature], "", "jmp %l[t_no]") ".pushsection .altinstr_aux,\"ax\"\n" "6:\n" " testb %[bitnum]," _ASM_RIP(%P[cap_byte]) "\n" --=20 2.43.0