Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1614444rwb; Thu, 19 Jan 2023 13:03:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXsa+c9VmR//DGEvD1TmUUBzg0Q0kuv9oi5aSnVeiiIXZ/Q9COya0sxuR/yWP1K+FJGiE2sO X-Received: by 2002:a05:6402:2054:b0:496:b479:e437 with SMTP id bc20-20020a056402205400b00496b479e437mr12000010edb.27.1674162202102; Thu, 19 Jan 2023 13:03:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674162202; cv=none; d=google.com; s=arc-20160816; b=fG1gAsfWw4Xu6p3cEiFVTfrh3JA1pAtiaQe1sLCc2um34D+ruWC0nBHDyfz2JFNWIl yHMRPPn1BEoGmksJbObAKgEY9O3p6tGwfkCN+YnCFvLL2UTlskNBsFb12X/AbRVX1sbW HiJTAZwExVDzn8VX/5C2UudESfQdAPHYW5Hs1dN1HzG53yZ71L1jkdt9J6k5AMLWFF+C ZsOlyn89vDSREoWIBw44kjn5rCWnROXRe9JgeWNfI69fFZimLu2YTU8R1hns9orMyYJ7 VE4WzUjzAhd+umEDSoyiwiVvk0cEswG4/dKwImZ+0XBAQSoen2QSvR5n+h/OuP5ynq7w BwPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=Kr5Q2q0Ve+Pe7+jty2F9WP7IXPdPCiaONGdC3SEcJCc=; b=O+BrRDfgxy5RDZ3G93yzI8PWB6H6CpPKAw1gO8DPMZ+dSZFc3qw54f+ITRlYUP/Px/ OgjecAzQOuKuQ8VN0j9g2BUt+tA7ld45lmlgyBEmyR6PhySeJ4LUBOorMBWLNmkLQzHQ C6kBmRuDq21eWAUayOkVowJO8yVJLKv7sdw2dgtK+KKop542WBP51CZvmgITjeOSg0go VojWd4N8/8f0gpmR2aEv0rjZvdngo2s5tadbXOZ7TgrKWZoxjV8Cv+vL0ZpT9W6WCGRD wOz88FEI6yEhiDTCU6z1ccH2E9TJB3b/2XJWxNH6PSvxZX+1I5iHuKHlkFFKy2pqTb7S a5eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="JkxQZ/LV"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020aa7c251000000b0049e9657facdsi1224479edo.423.2023.01.19.13.03.08; Thu, 19 Jan 2023 13:03:22 -0800 (PST) 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=@google.com header.s=20210112 header.b="JkxQZ/LV"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbjASU6q (ORCPT + 46 others); Thu, 19 Jan 2023 15:58:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230312AbjASU4X (ORCPT ); Thu, 19 Jan 2023 15:56:23 -0500 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0924A4955F for ; Thu, 19 Jan 2023 12:55:42 -0800 (PST) Received: by mail-pf1-x449.google.com with SMTP id f22-20020a056a00239600b0058d956679f5so1430888pfc.5 for ; Thu, 19 Jan 2023 12:55:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=Kr5Q2q0Ve+Pe7+jty2F9WP7IXPdPCiaONGdC3SEcJCc=; b=JkxQZ/LVH/doRkTNSUgHIzqJaOyeOz+COgABHjmdN+WH4SnXL/nz5hbWj/VKwNNVZG kGbCjEn58I77K4yGndK8XJo+LUpRbqCdBfOvfrKmDnWOYl689/kkl/sBwR7RNEbd3d3f EQg/RX4IBBeZ3cbCX9pkToCuZ5RlWKsCE9IScqQ3J4/WZ1d2Hf2QM357nZgZkuW8KOfB drFIDkUY2qRqJYR6OxBeXevkWOhW+suw3TVJnOLzWlgDSiMezXr/Foo5290cKicj1Otm Yz3JNSvapNwD/hRyLxftb0bFts2Qxjfr+kd+N+7MaTSv+95X8urL0Bv81c+y0RDk8ywA 33TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Kr5Q2q0Ve+Pe7+jty2F9WP7IXPdPCiaONGdC3SEcJCc=; b=ezgKollH2RMQ53lsyQY/v6XzntrnwLKMYHcvaI/julYtVAE41fr64b1cZhD16s7Hh0 Bi9wk54Zopbdcp/ei9TfnI34oRAI2FnLHBLZ3yQZMRwfVttpiyLiHuvshVMTll1IAk3R 9kIgvA6hvINGLiUsyjXHLLC7pN1rOaT4DDpwdMmmQj5xNa3GO9M5GtuIJE6VCGipakUK 7g3uLOIUo6SuSGQnBs/qWZVdS42gh0e0F4ZhEz4su2dtU9W1WqAI+LyOQIHfTMLpeIIt IPXcQH9ZrHHYTgahkQQ3d0+NemiAH7+d0CsQna/e+SS5E/72Zt2BX9rZdxB65IeDSzr4 2Bqg== X-Gm-Message-State: AFqh2koTRGN8EfDw05XJBTPnYGKD47pan7dE/nlg8vvnMcvFqhgk1agy BWMbwIAoJMISf9RDbwIBfv4q2ZJMMKI= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:90a:414c:b0:229:9369:e62a with SMTP id m12-20020a17090a414c00b002299369e62amr1532308pjg.231.1674161741551; Thu, 19 Jan 2023 12:55:41 -0800 (PST) Date: Thu, 19 Jan 2023 20:54:04 +0000 In-Reply-To: <20230105100310.6700-1-jiangshanlai@gmail.com> Mime-Version: 1.0 References: <20230105100310.6700-1-jiangshanlai@gmail.com> X-Mailer: git-send-email 2.39.0.246.g2a6d74b583-goog Message-ID: <167408804666.2363885.5695334430262199072.b4-ty@google.com> Subject: Re: [PATCH] kvm: x86/mmu: Don't clear write flooding for direct SP From: Sean Christopherson To: Sean Christopherson , linux-kernel@vger.kernel.org, Lai Jiangshan Cc: Paolo Bonzini , Lai Jiangshan , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , kvm@vger.kernel.org Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 Thu, 05 Jan 2023 18:03:10 +0800, Lai Jiangshan wrote: > Although there is no harm, but there is no point to clear write > flooding for direct SP. > > Applied to kvm-x86 mmu, thanks! [1/1] kvm: x86/mmu: Don't clear write flooding for direct SP https://github.com/kvm-x86/linux/commit/5ee0c3718540 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes