From patchwork Thu Jun 30 13:57:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 12901901 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1EC1C433EF for ; Thu, 30 Jun 2022 14:14:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235729AbiF3ON7 (ORCPT ); Thu, 30 Jun 2022 10:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237511AbiF3ONY (ORCPT ); Thu, 30 Jun 2022 10:13:24 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4FB437A84 for ; Thu, 30 Jun 2022 06:58:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 700C7B82AEE for ; Thu, 30 Jun 2022 13:58:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED6F5C385A9; Thu, 30 Jun 2022 13:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656597515; bh=GLDjXjp/5WNyi918MOd9NbgMrab/XFfXxeTihS3gYgw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZnQL2/9/HgMh/6c2XrTkjm/ECa8LoHjscvrW+pW7sGkKChuolqriV3SDgnM4g0YiU d97bXwT4yxA7LzXE1csBh28Yf6GBYg+e1jAwbbBaZAsUzP/69I6BDP3NI7mCqand0e iRfwiY0sUH50McyO/7zSvUMkUNrPHszy1HYaYyYd2KTOB/+y2Kd+PkP4d1rXOWe6zS S3XNgilOp0IaibgGj7svmLGJr2EAoDnUK+l8CIcI5CrchpUQvSCk/OQCIuCFH67AYC nDIraq0hUxPIpqQv/9qT40gBR3/V+oh7o9gYKXP0lw3wk6J8lGV3RK2veZ1WnkDRQj xlDqjAkhjFxyQ== From: Will Deacon To: kvmarm@lists.cs.columbia.edu Cc: Will Deacon , Ard Biesheuvel , Sean Christopherson , Alexandru Elisei , Andy Lutomirski , Catalin Marinas , James Morse , Chao Peng , Quentin Perret , Suzuki K Poulose , Michael Roth , Mark Rutland , Fuad Tabba , Oliver Upton , Marc Zyngier , kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 10/24] KVM: arm64: Include asm/kvm_mmu.h in nvhe/mem_protect.h Date: Thu, 30 Jun 2022 14:57:33 +0100 Message-Id: <20220630135747.26983-11-will@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220630135747.26983-1-will@kernel.org> References: <20220630135747.26983-1-will@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org nvhe/mem_protect.h refers to __load_stage2() in the definition of __load_host_stage2() but doesn't include the relevant header. Include asm/kvm_mmu.h in nvhe/mem_protect.h so that users of the latter don't have to do this themselves. Signed-off-by: Will Deacon --- arch/arm64/kvm/hyp/include/nvhe/mem_protect.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h b/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h index 998bf165af71..3bea816296dc 100644 --- a/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h +++ b/arch/arm64/kvm/hyp/include/nvhe/mem_protect.h @@ -8,6 +8,7 @@ #define __KVM_NVHE_MEM_PROTECT__ #include #include +#include #include #include #include