Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1458751rwd; Thu, 25 May 2023 12:59:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7re6hIwpuUxyG80cqVn0Ipp1d40F/gyWbQ/KZEquNuEXd22rXLC0ebM/OuZ09vjLgOLlR6 X-Received: by 2002:a17:902:ead4:b0:1a6:dba5:2e60 with SMTP id p20-20020a170902ead400b001a6dba52e60mr2617644pld.25.1685044784582; Thu, 25 May 2023 12:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685044784; cv=none; d=google.com; s=arc-20160816; b=o5CSr1by7fpuGtmpyOOcXyfbVFUZMHdZhG2La4usMb/3fmxGip6qlJqmxAgu/7Y8uE DmbtVWWJpzpoNyisqnf5S7OCYSeaZIt3rVYRMI2uiRY7CbdMsWmdXV/2iCKNp9hjbWv/ wu/z1mIEMJ+ISe8Bl0xqUcoMMMg+daWbFMcr8BOaG7ENfu7onRIW6rDr/bsUVnZ9bIq5 44Gw7PJpEpmAX+z4kHfoYGsI0XKCQInetBbPZsI9v66Zx1mykMAR4d13ukbcN/Zu45y7 o8hUdHgnriO39mXaE+9miqaD8MprtWvSRP/QBitqtPStzZTfPBuSBSki7haPcfeE5G0s V4Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version :in-reply-to:date:dkim-signature; bh=6Gt90zOwJ9mi5eHlnv2jnI0ySmjYJ4m1WS/nV2KiYm0=; b=AYXkqHtZWfcRyasx6S7chFa6iz7dC9tIV5X9DlVHtwaLQ+WjiSYzCWJ5d5SjCLk53H S/zgumy7WdwQPG1WaW587looWpNZJI7UL8IG0qNJMJOYKw9KwEmW8pv2tQItBP0XWxBP IY06EWuSRp7xEHw96pPrn4OCDPhrdsguO2Juff28d/hE41YKXxvTpwG7TMII+MqcvQqa WALXbjcDMGYDZ0eKcUWIbimyy6aIrsxcBBfy4HwZL28n14rVyL61vhQgnv0mBP1su5mi st6Bl3HIL9iwylFt60ygqN30QJIrpxFpyLmdTgE6TRAXsbRsQDTrOTR/TyLYYkTqag8v aycg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=xckIqZev; 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 u14-20020a17090341ce00b001aae0c3fa03si2292757ple.473.2023.05.25.12.59.10; Thu, 25 May 2023 12:59:44 -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=20221208 header.b=xckIqZev; 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 S234123AbjEYTcx (ORCPT + 99 others); Thu, 25 May 2023 15:32:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234499AbjEYTcv (ORCPT ); Thu, 25 May 2023 15:32:51 -0400 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F365F10C8 for ; Thu, 25 May 2023 12:32:16 -0700 (PDT) Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-5653213f5c0so1501997b3.1 for ; Thu, 25 May 2023 12:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685042762; x=1687634762; h=cc:to:from:subject:message-id:mime-version:in-reply-to:date:from:to :cc:subject:date:message-id:reply-to; bh=6Gt90zOwJ9mi5eHlnv2jnI0ySmjYJ4m1WS/nV2KiYm0=; b=xckIqZevWkLNFYjYVIxqvOArlpXTXa4Rn+4hryPquh3h+fqnBRh11PbOzFWkQqTVxr YKTrsk4LdsZOQNB5161ZN7r+8G26/0am4FNkfUNnHLj4I82tsM0bIQW7BqK17N4lpP1A juINJUIkMnkyF11/akp0KAQz+FOQVu+tdKvmOs48FBPnthJUyG27gjE3N08KUAvZddh6 U6Ud/NZnyBNJmr5szv7MgCwisGD/M2xNvVOrFmVNa7fELo+a7rOq2FY1nx6VmdO98r14 Kd0l5DSs9cvvb6kM73b1KVDcwCfry5cytfwHsLat+ISriw2LmWumooGaDBKsNcB+EvRR BFnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685042762; x=1687634762; h=cc:to:from:subject:message-id:mime-version:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6Gt90zOwJ9mi5eHlnv2jnI0ySmjYJ4m1WS/nV2KiYm0=; b=Wfv16kGxGgR0HGmS3mAtyNpsXy0EMYnQyczkv673krPWWLXjTuRdrRMba8DY9xBVyi A1MjFJGjBSRFXwEXurAgMV/QZFjGAASoYewJ4m8yrMwLnj+WHQogE00P0j+kCLdTpXWQ q5wD7hRZHlYK2KvaJPYMNgtYwJxZjR4zTnsawZfB9/e+aRaS5URa4RtdCD2VinH93k5M g2susrzQEbUMNNhvc5yq1XjqUPOCXzYoeaTa97VMTHPCp318+Z020odZusmDd1A0WDQi dg1oySgxxbnbc/84koydQamaEID5oJK0G8VHUqCffGDrhsYCBhJQ98uc5M6wIjGjd9Nu vv3Q== X-Gm-Message-State: AC+VfDyMeHrJ4B3+DfyqygtrvT7TSGhnEMvz0sfv/iX4Yqnvg8njYObo azt6C+FeiRqNTngT0JF5yIWUwsyI4gMKkEer/Q== X-Received: from coltonlewis-kvm.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:14ce]) (user=coltonlewis job=sendgmr) by 2002:a81:b1c6:0:b0:559:e97a:cb21 with SMTP id p189-20020a81b1c6000000b00559e97acb21mr346190ywh.9.1685042762258; Thu, 25 May 2023 12:26:02 -0700 (PDT) Date: Thu, 25 May 2023 19:26:01 +0000 In-Reply-To: <20230509142235.3284028-7-kristina.martsenko@arm.com> Mime-Version: 1.0 Message-ID: Subject: RE: [PATCH v2 06/11] KVM: arm64: hide MOPS from guests From: Colton Lewis To: Kristina Martsenko Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Mark Rutland , Mark Brown , Luis Machado , Vladimir Murzin , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_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 > As FEAT_MOPS is not supported in guests yet, hide it from the ID > registers for guests. > The MOPS instructions are UNDEFINED in guests as HCRX_EL2.MSCEn is not > set in HCRX_GUEST_FLAGS, and will take an exception to EL1 if executed. For my benefit, could you please explain why no support for guests yet? Why not set HCRX_EL2.MSCEn in this series?