Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8421421rwd; Tue, 20 Jun 2023 15:10:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7b5V7rdHnFtmZYjkJ3DFA3PSmtgvkUugYIW9MjCnoF6eDtTm4+JGWKbN22S+8tc0/GapMM X-Received: by 2002:a05:6a21:6d88:b0:11d:5b5d:ddf0 with SMTP id wl8-20020a056a216d8800b0011d5b5dddf0mr4637389pzb.49.1687299027244; Tue, 20 Jun 2023 15:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687299027; cv=none; d=google.com; s=arc-20160816; b=jai1ZwopKA5bMW+hQl1gcdgq0vuVDLVK8EmKDIo90c36BqAJx1dmRlvT35IQbr/fM2 OJWck/jPE9zkUdik5zrDQrfCx5uhBoMN08uJAPC2NazG22cVCx+G10N2oRb+o71XLcep UTzMQYQ4PS1LCIVI+BymvD01YSMibt0wdNF+lizD3Uj6OMbfKsBAXKTFrXi2v+CQTKcL HGvUsLnJR912W3bMwDna2gX4O8kiOzsyoXfiAhCPHjaSQgLO1P+62AfzGjLkV4kf9IqP kdNsbMOciE/uJqBhTSGzxQdxrc0B/Rm979pB9jkoDMVGVSXjNHBsnMUiuFQhQ6YHPh79 aXtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=5z9pNcxTbLEfuGKBKG4TC9lAt5ChqheSmY8pbRkKfL4=; b=T8Y5DJaSVTG3B0eXW0HA4fl5HZPEm5Soj8odwwCR3CvEMxe/rBjksvARmCYWCJWxx9 kUrAQK/UN26MqWIZf5/tijjP8MYXT51ALK1CLfYMIiP65Pua14h2KtYVJ0mG7eArKyei uMnEl+mNfToBPUC1P28nGEkMLGDIt66I7sIzHl+iC6KgN0bz91HtOBgzzQkJUVFf74G3 ChGUx+PUSzEdegCpmaKpa1QUNBJ+PkZ7i4f1v+0JjZYSpx9Sx9WBzVEdlABfS1C1b0Cs ZoRzZDwtB1nBhBdOMiP2Aia7iQdoPdf9RCL7UqX5RSRMmXoMP2zXKz/zd3mwMfZ417S0 MiGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b="kTkoFl/h"; 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 m1-20020a638c01000000b00553ced07d1bsi2586799pgd.36.2023.06.20.15.10.15; Tue, 20 Jun 2023 15:10:27 -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=@dabbelt-com.20221208.gappssmtp.com header.s=20221208 header.b="kTkoFl/h"; 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 S229707AbjFTUlb (ORCPT + 99 others); Tue, 20 Jun 2023 16:41:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjFTUla (ORCPT ); Tue, 20 Jun 2023 16:41:30 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E26010F8 for ; Tue, 20 Jun 2023 13:41:29 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-54290603887so2669005a12.1 for ; Tue, 20 Jun 2023 13:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20221208.gappssmtp.com; s=20221208; t=1687293688; x=1689885688; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=5z9pNcxTbLEfuGKBKG4TC9lAt5ChqheSmY8pbRkKfL4=; b=kTkoFl/hOE6DUn0o/TxNy8ei8a0pwF3wJ8WdqIIbNXUDBDjEdeDGAmfD2+RKWGXJTd T3K28E5f3GbYQN1zmSPmZIin3KKlSUuGyR86CjJT1U2jBF/N3FKoBM9bMwkagOXfEehr LE1fzTMO5bKWhTaPLlsyizdUF9TGPy6aFiOY/vnQgdbBWCVEGtA3s/FI33EEAwItrMJh VjtW979fJDNufkx776qo5gq8zTqT3t96sPZU5T73gmbYeidCAK2U6H9M5XTJ3SV4eQVW XmwzVsS4j/HUUONtDF+aGJdqhuO6ywBlWfNmAig3j5c9MqBK1xx+AEcWUY6eaTj23qt/ 6u3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687293688; x=1689885688; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5z9pNcxTbLEfuGKBKG4TC9lAt5ChqheSmY8pbRkKfL4=; b=AI5j9rVTAiYP90WZt9saWQmaW20yi4FSaz46rgoMIJyMH17FsOa3AV82GXCZYHFB/x GsCaQxg+ISyfiuBhCT260HqAQHy08Gen4/wuxdPtB+ad8PMJcfrbEgbRWOREG3s+I1HD 7d5JpPRTzuLXPQg7fgawPgcyy1kcXT2WHDaZxhDjdEXUC3/KBlB1ifCCQSaz3pDpT+as YfIHnTWVEHiVXoUWKoQYpzL1bj802s4MMsF7QPX41NFDdNSbMhg+AQlO0I1upTscdGxo Ev56kPsMOpy4ZUJ7qABhCa2JI05c4WtP5xRP+HV6Y6VEEIlvaFhy5cvgUD5hkU+5NlCH 4zxQ== X-Gm-Message-State: AC+VfDyjHPLnCsfgjzXG0mlaWIBQjg7GsokfT1XBucQ0bvpqjkZlolrQ Ir+0S1QG6rQon/kw/Hg52WktXg== X-Received: by 2002:a05:6a20:432a:b0:115:5910:c82d with SMTP id h42-20020a056a20432a00b001155910c82dmr4124776pzk.43.1687293688585; Tue, 20 Jun 2023 13:41:28 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id 5-20020aa79145000000b006689ecd0ff4sm1442001pfi.208.2023.06.20.13.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 13:41:27 -0700 (PDT) Date: Tue, 20 Jun 2023 13:41:27 -0700 (PDT) X-Google-Original-Date: Tue, 20 Jun 2023 13:40:46 PDT (-0700) Subject: Re: [PATCH v2 0/4] riscv: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION In-Reply-To: CC: Conor Dooley , 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, maskray@google.com, Ard Biesheuvel From: Palmer Dabbelt To: ndesaulniers@google.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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, 20 Jun 2023 13:32:32 PDT (-0700), ndesaulniers@google.com wrote: > On Tue, Jun 20, 2023 at 4:13 PM Conor Dooley wrote: >> >> On Tue, Jun 20, 2023 at 04:05:55PM -0400, Nick Desaulniers wrote: >> > On Mon, Jun 19, 2023 at 6:06 PM 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 wrote: >> >> > > >> 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@tinylab.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! Ya, I hadn't even noticed the v3 because I pretty much only look at patchwork these days. Like we talked about in IRC, I'm going to go test the merge of this one and see what's up -- I've got it staged at , though that won't be a stable hash if it's actually broken... > >> >> Cheers, >> Conor. > > > > -- > Thanks, > ~Nick Desaulniers