From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8147CC433EF for ; Thu, 16 Sep 2021 01:17:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5BA5360F93 for ; Thu, 16 Sep 2021 01:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233602AbhIPBTM (ORCPT ); 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-parisc@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.