Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1142804pxk; Fri, 18 Sep 2020 05:05:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzvXZgB+8121lD0uMuVsmTyvVWM+/CInphEn6sstDId1zoQlMbCA2sD3NFcf8Z5fMHkA1B X-Received: by 2002:a50:d61e:: with SMTP id x30mr13180282edi.70.1600430743914; Fri, 18 Sep 2020 05:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600430743; cv=none; d=google.com; s=arc-20160816; b=NUTIclL4yhUqFVogdPdz9RLdDPuy28EmC3Mz74YhcXJuEoK8oo0dGBqGI8mhTB8KGA nStzS2oUbbz7ZEoCFlZpqeZBFS9Tfpbt7CLa7MKyTC6y62nJ6+kAdKgIZWVFnChcPkf0 eKuIuVJxYItx3sZ5ICQu/sZ8sDeyIMSI1+zDNiKLw1259oSJ6RGDwG0QG1X3kglSKpjV /2Xs9KRYBxMhA7IwQSQm4xJz23zw5IvbXG1QoBs6hX1A7mgcvajViF4pam/wg4okgyHE iw2jd+nM5M66crEeI9ppEESo+BMJOOPL9YA+O/7kcfdCYowboOoTU2/5SeNdMYhYDcep f/+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=I3H/gm1g/hyAxhRCcYKSEHmYZeKOlQUJYHZFfgz+YQA=; b=b+pyGDhE8iFoBfanf1mGn6z2F7S2VwM+x2sRZb3mdnPdJVxULAtMiNklEgM7m7WPMW pHCNF4ScBu9k+qev54bmcepVYGK81r71+Lo0NqVx1UZO3oufoLJeiZgtvJKOkQf3saph mn3j+IgyZULGfd2PrwohHV4dXjMcq9/IxODr33UkopxNJtX/DWDJ0I2dBfhzuE2S3yW/ l4MyOFnj7HdNFPXn1iSLN5t1tOnid8pyBG/bWRNqF9iuL8WIoutjoLxC3pebsYJroyDh Qhw+mNZC0NCn0HaKvYOhuRQu9Ms0RMMgzbGbfZU/Sb71ByJGS/7ibroYDM72La2/NspN 8nUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R6FJM1GR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx14si1868709ejb.501.2020.09.18.05.05.20; Fri, 18 Sep 2020 05:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R6FJM1GR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726539AbgIRMAu (ORCPT + 99 others); Fri, 18 Sep 2020 08:00:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:39328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbgIRMAu (ORCPT ); Fri, 18 Sep 2020 08:00:50 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 23D332072E; Fri, 18 Sep 2020 12:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600430450; bh=I3H/gm1g/hyAxhRCcYKSEHmYZeKOlQUJYHZFfgz+YQA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R6FJM1GR9moczcLCnPkVOGoJiHnqyJJNElwhuj4HWhIp7YN+fwrBtRu/GdLjJoBn4 3W17b9y4SjtpGZ9+kyBtboSyqiGjpfJMAtrdnV4+Yg0RG4TNwRrz9BG+hMJSnQ3tL7 wIc9awOFCRUGttRK8ruoYtiyksBJoNq5aTvNpD2Y= Date: Fri, 18 Sep 2020 13:00:44 +0100 From: Will Deacon To: David Brazdil Cc: kvmarm@lists.cs.columbia.edu, Catalin Marinas , Marc Zyngier , James Morse , Julien Thierry , Suzuki K Poulose , Dennis Zhou , Tejun Heo , Christoph Lameter , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH v3 09/11] kvm: arm64: Mark hyp stack pages reserved Message-ID: <20200918120044.GC31096@willie-the-truck> References: <20200916173439.32265-1-dbrazdil@google.com> <20200916173439.32265-10-dbrazdil@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200916173439.32265-10-dbrazdil@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 16, 2020 at 06:34:37PM +0100, David Brazdil wrote: > In preparation for unmapping hyp pages from host stage-2, allocate/free hyp > stack using new helpers which automatically mark the pages reserved. Given that this series doesn't get us that the point of having a stage-2 for the host, I don't see why we need this part yet. Will