Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp751681rwl; Wed, 12 Apr 2023 03:43:52 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXTme8lPVg1LKG9Wk+qSaJ8g5S6ul7w0fb/P4ahAUXhLZk37rwzesGte0bUHTM75VVaxzR X-Received: by 2002:a17:906:895:b0:948:eed:b4e0 with SMTP id n21-20020a170906089500b009480eedb4e0mr14791590eje.61.1681296232577; Wed, 12 Apr 2023 03:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681296232; cv=none; d=google.com; s=arc-20160816; b=A4fZJIEO7cyNtEeTPnllZC0DnG2J5DxdkdSB6POpwRw5eb07wFZF1M/I/JIVFqHCR6 TRyZGFY+tUNb8fljIcGPJKb+3di8+7CwCzv6K+pyjs5LiEQ7ZTcPgfbnqG/8VeFAE/4+ ICuBWD3dqFs6gMwUcC19pfOfwt8fYqB9XzjY4rrUFpYHs66DgOiPhvqFLDvLiVglCioM C3TCfUKA5aq8vqud66h/kc60EJ5w5/TAdaSLcpcmWvqvC+I6IT6Y4crJX36LwVUaYz6A 0MeZbTNhotY8eE6fZvmt6wjCWJaK1ho4+tsJ5pQg85p8yxn/q78DeJ6dK+Z6UxhWlmzj dnrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=uK2Ba3ZWSYogBHYvci04+yx8O80TQjxAxa7QAUBekvE=; b=oLSCj5Ssz/90LX+Ijr6sz1O2lNlkKagweBrQBPrRhwqk6icwyvrIIZexu44qTtSoDq Vju69VVt9lsTEE276EV+nhlj4CDM2iA68BUeu/oElOyg9XlzIymo8G+N4EbQYVbQ7qpI HoN1UoDQDxEF9YX7yhN14cJCvocntRcvE+w9j5EVI/zUE0TbK2vmcZ2xMTCxSIwZHakm 5Demg8KinFjNPmXtypF13I4KiLnu4m0U+WF9sX/zHVW+lxd+PpE04vc/xn66NYO5Z8W6 s4cWc5rf9ioAilzHJdqgQzBkGOHfnhTBRlV+b27rYnPoldNAv6EChp/aEUiSvtfnQHQe oUog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=U5BvSleD; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a1709063f0300b0094762e9cf4dsi1732902ejj.732.2023.04.12.03.43.28; Wed, 12 Apr 2023 03:43:52 -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=@xry111.site header.s=default header.b=U5BvSleD; 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=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbjDLKjR (ORCPT + 99 others); Wed, 12 Apr 2023 06:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjDLKjO (ORCPT ); Wed, 12 Apr 2023 06:39:14 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F32A9558B for ; Wed, 12 Apr 2023 03:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1681295953; bh=uK2Ba3ZWSYogBHYvci04+yx8O80TQjxAxa7QAUBekvE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=U5BvSleDhvgrJYA80jw6IGPbTXpJp/po8oThiAucW8xJKak6xELb3rsQdKsbFriyO q8Lvo/TTTVLJOQm0WUVlgoU+RhrPO5c8UVPJMcTWQ3kFnpPUv4W44NoQ94Iz+PF3Q6 Trps8JSY0vo5+0haCSZ97XxCbyygW0o89oncEfbY= Received: from [192.168.124.11] (unknown [113.140.11.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 046C665CE0; Wed, 12 Apr 2023 06:39:11 -0400 (EDT) Message-ID: <6d06f74cb610b0012ff367fd1a7ac4aba027e304.camel@xry111.site> Subject: Re: [PATCH v1 1/4] LoongArch: Move three functions from kprobes.c to inst.h From: Xi Ruoyao To: Tiezhu Yang , Huacai Chen , WANG Xuerui Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Date: Wed, 12 Apr 2023 18:39:04 +0800 In-Reply-To: <1681293901-24918-2-git-send-email-yangtiezhu@loongson.cn> References: <1681293901-24918-1-git-send-email-yangtiezhu@loongson.cn> <1681293901-24918-2-git-send-email-yangtiezhu@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.48.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED 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 T24gV2VkLCAyMDIzLT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