Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp396961rwb; Thu, 22 Sep 2022 00:48:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4lAn8LzGVSOxZrLs8iC65vIHCpnG0cJLSjHqAPBLu7J2HpM9c6BPfdytq7K6SQKzAyAyT5 X-Received: by 2002:aa7:88c9:0:b0:541:2b7:d655 with SMTP id k9-20020aa788c9000000b0054102b7d655mr2227659pff.72.1663832933257; Thu, 22 Sep 2022 00:48:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663832933; cv=none; d=google.com; s=arc-20160816; b=Zax4viET+oaes0Aoza20vrB0pySpxw0gQ/TSzgBTZ4MlHo40KdD1H3TzFcYlrxiImU gwK8wQS6AEzeFAZxXepzx1sWxyUUQS+4ROqNUOc7KJgT0x/5vU7y/0kvXgPRfZngVMio Bgpj7KokIt93KABX1fyYLxpBJJRM0nZXrnLItRjvKDfZRHjjJWy5UpCgqNuD3Qw+p2Jx yULQZuj6gll4psmD8oAH7S6dn9Pnq8S+6p5Je7/TXGQ3ge/bLA4wQpjdkBbTlJb9bnom TQJOezNVnDzHLhm0TVhAJTDC9rvdQ041CSAabfPDXqlWiSTp3BwpGoVILTfwPHR+NXU1 8a6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=dpcxCRaPpXCtX9l0Z3iaI+hEscrH/6GMVblmjUV6eKU=; b=TKhMoxPkxTjbiMLmtOEWBMuCGWF7ahjeSMYTQwvy90jvvuE1Vs0m8WKZZ34NXArB0b LvAxZBiLrha6vkOnWiqT4sSQNhK+x93om0/VxnoWpcYgw2RbxeitIyvwUQ3DP7WA8Cm1 oA3j4x6GWLQRtBiHpQ0zb1q1ePTce2O4eyxH/qlXTW8UdPOFZPZ9UU4tW49/0Fas0fCD YvyNSF+CeVyKWBSnTcqghslbi7Oy/7REZeBDYeTNjbLbZTFtXNZjpVTR7ozX43D792a/ P8mUe2JFtxzrA/nrzfG4M1XHjbp2o/uD0sBYmnHN8l1xacsKR5B2J2kMx3R5G2b9x52F iVug== 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 f9-20020a636a09000000b0043057408cf6si5274862pgc.691.2022.09.22.00.48.41; Thu, 22 Sep 2022 00:48:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbiIVGdz (ORCPT + 99 others); Thu, 22 Sep 2022 02:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbiIVGdx (ORCPT ); Thu, 22 Sep 2022 02:33:53 -0400 Received: from h3cspam01-ex.h3c.com (smtp.h3c.com [221.12.31.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4066B5A6E for ; Wed, 21 Sep 2022 23:33:51 -0700 (PDT) Received: from mail.maildlp.com ([172.25.15.155]) by h3cspam01-ex.h3c.com with ESMTP id 28M6WGeo051830; Thu, 22 Sep 2022 14:32:16 +0800 (GMT-8) (envelope-from wang.binglei@h3c.com) Received: from DAG2EX10-IDC.srv.huawei-3com.com (unknown [172.20.54.133]) by mail.maildlp.com (Postfix) with ESMTP id 4139E2011778; Thu, 22 Sep 2022 14:33:22 +0800 (CST) Received: from DAG2EX10-IDC.srv.huawei-3com.com (172.20.54.133) by DAG2EX10-IDC.srv.huawei-3com.com (172.20.54.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 22 Sep 2022 14:32:16 +0800 Received: from DAG2EX10-IDC.srv.huawei-3com.com ([fe80::e886:502d:5063:7e2b]) by DAG2EX10-IDC.srv.huawei-3com.com ([fe80::e886:502d:5063:7e2b%10]) with mapi id 15.01.2375.017; Thu, 22 Sep 2022 14:32:16 +0800 From: Wangbinglei To: Conor Dooley CC: "paul.walmsley@sifive.com" , "palmer@dabbelt.com" , "aou@eecs.berkeley.edu" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "l3b2w1@gmail.com" Subject: Re: [PATCH] rethook: add riscv rethook implementation. Thread-Topic: [PATCH] rethook: add riscv rethook implementation. Thread-Index: AdjOTPwSnSDegFjUTkauX/rKCFQbeg== Date: Thu, 22 Sep 2022 06:32:16 +0000 Message-ID: Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.153.26] x-sender-location: DAG2 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: h3cspam01-ex.h3c.com 28M6WGeo051830 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 VGhhbmtzIGZvciB5b3VyIHRpcHMsIEkgcmVzZW5kZWQgbW9kaWZpZWQgcGF0Y2ggdXNpbmcgYW5v dGhlciBtYWlsIGFkZHIobDNiMncxQGdtYWlsLmNvbSkuDQoNCi0tLS0t08q8/tSt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