Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp905438rwl; Thu, 10 Aug 2023 03:37:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqSZdHpP3w7r13LqzNby2hGm6x3xmgEtFDkekmxrSmBspDLpn2nJ7YnDXutJDth7OMXJiI X-Received: by 2002:aa7:d4d5:0:b0:522:3149:159b with SMTP id t21-20020aa7d4d5000000b005223149159bmr2215091edr.2.1691663877668; Thu, 10 Aug 2023 03:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691663877; cv=none; d=google.com; s=arc-20160816; b=0jVNkDlqvOgt78O1QFO2n53W1SNUQnoGcg75f5z+zdeOtm6PXWTm3dvr726fBT+TzH wIhV/68En/WKzBMLphlRTDWAU28kHfiKj4P3IwUhv2siQNwqXQAyxAZAdV0xWMqjn6gK oNCqWhHp/cpNCNpltKlYedpUNRdaKcpfrcyi0sp6miwyqWSBJt5Xs59VaoPnq5vZ4otC y2Yg8X3cMxn4ITrRgN8m7cF9qvhpxQYTJP/tRkoSge+rqEoJnUmlawEb54F+EVCyXJGc bOugCD4g5OoE7KRovVYkkvIbnv4Wx9EaYuDPBhYvWPQ3WXy/ejaARt853FD/LFQr+9u1 qa7w== 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=tRRGt270hpgqI4zE1zgSatf0+H4Bh/F+VZZfxHZMxJQ=; fh=uuw2kayK0vw6pbQrIg8tBdiX6tc5cF3DgRYq2A4DxoE=; b=KNFxvB2y9Oogc8fpgJlYQvgOmFw0UlHcYm2drXc54PcNbAZ6bPA/XQoOZp+DnLesV2 7C27/WoVVwEfzu5LWmrz2yikfqD3O+S28/UPRb2aeEo6rjF0QVc2z5RRs9XfdCELCqbd LcjMtQpRhGebLooZjEBr8OrE83BiZQP8BnWi8/TEsvNvkSUBY+d7OxRcCXAdWVVT47XS ZlhnQYLTcBufzlopstFftJ3Znpg0Ooya25GZqEOIkSSle02xKMa24jYmkHwup0TGYzcA EVGp3vBVYhmfIa6cgbdOjzo5tLHORygJbM9IwHomP5drOR2yq4g/e30Zc70lKDDiUMPZ 587w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="oAEb/UVB"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020aa7c38c000000b005236b85befesi1211494edq.7.2023.08.10.03.37.32; Thu, 10 Aug 2023 03:37:57 -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=@linaro.org header.s=google header.b="oAEb/UVB"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232956AbjHJJEV (ORCPT + 99 others); Thu, 10 Aug 2023 05:04:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbjHJJEU (ORCPT ); Thu, 10 Aug 2023 05:04:20 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CC6B211E for ; Thu, 10 Aug 2023 02:04:19 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3fe5c0e5747so3643365e9.0 for ; Thu, 10 Aug 2023 02:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691658258; x=1692263058; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tRRGt270hpgqI4zE1zgSatf0+H4Bh/F+VZZfxHZMxJQ=; b=oAEb/UVBkppyVSOHobReOPQ5YTJ38GSYmmwnXKvWBacyY35eiBK3BbweF9r2wySUml MEcisqaWbMu75RD/yi2+TApQnL2dFNUOP3LxnRpHcOKij/GZo0w0ruS8u+2sRfizq7K0 RXpbZa5ou88CCBGxGOuZX1JLIdZicfZdY/CT8cY9pTtnS0KjgGk4/lotdDB2sxhQlLsF KS8SGcoWUwYCt9WiECBncj/W3XO/pC9wzUYaNE5W9koIsUJNRDyCxnF+WlJ36Zyyu8gs E3wn44pqQEnSVjV3WUZmbwDcfSycWhFbxh8XhXu2aO73sGromowt+6Napedljzo4dNil 4yog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691658258; x=1692263058; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tRRGt270hpgqI4zE1zgSatf0+H4Bh/F+VZZfxHZMxJQ=; b=Fv/WHfFdL8V9+P1GY/ijnEu8ToviFzqsqVRxoug9FPl5Eqz/YipH2wEpVf60oa9uhL lFVGxrmjkpQPrilrgEo8NRMB8E5/7tXKf3Dv8UIwqVNT7UXsQI5JN8iXtnBJ+8h64CKG lZ4iTyqmc1bK6JzbVKXGMYqs/+j7lfW6lrFgSj2pOsAtsfB6lq9vFmeB4GMwsfHAi1qf yZpWn6YiQvfRAeKuZZoTzYPRhSSaipzUPUCiZ1Bc0JW7x2FfkFg+5+pmLEHdDJs7quJC lcf7tirXWLL+yTNzlZSPnZOWB+we0+Fc7wWw0NsvIe+NPPch/POhEuTqWXD0nta2qKNz lATg== X-Gm-Message-State: AOJu0YyIM4d7ACTH2yeM0WA4MSgMcr7wkz+qNswE19oUU2Xf+H9F0JRw bMVxFm1rTkbMiMYtX1wGl7sOBg== X-Received: by 2002:a05:600c:4fc8:b0:3fe:2120:eb7c with SMTP id o8-20020a05600c4fc800b003fe2120eb7cmr1225438wmq.0.1691658258110; Thu, 10 Aug 2023 02:04:18 -0700 (PDT) Received: from [192.168.69.115] ([176.176.158.65]) by smtp.gmail.com with ESMTPSA id m22-20020a7bcb96000000b003fe2696ccfcsm1464479wmi.23.2023.08.10.02.04.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Aug 2023 02:04:17 -0700 (PDT) Message-ID: Date: Thu, 10 Aug 2023 11:04:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v8 04/14] KVM: Remove CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL Content-Language: en-US To: Raghavendra Rao Ananta , Oliver Upton , Marc Zyngier , James Morse , Suzuki K Poulose Cc: Paolo Bonzini , Sean Christopherson , Huacai Chen , Zenghui Yu , Anup Patel , Atish Patra , Jing Zhang , Reiji Watanabe , Colton Lewis , David Matlack , Fuad Tabba , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Shaoqin Huang References: <20230808231330.3855936-1-rananta@google.com> <20230808231330.3855936-5-rananta@google.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20230808231330.3855936-5-rananta@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 9/8/23 01:13, Raghavendra Rao Ananta wrote: > kvm_arch_flush_remote_tlbs() or CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL > are two mechanisms to solve the same problem, allowing > architecture-specific code to provide a non-IPI implementation of > remote TLB flushing. > > Dropping CONFIG_HAVE_KVM_ARCH_TLB_FLUSH_ALL allows KVM to standardize > all architectures on kvm_arch_flush_remote_tlbs() instead of > maintaining two mechanisms. > > Signed-off-by: Raghavendra Rao Ananta > Reviewed-by: Shaoqin Huang > --- > virt/kvm/Kconfig | 3 --- > virt/kvm/kvm_main.c | 2 -- > 2 files changed, 5 deletions(-) Reviewed-by: Philippe Mathieu-Daudé