Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4820935rdb; Tue, 12 Dec 2023 10:08:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyYrr5VCpHX7HDCXZZEIA2KW28zdAC8XlcTXqjRtiywyIuBwJEJub7tO8IAx8gK7hqxAJW X-Received: by 2002:a05:6a20:7488:b0:185:a762:9179 with SMTP id p8-20020a056a20748800b00185a7629179mr8615576pzd.1.1702404484992; Tue, 12 Dec 2023 10:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702404484; cv=none; d=google.com; s=arc-20160816; b=A+zA8dNrjhHpY9K6JyXREQm2wJp61jUwfRL2fA9BJk5yq09UvaDdJzKYSNuYPZ6unK P3mb4tlX98pDk1bc+nq7oa7kdxNNhlahA2Z9YGsXBi6F5v+GtWge9ySCdM/V8wQp4zI/ U3FrKlbx32Zgf2uyhEICbgaSBTt2vnI/0q9Zs9CFW+twu0cNF5CEmLbn4bum8jvq1F3w ygRSxpn89ta8XfRNsVRFChPEl3pnyg8T1KDTE181Pc6uAY2XIwsdEAoYyFGe2vniAASq uCacVR6jGDigOSGPmO5Z/ufqOiwff04T9KRYjm/CcGQBXRmR+ap05c6wscDEycohSPyi 0AiA== 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:from :references:cc:to:subject:mime-version:date:dkim-signature :message-id; bh=pjHvklEiRYn38NAVGIhmPply2jge2dAXbNrhR9YNbxw=; fh=/yp+BF7WuO9w0iEOGMrUtzABJLlkDFam8Mb9Yif1vLI=; b=uK3mdEPJxMASC+tz6kq8wvSERmjzbWztmRr3QbYUNLQZ1KVe/lU4w4oypxJi6/EPF8 fwX/fto4ad2B0+S1B5IhuXIMYv3pbJIUv+17eOKDjt8u59TYDPq2Pg6+oyyuwau24XQy IsupXQ/1073V8Z1VMk8oQbY8hfDS1V7bCVIIDD/96RNM0qYzPDy1R/A6jekyGqsYt5hb dlKfuchhlikguU5FdonrV5pspyk4xdAePvCya0KKIRvXMnZzWHqFzOqg10ve2Kio3luw UFiKNNjSgSnBnmrQQROrkUzovaWB91l4/eJZIyl4TwqH1vuuFs0DktziibtCNpbtyTCr q/Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KDfDBBP8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bw37-20020a056a0204a500b005c69365abadsi8493738pgb.499.2023.12.12.10.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 10:08:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=KDfDBBP8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 010DC805063A; Tue, 12 Dec 2023 10:08:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377064AbjLLSHr (ORCPT + 99 others); Tue, 12 Dec 2023 13:07:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbjLLSHq (ORCPT ); Tue, 12 Dec 2023 13:07:46 -0500 Received: from out-173.mta1.migadu.com (out-173.mta1.migadu.com [IPv6:2001:41d0:203:375::ad]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7931C9B for ; Tue, 12 Dec 2023 10:07:50 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702404468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pjHvklEiRYn38NAVGIhmPply2jge2dAXbNrhR9YNbxw=; b=KDfDBBP8OS88ybhY0Noij+1BLRxbvrokZ5pkpj3W0HHc6YjTWH/vHx1Gcuevsqr7AhyJVC 3a1SXjlhZ76/uG20XUZtNrmY5L/35R1SUSmqb5uG6p0Kf6SfILdKleOMtTYpRcVg9w9ZBB PLix8+tA3ZFP+jci774QOru/wAf18qg= Date: Wed, 13 Dec 2023 02:07:40 +0800 MIME-Version: 1.0 Subject: Re: [PATCH for-next v7 0/7] On-Demand Paging on SoftRoCE To: "Daisuke Matsuda (Fujitsu)" , Jason Gunthorpe Cc: "linux-rdma@vger.kernel.org" , "leon@kernel.org" , "zyjzyj2000@gmail.com" , "linux-kernel@vger.kernel.org" , "rpearsonhpe@gmail.com" , "Xiao Yang (Fujitsu)" , "Zhijian Li (Fujitsu)" , "Yasunori Gotou (Fujitsu)" References: <20231205001139.GA2772824@nvidia.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Dec 2023 10:08:02 -0800 (PST) 在 2023/12/7 14:37, Daisuke Matsuda (Fujitsu) 写道: > On Tue, Dec 5, 2023 10:51 AM Zhu Yanjun wrote: >> >> 在 2023/12/5 8:11, Jason Gunthorpe 写道: >>> On Thu, Nov 09, 2023 at 02:44:45PM +0900, Daisuke Matsuda wrote: >>>> >>>> Daisuke Matsuda (7): >>>> RDMA/rxe: Always defer tasks on responder and completer to workqueue >>>> RDMA/rxe: Make MR functions accessible from other rxe source code >>>> RDMA/rxe: Move resp_states definition to rxe_verbs.h >>>> RDMA/rxe: Add page invalidation support >>>> RDMA/rxe: Allow registering MRs for On-Demand Paging >>>> RDMA/rxe: Add support for Send/Recv/Write/Read with ODP >>>> RDMA/rxe: Add support for the traditional Atomic operations with ODP >>> >>> What is the current situation with rxe? I don't recall seeing the bugs >>> that were reported get fixed? > > Well, I suppose Jason is mentioning "blktests srp/002 hang". > cf. https://lore.kernel.org/linux-rdma/dsg6rd66tyiei32zaxs6ddv5ebefr5vtxjwz6d2ewqrcwisogl@ge7jzan7dg5u/T/ > > It is likely to be a timing issue. Bob reported that "siw hangs with the debug kernel", > so the hang looks not specific to rxe. > cf. https://lore.kernel.org/all/53ede78a-f73d-44cd-a555-f8ff36bd9c55@acm.org/T/ > I think we need to decide whether to continue to block patches to rxe since nobody has successfully fixed the issue. > > > There is another issue that causes kernel panic. > [bug report][bisected] rdma_rxe: blktests srp lead kernel panic with 64k page size > cf. https://lore.kernel.org/all/CAHj4cs9XRqE25jyVw9rj9YugffLn5+f=1znaBEnu1usLOciD+g@mail.gmail.com/T/ > > https://patchwork.kernel.org/project/linux-rdma/list/?series=798592&state=* > Zhijian has submitted patches to fix this, and he got some comments. > It looks he is involved in CXL driver intensively these days. > I guess he is still working on it. > >> >> Exactly. A problem is reported in the link >> https://www.spinics.net/lists/linux-rdma/msg120947.html >> >> It seems that a variable 'entry' set but not used >> [-Wunused-but-set-variable] > > Yeah, I can revise the patch anytime. > >> >> And ODP is an important feature. Should we suggest to add a test case >> about this ODP in rdma-core to verify this ODP feature? > > Rxe can share the same tests with mlx5. > I added test cases for Write, Read and Atomic operations with ODP, > and we can add more tests if there are any suggestions. > Cf. https://github.com/linux-rdma/rdma-core/blob/master/tests/test_odp.py Thanks a lot. Do you make tests with blktests after your patches are applied with the latest kernel? Zhu Yanjun > > Thanks, > Daisuke Matsuda > >> >> Zhu Yanjun >> >>> >>> I'm reluctant to dig a deeper hold until it is done? >>> >>> Thanks, >>> Jason >