Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp183895rwb; Thu, 1 Dec 2022 00:27:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ddSmPL5gLDNnLiLY3Fi9zNsm5KTHkgpOOp4seMXBup7KtEONmcI0UmceFP+ib6OMYo2uQ X-Received: by 2002:a17:902:9882:b0:188:7a1f:fb18 with SMTP id s2-20020a170902988200b001887a1ffb18mr47576450plp.0.1669883242153; Thu, 01 Dec 2022 00:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669883242; cv=none; d=google.com; s=arc-20160816; b=RfykVWK/3zoGleHUVw6rrv0gF+k7qKylMD8UeHzaitTlTrBjG+gTwjSDudom8vFDsA TJdyJBWew1PfDl52TWpYBCvi3OGcydNQlBCGzidGmacN7ji6aQIpWHTVPOCgDYE50FWB oAAKFYWYTaNXG/QlCZVBI2fV35kwvJstV3z3EPfmP8rQykWyJYQqotXOEd8EfQfDlVHL OdHqEfGMXO5g4KISvSJgItUA7ntBSBPgg3ehoir1vwsgl9FiiOs8pY44Lqvn/10Y1ZRF KGQDoHV1CfanuXe0dbtZA5M1LD4xtHOVT7NYxkzoliyF3BoP6gph2dzZ1F6nSvJVsUbY cz1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=n/cSfJyuw306M41Dp+L+BI0/0zq6sfGvI8BbkoukRHo=; b=fkq5wV1KsyDnccutEIyG6dXwQGJp5KDyJAW5r0wkYketiJlwGOLEB6kg2DfW5trf/n 2/mJ4R8P9tBpybl12t2mUdEDbkJ5s75QbRmgot7CFtLfzMl1VHPQZWPHXP44OoT1C5xS vQw/uBxy5zG4EP376VGHRLdQkFTndZ/qa/isk+h5vjiCNu9a1llgCrnkWjYJagEid8sv hbCf/7L0QWzTN6PQUjG6ATj2SYAo6s/krzD0Y1zBCrx2qYhEJubfE8cX1LxANKfck1RB BRpwI2hoj1IFur6c1T4khhUnT5bSsc1cjhrWdlaKRZmL9Ga7EitUD73fcirsrEdQMqOt NWCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kJrxYS8i; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a056a0021d300b0056b4dc35164si4308416pfj.243.2022.12.01.00.27.12; Thu, 01 Dec 2022 00:27:22 -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; dkim=pass header.i=@linaro.org header.s=google header.b=kJrxYS8i; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbiLAHnp (ORCPT + 82 others); Thu, 1 Dec 2022 02:43:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbiLAHnm (ORCPT ); Thu, 1 Dec 2022 02:43:42 -0500 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4153450AB for ; Wed, 30 Nov 2022 23:43:38 -0800 (PST) Received: by mail-yb1-xb2a.google.com with SMTP id l67so999554ybl.1 for ; Wed, 30 Nov 2022 23:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=n/cSfJyuw306M41Dp+L+BI0/0zq6sfGvI8BbkoukRHo=; b=kJrxYS8ifZi++NNhu7Qf+KtFc8uekfyczf2pLWdBbxXH/aASZ/RXOrOk8MtPahSwbL dSES1VZ6n5tlydFOcRs6UHHSoboIs6gNKuXLVq0acyLDw8/vSSGSkJAnYlPWrI/KUphq chEdKyfPUoutY0nNxv4dXHykwKcl3a6OcYo1R5Qxn2KMc3YGcK2HdyJ/T/3eKHWtWQdl fMf6Y5EFK1kdcIrfXQvoN73b6K+x8yT35SBSXL7vomFXH9ZxT5/A1qpmhMHzu4ZKR3an 9vURQPEg/mCHVEo4JP6LgAW7kJWyEXHEwwoThXDe/82DMC1yHODZYZ3rAHnq1FhHT05a J3VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=n/cSfJyuw306M41Dp+L+BI0/0zq6sfGvI8BbkoukRHo=; b=f5vT+FtOcVJiUjR08MU9a8aASFJkkqBC3RneTMNc5X2QBr27Etii02tcFSmZ8MSxiu NqQzLTjvpqWSAl1iNlKE3raQg8P3TkUvQUYHciU9hsysgAiXDp/4JlzDay8EkQXxLVvt 4zjd6azWu6GddXrTeNsNT4sUxT1r3DOQsqgxLMCyDxDiBeEaK5TfvwVNTpVQqVSc6obT hs+c/3onQKq8fG0NDGk3G7sZdmjt096aHL0MJRDvaF1cacLwvyV6lolIayK+XDry6hps BQieyYkCkLVvDBhtyhIaCycRc6tMcgF18amaXQ5MS9LEV2Ol5858fY9NVYdQxumdQxpP 7Xmg== X-Gm-Message-State: ANoB5pnGrPoolCou4AeX2znngfDvxhzQx5NQ/OFRQqzG7NQJQm09AfG6 TCWtAYUaxIoDHx3Zp+wrnHnIeJ5zqpGivXgywWAfcQ== X-Received: by 2002:a25:d782:0:b0:6f5:6b11:8110 with SMTP id o124-20020a25d782000000b006f56b118110mr19813207ybg.560.1669880617677; Wed, 30 Nov 2022 23:43:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Thu, 1 Dec 2022 13:13:25 +0530 Message-ID: Subject: Re: arm64: allmodconfig: BUG: KCSAN: data-race in p9_client_cb / p9_client_rpc To: Dominique Martinet Cc: Marco Elver , rcu , open list , kunit-dev@googlegroups.com, lkft-triage@lists.linaro.org, kasan-dev , "Paul E. McKenney" , Netdev , Anders Roxell Content-Type: multipart/mixed; boundary="00000000000008f9c705eebf61a4" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 --00000000000008f9c705eebf61a4 Content-Type: text/plain; charset="UTF-8" On Thu, 1 Dec 2022 at 01:35, Dominique Martinet wrote: > > Naresh Kamboju wrote on Wed, Nov 30, 2022 at 09:34:45PM +0530: > > > > [ 424.418214] write to 0xffff00000a753000 of 4 bytes by interrupt on cpu 0: > > > > [ 424.422437] p9_client_cb+0x84/0x100 > > > > > > Then we can look at git blame of the lines and see if it's new code. > > > > True. > > Hope that tree and tag could help you get git details. > > Even with the git tag, if we don't build for the same arch with the same > compiler version/options and the same .config we aren't likely to have > identical binaries, so we cannot make sense of these offsets without > much work. > > As much as I'd like to investigate a data race in 9p (and geez that code > has been such a headache from syzbot already so I don't doubt there are > more), having line numbers is really not optional if we want to scale at > all. > If you still have the vmlinux binary from that build (or if you can > rebuild with the same options), running this text through addr2line > should not take you too long. Please find build artifacts in this link, - config - vmlinux - System.map https://people.linaro.org/~anders.roxell/next-20221130-allmodconfig-arm64-tuxmake-build/ And # aarch64-linux-gnu-objdump -D vmlinux|less search for p9_client_cb Attached objdump log and here is the link. - http://ix.io/4hk1 > (You might need to build with at least CONFIG_DEBUG_INFO_REDUCED (or not > reduced), but that is on by default for aarch64) Thanks for the suggestions. The Kconfig is enabled now. CONFIG_DEBUG_INFO_REDUCED=y > -- > Dominique - Naresh --00000000000008f9c705eebf61a4 Content-Type: text/plain; charset="US-ASCII"; name="objdump-p9_client_cb.txt" Content-Disposition: attachment; filename="objdump-p9_client_cb.txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lb4rmdbt0 ZmZmZjgwMDAwYTQ2Y2FjMCA8cDlfY2xpZW50X2NiPjoKZmZmZjgwMDAwYTQ2Y2FjMDogICAgICAg ZDUwMzIwMWYgICAgICAgIG5vcApmZmZmODAwMDBhNDZjYWM0OiAgICAgICBkNTAzMjAxZiAgICAg ICAgbm9wCmZmZmY4MDAwMGE0NmNhYzg6ICAgICAgIGQ1MDMyMzNmICAgICAgICBwYWNpYXNwCmZm ZmY4MDAwMGE0NmNhY2M6ICAgICAgIGE5YmM3YmZkICAgICAgICBzdHAgICAgIHgyOSwgeDMwLCBb c3AsICMtNjRdIQpmZmZmODAwMDBhNDZjYWQwOiAgICAgICA5MTAwMDNmZCAgICAgICAgbW92ICAg ICB4MjksIHNwCmZmZmY4MDAwMGE0NmNhZDQ6ICAgICAgIGE5MDE1M2YzICAgICAgICBzdHAgICAg IHgxOSwgeDIwLCBbc3AsICMxNl0KZmZmZjgwMDAwYTQ2Y2FkODogICAgICAgYWEwMTAzZjMgICAg ICAgIG1vdiAgICAgeDE5LCB4MQpmZmZmODAwMDBhNDZjYWRjOiAgICAgICBhYTFlMDNmNCAgICAg ICAgbW92ICAgICB4MjAsIHgzMApmZmZmODAwMDBhNDZjYWUwOiAgICAgICBhOTAyNWJmNSAgICA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ICAgICBi bCAgICAgIGZmZmY4MDAwMDg1NDM2NDAgPF9fdHNhbl91bmFsaWduZWRfd3JpdGU0PgpmZmZmODAw MDBhNDZjYjQ0OiAgICAgICBhYTEzMDNlMCAgICAgICAgbW92ICAgICB4MCwgeDE5CmZmZmY4MDAw MGE0NmNiNDg6ICAgICAgIGQyODAwMDAzICAgICAgICBtb3YgICAgIHgzLCAjMHgwICAgICAgICAg ICAgICAgICAgICAgICAgLy8gIzAKZmZmZjgwMDAwYTQ2Y2I0YzogICAgICAgNTI4MDAwMjIgICAg ICAgIG1vdiAgICAgdzIsICMweDEgICAgICAgICAgICAgICAgICAgICAgICAvLyAjMQpmZmZmODAw MDBhNDZjYjUwOiAgICAgICA1MjgwMDA2MSAgICAgICAgbW92ICAgICB3MSwgIzB4MyAgICAgICAg ICAgICAgICAgICAgICAgIC8vICMzCg== --00000000000008f9c705eebf61a4--