Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8418604rwr; Thu, 11 May 2023 00:34:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5p15Cy1gxUfRpacnG8FRbfBX5YUkDru+kCiIkzP4CBnI4KidzFSm7fsu6IyKhP6EdH33/W X-Received: by 2002:a17:90b:198c:b0:244:9385:807f with SMTP id mv12-20020a17090b198c00b002449385807fmr19630430pjb.44.1683790455695; Thu, 11 May 2023 00:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683790455; cv=none; d=google.com; s=arc-20160816; b=Q2qr1Fh/jLn181B012qToWqD6lJ/Adq/HCFbDtKO6FlTTMQlrqY/hI/XC2eWWjS2QD FmwHNjSbu3TEhJkQfeh01SMYolQ8mnXYbFUYFgC8Xp4lp8ksl9o/7gYHBdBqFNIqUVTz v4tBitfpJgNhEopqwUWjxdk6NcVSzGTqOkTAvjxzrvmQjy67bvWPXnqr3tTxgmZ48vpQ WZLMUDMKkwqSu73onxO8nqYDy7SFGfIcs0dgJxdYcagd+EhRBrkUi66WpOjpNEa7TvkV a5Pz0avDt4nwGpKuyJ09KHc6qtVyfDLjqa2CqjvVBQoatNIXA/9lpaPTq42pfkS/EMQL Lb5A== 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:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=TX6KY0uZMK4hvOIfunTzmFoUHAawqMV/Ya0zNO9JdSM=; b=DrgNlJu8ZcNYnU+M9jReNxw0h6FxXIe22QotD7nMfibzCIsX7x0n6p3/HIPzIeU2WE Ng0FHgRfnzbqLMuI22TVO7b8rTDUBlRdXT5t/F0xBvLED0SLYMW2XNhgYA7y6L2+i/NL Jlj7fs6CP2vzQYYVQ/C+Bt33KMXCHIGG7uMO4I436Fi5lXGiWkg/PHoV3ilhqSFkocoN ar/1s4sHP1f4lBCqto84ikfnlS9fnXNwfiIx6aUN9SxZdeVRbilAmYfpdkzZrrZxWIlz jn+nUzVD1WjJfl/14SzGKTb+n0tn68GsyQDsvmwBFrpVTJTgt+AzoYWnq0CHhaH9N+iz VSbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DkSbXjvr; 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 ot5-20020a17090b3b4500b00246a5991cc6si2335220pjb.162.2023.05.11.00.34.01; Thu, 11 May 2023 00:34:15 -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=DkSbXjvr; 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 S237662AbjEKHWL (ORCPT + 99 others); Thu, 11 May 2023 03:22:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237194AbjEKHVl (ORCPT ); Thu, 11 May 2023 03:21:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DAC4A5CF; Thu, 11 May 2023 00:21:02 -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 7707E60E76; Thu, 11 May 2023 07:21:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57B69C433D2; Thu, 11 May 2023 07:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683789660; bh=TX6KY0uZMK4hvOIfunTzmFoUHAawqMV/Ya0zNO9JdSM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DkSbXjvrTS8n54V1AwT7+zmdRaokj0stn/kCaPEI1tNSaOI5Wv5geVxllqbXMwWiY lUDS9168PqnGOaNmWwov+EM3McMS/TCElNYWKm1UlBXbXALhCpzUJgUCKWaux5iHCu pz3y4RJv8xXHsx1Gvv5MAVC8++cGA+5DcWZdhiZQ8hiX9QVhfSAvLeZC1L2JVeKdQP iU4axmsjf89vEwsJycCt6/h3gbYvz7YUHvRv1aJrZL7HaGlfnoVUoxvECbipD1eS8o rvyVKvMVp8nEuMhMhbDhh7AebMV4TfVDluEzlcZvuRlPvm3VuZC8JKhNiJ/sjoSAsT P9YADGY1N2dSw== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Song Shuai , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, rostedt@goodmis.org, mhiramat@kernel.org, mark.rutland@arm.com, guoren@kernel.org, suagrfillet@gmail.com, jszhang@kernel.org, e.shatokhin@yadro.com Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH V9 4/4] samples: ftrace: Add riscv support for SAMPLE_FTRACE_DIRECT[_MULTI] In-Reply-To: <20230510101857.2953955-5-suagrfillet@gmail.com> References: <20230510101857.2953955-1-suagrfillet@gmail.com> <20230510101857.2953955-5-suagrfillet@gmail.com> Date: Thu, 11 May 2023 09:20:57 +0200 Message-ID: <87o7mrjpuu.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Song Shuai writes: > select HAVE_SAMPLE_FTRACE_DIRECT and HAVE_SAMPLE_FTRACE_DIRECT_MULTI > for ARCH_RV64I in arch/riscv/Kconfig. And add riscv asm code for > the ftrace-direct*.c files in samples/ftrace/. > > Link: https://lore.kernel.org/linux-riscv/c68bac83-5c88-80b1-bac9-e1fd4ea= 8f07e@yadro.com/T/#ma13012560331c66b051b580b3ab4a04ba44455ec > Tested-by: Evgenii Shatokhin > Signed-off-by: Song Shuai > Tested-by: Guo Ren > Signed-off-by: Guo Ren My usual "please align op/operands" nit. ;-) Acked-by: Bj=C3=B6rn T=C3=B6pel