Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp890250ybg; Wed, 3 Jun 2020 16:59:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXdc5+h1a9Nd8ByEvBNGIIZ0HJPOzUC8CfJbdMYzrTDyNRV/9epTGxbjKBPyxi+MaZMVWF X-Received: by 2002:a17:906:d215:: with SMTP id w21mr1525340ejz.383.1591228754635; Wed, 03 Jun 2020 16:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591228754; cv=none; d=google.com; s=arc-20160816; b=VhwMlB2ZTzhoIBFZE2ShWVQr88jRkbyqv9qu/nwj3gt1NBw2S5yXhy/KsyFS3O+YI7 emAllhW6eXYA1v1YtIWhZBnOPeM1nuhD0zpbEoLGd4mOA1EyoJXJ6eGFXdcKC993FPwu oock/lWRtVjMw8bZ5+J0ygvodqSdImvdWPH6MUVTLJ7/qAZFTe1QjMY39OFB8BBl7FpG caOLflx719hnPXGlyG6SxDPH5Liiy2zf9wOPm5BcCu3x7ZHCmYR/S8J4VWG8olzQihZ0 hV6QxzbwZ9XEjFI9yu5CVd3TmvV0mEP1OJHuuHFQGBPuWSarZwqoh/TjyULSrXe0xI5t AXMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qWmO3ZI8i34h9spdSprmL/lLpf4pLXBU0GLhND3KfTg=; b=fGCTVFgHdJfrhlk38fA+XM99WGn8AYfB5EBGvHeJWPY4xDHanecD+4htRzsYAz+nw5 k8cO5U2TK5cW0aR/KlhjbaKWhcpicxwL1nu0wwqV3CfU0BKm2YDRVTlkM+3aZFkCu2gM s71IG5VD8ak9mR9G7oux7QPYmCf81y+D44OD60ITrqwGoQhkCJpSOwibOJZuCU7e2e+O 2a8fJWMUsNJO1h8OGt2tmZkkTlnOuTrL8DF8bMMBZicQkyH9Kwop7bOxBY8Y9DLvwmQJ emaLDioJY3XbYlDVrpHe/jKL3hVdDlKhQzFEn+eVY8jd4S0XIKjGU2RHoAB0omHccAef 8tJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=R1yFr4XR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si623693eja.72.2020.06.03.16.58.52; Wed, 03 Jun 2020 16:59:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=R1yFr4XR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726231AbgFCXul (ORCPT + 99 others); Wed, 3 Jun 2020 19:50:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbgFCXuk (ORCPT ); Wed, 3 Jun 2020 19:50:40 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 965F9C08C5C0 for ; Wed, 3 Jun 2020 16:50:40 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id x11so1385519plv.9 for ; Wed, 03 Jun 2020 16:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qWmO3ZI8i34h9spdSprmL/lLpf4pLXBU0GLhND3KfTg=; b=R1yFr4XREkxA1bB2hqYvzIUBtxCs1vZIy0cnBVKz0myX5vr3P/GSYKxW0Xa+sf37mP /VuUg1uHwTafwgsP+SQzdx7YT4Oasy7xq0+WRj/wTzjO5VNm15xYHBYvMWzFjE6qvg7a aZddWLPKSotja6u3++neDjsDBoONFZbpP6+/521zrL+nnkaedJRdwsTDFtLOE9GEs22y xgmhLNIk6lcUHuOsUBBO1osiNcfdV30RaJYnnRYb/TmSO7u47lTSB36ogFSjWrbu+bRp ati812L7XCvpZchmNPpYHYkmZ8JNtB1/rSBgRaVMEB3nrqDBlDsDEqf0ZQsD9oc6Ns4z 2lSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qWmO3ZI8i34h9spdSprmL/lLpf4pLXBU0GLhND3KfTg=; b=n7Ba845/XLCqeptLcOniVjUpS+Yz2XWlQ8E4mkvqMJgnT6Mh6dcSiFpdBPzNZyuiHc kB+ywoUiHzFiLGJyWZCzU2jafeT4Ix1BZqSihEqu8xgUO7MQHQwLfaaBpLlXQBLkJpc6 q7kzW9NQEoFvU3BTV6siWYKbqcaxl8J4dyEHBLS5xaqvCQ+sqR0ZCG8vH4iZ8gV45dmW N5OpzBpQd885SRQRgZiUJi/BUhKegcnW1INfqSAZnUF4aPsfwJcXAa12q5rk2U/Pl4+q bhs0isDD5V9mj7FrL2ldkB+SQgOlD+RL+Q22dKp/tE7xizgq4mqVA6NnT0yKeYXRMSqL mE3w== X-Gm-Message-State: AOAM533t7ZbKD9CgFP8pr4QMtxFce/cuxv448U7qk6JBslBkTiIAXvYM fTZICxAJjjxzOufKjCqM3XtlPsKYmnQgJDs4ZQXRQg== X-Received: by 2002:a17:90a:4802:: with SMTP id a2mr2479012pjh.25.1591228239667; Wed, 03 Jun 2020 16:50:39 -0700 (PDT) MIME-Version: 1.0 References: <20200205005054.k72fuikf6rwrgfe4@google.com> <10e3d362-ec29-3816-88ff-8415d5c78e3b@c-s.fr> <20200207064210.GA13125@ubuntu-x2-xlarge-x86> In-Reply-To: <20200207064210.GA13125@ubuntu-x2-xlarge-x86> From: Nick Desaulniers Date: Wed, 3 Jun 2020 16:50:27 -0700 Message-ID: Subject: Re: [PATCH] powerpc/vdso32: mark __kernel_datapage_offset as STV_PROTECTED To: Nathan Chancellor , Christophe Leroy , Fangrui Song , Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev , LKML , clang-built-linux Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 6, 2020 at 10:42 PM Nathan Chancellor wrote: > > On Wed, Feb 05, 2020 at 07:25:59AM +0100, Christophe Leroy wrote: > > > > > > Le 05/02/2020 =C3=A0 01:50, Fangrui Song a =C3=A9crit : > > > A PC-relative relocation (R_PPC_REL16_LO in this case) referencing a > > > preemptible symbol in a -shared link is not allowed. GNU ld's powerp= c > > > port is permissive and allows it [1], but lld will report an error af= ter > > > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/com= mit/?id=3Dec0895f08f99515194e9fcfe1338becf6f759d38 > > > > Note that there is a series whose first two patches aim at dropping > > __kernel_datapage_offset . See > > https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=3D156045= and > > especially patches https://patchwork.ozlabs.org/patch/1231467/ and > > https://patchwork.ozlabs.org/patch/1231461/ > > > > Those patches can be applied independentely of the rest. > > > > Christophe > > If that is the case, it would be nice if those could be fast tracked to > 5.6 because as it stands now, all PowerPC builds that were working with > ld.lld are now broken. Either that or take this patch and rebase that > series on this one. So do we still need Fangrui's patch or is it moot? I'm doing a scrub of our bug tracker and this issue is still open: https://github.com/ClangBuiltLinux/linux/issues/851 but it looks like all of our ppc LE targets are linking with LLD just fine https://travis-ci.com/github/ClangBuiltLinux/continuous-integration/builds/= 169379039 though it sounds like https://github.com/ClangBuiltLinux/linux/issues/774 may be a blocker? Though I don't see Cristophe's https://patchwork.ozlabs.org/project/linuxppc-dev/patch/5f97f7c921ffc2113ad= a0f32924e409bccc8277a.1580399657.git.christophe.leroy@c-s.fr/ in mainline or -next. Was the series not accepted? > > Cheers, > Nathan > > -- > You received this message because you are subscribed to the Google Groups= "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/clang-built-linux/20200207064210.GA13125%40ubuntu-x2-xlarge-x86. -- Thanks, ~Nick Desaulniers