From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B518C433F5 for ; Mon, 27 Sep 2021 15:50:58 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 87A2660F94 for ; Mon, 27 Sep 2021 15:50:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 87A2660F94 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id D02644B0E2; Mon, 27 Sep 2021 11:50:56 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@google.com Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uSwwq7aJ2CZH; Mon, 27 Sep 2021 11:50:55 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id C2F744B0C5; Mon, 27 Sep 2021 11:50:55 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 9EED94B0A0 for ; Mon, 27 Sep 2021 11:50:54 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bQymA81osx5p for ; Mon, 27 Sep 2021 11:50:53 -0400 (EDT) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 7C23D406E0 for ; Mon, 27 Sep 2021 11:50:53 -0400 (EDT) Received: by mail-wr1-f45.google.com with SMTP id u18so52828774wrg.5 for ; Mon, 27 Sep 2021 08:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bD2SU81ByuO8RLJO5RDrMC/8VFdSNtKnthXXLJULzNc=; b=KPdnEoeTKth8fMdTKgIpFSy869w3KC5nA4MquQVHTHDJxdBR+mmpeme/Bio+k5fsct y2gPk7IU4/ekMyVwex+F4Igu19Nrh2wt6I7SyCvDTksgnK629UvITvv4bAX7ih7lcWRM 7vuLfw5Ud7dNIApDLbNWlF1iGhWp67OsxOuMh7y13EiDfuRQB0XZ8i4wNWXULuygFEXt EHU0OkVvFJrwiZ6sBCasDhCoxTGRa6ctE6Iif7gQjbrBo3+p4lXVp+mNIZDYSD2h/McX oDXAoGzI0/emAX7x0ZxznathRbF+53ohnySmo1yOu+MF275OQKIHA4Wyyq5/+2uDhzJ3 mf/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bD2SU81ByuO8RLJO5RDrMC/8VFdSNtKnthXXLJULzNc=; b=zG4E3SGplYw8+7NvmlJvguWAK6N/SY7qNtW1O96eHDJVoIPaSm+m712pW7bZG8Kp+8 zX8LEyNdaOe6YgkHVX9VgpuDftSI0gjp6iRkevvBILezPiMjKaoNl0Jjo+sFIO9leaUj fSOTiR2PdkmaZjJI+Uc0wY23R3QaRrCsdyvw2FQwMOnygwWDdcoyXWV8ISrfgtTKu2E2 zNDn1NL9uYOLzS32gGCZD029c/14mGbOgfSiiTi9LaSEx0TBTB79Zo8tnmPaz2l6rlYO feucaaJKcOEwiURv8UpzZIqwbupUdvYj1ELSy549sW3mf6thyuZVn9w8MA+xM63Ds8jt v19Q== X-Gm-Message-State: AOAM533jROxDrwZl8IxBaD0SXnw2GzEN5BgLQWlNtJgweXBHb6NK13Xs yKU+U1KcNcpEj8+lSxSgjxbVFw== X-Google-Smtp-Source: ABdhPJwk7UodlbcmeCXvgKd8A7K3G5BMhG4Ur82WbOKNPVZPKso9e2mYyfKX7AMU2xjSrywlN10B7w== X-Received: by 2002:a5d:648f:: with SMTP id o15mr664308wri.338.1632757852232; Mon, 27 Sep 2021 08:50:52 -0700 (PDT) Received: from google.com ([2a00:79e0:d:210:fa68:b369:184:c5a]) by smtp.gmail.com with ESMTPSA id 8sm6619875wmo.47.2021.09.27.08.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:50:51 -0700 (PDT) Date: Mon, 27 Sep 2021 16:50:49 +0100 From: Quentin Perret To: Fuad Tabba Subject: Re: [RFC PATCH v1 01/30] KVM: arm64: placeholder to check if VM is protected Message-ID: References: <20210924125359.2587041-1-tabba@google.com> <20210924125359.2587041-2-tabba@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210924125359.2587041-2-tabba@google.com> Cc: kernel-team@android.com, kvm@vger.kernel.org, maz@kernel.org, will@kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu Hey Fuad, On Friday 24 Sep 2021 at 13:53:30 (+0100), Fuad Tabba wrote: > Add a function to check whether a VM is protected (under pKVM). > Since the creation of protected VMs isn't enabled yet, this is a > placeholder that always returns false. The intention is for this > to become a check for protected VMs in the future (see Will's RFC). > > No functional change intended. > > Acked-by: Will Deacon > Signed-off-by: Fuad Tabba > > Link: https://lore.kernel.org/kvmarm/20210603183347.1695-1-will@kernel.org/ > --- > arch/arm64/include/asm/kvm_host.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h > index 7cd7d5c8c4bc..adb21a7f0891 100644 > --- a/arch/arm64/include/asm/kvm_host.h > +++ b/arch/arm64/include/asm/kvm_host.h > @@ -763,6 +763,11 @@ void kvm_arch_free_vm(struct kvm *kvm); > > int kvm_arm_setup_stage2(struct kvm *kvm, unsigned long type); > > +static inline bool kvm_vm_is_protected(struct kvm *kvm) > +{ > + return false; > +} Nit: this isn't used before patch 25 I think, so maybe move to a later point in the series? That confused me a tiny bit :) Thanks, Quentin _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E821BC433EF for ; Mon, 27 Sep 2021 15:53:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AB38060F94 for ; Mon, 27 Sep 2021 15:53:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AB38060F94 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5IJj5tYIUOwuJWxjEGpXuG+wLZS9LESrjaDb2kuh2Ho=; b=jEuEmdYmqDg5u5 KIkHp2Bp5mhUBSh8K6VRA+L1l3AVap41ZxdI+7IPpAxAvFvlyakWGBdhq3K/W49Pv7UFtJAdgttaP Sh6UsJGl9zNqTlTkN+nmRMr4aeVW7vQwzU79z7/cMgpeUL6U12raXkc/xrR/Zr1T6JbR8GfwCtNXJ ninBLEv01rZnL8S/C3s8c7xVNeLazI6/fj1Yg3YN7YhPSt4jdrQXXVkWtnKfkvWlFW48XMigR99Ez V6ti5G0iAlENAR0Xyxa2tYBNBokALGy64U+66cLLyUDJ5gazccBXftqtKIqsMmz3N8z/y5Na0/LOS ao8lRTZdJ9yNA0n9RiMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUsuG-003FyA-6O; Mon, 27 Sep 2021 15:51:04 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUsu9-003Fuc-Qt for linux-arm-kernel@lists.infradead.org; Mon, 27 Sep 2021 15:50:59 +0000 Received: by mail-wr1-x430.google.com with SMTP id x20so8109377wrg.10 for ; Mon, 27 Sep 2021 08:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bD2SU81ByuO8RLJO5RDrMC/8VFdSNtKnthXXLJULzNc=; b=KPdnEoeTKth8fMdTKgIpFSy869w3KC5nA4MquQVHTHDJxdBR+mmpeme/Bio+k5fsct y2gPk7IU4/ekMyVwex+F4Igu19Nrh2wt6I7SyCvDTksgnK629UvITvv4bAX7ih7lcWRM 7vuLfw5Ud7dNIApDLbNWlF1iGhWp67OsxOuMh7y13EiDfuRQB0XZ8i4wNWXULuygFEXt EHU0OkVvFJrwiZ6sBCasDhCoxTGRa6ctE6Iif7gQjbrBo3+p4lXVp+mNIZDYSD2h/McX oDXAoGzI0/emAX7x0ZxznathRbF+53ohnySmo1yOu+MF275OQKIHA4Wyyq5/+2uDhzJ3 mf/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bD2SU81ByuO8RLJO5RDrMC/8VFdSNtKnthXXLJULzNc=; b=sQ86pFpbF6PKteiGXVg2N9NtK4bzNltUWmhLxWY3fzfWb9TcaWZLCaLxIeAYnzcwKg RufVmfD0uK4HjVGGBMtjRMHAyLOWqvjTnmCTiAEemeGar+s2kUXi8KorEcfVP2tZQzhz Nqc/5XrULtB1T2RmWWMWJ7h+g59Eoo0b7o1W1TnPK//de1uLK4yGoSvG2neBTuRsUqQw TO227JGcf57dQF99u7JE0SC7RGdk/kDtExSV9lSDFjKQjnd05xDEHheO3+pR9G/VTlLF f/r5Ne4Nrw7xP6K/Qer3kF/JuZHf1wuPHf50YP4lyI9Lc6tLYypeOsC3AA7KGSZ1AHzE DOPw== X-Gm-Message-State: AOAM532KUpPFjt3lyXqBbsE7c2qdUpkAuyxHTs89gm3PeB+O+92WDnCQ 69x3xIuZD+1pbK0SRxGTMDl0zw== X-Google-Smtp-Source: ABdhPJwk7UodlbcmeCXvgKd8A7K3G5BMhG4Ur82WbOKNPVZPKso9e2mYyfKX7AMU2xjSrywlN10B7w== X-Received: by 2002:a5d:648f:: with SMTP id o15mr664308wri.338.1632757852232; Mon, 27 Sep 2021 08:50:52 -0700 (PDT) Received: from google.com ([2a00:79e0:d:210:fa68:b369:184:c5a]) by smtp.gmail.com with ESMTPSA id 8sm6619875wmo.47.2021.09.27.08.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:50:51 -0700 (PDT) Date: Mon, 27 Sep 2021 16:50:49 +0100 From: Quentin Perret To: Fuad Tabba Cc: kvmarm@lists.cs.columbia.edu, maz@kernel.org, will@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, christoffer.dall@arm.com, drjones@redhat.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com Subject: Re: [RFC PATCH v1 01/30] KVM: arm64: placeholder to check if VM is protected Message-ID: References: <20210924125359.2587041-1-tabba@google.com> <20210924125359.2587041-2-tabba@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210924125359.2587041-2-tabba@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_085057_903425_63CE66FD X-CRM114-Status: GOOD ( 17.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hey Fuad, On Friday 24 Sep 2021 at 13:53:30 (+0100), Fuad Tabba wrote: > Add a function to check whether a VM is protected (under pKVM). > Since the creation of protected VMs isn't enabled yet, this is a > placeholder that always returns false. The intention is for this > to become a check for protected VMs in the future (see Will's RFC). > > No functional change intended. > > Acked-by: Will Deacon > Signed-off-by: Fuad Tabba > > Link: https://lore.kernel.org/kvmarm/20210603183347.1695-1-will@kernel.org/ > --- > arch/arm64/include/asm/kvm_host.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h > index 7cd7d5c8c4bc..adb21a7f0891 100644 > --- a/arch/arm64/include/asm/kvm_host.h > +++ b/arch/arm64/include/asm/kvm_host.h > @@ -763,6 +763,11 @@ void kvm_arch_free_vm(struct kvm *kvm); > > int kvm_arm_setup_stage2(struct kvm *kvm, unsigned long type); > > +static inline bool kvm_vm_is_protected(struct kvm *kvm) > +{ > + return false; > +} Nit: this isn't used before patch 25 I think, so maybe move to a later point in the series? That confused me a tiny bit :) Thanks, Quentin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 273CFC433F5 for ; Mon, 27 Sep 2021 15:50:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0646F60F6C for ; Mon, 27 Sep 2021 15:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235152AbhI0Pwd (ORCPT ); Mon, 27 Sep 2021 11:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235119AbhI0Pwc (ORCPT ); Mon, 27 Sep 2021 11:52:32 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082D6C061575 for ; Mon, 27 Sep 2021 08:50:54 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id v17so9368189wrv.9 for ; Mon, 27 Sep 2021 08:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bD2SU81ByuO8RLJO5RDrMC/8VFdSNtKnthXXLJULzNc=; b=KPdnEoeTKth8fMdTKgIpFSy869w3KC5nA4MquQVHTHDJxdBR+mmpeme/Bio+k5fsct y2gPk7IU4/ekMyVwex+F4Igu19Nrh2wt6I7SyCvDTksgnK629UvITvv4bAX7ih7lcWRM 7vuLfw5Ud7dNIApDLbNWlF1iGhWp67OsxOuMh7y13EiDfuRQB0XZ8i4wNWXULuygFEXt EHU0OkVvFJrwiZ6sBCasDhCoxTGRa6ctE6Iif7gQjbrBo3+p4lXVp+mNIZDYSD2h/McX oDXAoGzI0/emAX7x0ZxznathRbF+53ohnySmo1yOu+MF275OQKIHA4Wyyq5/+2uDhzJ3 mf/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bD2SU81ByuO8RLJO5RDrMC/8VFdSNtKnthXXLJULzNc=; b=yoTULDDjBhNbYUP9SCXU7Q38jsP3vWBUEWgrd5A/KndBqHfEzYEalfEItO3I8IL+Wj cBeraSdCqyvLLbfBnec7r8Rbe3JnprLJ3pTdjKNAhsghGGh3vrPNu+JcKZq7Adw61bdW OMGsFzgioGucnX2RFftJoLkc5Rr8+FUOweOtiDxzlglMD1hPKIfHUL85+hNy/NR8/NZG XsUnIdY77eWGpcyxcJra2AYFV0DHsfYGsdSXb3QtDmGSZTG2K9O59DzkXCXQHFXB1ucT amX+ZKCrXS3alhSDMCY0PHJvkPSKUkj3n+9KX7IOTtQ/ZWUCKJ17eGP/NngaTZWwtQsd RodA== X-Gm-Message-State: AOAM53192UfzbCCMqNMdM0myykMmy9OCmeyvSopwioPOVAk+V/wyzSsE pb0KRtx+zTT9SWWQAmlYsuTBxA== X-Google-Smtp-Source: ABdhPJwk7UodlbcmeCXvgKd8A7K3G5BMhG4Ur82WbOKNPVZPKso9e2mYyfKX7AMU2xjSrywlN10B7w== X-Received: by 2002:a5d:648f:: with SMTP id o15mr664308wri.338.1632757852232; Mon, 27 Sep 2021 08:50:52 -0700 (PDT) Received: from google.com ([2a00:79e0:d:210:fa68:b369:184:c5a]) by smtp.gmail.com with ESMTPSA id 8sm6619875wmo.47.2021.09.27.08.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 08:50:51 -0700 (PDT) Date: Mon, 27 Sep 2021 16:50:49 +0100 From: Quentin Perret To: Fuad Tabba Cc: kvmarm@lists.cs.columbia.edu, maz@kernel.org, will@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, christoffer.dall@arm.com, drjones@redhat.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com Subject: Re: [RFC PATCH v1 01/30] KVM: arm64: placeholder to check if VM is protected Message-ID: References: <20210924125359.2587041-1-tabba@google.com> <20210924125359.2587041-2-tabba@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210924125359.2587041-2-tabba@google.com> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hey Fuad, On Friday 24 Sep 2021 at 13:53:30 (+0100), Fuad Tabba wrote: > Add a function to check whether a VM is protected (under pKVM). > Since the creation of protected VMs isn't enabled yet, this is a > placeholder that always returns false. The intention is for this > to become a check for protected VMs in the future (see Will's RFC). > > No functional change intended. > > Acked-by: Will Deacon > Signed-off-by: Fuad Tabba > > Link: https://lore.kernel.org/kvmarm/20210603183347.1695-1-will@kernel.org/ > --- > arch/arm64/include/asm/kvm_host.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h > index 7cd7d5c8c4bc..adb21a7f0891 100644 > --- a/arch/arm64/include/asm/kvm_host.h > +++ b/arch/arm64/include/asm/kvm_host.h > @@ -763,6 +763,11 @@ void kvm_arch_free_vm(struct kvm *kvm); > > int kvm_arm_setup_stage2(struct kvm *kvm, unsigned long type); > > +static inline bool kvm_vm_is_protected(struct kvm *kvm) > +{ > + return false; > +} Nit: this isn't used before patch 25 I think, so maybe move to a later point in the series? That confused me a tiny bit :) Thanks, Quentin