Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3288251ioa; Tue, 26 Apr 2022 00:02:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlu/eomE3GSIVEpYawA6aK+RfjDTm9cXjfnm/ja7QqIMaTa5TeEuG6TLcXcGgPaSN92MkH X-Received: by 2002:a63:ec50:0:b0:39d:2d53:76e7 with SMTP id r16-20020a63ec50000000b0039d2d5376e7mr18157841pgj.338.1650956526882; Tue, 26 Apr 2022 00:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650956526; cv=none; d=google.com; s=arc-20160816; b=dHOJcn/Z+U0RWKQijJQLTQbHia6PC8UpMqxO7bvq+W1j5rM2W3Gu8jTFvKKBES+yba Bdz+LZFEAqh/jrQuTLZNoYr1b0yrivD1TsXfUWWlTwP0/7bw0iHiQKZ0JwnegnyWjI5K nbMBQadReXKeijGPivbAvY2op+v83T/cgzNLX5MVU3h7tR5who0WVx8WWPb3JVIXUqaM Zw3PvKyY/S5kDH0rThAj7BUSyCbX8NrzzATkbTaE+tF4CbZ5HsKiTE6JoMH+q7mG99lV UcPBQxGYVKv+x28viYwwyul57lpBprpbUjjygLsJIATDSB7S5M81jpLtx5aCOc6N8TCc eyZw== 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:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=zedpwwR1TA9DmKViHcbN55kLPR8XA/pj49fSd6G3vtg=; b=tuO/kRuo8Lc209DdpZLfV253EcxAu3StPg6Gohbjj/6t5SdVTH7dC2oNCSsGvEJ1nr Zhg29nSXwBUSz5H4GrhG3Z/o0Ra/MrCJZyU+2S07qMoKacJjSydqNVhv/bGQdpgTj135 ePT85ycR/xumjXjb1MLsKtIwAAf4bIKhqvAQ7faqhL9KR9bCylOZETstfC5y7JPifkah 4FyWSRhnhvpwlR1oPCjyr8rMlQsPXkrrHUnA4JE5zrKpd8Qq/hUXUlI6ZHTrAs7hRSqL JCdkRip0K/e8f5B/Ir+by2WG4Z21zJchqD0deOY/AKfhV17LeW8PpUmJWG6S8zUOv7iz 61DQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a170902ccca00b00155c9c5be01si18527640ple.570.2022.04.26.00.01.52; Tue, 26 Apr 2022 00:02:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236808AbiDYXES (ORCPT + 99 others); Mon, 25 Apr 2022 19:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236620AbiDYXEQ (ORCPT ); Mon, 25 Apr 2022 19:04:16 -0400 Received: from vps-vb.mhejs.net (vps-vb.mhejs.net [37.28.154.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA5B6403C2; Mon, 25 Apr 2022 16:01:11 -0700 (PDT) Received: from MUA by vps-vb.mhejs.net with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nj7hT-0002D9-QS; Tue, 26 Apr 2022 01:00:59 +0200 Message-ID: <656aaf33-8c70-8b06-2cdc-fd2685a1348b@maciej.szmigiero.name> Date: Tue, 26 Apr 2022 01:00:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Content-Language: en-US To: Sean Christopherson Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Maxim Levitsky , Paolo Bonzini References: <20220423021411.784383-1-seanjc@google.com> <20220423021411.784383-12-seanjc@google.com> From: "Maciej S. Szmigiero" Subject: Re: [PATCH v2 11/11] KVM: SVM: Drop support for CPUs without NRIPS (NextRIP Save) support In-Reply-To: <20220423021411.784383-12-seanjc@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 23.04.2022 04:14, Sean Christopherson wrote: > Drop support for CPUs without NRIPS along with the associated module > param. Requiring NRIPS simplifies a handful of paths in KVM, especially > paths where KVM has to do silly things when nrips=false but supported in > hardware as there is no way to tell the CPU _not_ to use NRIPS. > > NRIPS was introduced in 2009, i.e. every AMD-based CPU released in the > last decade should support NRIPS. > > Suggested-by: Paolo Bonzini > Not-signed-off-by: Sean Christopherson To be honest, I think completely removing KVM support (rather than just nSVM) for these older AMD CPUs is a bit too much. I totally envision complaints coming after this change reaches distro kernels. After all, even older Yonah parts remain supported on the VMX side. Thanks, Maciej