Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5141946rwb; Tue, 6 Sep 2022 20:04:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4LHGTHZU4vfjWlEbfua9sXjdRRqnqjkROMB/AnEd9104FZhy5IopFf7Oz+21ymCHvfuqlx X-Received: by 2002:a63:84c1:0:b0:434:b9db:b9d with SMTP id k184-20020a6384c1000000b00434b9db0b9dmr1535343pgd.397.1662519853114; Tue, 06 Sep 2022 20:04:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662519853; cv=none; d=google.com; s=arc-20160816; b=lmnbyK9zLfPXWozC0Q/+bFnrlPk5K6cLoc92eWqyesPqkjLeGPipx/7m4lg2xOzv8T +tPBSQIvnrb0qttFgMmMdvYy/5ymq7EdxMWdnJ16xHjjYDi/2FPz08wKbbsDwbzkNwRt f3glzOPQNkW/Fugzs3hjDKmKKLVrEpCR6Xq4qMPwyRCQQ1TORcI6AP6rwZ/569DFBn2Q U+oCLojViWvkIVl6f8MYbq9i+zSCz66lg/XTp8phDo0OFkKTD02kN3YXbABVYVH0PMQD KzWXd3/GsEiGhx1THdvy26zzvrXgujsG6llePc+MTuq2pUoWAz21DJqL08Kn1fMiHc8a qxYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nRLryB5Xf6lBklSjFILLPLap9evfM0qCWn2PvmAqML0=; b=TSeh8FOd9oIIytAQYaA2sf8hAohhHzfe1dXaiSUwpHwmxtfidd9IolY8y2jyfeP1IG uUYlA5SbLwycjSVOpWStPVne6Pk5S6C2nCEAPt9H6hike/z07W+1YdwCFBjNo7ROI7+9 zMrIqNJk2kCYWGAHoi1RT8fN7B+V6OKjRYFG9v1qDVrssRs3EDT/5f773N7uK+skXcwV HpuEiW5Q2sOqMB3UqfwELRqazNi7BRb+EH5Co1rWnF6R2Iiawr/4IINbVZIrIV0ciQpI AQpVLkeBn8c1W7NXVCerY6hmYy3G8zWKp4/pORO74MCPaHt6wzkQcSQclR/6BIHx8zWv 0TNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=UJVC3Gng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a6541c8000000b00429a7919f37si15302777pgq.458.2022.09.06.20.04.00; Tue, 06 Sep 2022 20:04:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=UJVC3Gng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229868AbiIGCkb (ORCPT + 99 others); Tue, 6 Sep 2022 22:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbiIGCk2 (ORCPT ); Tue, 6 Sep 2022 22:40:28 -0400 Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62D2374CC2 for ; Tue, 6 Sep 2022 19:40:27 -0700 (PDT) Received: by mail-vs1-xe2f.google.com with SMTP id m66so13518662vsm.12 for ; Tue, 06 Sep 2022 19:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=nRLryB5Xf6lBklSjFILLPLap9evfM0qCWn2PvmAqML0=; b=UJVC3Gng8U3UmQUkRK7cXsWmmJL7WkoCXMlUIomBRYjM86jMhNimaEYMGH9NI5etdf 9dXdbKNrB3zpNZCcS5BDKaFI2z6VCPAUJI2fvx+yODlYzfl7JF4X78Lw2bXsJ110PQBE gWjQBfPs2Xv7o7gKddMwPZNmftTqOvcoK3U987SWDvW1PaCsLcXTWJEZgE4dEimJSWOQ iNX8zcjUof8AGeIgkZ8aP4qrAr7mK7cOlGo5XemApDnmELEDIjjUxbsKhUc7WCKCKAWB 5l1qhf/8q+kZvglYXBSvov+hUlZtTqxzGRm1TqvtPO7gsLSZeq93rx1+qAmg3OjPCivG JmFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=nRLryB5Xf6lBklSjFILLPLap9evfM0qCWn2PvmAqML0=; b=if8nrIK/uNMWV+mDEaUoqAshKXVvVbaQmo3i85b4lWl6nVIHkS6XPEgSvOFKLjmT08 zgLZvRCxv5vlsrCkkiorYCjlA4sCDPmaoXvq+xwnZwObZ9/koeVwpL9Eq2OtVD+A+CXu exvslb5YNJz8ny6iHy6Wsz/ZZuP8uRDy1VcDxtmKuSsg/WBAOhnV6fZVDL5LWarHp8Fw t9f/qSM3rhdEV3PmcI40hdD3M8ZJUkLmBi6u3O5/gajgG3gEnwGJv2cXDd4+fSw9ORcC TqXpAZ9sXZS8oE8xxoOtw5yP7ogPrAzGS8fBEFS8w5IiuKhY3+AlYdD9tvXVMUE91sYM b6ig== X-Gm-Message-State: ACgBeo3gXjKAVoxI9KIhf5RrHETg+0MAjwHtZIDnkW27zkjLtn5SX7mg F1X/GDWPm06HBUJKrlRT9cIkgGhk9jsFxuIkt6dwzQ== X-Received: by 2002:a67:fdd0:0:b0:397:c028:db6a with SMTP id l16-20020a67fdd0000000b00397c028db6amr477394vsq.58.1662518426470; Tue, 06 Sep 2022 19:40:26 -0700 (PDT) MIME-Version: 1.0 References: <20220902154804.1939819-1-oliver.upton@linux.dev> <20220902154804.1939819-6-oliver.upton@linux.dev> In-Reply-To: <20220902154804.1939819-6-oliver.upton@linux.dev> From: Reiji Watanabe Date: Tue, 6 Sep 2022 19:40:10 -0700 Message-ID: Subject: Re: [PATCH v2 5/7] KVM: arm64: Add a visibility bit to ignore user writes To: Oliver Upton Cc: Marc Zyngier , James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Will Deacon , Linux ARM , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 2, 2022 at 8:48 AM Oliver Upton wrote: > > We're about to ignore writes to AArch32 ID registers on AArch64-only > systems. Add a bit to indicate a register is handled as write ignore > when accessed from userspace. > > Signed-off-by: Oliver Upton Reviewed-by: Reiji Watanabe