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 X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3ED3AC433DF for ; Fri, 19 Jun 2020 12:11:27 +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 E86BF206F1 for ; Fri, 19 Jun 2020 12:11:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="knoniYKK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="aAA1aFkx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E86BF206F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=srWdvAOdV781kHfuc+PMlfVABt6O7zhE6e54YMc0AmE=; b=knoniYKKzls/SX z/9sBKTZTTXMo64WlqxbZW9kBUSQ62uNRL7HIOIt9Q74DzxB5eO6a+J+TcVj4Re+illYDvC/6v0+I 0O8ZB6UM8M8h2UyNiJzbzMU1g+JwHR2wOMGzhp6CxybQSyxQ4FFqL1Whh76o6vzsb9trVCZ2gedf8 ptpTLvYuySIdY+i/3/imD7ZywaBt0/diXVxSrzUY8fgr/QOV1h2qqAmmsLoFTSvzEogxrHFoT9enx 7XncGGG5glPFctZtF4nZg19M/VFgZ9FoUVicMGws/yMkKN0PItS3idHQEDloHB+UEjT6lfxTsAWWt SwF+p/6mUgKfNlqCp8WA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmFrf-0004Cy-Pr; Fri, 19 Jun 2020 12:11:23 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jmFrT-00043e-DZ for linux-arm-kernel@lists.infradead.org; Fri, 19 Jun 2020 12:11:14 +0000 Received: by mail-wr1-x443.google.com with SMTP id g18so386422wrm.2 for ; Fri, 19 Jun 2020 05:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uw1fRJk8W9uzHYW58SXoTwxg2AWOnCyPtVa0nujwxNo=; b=aAA1aFkxA985YEVfjLAPiKf66EhzPWckcNx4xKon5snQWNwK/YtUsVhxAr8entll5J FqpecJvgTmxRT5+MvuHxJe9wSNpmI0nvvrBzF3a6gi+LUIybTOg+JYdbJqT0dZYlFxMk KKN+iSVJrEIms+E2BI5fXbNWVdsb2j9/Lm4zmMbjwR4aASLWSTAHS8bjK4ndoX9Radrz tAJ9VVNEEMY8zPNBspED7etWgK9KAxQVfeSI4+eLeelOpXXdGi5OUzXSQ1/NP3AapKjN 3YhofK/HVDX+bv/bUFdvGIO34LjDkJ5lop0TmHsA2yBXmfMLzQrW56prXHQF0G2R0N+F /h3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uw1fRJk8W9uzHYW58SXoTwxg2AWOnCyPtVa0nujwxNo=; b=KX/dx3JzS6aXOdOjVawMXpS/8RFh1nb6lMPkDdZ8E5qImFZEdLU8BiFh3ZtjKSj7Ea ukl4WGJVbHeGwevARNZzNtAdC9DgetL5YTwfAIMeR3VZtZlOxhp7p1ehqhTnuPVbEw7t c70lnQNwT4FGP49hnQQE797K+GhcUyiFmLQI9CzEKY6ZpE3y7B/opJX38axJ09ri74Da UL83uZz+t3sLSgXog15LIqn+vTJPYmnygBt/svI70mVgs10ECUh39M9E60uWAIsEiQPb mfPaEM41aqYMkPtB7Rbd0vXeZPu14TqxPIhkEyX1b6bv4gX9spgLgydKfh2YOq4GqeDB 9WVQ== X-Gm-Message-State: AOAM533BH8MkI3Zf4nysEnAWQfCTbVxmX1M9VgbmLUqdBN62N8OQvOMb Ng989pI9qNQKrkBFMsLloRZ11g== X-Google-Smtp-Source: ABdhPJzXf4aN7gKCGZYXPOoqVI1aLeO650Z1tn89qTbHzCNLC55N0Ab6rAbplKt8XgQAxTgA+V7Dkw== X-Received: by 2002:a5d:4282:: with SMTP id k2mr3727602wrq.196.1592568669243; Fri, 19 Jun 2020 05:11:09 -0700 (PDT) Received: from google.com ([2a01:4b00:8523:2d03:d994:d48b:4a9:7c2b]) by smtp.gmail.com with ESMTPSA id l8sm6886721wrq.15.2020.06.19.05.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 05:11:08 -0700 (PDT) Date: Fri, 19 Jun 2020 13:11:06 +0100 From: David Brazdil To: Marc Zyngier Subject: Re: [PATCH v3 03/15] arm64: kvm: Add build rules for separate nVHE object files Message-ID: <20200619121106.sz5qxxkb53ida5qa@google.com> References: <20200618122537.9625-1-dbrazdil@google.com> <20200618122537.9625-4-dbrazdil@google.com> <09976ea31931481f4e00d627dc5e06fe@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <09976ea31931481f4e00d627dc5e06fe@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200619_051112_189537_FD608DB5 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-team@android.com, Suzuki K Poulose , android-kvm@google.com, Catalin Marinas , linux-kernel@vger.kernel.org, James Morse , linux-arm-kernel@lists.infradead.org, Will Deacon , kvmarm@lists.cs.columbia.edu, Julien Thierry Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hey Marc, > I guess that one of the first use of this __KVM_NVHE_HYPERVISOR__ > flag could be the has_vhe() predicate: if you're running the nVHE > code, you are *guaranteed* not to use VHE at all. Sure, I'll add that to the next respin. If I'm reading __is_defined correctly, it means I have to define the flag as =1. Easy. Thanks, -David _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel