From patchwork Mon Mar 27 16:20:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 75552 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3404:b0:112:7285:5352 with SMTP id h4csp1543724rwd; Mon, 27 Mar 2023 09:32:55 -0700 (PDT) X-Google-Smtp-Source: AKy350Zex9jrmAbmRVdz+FwGsbJrOrVayh6GjoY2rls6jfvfLLuyfXNQLq0utYy/4KQC7tcBUjWp X-Received: by 2002:a17:903:188:b0:19c:f096:bbef with SMTP id z8-20020a170903018800b0019cf096bbefmr14761089plg.49.1679934774957; Mon, 27 Mar 2023 09:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679934774; cv=none; d=google.com; s=arc-20160816; b=gsKaIZXO8/XWi6bohMbCKwZGBOm6gFeKq98Wns4QZP4bg0goU+the1lD6d85O6rjRj REFV1Xmkltp9Hg8pLxDwzJeuNxHtI2mjlUlYZ67FqhTclounZjsGynoO3d7fFjw+W4Pk M5Z5T0IbLJ6BwVu+Rw2Ltcb+ulgo+7FFBmGbWzdTQZrrwntOC58S/yLWH2/wstDq3QP4 uwQIM4wMiU4g+hjcRjuGIzqfeTSkTZRAFR+vDpuyPNMEkJrD1G09Qq5N+25UCQ2Gs5Yf 3WytZFzX/TTiYskmvbvbFkXTTlXZtcl7JzvLBI0ygzY0ySvE6ofCP+paKnRqc/coS5o3 zz5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=VUchPzCfEDoAcWSUXsrvq0YAKCI8zZA5EOxLOkeJdPo=; b=WNwKMZ4nFdJaFcUef4y36+n8fRA4neKZdEYZ3rAKlqgXdpyOrX7LnbF2qQVF3yrMHZ TiBE5gVjXyprDdyTCCVsko08oFO/bF/WCv5KMr8crY/jpXMGtG3bHglIlhbTfiJFEMjI rTLJFCVsy1wFsRC5qOHmOMPCm9BFbvMP7ttZe78WRf9KGPd0UsE/WWp3ojI3c1p1vJ39 fmzynAKIaqaday2Uzeuiu1r5GDBfqLvfxy1l1mz3NZ5WoHxAeeP+z0RfhX6nUTEbwDmg Qxg6tbJ4cSnhPE4zOxBmqfGKiydg6/DuRof3fj7lpgcDjYwA+o71Mgh1S7JXl6ZutvTp 5PfA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a63e94b000000b0050971cbf2dbsi28212784pgj.226.2023.03.27.09.32.42; Mon, 27 Mar 2023 09:32:54 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231671AbjC0QVb (ORCPT + 99 others); Mon, 27 Mar 2023 12:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231970AbjC0QV3 (ORCPT ); Mon, 27 Mar 2023 12:21:29 -0400 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF9D1703; Mon, 27 Mar 2023 09:21:27 -0700 (PDT) Received: by mail-ot1-f47.google.com with SMTP id r17-20020a05683002f100b006a131458abfso2250867ote.2; Mon, 27 Mar 2023 09:21:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679934087; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VUchPzCfEDoAcWSUXsrvq0YAKCI8zZA5EOxLOkeJdPo=; b=1CI9jaOR5hjxN8cdANpQvZcm2vRHiyL6VLXyMf47J/demhsTaZRdseUOZFYNinlWBk o5d25R3RoiRP1vKotzyRNZTFEeXcDs4Uw74Mt5atqX7EPnAbF5DohdJSKC9aH+tSw/jh R75xFsV7qASiB6V2HkpGlB8E5fphl7h+oKkkKpmEvGHT2wbH0o3f0BdoE/xYSsI5x19m O3g5FsAsVA2mNRKejpJBPQCNHwuqsmxMBMPctWYKuqWC4kZOC4qm0dhWVLp3X1s+cGh+ yH4kL4xBW3ChTje/pQbkPj0bpc3e7XA8ryn7QA7SyUBnn7qO15DkM8PLo0s9jbW199nQ arEw== X-Gm-Message-State: AO0yUKXm1gDvBCJAGkI0Uo0Olwatyr6VVh4sFzW5Lq804exBSJet9lff CxR77e8bDBjd+Jfm2hUNcw== X-Received: by 2002:a05:6830:1bc5:b0:694:39d1:a225 with SMTP id v5-20020a0568301bc500b0069439d1a225mr6428507ota.17.1679934086977; Mon, 27 Mar 2023 09:21:26 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q4-20020a9d4b04000000b0069f509ad088sm2682943otf.65.2023.03.27.09.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 09:21:22 -0700 (PDT) Received: (nullmailer pid 4057633 invoked by uid 1000); Mon, 27 Mar 2023 16:21:21 -0000 From: Rob Herring To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers Cc: Leo Yan , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] perf arm-spe: Add raw decoding for SPEv1.3 MTE and MOPS load/store Date: Mon, 27 Mar 2023 11:20:57 -0500 Message-Id: <20230327162057.4057188-1-robh@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761539286510440938?= X-GMAIL-MSGID: =?utf-8?q?1761539286510440938?= Arm SPEv1.3 adds new load/store operation subclasses for Memory Tagging Extension (MTE) and memory operations (MOPS). The memory operations are memcpy and memset. Add support for decoding these new subclasses in the raw decoding. Cc: Leo Yan Signed-off-by: Rob Herring Reviewed-by: Leo Yan