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=-4.0 required=3.0 tests=BAYES_00,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 E3B1EC433DB for ; Fri, 12 Mar 2021 09:17:30 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 6779B64FD0 for ; Fri, 12 Mar 2021 09:17:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6779B64FD0 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+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=desiato.20200630; 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=AmkUjPgKhiLrqLpLPPTPVhwa1sc4EhD3TRtY0Qyjcco=; b=cOQyFIpTtQMU0ugoDHbbIZ044 SfPrIqLvY4P0ghhYtJjeMRjMvlyGr54RbzqZ99PFhdQkbkaFIcP2cuE9sTb5dXThWXMKpVhZ7dUqm PWrXI9yuMQhKGv85bUVF6Ti92Iwk3wk+gmgyPA/v1EitzmxLm1vEwnWP2yJt27Ng31tISi4b/AWiE ypp+oMMEKm4rotK2nf01f09gO9XLlMWYUIxctMj15/b1kGtQL69+UXRMhcQOExK4cI63Bj+cYBXXn ECr1aPoIDZSaJwkOkMFPIsqKJnl6VaTXBGgUchH265T3ddxkSdV1KGnAgFPZ/UbDBYpp9vkXzbmnG LZbZ9YOvQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKdtZ-00AyzP-6b; Fri, 12 Mar 2021 09:15:45 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKdtO-00Aywq-Pa for linux-arm-kernel@lists.infradead.org; Fri, 12 Mar 2021 09:15:40 +0000 Received: by mail-wm1-x32d.google.com with SMTP id c76-20020a1c9a4f0000b029010c94499aedso15334043wme.0 for ; Fri, 12 Mar 2021 01:15:33 -0800 (PST) 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=8hyTObTnA8b0Pah5w5x3EX45G+4aGq3Qg+uSFkSPcCo=; b=jVs4+SZBOncaHTNZfrQPmfUwVYzNZgKm+iL7UkFzH2hi1esIn3UON4srQWsKqCTzIQ v8JzJSmZb/Dt5o4ziJlrUAEwS2Rozm3WkV8g21rcbXUuZHVDSd9g6MygPJfvd2G8gKRX 3xEtqIHBTd95yzydjWyupkUBpp0DkDmseSBNQCM/Y3SQORaEXSfQuWSVT+Wi/qtY403j YJ3N/tL9sTiVdHVw4vpjyxqiknFYfbN3qfQSohG7eu56ZkuMaenkzlbqQRqucppZa6wJ nURlMd0nasN1vXl7gtLFx739nu6Zg3c9ItV3TJWROADQH4DX2TjRm0RCnbCQlLC6+RnZ apjw== 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=8hyTObTnA8b0Pah5w5x3EX45G+4aGq3Qg+uSFkSPcCo=; b=uYOAZ+zVFcAbib55HB5TZdaLun8gLUQcI4CJLDm35y1zBQZOxtKzGFkKX2uC0XHHnL 5fBgq8YLQmUdzbr36oDHYsh6fP++gGz0YBSUi2PfJUvz/br/qQyofKDLUbIWNPdILf/4 F0rOWukTyEmLSmIfzD331tFOqufiLr3xET0NA8Qbdojxn6DK920ZADvFxoezN5mt06BI 38RJ3GYgWAoBQcBXQLSC1BH2olh0CkKRYeAeJp/IMVN8QZGi5jxlT5y50vP53UCX/7I8 FNSCNqqmjzLPoGxVltbtopcHHn8RHpaBUDemu/M5xKmV0RmGRgwk3VdOQbnp2jnpYZ1y hzYA== X-Gm-Message-State: AOAM5322Ble9kvJFXcZmQZXzib5vzrWEM8S5RFAx1WySQ580ia/k7m2w GMqHUtxJ4NGDszcH3ydhPkd+0Q== X-Google-Smtp-Source: ABdhPJyo6oi+MSsftqzukHAyRgFvWhaTOLTqQm++oJ1mRSO/qD8ZSQ8ap6nF6e9hdN/8C+ctlvX1pg== X-Received: by 2002:a1c:8041:: with SMTP id b62mr12506853wmd.0.1615540533351; Fri, 12 Mar 2021 01:15:33 -0800 (PST) Received: from google.com (230.69.233.35.bc.googleusercontent.com. [35.233.69.230]) by smtp.gmail.com with ESMTPSA id j203sm1510033wmj.40.2021.03.12.01.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:15:33 -0800 (PST) Date: Fri, 12 Mar 2021 09:15:30 +0000 From: Quentin Perret To: Will Deacon Cc: catalin.marinas@arm.com, maz@kernel.org, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, android-kvm@google.com, linux-kernel@vger.kernel.org, kernel-team@android.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, tabba@google.com, mark.rutland@arm.com, dbrazdil@google.com, mate.toth-pal@arm.com, seanjc@google.com, robh+dt@kernel.org, ardb@kernel.org Subject: Re: [PATCH v4 27/34] KVM: arm64: Always zero invalid PTEs Message-ID: References: <20210310175751.3320106-1-qperret@google.com> <20210310175751.3320106-28-qperret@google.com> <20210311173338.GB31378@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210311173338.GB31378@willie-the-truck> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_091535_179057_BC1C96C1 X-CRM114-Status: GOOD ( 12.10 ) 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 On Thursday 11 Mar 2021 at 17:33:38 (+0000), Will Deacon wrote: > On Wed, Mar 10, 2021 at 05:57:44PM +0000, Quentin Perret wrote: > > kvm_set_invalid_pte() currently only clears bit 0 from a PTE because > > stage2_map_walk_table_post() needs to be able to follow the anchor. In > > preparation for re-using bits 63-02 from invalid PTEs, make sure to zero > > Why do you exclude bit 1 from this range? Hmm, no good reason really. I wanted to play games with invalid table mappings at some point, but dropped the idea and forgot to update the commit message. My bad, I'll fix it up. Thanks, Quentin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel