Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9737454rwr; Thu, 11 May 2023 21:11:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7SgKgc8cTvkKR9UNe4E+CznNOiexk28rZexjCHXxr828+UEvYVoF6pXyCy3mKMQbLbLocp X-Received: by 2002:a17:903:48e:b0:1a9:4cd5:e7e0 with SMTP id jj14-20020a170903048e00b001a94cd5e7e0mr28273775plb.17.1683864668298; Thu, 11 May 2023 21:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683864668; cv=none; d=google.com; s=arc-20160816; b=L79pzROMs0E1hLjUS43LoCwu0AZjvIq3kCxddy+1rS8yPYH+2lHn+HuZfJ1l9tiorP Foe3OFbZnE9o1YoLNlV155x/J93KnOwQeBbfsqjuiLS9fuk3g3cc2w6ZpumNsR7YX3y7 YU9UDKZM6fwwe6/1rsPdlOu3jiWwm31UWtVQnmfDQnwkrl3owFaOZYCVFQwAr59eDJRF 9nLwkrhhOgvj17BcQ7R12yshumdVFKgj02QLEdLEvTzJZLD398OZAog/2x4gu6ktN2IV feE9juBntzJZfVw7JoQ+s6x18Swj/Dr2+2wCH93KTDwJhwj8sffRRPLP4YcOF+tOEQ4B JPlQ== 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:dkim-signature; bh=yBhB6m3buIZUDCGteymyVF1BB/Bwh3TkD2D5kSE/Gto=; b=xjEyrJiFmvzMqCM+KhDaHPBW3OKQU/NvUx16GNKoebMnpHbeIj0F16BROpqDhJP/lm /FnQr3LRekx7GhL22pv9Kba7qMt0njjn+UGgmXZimSr6tu8NLvN9PlYCv28RslJOxZMl +U4GMQkWIku/l6I160VR2e9Z9qgJ19VQ51/39X+Pt+ocU6w5Ten/VOe0rgsUB02+Srtl PjSx+Q27ZoJWX05mKrxoX0rCUhv8Sfh7dHBl5im6LiXuV6degpRRw/dEBqNfkMjC0ByT N2vwKRQv1Es/H5M08nS/PUFEuus6wFk1slc3RSmpJIv/eZMhFBOlXsYopWJDMn+7W8bk gAkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JXHmw7X4; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a170902eec600b001aaccc51d45si7852617plb.398.2023.05.11.21.10.52; Thu, 11 May 2023 21:11:08 -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=@kernel.org header.s=k20201202 header.b=JXHmw7X4; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230342AbjELEDE (ORCPT + 99 others); Fri, 12 May 2023 00:03:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjELEDC (ORCPT ); Fri, 12 May 2023 00:03:02 -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 87075E2 for ; Thu, 11 May 2023 21:03:01 -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 160C063E6C for ; Fri, 12 May 2023 04:03:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4C0DC433D2; Fri, 12 May 2023 04:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683864180; bh=4Hv121P/Sj7BAXfRRl37k5PAP4WfnZcp1qJTu0V6SHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JXHmw7X4NKI6lI1CauY30/ZJlDt+MSyrUDC0CJfgUFRotKK6WtmHMFeGz4hcX/kVH NoGceq1udwIkzPl1NalO7xaD+Ecd30aC1v0lLmLSGzzjRJ90ewtlVq/CqoK/uuE1jj 55yCmzzl/e5YjZLH6C/57hrCzBNJ64aNxfW1hpK0gVHqktDuZL6OO/Qh3Nr9Z/u40m xs/A38ElRpSPBabXGYmGGgbKrjhMk0VBPtvyogPGdAntoV+81A3UJfIzzZXOIrbs/F 9uq94IlVnUzmWFD0o6+z+lbDK63SvVfMVBp/jDEZnFdI0dTqGAn3LyY0g9oEixD79r yz8JGOxMJLqjw== Date: Fri, 12 May 2023 13:02:57 +0900 From: Mark Brown 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 , Luis Machado , Vladimir Murzin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 11/11] kselftest/arm64: add MOPS to hwcap test Message-ID: References: <20230509142235.3284028-1-kristina.martsenko@arm.com> <20230509142235.3284028-12-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CXfWWGf7Bizbf7PV" Content-Disposition: inline In-Reply-To: <20230509142235.3284028-12-kristina.martsenko@arm.com> X-Cookie: Avoid contact with eyes. X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 --CXfWWGf7Bizbf7PV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 09, 2023 at 03:22:35PM +0100, Kristina Martsenko wrote: > Add the MOPS hwcap to the hwcap kselftest and check that a SIGILL is not > generated when the feature is detected. A SIGILL is reliable when the > feature is not detected as SCTLR_EL1.MSCEn won't have been set. Reviewed-by: Mark Brown > + /* CPYP [x0]!, [x1]!, x2! */ > + asm volatile(".inst 0x1d010440" > + : "+r" (dstp), "+r" (srcp), "+r" (size) > + : > + : "cc", "memory"); Verified against DDI0602 2023-03. --CXfWWGf7Bizbf7PV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmRdunAACgkQJNaLcl1U h9CmZggAhHA/CXsC6+GZWboyNKrPZpCGcROekjNW7m2iVobs1ar0sgZ6VZ7TIgFv e9T9qiGV1uja3u/kEukTwTHjjSsye7NwxraWPNNxe6eVndkrLk32PTYtoZSDNvfN jede3PKmUxWvrK7zWcQSXMImm+PJEEZ+gIzhS5WJ1AyZBfXX5yud1J5k99GKM/MK l7mKLH/G5Dj/NqHWntDUXisUP07TIVOlOs+FDJ1I2LOsocJ52mPPwwaq0GcugmP7 0eLItzCseg9bNc3tKb/wA+AvYt3uTlwcIFq88VTDglllC5B52FWqqUU2NT6uiD3s hXORHP7fG9furKNaLPf3yk7SlWuPxw== =6yHa -----END PGP SIGNATURE----- --CXfWWGf7Bizbf7PV--