Received: by 10.223.176.46 with SMTP id f43csp612641wra; Fri, 26 Jan 2018 04:13:38 -0800 (PST) X-Google-Smtp-Source: AH8x226LXZgk4BXwKflTux9KcwWtu+GQhRupiyjaEeGtF+dF/DuP7HVrWdIUMexoX1YHgO9XLocg X-Received: by 10.98.196.75 with SMTP id y72mr19133288pff.73.1516968818300; Fri, 26 Jan 2018 04:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516968818; cv=none; d=google.com; s=arc-20160816; b=ch05oxFsOcxV4J1XiKH6e1CaAtf6UDxRyjo+GmKRMkw9lr9fB6j0mlHyQCH5G4XW0n jC77T69d6NFwSmrOKjCmukfUUjdfnAlAJNmJ/2MYMNoq31A3tLHKYJvXj6dsrO55XSto pM8RSd9ntEpa7reWWmroGSxArvT6f+WyYT/7/DM0XDR4y59BlgerAOlaaOxcYfM7N8GE moePOksOcY0lb3ZNz7osjaXkfcdVw2jClov3InHJH23hiNGCkPNTEfOpepjkF17daZI4 SeLFYe0zpqtTbj5/0nzS8OJhP6JndVh7EwLEcVUyyMe/DVDu/3x6oZImbc8xbbp2ARLx qmwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=cFgHqoWXcLFZoE5IKAGApllRI5PGjf0a2LIcxYH1Nhw=; b=axJdIyTmbzTOF1UPB8dOuRgnkrEj9v+7vj/d2We5m3cleGTW6suzYYQZQrvdUpRp8+ MyJFmleU/5e0ITK/wqLSpZ01chukXLrFIFVQwikReGMaTGbQL5xkaNKCKFMVylMCz9po xCrQmdXHKMTV/x/zvx1NHgT5JSymcaoBrEDR5q52jf3u6hANV4ImNGAdmUviiiylyqNd ly3qRMNTmlAIv01VxKj34BtclRzqHfjnsuJGxkbpaDKwpajXA2Uj6WelfrCnfoaapibt 5RfqfWb5RgqKg11BXpfq2ZZhAdtBgZDkdS+M83yrkrGCFxX2Sg9mM0T2ag0oqLwlASqF G9ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si2930293pgc.747.2018.01.26.04.13.23; Fri, 26 Jan 2018 04:13:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751830AbeAZML5 (ORCPT + 99 others); Fri, 26 Jan 2018 07:11:57 -0500 Received: from mail.skyhub.de ([5.9.137.197]:57382 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbeAZMLz (ORCPT ); Fri, 26 Jan 2018 07:11:55 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VbwsSUs77ipu; Fri, 26 Jan 2018 13:11:54 +0100 (CET) Received: from pd.tnic (p200300EC2BCF3A0024194793E6CFFC7A.dip0.t-ipconnect.de [IPv6:2003:ec:2bcf:3a00:2419:4793:e6cf:fc7a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3B8F81EC03F6; Fri, 26 Jan 2018 13:11:54 +0100 (CET) From: Borislav Petkov To: X86 ML Cc: LKML , David Woodhouse , Josh Poimboeuf , tim.c.chen@linux.intel.com, pjt@google.com, jikos@kernel.org, gregkh@linux-foundation.org, dave.hansen@intel.com, riel@redhat.com, luto@amacapital.net, torvalds@linux-foundation.org, ak@linux.intel.com, keescook@google.com, peterz@infradead.org Subject: [PATCH 0/4] x86: Some cleanups Date: Fri, 26 Jan 2018 13:11:35 +0100 Message-Id: <20180126121139.31959-1-bp@alien8.de> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Here's some of the stuff we were talking about yesterday in the form of patches. It builds and boots fine with the ratpoison compiler. Please check whether the alignment directives are correct in the macro in the third patch. Thx. Borislav Petkov (4): x86/alternative: Print unadorned pointers x86/nospec: Fix header guards names x86/retpoline: Simplify vmexit_fill_RSB() x86/bugs: Drop one "mitigation" from dmesg arch/x86/include/asm/nospec-branch.h | 45 ++++++++++++++++++++++++++---------- arch/x86/include/asm/processor.h | 5 ++++ arch/x86/kernel/alternative.c | 14 +++++------ arch/x86/kernel/cpu/bugs.c | 2 +- arch/x86/lib/Makefile | 1 + arch/x86/lib/retpoline.S | 5 ++++ 6 files changed, 52 insertions(+), 20 deletions(-) -- 2.13.0