Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5014884rwb; Mon, 31 Jul 2023 16:47:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlHn3VycDNkcg0BHRmI3IPs+3GMAFNqyy1M+b0FxOQ0Jgru1GrKhsU1QLi3z2aF8yegdCl++ X-Received: by 2002:a54:4398:0:b0:3a4:2545:1cec with SMTP id u24-20020a544398000000b003a425451cecmr10435219oiv.38.1690847258890; Mon, 31 Jul 2023 16:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690847258; cv=none; d=google.com; s=arc-20160816; b=uIRTkuzgDDYn/AqRDqIEiN4ibjjijUhYSs+f1Hf4uSeQ/v3miC0lC0WYHDVL/9BxqT OWK/D0sYgSvFjSy+KJb7y3mZHAmpT8zxKNR1UWGX/+R+yaHfoXlAn/5opfFKRqGZ21xy 7mg3TRsla3MfMKIWofBoifLoqvBvJbg6yPlML2VjVsWFVQfKFdaoKl74hLTe+XAUX8uz dgK+YtNvS9ZHNa2OWayWk15TYaGFmw7Iu3xF0QlRBXGiymjx1GtzCTTs3lZgJ2ixac03 6D5AojMh/kydq9+gPZWrPKDrAlQo2IPaUw5eBjhdhSN9mwMZCrEZQIPg+n37/FX6ybmH G7rg== 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=q7XDjhCYt7FGRw55Y+SxXkLDr9VBzRKTPxUQEL1DO0A=; fh=okUhqSGuRFsMaHZul+kTYuy4DoHdleM386l2mBgZbd8=; b=eddctpaN5PcDQMFa/y/xZqD8wpli3vpqrwFnEa/BPgIJqWs4oJiS808YWpEchxNZPN bHn7neh0glFhuHycRg0PxaG14r6vELaiNUrzWyiLZ8MBfUn4Ixhnt8/+e4LW8OYCZJxV V2WUkD6RdrWWgMQ/qtRfgKYt/6jOfhiH71NKL1/ifCqOmoCprmC0vGjdWwSR6XXeHTNX 47sHUPBbxRzjC0vssWuE0bwXocvQPswkLBiH3Vugl8Gw5IFwSi+3O6PdEGKfoJbC7lt3 drHdaEI4Rv15ezrbkpJoOPSTsJB9nu9INEUDVg/19elDb6oO8zgBlS+V40jy8Xa4rx5J Cy4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=0r14oa0y; 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 f7-20020a17090ac28700b002680abd9398si8033792pjt.88.2023.07.31.16.47.26; Mon, 31 Jul 2023 16:47:38 -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=@google.com header.s=20221208 header.b=0r14oa0y; 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 S231654AbjGaV50 (ORCPT + 99 others); Mon, 31 Jul 2023 17:57:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbjGaV5Z (ORCPT ); Mon, 31 Jul 2023 17:57:25 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3960139 for ; Mon, 31 Jul 2023 14:57:23 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-1bb98659f3cso34921295ad.3 for ; Mon, 31 Jul 2023 14:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690840643; x=1691445443; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=q7XDjhCYt7FGRw55Y+SxXkLDr9VBzRKTPxUQEL1DO0A=; b=0r14oa0yxeLPoDTcrUFQsdRmJ1MzKa5X6LsW73dNl1PU/OSY0zRi/GXEUUtRuunzke BEXFYTKK9dhr/btpqKk9/KxGb46VF7nLnK8mdvlEa2Vqw6gx1jzqrm22oIwqY9XYoVAB o6tMTCDy9zYK4CsNQNKSC8DRFIK6HeIcOJBJcWQcv4dx4BpPRccobsOEqeM2JlWM0c+x tRilDqJw0H63lLGsTpxmR4Bilf75D9M09hSNVeFdNixjCrNPPDkxBE6WoQW7XXZ0GnKM oLzZ0TTXsq0m1tiYsjmkycSmFXfux5P5Y7E/la2Cz24A5F+xCBn6/y1+P7bnaB9/Ug+S oKIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690840643; x=1691445443; 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=q7XDjhCYt7FGRw55Y+SxXkLDr9VBzRKTPxUQEL1DO0A=; b=g6UlLuB7zfSL6zWBF/HydYn07oULSukLEmGxfv+AERRkx0ai5IbPrQUcg41z/fOV+d r74BATMXKI/pCaYW3616LYD3AImCtW2J0i+/sP1iASjCr1+beJro7fozcl/xvqF1Copd 0UtUfYad6iaHLMmPj11CUutvV5lIqW8qkCaI5a6ImSWLddRt6y2/kFbpRa1tNcsGXBGs WHY1hXInGTyH+5yqIeLlSmC+3HRRuQu1iWUcigR5szGG6AA0XXhRzHs500jjARcSXkzn RNwWXlJY0DElb1/RirxHxZjqBGbAIDOxSgNsBuHjsdHV2jyprdbwZD1nZTdC2Ozt53Iz ttSA== X-Gm-Message-State: ABy/qLZOWd7daGQHhXDYCGB5iY+J5ySNifPA2Eng+rnFG5Dgc3/bLWYW niEjc17tMCh/6v+xoClBRXPTCqSJfnw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:2291:b0:1b5:2b14:5f2c with SMTP id b17-20020a170903229100b001b52b145f2cmr50366plh.4.1690840643199; Mon, 31 Jul 2023 14:57:23 -0700 (PDT) Date: Mon, 31 Jul 2023 14:57:21 -0700 In-Reply-To: <20230722022251.3446223-1-rananta@google.com> Mime-Version: 1.0 References: <20230722022251.3446223-1-rananta@google.com> Message-ID: Subject: Re: [PATCH v7 00/12] KVM: arm64: Add support for FEAT_TLBIRANGE From: Sean Christopherson To: Raghavendra Rao Ananta Cc: Oliver Upton , Marc Zyngier , James Morse , Suzuki K Poulose , Paolo Bonzini , Huacai Chen , Zenghui Yu , Anup Patel , Atish Patra , Jing Zhang , Reiji Watanabe , Colton Lewis , David Matlack , 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 Content-Type: text/plain; charset="us-ascii" 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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, 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 Sat, Jul 22, 2023, Raghavendra Rao Ananta wrote: > arch/arm64/include/asm/kvm_asm.h | 3 + > arch/arm64/include/asm/kvm_host.h | 6 ++ > arch/arm64/include/asm/kvm_pgtable.h | 10 +++ > arch/arm64/include/asm/tlbflush.h | 109 ++++++++++++++------------- > arch/arm64/kvm/Kconfig | 1 - > arch/arm64/kvm/arm.c | 6 -- > arch/arm64/kvm/hyp/nvhe/hyp-main.c | 11 +++ > arch/arm64/kvm/hyp/nvhe/tlb.c | 30 ++++++++ > arch/arm64/kvm/hyp/pgtable.c | 90 +++++++++++++++++++--- > arch/arm64/kvm/hyp/vhe/tlb.c | 27 +++++++ > arch/arm64/kvm/mmu.c | 15 +++- > arch/mips/include/asm/kvm_host.h | 4 +- > arch/mips/kvm/mips.c | 12 +-- > arch/riscv/kvm/mmu.c | 6 -- > arch/x86/include/asm/kvm_host.h | 7 +- > arch/x86/kvm/mmu/mmu.c | 25 ++---- > arch/x86/kvm/mmu/mmu_internal.h | 3 - > arch/x86/kvm/x86.c | 2 +- > include/linux/kvm_host.h | 20 +++-- > virt/kvm/Kconfig | 3 - > virt/kvm/kvm_main.c | 35 +++++++-- > 21 files changed, 294 insertions(+), 131 deletions(-) Unless I've missed something, nothing in this series conflicts with anything that's on the horizon for x86, so feel free to take this through the ARM tree once we've emerged from behind the bikeshed :-)