From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C90F2C00140 for ; Thu, 18 Aug 2022 16:14:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344147AbiHRQOO (ORCPT ); Thu, 18 Aug 2022 12:14:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245298AbiHRQOM (ORCPT ); Thu, 18 Aug 2022 12:14:12 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3890F474DC for ; Thu, 18 Aug 2022 09:14:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 65EB9CE20E1 for ; Thu, 18 Aug 2022 16:14:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15074C433D6; Thu, 18 Aug 2022 16:14:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660839248; bh=3yNt5Kqiwl2aUSnygBJDnjmyZm7Hyuhg3PJ++2+gJ8g=; h=From:To:Cc:Subject:Date:From; b=KyeGjGyQY4tAuUTQMtnGIt89ONINk7I+XxpeeleLUh6sOtt10CaeI20Rx46yXoIHL z87H3i3+13KRNpKuYR3PnFYgW3Ixcti6X1EaztztxooNgSLgsP4XfdkYKrkmfCTa0H nwfQSW3KY1JLdRqKpd8Iafxyzft1rfQcAtnv6k02VH2wqQJRPoFQlUQLASvgtpVLjf q7BUNtlWw2M/Bn7a/dAXiIphb6JGJWT3UTZsh0QydZtiTfAsKMaCNV3Sl+VYwQveAA P3p6Pn+Hdu29JVHY5Pv6I2/3ptJ+q853EIs+Bm1NZzgGbz/iQp5KnMmQjR4VRcZxqv 2R+3YXYdyHHcA== From: Josh Poimboeuf To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, Pengfei Xu , "Yang, Weijiang" , "Su, Heng" , Peter Zijlstra , Paolo Bonzini Subject: [PATCH 0/3] x86/kvm, objtool: Fix KVM "missing ENDBR" bug Date: Thu, 18 Aug 2022 08:53:40 -0700 Message-Id: X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the "missing ENDBR" KVM bug, along with a couple of preparatory patches. Josh Poimboeuf (3): x86/ibt, objtool: Add IBT_NOSEAL() x86/kvm: Simplify FOP_SETCC() x86/kvm: Fix "missing ENDBR" BUG for fastop functions arch/x86/include/asm/ibt.h | 10 ++++++++++ arch/x86/kvm/emulate.c | 26 ++++++-------------------- tools/objtool/check.c | 3 ++- 3 files changed, 18 insertions(+), 21 deletions(-) -- 2.37.2