From patchwork Sat Apr 16 11:48:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ze Zhang X-Patchwork-Id: 12815819 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D8E0C433F5 for ; Sat, 16 Apr 2022 11:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231799AbiDPLv2 (ORCPT ); Sat, 16 Apr 2022 07:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbiDPLv2 (ORCPT ); Sat, 16 Apr 2022 07:51:28 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D8781118; Sat, 16 Apr 2022 04:48:54 -0700 (PDT) Received: from localhost.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxv9cgrVpiHp0lAA--.17905S3; Sat, 16 Apr 2022 19:48:50 +0800 (CST) From: Ze Zhang To: Steven Rostedt , Ingo Molnar , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Tiezhu Yang , Qing Zhang , Ze Zhang Subject: [PATCH 2/2] selftests/ftrace: add mips support for kprobe args syntax tests Date: Sat, 16 Apr 2022 19:48:48 +0800 Message-Id: <20220416114848.25288-2-zhangze@loongson.cn> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220416114848.25288-1-zhangze@loongson.cn> References: <20220416114848.25288-1-zhangze@loongson.cn> MIME-Version: 1.0 X-CM-TRANSID: AQAAf9Dxv9cgrVpiHp0lAA--.17905S3 X-Coremail-Antispam: 1UD129KB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dUUUUU= X-CM-SenderInfo: x2kd0wt2h6z05rqj20fqof0/ Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests"). Signed-off-by: Ze Zhang Acked-by: Steven Rostedt (Google) Acked-by: Masami Hiramatsu --- .../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc index 47d84b5cb6ca..d4662c8cf407 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc @@ -36,6 +36,10 @@ s390*) GOODREG=%r2 BADREG=%s2 ;; +mips*) + GOODREG=%r4 + BADREG=%r12 +;; *) echo "Please implement other architecture here" exit_untested