Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6408045rdb; Thu, 14 Dec 2023 18:46:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWZlmC6XE5gNqxfz5t1tbH2faOeJwvcbHB4fCWelspPWNrsfr7U+1covHlEBxhAPopHSge X-Received: by 2002:a9d:61ce:0:b0:6d9:ea26:d97b with SMTP id h14-20020a9d61ce000000b006d9ea26d97bmr12451209otk.48.1702608382768; Thu, 14 Dec 2023 18:46:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702608382; cv=none; d=google.com; s=arc-20160816; b=ZOWE8+UE6BQEvqjApkdQNg2RxfJQNmTaTdFLNpQ1loQy0bWknI9ZYnWwqSMwEAFf5d dYXtlY6Dmw+otmiYHaUWmPTXj/xncx2WSuNEiFgrKrpVsejRVl/hAsR5q55Rh4q0ykiA EXSdXAA9bvrwdSPOtOYZPnDAJieZmysQupnBmCDM58lck0DVDh0wNq4XM0WRC/W6K6rW XshDQLY41Mx/KLyW8H+UmMnsKLFKZwcrhCWdO+r0lBHRhM65zUhAzw0p6hAaj3utVM89 Z7p+ukezUnbf6lSzN5ND//c/Q3DEeoNcDKRCzA8uS0xXaa2fYyFbyYLTB1IobHXHlzVx wrkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:dkim-signature:message-id; bh=e62/UPwTCq/WeGbwMi7fzunn5DcATJ+YhRpMZa876ts=; fh=/yp+BF7WuO9w0iEOGMrUtzABJLlkDFam8Mb9Yif1vLI=; b=d5+wYzztmhIoBf4YqjtQanIAcjNbcwK0k2n/MPYN5yCGM5OmgIwYrVDJzOknYdcfx5 oMaHMR9EMUE1+jTG7DzwZ0O+ZRXx6hun2r8u10NWo3Sg96ZHUZRF2kMfRVnBtngFWuaU Axo4nZMMUkKwHytty59d9wQOeVydwf6iYc1dnLJ4WnCSWM8g/LOW7WlYHSFv+BwF/Mff 0rvF5Vx6mwqR59wHCL+f0SuEkQqcSmAL07ae+U9CcOtFNSbdBb3mFUq5O/GkHFtw4u0M 3OpIp5WsqkdM74FLG9trDEWhhmMHVuYJpPvLVw3g7Q58VJf4iGn3XfH8EMgL0WdSfWWT 1gnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZzbnkpVT; spf=pass (google.com: domain of linux-kernel+bounces-375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b12-20020a6541cc000000b0059779ae5899si11788843pgq.836.2023.12.14.18.46.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 18:46:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ZzbnkpVT; spf=pass (google.com: domain of linux-kernel+bounces-375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6A476288310 for ; Fri, 15 Dec 2023 02:46:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 945F110F8; Fri, 15 Dec 2023 02:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ZzbnkpVT" X-Original-To: linux-kernel@vger.kernel.org Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 581BFEBC for ; Fri, 15 Dec 2023 02:46:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Message-ID: <2f8c1719-2ac7-45d2-99a5-65a732adf299@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702608370; 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=e62/UPwTCq/WeGbwMi7fzunn5DcATJ+YhRpMZa876ts=; b=ZzbnkpVTe8sz0X0kwiuFO0fdgWgpGTQgK577C+mnNU/p2+MaaBl6g7Ok5/EB951OO0Ev95 DlDcQ1JNpBYJVwkESl7IS2QDvsz6agiUAtC9ZD978XPeuCtXd/WR6iPceMuxT5fjGdIQEw uUIKqRvQgBlAwzwJhZNQkw/WWj+HgjQ= Date: Fri, 15 Dec 2023 10:46:02 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 在 2023/12/14 13:55, Daisuke Matsuda (Fujitsu) 写道: > On Wed, Dec 13, 2023 3:08 AM Zhu Yanjun wrote: >> 在 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? > I have not done that yet, but I agree I should do it. > I will try to take time for the test before submitting v8 Thanks. Hope blktest can work well with your commits. Zhu Yanjun > > Thanks, > Daisuke Matsuda > > >> Zhu Yanjun >> >>> Thanks, >>> Daisuke Matsuda >>> >>>> Zhu Yanjun >>>> >>>>> I'm reluctant to dig a deeper hold until it is done? >>>>> >>>>> Thanks, >>>>> Jason