Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp968515pxb; Wed, 15 Sep 2021 18:20:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVp4G06nv4QJzj15ndoeLrS8eo3ly3oNs79xoJ1dSK0ElZU5QrJgMfSwADg27NEGUP4VpO X-Received: by 2002:a05:6e02:ee8:: with SMTP id j8mr2088729ilk.170.1631755213522; Wed, 15 Sep 2021 18:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631755213; cv=none; d=google.com; s=arc-20160816; b=WLQ0BDqZNXgw4T84FhE4/Z6SzfKvEB6t2s4DZHssbkwKqYtf1dzX/+XIrQDe2Ehud1 pXNQiTTke3xmwtnzHYBOdSbae4DS9fgreFh9D02V6cP4CWYY7J9pa1wR/eyhEXYhxosg D8+YNRypD5p1Gy5GxAvRlnOcDTFKcyBot4Wt3FR9hyHPvjqWQxtH15Z0PcNpVHJtdHfX +Y0NhvBvwbHsbymJPOth1AJWxGucaXjHArL1UPV7Mjrjyof0AnNDoGzb0LcPcclFFNGK TOf/8tnx2mYoWxmqCvWidQAHrOmfq0QBthNSP8qskwQ+8BVWWz6DhNvewvws9vJ857ny xASw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=JaOE+ISHz89yBzHwW11LUcVonTiBTOeIQO7EirvfyLw=; b=UfQDLkEbqjSWLZpoqoW13Lf9ZaG3xzBGojQdduoBRlJ/vodd2JjfgF8Ar5GfBcB5ci MnR3KNnJdeNCphLVJQBgDANaQ+0wtyb29NDcwJSNGHolBt7coAmkC0pYSRRvZCXBf09z grqfQuRm8eWabaIeiNNNhIe6Q6EoSbq7ZoH15sQX1qJswKYLmEqSuGnRcGQg/vMyUDts w0kjckwFKPecV9BZK5mEikFgMZOgUrKQW+UnUokjFx1j++RvYwMY+ne2n1u7HbH4zf1Y 8AiYQlGLP+KznALDQ0yB/BfP7f0ZoVsWSXLcHF7XsGIZMdOx791aWJ2IQEi66RzBXEkW uY8w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=orcon.net.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g62si1378299jag.77.2021.09.15.18.20.01; Wed, 15 Sep 2021 18:20:13 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=orcon.net.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233684AbhIPBTM (ORCPT + 99 others); Wed, 15 Sep 2021 21:19:12 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:35353 "EHLO smtp-3.orcon.net.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233172AbhIPBTL (ORCPT ); Wed, 15 Sep 2021 21:19:11 -0400 X-Greylist: delayed 2563 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Sep 2021 21:19:10 EDT Received: from [121.99.228.40] (port=37816 helo=tower) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mQfMJ-0001rk-UM; Thu, 16 Sep 2021 12:34:36 +1200 Date: Thu, 16 Sep 2021 12:34:34 +1200 From: Michael Cree To: Linus Torvalds Cc: Guenter Roeck , Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , "David S . Miller" , Jakub Kicinski , alpha , Geert Uytterhoeven , Linux Kernel Mailing List , linux-parisc@vger.kernel.org, Netdev , Sparse Mailing-list Subject: Re: [PATCH v2 0/4] Introduce and use absolute_pointer macro Message-ID: <20210916003434.GB7246@tower> Mail-Followup-To: Michael Cree , Linus Torvalds , Guenter Roeck , Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , "David S . Miller" , Jakub Kicinski , alpha , Geert Uytterhoeven , Linux Kernel Mailing List , linux-parisc@vger.kernel.org, Netdev , Sparse Mailing-list References: <20210915035227.630204-1-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 15, 2021 at 12:18:58PM -0700, Linus Torvalds wrote: > On Tue, Sep 14, 2021 at 8:52 PM Guenter Roeck wrote: > > > > This patch series introduces absolute_pointer() to fix the problem. > > absolute_pointer() disassociates a pointer from its originating symbol > > type and context, and thus prevents gcc from making assumptions about > > pointers passed to memory operations. > > Ok, I've applied this to my tree. > > I note that the physical BOOT_PCB addresses in the alpha setup.h file > might be useful for things like MILO in user space, but since I > couldn't even find MILO sources any more, I couldn't really check. > > I suspect alpha is basically on life support and presumably nobody > would ever compile a bootloader anyway, so it's unlikely to matter. > > If somebody does find any issues, we'll know better and we can ask > where the user space sources are that might use that alpha setup.h > file. I think everyone uses aboot now as the bootloader on Alpha. So as long as we can still compile aboot everyone should be happy. Cheers Michael.