Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8339995rwd; Tue, 20 Jun 2023 13:47:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5nUZVsNexZu7ZXtaLGCz66ev69+kpzV1nmHdQdqQ96YKebBl0IyR3VI+YReejCtkFOgKIQ X-Received: by 2002:a05:6a20:2583:b0:106:5dff:5dc6 with SMTP id k3-20020a056a20258300b001065dff5dc6mr17045510pzd.16.1687294039063; Tue, 20 Jun 2023 13:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687294039; cv=none; d=google.com; s=arc-20160816; b=wvE+1pGR0+6eeN+1LDB+A4o2T+aU20cIlN/qwItvmy3FQj+12GrmP6J4KK8C2Z23/Z 2MLPLDNF/iydHplrYmpDo2Ylm3/Sj0lZlI2qFDDnveGpNlRsKe8dRyt1eB7sLnWezURl 4vZFs2vPSkJSYPAnNzgvLG6shTmaHvnAp0M3oX44KMu9qT9Qtb7FcUA3m/gvK47YRBzU BQfy08aaM3RmsdJLdx9O4ZC+q5LnHgPBW1n8xFuybIyqzwcAXyzdDfIu+UyXUSBK6f/3 A4n7kdIgrMI+pwFbocyf4WHmznqlLfHfoXzxxK32TEbitRH6NbAAEQ0iuw/oecOMW7VE 7ZnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+sOBwXFmC0K7NYb6lxaOI7FbE7H576FmqzhPnZbh/RQ=; b=mr+khZJ7FFD6okE+bpWd/IWqvG12mnQNan2s00UCJhH3NSEwnLzQ5wOYGPdbeMpfJg bvMUTJCZFRByNn7rqzu15Q/ZiArml11gxAtRNBu20pLprMmFj5QMT6zad1/cAcjIl+Od TSZ+3gz3ujrnO1ZCRoASqF245MnxT11+c34c0kLlAr6TmtB60bY4rUwqGE+7UIXMEQlF yCABkfepUx0ral3b9fjR3eUPPWm6IBjO8HLxtDO4GXJoobt8o2M/PWV6l14r1h1rkUxr 54z0kF73IFKJu2hR0dHzZDXsaCcssiHEirZp+BQg+8/iOuupy6qQTaFuCJI0QaSZgyPq iCJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=tOqRhJiJ; 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=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020aa79486000000b00643c4345942si2300622pfk.134.2023.06.20.13.47.05; Tue, 20 Jun 2023 13:47:19 -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=@google.com header.s=20221208 header.b=tOqRhJiJ; 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=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229867AbjFTUcu (ORCPT + 99 others); Tue, 20 Jun 2023 16:32:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbjFTUcp (ORCPT ); Tue, 20 Jun 2023 16:32:45 -0400 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0391A187 for ; Tue, 20 Jun 2023 13:32:45 -0700 (PDT) Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6300f31c3ecso22908576d6.3 for ; Tue, 20 Jun 2023 13:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687293164; x=1689885164; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+sOBwXFmC0K7NYb6lxaOI7FbE7H576FmqzhPnZbh/RQ=; b=tOqRhJiJuYS/iM7yaX5kRR0RI5J4yS1E5ocSFLwJFozah6ojYGDYEC3KMjqrchEHWN V5olyJeF5sdAVGmyxtKzlPJwixv1c+gFrSleYLPVdQZtnWtBnPtfTroLHA1oHlfq6NDf W6illmXhd6rNa/PIUTfFh2BSrLJMD/dE4ysNwbZpOroJXz0BTpxFlvGYRjt3C+Cs4d8e h/9Qo+g/BCkG3gfjk50kDZi3H1Z6DIl++Vte2DrrQ80+9d2PI1Ka0jRiR54Gv/wlxsKr xoljDYaj9RSg+l5SiIJnchoyU6QRqVoFXyi9s7wEvojivfMFhjAf3kYVjlrLEwk3TUR0 mmbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687293164; x=1689885164; h=content-transfer-encoding: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=+sOBwXFmC0K7NYb6lxaOI7FbE7H576FmqzhPnZbh/RQ=; b=RWTmjUt7Yq+XzZFji52RLUpt95OOupbBJsuoJXl7Lvugt3g7y9HhagO5ZhmwqUO0Lw Y/cCdTJiZtOUQhlJTF0lXNJKDiQN4BfdcR8G1Ws6wuIxly8CuKmLGRweGmgGJrVAMvYZ qKxgpyRo4yFGqy4mCWl380w0FfWLUOeIU8fPFt7AD+Cgei981MymP0hUA2nYRsnT27c+ /8r9dkAmj8vCJrofV/whUiHOdKZ58gKxtLZo8ZvsvcYkxYcbk+c2Xp/mruJ1UVkIX5xC 58tcsuZby+y8F7RN7v9fLdqsDOtDiIlezgPUVVYfUL/uTgD4MG1/gx2okNr7++A0FHLe 7SzQ== X-Gm-Message-State: AC+VfDxVEVZHis8iKs1lWUpQBKSfxFRO+O1HDZGZyzeCH3KCtrRSy41+ +Vdzz1+s7nhK5U5Znd0j4RjKa679PVRSIVvEGHEM0g== X-Received: by 2002:a05:6214:e4f:b0:62d:fd45:4d6a with SMTP id o15-20020a0562140e4f00b0062dfd454d6amr16222761qvc.16.1687293164010; Tue, 20 Jun 2023 13:32:44 -0700 (PDT) MIME-Version: 1.0 References: <20230620-gibberish-unblended-f4b50c7fe369@spud> In-Reply-To: <20230620-gibberish-unblended-f4b50c7fe369@spud> From: Nick Desaulniers Date: Tue, 20 Jun 2023 16:32:32 -0400 Message-ID: Subject: Re: [PATCH v2 0/4] riscv: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION To: Conor Dooley Cc: Palmer Dabbelt , jszhang@kernel.org, llvm@lists.linux.dev, Paul Walmsley , aou@eecs.berkeley.edu, Arnd Bergmann , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Fangrui Song , Ard Biesheuvel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Tue, Jun 20, 2023 at 4:13=E2=80=AFPM Conor Dooley wro= te: > > On Tue, Jun 20, 2023 at 04:05:55PM -0400, Nick Desaulniers wrote: > > On Mon, Jun 19, 2023 at 6:06=E2=80=AFPM Palmer Dabbelt wrote: > > > On Thu, 15 Jun 2023 06:54:33 PDT (-0700), Palmer Dabbelt wrote: > > > > On Wed, 14 Jun 2023 09:25:49 PDT (-0700), jszhang@kernel.org wrote: > > > >> On Wed, Jun 14, 2023 at 07:49:17AM -0700, Palmer Dabbelt wrote: > > > >>> On Tue, 23 May 2023 09:54:58 PDT (-0700), jszhang@kernel.org wrot= e: > > > > >> Commit 3b90b09af5be ("riscv: Fix orphan section warnings caused by > > > >> kernel/pi") touches vmlinux.lds.S, so to make the merge easy, this > > > >> series is based on 6.4-rc2. > > > > > > > > Thanks. > > > > > > Sorry to be so slow here, but I think this is causing LLD to hang on > > > allmodconfig. I'm still getting to the bottom of it, there's a few > > > other things I have in flight still. > > > > Confirmed with v3 on mainline (linux-next is pretty red at the moment). > > https://lore.kernel.org/linux-riscv/20230517082936.37563-1-falcon@tinyl= ab.org/ > > Just FYI Nick, there's been some concurrent work here from different > people working on the same thing & the v3 you linked (from Zhangjin) was > superseded by this v2 (from Jisheng). Ah! I've been testing the deprecated patch set, sorry I just looked on lore for "dead code" on riscv-linux and grabbed the first thread, without noticing the difference in authors or new version numbers for distinct series. ok, nevermind my noise. I'll follow up with the correct patch set, sorry! > > Cheers, > Conor. --=20 Thanks, ~Nick Desaulniers