Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1544736rwl; Fri, 4 Nov 2022 15:40:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5xi1kh0x2pfmaKYJANk0kpY8vWPX9L2jx6VF1bSHxGbNLWrd1FPcn8zsLCJpavZZjtm9NW X-Received: by 2002:a17:902:e5cb:b0:187:2d8c:a4fa with SMTP id u11-20020a170902e5cb00b001872d8ca4famr25055232plf.151.1667601644831; Fri, 04 Nov 2022 15:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667601644; cv=none; d=google.com; s=arc-20160816; b=eBDt3R7l4ZXhy9uPLGeMVS8VTg+vPKMQeeF93UW73Gdo47mjJyH3deF43+zmqRiV/I hPozfXq8xEvRNNyWe4MEQ0zut6fVqHsElWhG3sgd4zf2G0B/NnkrFdA6R+foJez7Tl7m sYr+jd/JkkXZDXFQJvM8KUANXj5U2KXpiEG+xLfignAALZF/MbkGPLJ+ADNngPXbKqqp B/LXaaPSzMHun66r4JRJTXzD2WSH5Ka7wcrteJHbKhpBNMcWp8aUSfY0b38HIztpXVM8 PMgrbXWXnG3kxf/t0IyHdklIokt2/Vu+y+7CL0Z1FefVHa9U+flpCFwTEAih8Dbo1+mD 2bhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ei8+93Q/fjkz9U+hv8dhJtBeDRMXA/IbaEBXH8ZAqXc=; b=HiJvIebLqZ3+n4vTITo7CDdAJlUAxVQTVMjdRY74ZNE9XMB2UJ6zPOl01ESAWbahdh +uDGfChQ9DIYxQuOb0taAa5ZeDWIGmq6PMqPbIivQukgs2qmwJEscmy/QDMggm86e/tX bsTNeEoqHNxYN+IsjW7jE6q6Zjjvfl9jtIkSzYM8duIjQXv1jAGCfXMwQDJuwRBZCqeB rhBDx9/bg2AaH7ytve2zKoM45HCL2hqHn3YEpC0LrA1F/9gw5jhX4sd39KGbHtgUJiAj X2HnkSFlZOR5AY3oR7GOo7pReIH9jIyCrgS4lCf9Zae8264C64Wwc52LdWeZG2PXFlMw lFbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n4hAvMby; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a6383c1000000b0047008c455f5si819271pge.204.2022.11.04.15.40.32; Fri, 04 Nov 2022 15:40:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n4hAvMby; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229485AbiKDWGc (ORCPT + 97 others); Fri, 4 Nov 2022 18:06:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiKDWGa (ORCPT ); Fri, 4 Nov 2022 18:06:30 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26401D10A; Fri, 4 Nov 2022 15:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667599590; x=1699135590; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=fW0Bxr9OnS17BvgprAuZazMwrhTy9Qfa+MwnyV0jt60=; b=n4hAvMbyxzAX+HZ9f5EgeAzpeNQ2G2C5NYqieQrd6sSgBKpDZBaCEqUj GDEbWiJztuLp2Gj5qimeRplzG4qTv1WfxgiC8xPoKja34A9/L7PKnYVxp sgi1TiCf+ktmF2L9BPtCDV3MP7CrbKz4mLwzW2lZeKWJZEDjObAkzxT2p xFNLDg0nCgDCoHqRoirutydS3cqhjuDKc4Dw4o7Px4jAEPRZzA1XqZdDf jPDZNw6EHvvr+tRwJWwv3yZosrjSN+JVkaZpFUXfg8ET+HlP/7yiXgi2v RWIHk4SOM0rtA/tgiFwCIRnv7VHCvxLgIRoSlYTo7lpgpK01hjxIELvMV w==; X-IronPort-AV: E=McAfee;i="6500,9779,10521"; a="289811519" X-IronPort-AV: E=Sophos;i="5.96,138,1665471600"; d="scan'208";a="289811519" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2022 15:06:29 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10521"; a="635243963" X-IronPort-AV: E=Sophos;i="5.96,138,1665471600"; d="scan'208";a="635243963" Received: from anantsin-mobl2.amr.corp.intel.com (HELO [10.209.97.57]) ([10.209.97.57]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2022 15:06:28 -0700 Message-ID: Date: Fri, 4 Nov 2022 15:06:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 0/3] x86/speculation: Support Automatic IBRS Content-Language: en-US To: Kim Phillips , x86@kernel.org Cc: Borislav Petkov , Boris Ostrovsky , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Joao Martins , Jonathan Corbet , Konrad Rzeszutek Wilk , Paolo Bonzini , Sean Christopherson , Thomas Gleixner , David Woodhouse , Greg Kroah-Hartman , Juergen Gross , Peter Zijlstra , Tony Luck , Babu Moger , Tom Lendacky , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221104213651.141057-1-kim.phillips@amd.com> From: Dave Hansen In-Reply-To: <20221104213651.141057-1-kim.phillips@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/4/22 14:36, Kim Phillips wrote: > The AMD Zen4 core supports a new feature called Automatic IBRS. > (Indirect Branch Restricted Speculation). > > Enable Automatic IBRS by default if the CPU feature is present. > It typically provides greater performance over the incumbent > generic retpolines mitigation. Could you also share some information on how this differs from EIBRS and why it needs to exist in parallel to EBIRS?