Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6832136rwd; Tue, 6 Jun 2023 02:33:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jHIWWmvPsFgnoIDDN0DndzVgkrTlY5l0I9xGis0iY8spxAr8P/Ya0VW2K167BgU65atSL X-Received: by 2002:a05:6214:5089:b0:626:476:5ea1 with SMTP id kk9-20020a056214508900b0062604765ea1mr1436737qvb.15.1686044035427; Tue, 06 Jun 2023 02:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686044035; cv=none; d=google.com; s=arc-20160816; b=PB999yTCXz13YoUSUCA7IGQY8OKE9qt5HbvxC6EZaFepUuDRvlEkaF5dpAEfGztXyN 1nC5OvhpMKkokSkIfppj3nZjheEZwXGLNRa8W9mOhuOfl7N3NT//q3AEYJsa0iOKoBlK sXnnw+h5ix3F8KMBa6P7Alev5fmmEsIX6QWmRKwxRbf0nE9dfEnitgcb1z+djUuX/SQ0 CXDT7Nvm9vbMgSKrG/d8U5q6iTyi8wKXzDpW2mwxhO/Ds+2bfewMW1TyXCLNxHN5LgBF VspMRwOzo4FrU6ITcKDF/PXr97fGMiEilJA6QPdf802qwlSVdSpOOIYvJ471cM67atpT cfdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=NMm+pj1JKxN3KlGV90q+ZfZz3zx0scjkM3Q09DYFryI=; b=xEcCmNTp+yKH6sixiS7obO7onZ2rtVBOX2nf4eIkpuWbaBH0J1/io/fUT25/9o1vRu 7hyWt5vPjynsTgrvNEDdxy5gWOJnU0hYEpdlJVb+8BLjYo2F/6OlyvJvSQKfbawk025y yYyXtu6Od0tqPKlKpqhK57UBRkwTDSjxU7x0dXCFPyue+sjAo4lsMBZJwH8WIjqtFm2k bQiIg9h/82o0qPRqBhvd6NVdQlLLoxTtM6NvFok3wzSeqJRX/T8CAWhnhVMRdvv1aYDi CUdaaFkBdNvo2jwW45N087yvizjO5WGdMlUWZ+JJxD12UHCnl2q0Uwp0NGxckMp7qcDh NiiQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jm11-20020ad45ecb000000b00626080fa02asi6039636qvb.312.2023.06.06.02.33.40; Tue, 06 Jun 2023 02:33:55 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237327AbjFFJUs (ORCPT + 99 others); Tue, 6 Jun 2023 05:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237402AbjFFJUi (ORCPT ); Tue, 6 Jun 2023 05:20:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 818D5E6B; Tue, 6 Jun 2023 02:20:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6F2A362F85; Tue, 6 Jun 2023 09:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3138BC433D2; Tue, 6 Jun 2023 09:20:14 +0000 (UTC) Date: Tue, 6 Jun 2023 10:20:11 +0100 From: Catalin Marinas To: Stephen Rothwell Cc: Christoffer Dall , Marc Zyngier , Will Deacon , Joey Gouly , Kristina Martsenko , Linux Kernel Mailing List , Linux Next Mailing List , Oliver Upton Subject: Re: linux-next: manual merge of the kvm-arm tree with the arm64 tree Message-ID: References: <20230606114927.227a66a5@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606114927.227a66a5@canb.auug.org.au> X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Tue, Jun 06, 2023 at 11:49:27AM +1000, Stephen Rothwell wrote: > diff --cc arch/arm64/kernel/cpufeature.c > index a74f41c7280f,4a2ab3f366de..000000000000 > --- a/arch/arm64/kernel/cpufeature.c > +++ b/arch/arm64/kernel/cpufeature.c > @@@ -2662,35 -2641,17 +2662,46 @@@ static const struct arm64_cpu_capabilit > .cpu_enable = cpu_enable_dit, > ARM64_CPUID_FIELDS(ID_AA64PFR0_EL1, DIT, IMP) > }, > + { > + .desc = "Memory Copy and Memory Set instructions", > + .capability = ARM64_HAS_MOPS, > + .type = ARM64_CPUCAP_SYSTEM_FEATURE, > + .matches = has_cpuid_feature, > + .cpu_enable = cpu_enable_mops, > + ARM64_CPUID_FIELDS(ID_AA64ISAR2_EL1, MOPS, IMP) > + }, > + { > + .capability = ARM64_HAS_TCR2, > + .type = ARM64_CPUCAP_SYSTEM_FEATURE, > + .sys_reg = SYS_ID_AA64MMFR3_EL1, > + .sign = FTR_UNSIGNED, > + .field_pos = ID_AA64MMFR3_EL1_TCRX_SHIFT, > + .field_width = 4, > + .min_field_value = ID_AA64MMFR3_EL1_TCRX_IMP, > + .matches = has_cpuid_feature, > + }, > + { > + .desc = "Stage-1 Permission Indirection Extension (S1PIE)", > + .capability = ARM64_HAS_S1PIE, > + .type = ARM64_CPUCAP_BOOT_CPU_FEATURE, > + .sys_reg = SYS_ID_AA64MMFR3_EL1, > + .sign = FTR_UNSIGNED, > + .field_pos = ID_AA64MMFR3_EL1_S1PIE_SHIFT, > + .field_width = 4, > + .min_field_value = ID_AA64MMFR3_EL1_S1PIE_IMP, > + .matches = has_cpuid_feature, > + }, > + { > + .desc = "Enhanced Virtualization Traps", > + .capability = ARM64_HAS_EVT, > + .type = ARM64_CPUCAP_SYSTEM_FEATURE, > + .sys_reg = SYS_ID_AA64MMFR2_EL1, > + .sign = FTR_UNSIGNED, > + .field_pos = ID_AA64MMFR2_EL1_EVT_SHIFT, > + .field_width = 4, > + .min_field_value = ID_AA64MMFR2_EL1_EVT_IMP, > + .matches = has_cpuid_feature, > + }, > {}, > }; Thanks Stephen. It looks fine. -- Catalin