Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp25766pxb; Tue, 12 Apr 2022 15:47:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhPrJjJcHB41AEl1wZELzWEE8k4OROfs5X2r51vijKuIwAbB8Y2/5gAzX7gtvj0p/VqSVq X-Received: by 2002:a65:5847:0:b0:39d:904e:f5d6 with SMTP id s7-20020a655847000000b0039d904ef5d6mr5061657pgr.31.1649803664750; Tue, 12 Apr 2022 15:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649803664; cv=none; d=google.com; s=arc-20160816; b=upl4SK+IsO1/ntlUGcaAYGwWDUkL4T5qxhPnd4jEwLMRXk5pntx4iG5+aWZ0Fxiap0 XJ07xuvce25tiyFYZBMjE82LHwclxj779XnW6VRZUVS6rSsSbmDAvu2UVzoG4s6YTJ3H 8sxVd9m4NswK/4PBKNCB8hG8bu0wyEJEzRd6vXhTqfbkYLqvY3mvhl69l5meapJ1uAoD NSFCN8319Oe4zqwcv+Y1kkNuWYLKCfO43657nQRZpFSvJ3VuqNscVEtrbgfIHtbfTfR7 lHgpfXrfWdQiWjH/fJ1JKdvd736e45sSzhq+kGqz9h2yZreA7HaHSqUJ/3o33XhIsVL5 gjQw== 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=4GWCpXh3UybLbGvYewvcYdFEw8SRm16vHfDBMAd/bWw=; b=vVieZXlzZ/ad1Q8EJTIP0p6C6Ze24IvHVBGHdYBnTxUoBlJ6BTJfWTRcJ49qOd9YCJ JGM4EcRxW8pPvYHxi5DaZ/f17A/1sN7MGkNJcqir7wKHXBrL5HfaWMMXHS1qCLILqKZ9 BLc/edZ4weSmInAMNaZp9bwhss/gWsCLE+So2MhgU7CTo4aFgR8Dj7IFguBwTfMzoF9S 5P/PldCftm4Ir3cWZAJG+daRBoMm9wceAnrL/9n9EOHELo7jiv/6pxqXoasaxRUImWSC MUoVW2qMMndOnihvOSFkugfWGvLAnX46SMy29rhYorO0lVkrtx4DLcLnIwm/IcGODZ0M 8t7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CmancUPI; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t2-20020a17090a4e4200b001c7bfb058absi12666881pjl.99.2022.04.12.15.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:47:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CmancUPI; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 79DC51BA45D; Tue, 12 Apr 2022 14:28:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbiDKXtC (ORCPT + 99 others); Mon, 11 Apr 2022 19:49:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239284AbiDKXsy (ORCPT ); Mon, 11 Apr 2022 19:48:54 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0FEB2D1C5; Mon, 11 Apr 2022 16:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649720718; x=1681256718; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=M4z4Q955a3/4N9f2aOTjbxPXvTzaZ4umBszVHw38CKg=; b=CmancUPI/I8iM0L0AXkcpheFS+U/ocFsKPF9vE+qRSg+nc5pz7VsJsYf p3peL+7BWX5WJRzGDAmuzgZjXR6Pyb92QSdhNiLszc2yQ4JVJd9KHbMMZ Gx+Ln1VtCyzCjRGdAVWc/wa6W2NpBGJZW/tQQ1O12nvFoRehOOjqm475x hE7RGuUFZiM9EPRnbTlQhVflthwbvmsTFM1YBxwqR9ULbmjR3LZuli3r2 lb2eLP/0dq1LhaKNuFMpzaqKmiwGtVeTu1quU+qgRqIqmXdX0pDmIxWGV B5wS5raeckW4CknlDsJI2i3W7q3/veSuanK7BPn4amt1bNmb5SAAGUGN7 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10314"; a="322684314" X-IronPort-AV: E=Sophos;i="5.90,252,1643702400"; d="scan'208";a="322684314" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2022 16:45:18 -0700 X-IronPort-AV: E=Sophos;i="5.90,252,1643702400"; d="scan'208";a="572472056" Received: from minhjohn-mobl.amr.corp.intel.com (HELO [10.212.44.201]) ([10.212.44.201]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2022 16:45:17 -0700 Message-ID: Date: Mon, 11 Apr 2022 16:45:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] x86/tsx: fix KVM guest live migration for tsx=on Content-Language: en-US To: Jon Kohler Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" , "H. Peter Anvin" , Tony Luck , Andi Kleen , Pawan Gupta , "linux-kernel@vger.kernel.org" , Borislav Petkov , Neelima Krishnan , "kvm @ vger . kernel . org" References: <20220411180131.5054-1-jon@nutanix.com> <41a3ca80-d3e2-47d2-8f1c-9235c55de8d1@intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 4/11/22 12:35, Jon Kohler wrote: > Also, while I’ve got you, I’d also like to send out a patch to simply > force abort all transactions even when tsx=on, and just be done with > TSX. Now that we’ve had the patch that introduced this functionality > I’m patching for roughly a year, combined with the microcode going > out, it seems like TSX’s numbered days have come to an end. Could you elaborate a little more here? Why would we ever want to force abort transactions that don't need to be aborted for some reason?