Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp271864ybv; Thu, 6 Feb 2020 22:44:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzYTi0DMCMd3Lzd60xwyL/Y8mz1QkseYtXUBvX2ecQhQzgnJ6Q8O4L9srG/TpkawwAwWrRO X-Received: by 2002:aca:530e:: with SMTP id h14mr1083563oib.105.1581057860760; Thu, 06 Feb 2020 22:44:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581057860; cv=none; d=google.com; s=arc-20160816; b=keuKePCl8AKr5yKB0HXmim1s1ISpjSHRWKfNVqAK6OX20vVrDFkzUwTDpPvys5GFTw vj/BwZruZd6eqywh8osSNo5+s14OQKHsS85XcrlDbPPi7tFUhIn1F/H5K9Dp/VCHaqIS EoO57KB8ToRRwFSW7f7Gd8YxHsxz5vhhfMjLH48c4aUxmpZ6jex+TgIyjaZ2wCEAyo/U TQT99p/ZtUmhmZE+8tKWEDKd0DTRIp7F1gfMGRza2uAyx11bT5dfDoYSxuwo7PK3720R 6bYm05QrxXD/akRsJ9MurV8fFM6Md80+tNjw65ICFK+F6sLIQdji/ELAUvXhd5WNDUzB zrPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nS5JPWneySiodQp4hbvudj9hL13ty2+PLssqsVAS96w=; b=KbjIwxNb4m3ejrp+b3A6iJkFTYCtRoU6cvMln/kHazbOGKrSrhuzlD2RSmRpnGFyFw fPHlAnKflSD3Q3JVeL84aCUcYCm4vOD2KOXspIln0WvGafhviti3Lbm4tB/kWtzL48Kk vRJyiSyWUrgKXsmrIDPybpR5P4VV+pSbA5ej7+BVz2GneS0kU+h9HSpYuU18VgO1Q3HQ 7pVHBhp4VXCVVsOimx/gtDt08eO7wVyL+4SPCCtu2VwE0MUyPPDOVEjiwzt00Tfg2OGC qPBddb4T8CC1l7k/T9LoEd8W0k5vK/qI3RhZuMtgCgEB/eGIkwTpdIrl4ng4NtPDfsBx 48lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vs8xRFTr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si1128701otk.324.2020.02.06.22.44.07; Thu, 06 Feb 2020 22:44:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vs8xRFTr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726860AbgBGGmP (ORCPT + 99 others); Fri, 7 Feb 2020 01:42:15 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:46223 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726417AbgBGGmP (ORCPT ); Fri, 7 Feb 2020 01:42:15 -0500 Received: by mail-ot1-f67.google.com with SMTP id g64so1102202otb.13 for ; Thu, 06 Feb 2020 22:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=nS5JPWneySiodQp4hbvudj9hL13ty2+PLssqsVAS96w=; b=Vs8xRFTrFsZE+EsSeCBIS2SL2f3chCCp8q53YEs384RGhmJyR25P2g1CveTLhp+fQg 4YqpqJxKR3akAHbk38yJBQi7gRysih+h5j9CVYCFcCy7Z2AQtOoaJqxMIkT9Vi4bwJX1 ZULLciChr57C6Yr4X2mqzTXrrwKj1tYhY/ADWz3ljJ3emjYTFa51ndT1oevSdaAlBTRc ObcLLuahG2SyQpYCPeIRv6sxUDF7wPlSEwZDKSLgnTiND+jPzhpg0qHCI7fttrPpc/Nx F35SCGsNLUZG43xmMpe6w4U3aPkHWvXa+hdcOo2gJhw1Qpzsfekyefja1knccBOZ3MH4 b1jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=nS5JPWneySiodQp4hbvudj9hL13ty2+PLssqsVAS96w=; b=KjFqSA5NgEpQwkOYoxdlUxITdNXy2/Qsfr+N2PYC7eNJcfBK7K1cM9FxHR/xggZnXv iDStfKW/+YuTOlMmavuccIw9pz8VIi3RxJEdGEBZswG5DNdDxQ4DuFJ48LT6vx4j20Kf nWQ7vmAr1PoKHg4s3FYW/Gfw6ttmNa9os05LATGCRc4CmZARRS68aarSu6N9W7Ab77m5 BbEb1eSEOAfBFpdu+GN1bJmL54COsF22yxvKIr6hlvVK3LqMr10RixZQxHjqljK7ilxW jqw3rbMPyY3vLgYKk3ELwHEvyn+7UCOdcR+1wLwiiRXnbZ7JU+KVfuy6itWETebCmyKM gQOg== X-Gm-Message-State: APjAAAVAK5Op+wVNGQWBvttyx2T9aAXOX2yr4nV0zWUd2XWRPG081ZwH o2mzRJjv1wFrtkgQj6JU2fI= X-Received: by 2002:a05:6830:12c3:: with SMTP id a3mr1569040otq.341.1581057732875; Thu, 06 Feb 2020 22:42:12 -0800 (PST) Received: from ubuntu-x2-xlarge-x86 ([2604:1380:4111:8b00::1]) by smtp.gmail.com with ESMTPSA id z21sm777102oto.52.2020.02.06.22.42.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Feb 2020 22:42:12 -0800 (PST) Date: Thu, 6 Feb 2020 23:42:10 -0700 From: Nathan Chancellor To: Christophe Leroy Cc: Fangrui Song , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] powerpc/vdso32: mark __kernel_datapage_offset as STV_PROTECTED Message-ID: <20200207064210.GA13125@ubuntu-x2-xlarge-x86> References: <20200205005054.k72fuikf6rwrgfe4@google.com> <10e3d362-ec29-3816-88ff-8415d5c78e3b@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <10e3d362-ec29-3816-88ff-8415d5c78e3b@c-s.fr> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2020 at 07:25:59AM +0100, Christophe Leroy wrote: > > > Le 05/02/2020 ? 01:50, Fangrui Song a ?crit?: > > 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 powerpc > > port is permissive and allows it [1], but lld will report an error after > > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=ec0895f08f99515194e9fcfe1338becf6f759d38 > > 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=156045 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. Cheers, Nathan