Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6641675rwb; Tue, 15 Nov 2022 01:19:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4LbrOrKc/1HgcyR0j+bvNHVq9ZGm4/UM+ImFyfGAmj3sc5hI0yXLv2XSgTzmqXW0D6HXDT X-Received: by 2002:a17:903:1084:b0:186:5f82:3812 with SMTP id u4-20020a170903108400b001865f823812mr3244214pld.51.1668503947553; Tue, 15 Nov 2022 01:19:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668503947; cv=none; d=google.com; s=arc-20160816; b=wC35vnzh5dfq9OK5Wpegc4K0zFBhyQIGnToNDmQCOCxF8hZRSB97Dn+1CjxTFLs9Zx ndq4gsuMq1rxwaxyd4ma6YW14ttX528TsEmf0eLkQlWXL2iIqHQkhtkHRaF8Piu5Lopq M+nZ/adj+7eGr00kkUflDpOiw8AytM2sIZa8qDF09XurzXgbVKsOcIrBwMJD/x8XNwE+ 58XUIwvfC45P4T6d/MyLtHl8O7aLripbESLS31WPj4OGH7BmJSkuZP4AnYJmVFjBgVoS IdJoXyIW670wpUDuakMC4BTb6BPHwagaUFAUAaEALu7eFg0ZmKnc7oCCOzJQ3RC7drqj uvXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=fMAJy28TjlB88fmFiQrWGWc5Q8JwHlcwEju/B7LHUyg=; b=LkqwY/inLte25PxVcwWkOPOtwv6GWI3lNcVA0tOQg68kovuBV7BmJw9Kjt2qZZ7koF TxIvz12kltMZ2A6WAn7oyVs5CzVUN4/cAS5hFRGsRGF8CIn7X5heT6IzCLuEIlCc50Tv s7s7RZvc6q3ISdWQA5sAKnt4zFPwahWcG4naQMQ/K1V1AiOCIRf3LFeF2QaQ9Cvlyqe9 HozLbAh/u6C9M24lTwdWGwx5ZhPbGgi5F6DMIfhD6h+WVzeHunoyeUrcezyhUdPCaoWX LR8G5ApGEGdVn4Yj3KxhYu8iSWukMZhK/mXJgNS5vmhJRu3Gmwy51sq6tM9XvEP3nppG wetw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020a634a17000000b00476bfca38b0si798516pga.71.2022.11.15.01.18.55; Tue, 15 Nov 2022 01:19:07 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236173AbiKOIoV (ORCPT + 88 others); Tue, 15 Nov 2022 03:44:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232960AbiKOIoL (ORCPT ); Tue, 15 Nov 2022 03:44:11 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 78645F27 for ; Tue, 15 Nov 2022 00:44:09 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8CxfbZXUXNj2zIHAA--.9839S3; Tue, 15 Nov 2022 16:44:07 +0800 (CST) Received: from [10.130.0.135] (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxoOJVUXNjo28TAA--.51662S3; Tue, 15 Nov 2022 16:44:06 +0800 (CST) Subject: Re: [PATCH v2 0/5] Add kprobe and kretprobe support for LoongArch To: Huacai Chen References: <1664326209-13995-1-git-send-email-yangtiezhu@loongson.cn> Cc: Masami Hiramatsu , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org From: Tiezhu Yang Message-ID: <1af099bf-123e-06bb-cd9a-5fd939f9cb79@loongson.cn> Date: Tue, 15 Nov 2022 16:44:05 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf8BxoOJVUXNjo28TAA--.51662S3 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW5Kw4DWw48XFyUXw4fXw15CFg_yoWxXrcEgw 1kGF9rGa1jqws8K3Z0yr43XrsrGa9rA3W5Jrn5Kw13X3ZYqa1DGrs3Kr93ZF13Jan5Jws5 ZFWFqrn8AwsrXjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY I7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS 0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0V AKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Cr0_Gr1U McvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCYjI0SjxkI62AI1cAE67vIY487Mx AIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_ Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwI xGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8 JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcV C2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxUzQ6pUUUUU X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS 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 11/14/2022 12:31 PM, Huacai Chen wrote: > Hi, Tiezhu, > > Thanks for your patches, however, > 1, You should rebase your code, since some functions such as > is_pc_insn is provided in the github's loongarch-next branch; > 2, Your code may have some problems about preemption, you can do > something like this commit [1]; > 3, I don't think Kprobe should be enabled by default, distribution > configs can enable it if needed. > > [1] https://github.com/loongson/linux/commit/023d5412ab5c154b87d57d70d465a4243df53717 > OK, thank you, I will rebase and address the review comments, and then send v3 later. Thanks, Tiezhu