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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8EFB7C433EF for ; Tue, 10 May 2022 11:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tcQvqfy9djNSYUrjKces7HQ5APMnlfSRcUYcI7tkff4=; b=mSPMWqpSEPVKqW S8cfCAdzgpNJ0QQQyx7c1wtuT1a+hRyxawuAi4CVPft+me21I07BoMVtpRV5Jn26b8/uDY9hZwy92 axjO5HbiTpBp5U0bzGgC6U5noqPfT6fZZ5JjYSUakZIgyZ+kpNOzc+HZ3ArwGSUkuWYnHACvPgfJ0 MPV9wH4r2NBaoKKCx6PO/W7xSEsFnmiuhTcvcLuRDDgwq5f1ccla3UhYrTUu8S6WfLzGTi55F3t6N Hkh/nfiIYRv7XCgOhAv39ovtpXopAM6A/IZCdqD/lrTAdNzJ8tXCHhJH3tfoNe6rNGuUvHc/+LhyL bc9OQbaMoVzneEXx3NYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noO3l-001Z9F-IY; Tue, 10 May 2022 11:29:45 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noO2O-001YRL-Jz; Tue, 10 May 2022 11:28:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gFshjzGdEIwMcrQcNFouQo/5FXkPewxT5zR5lvvvUfw=; b=as12JgrYuvnlzI0BEnFgYLZq95 WXQrhpOMJbTJJ4/tfWNkK39SmIu0A2I5NdU/AJQwzSRWBNBszTqNK69Y8UxAJf2d4QkcqEIK+Xn8i /EJdkhiCFdzuJFgWy+B8Zn0xyluLlV6MXG2boxnuw1+Xnw4dd37NgbrCn96cr8NnXrVOPcwHzGE1C nPLhAZ1CJutlX8+YAm+VgKL3lbZ/1A0Wv79sw9v0LTyoR1aqIaSH6RJUCTXoO3YRZbEThKNJo7XB+ 7MiTT6D9ZeS3M0wnwqh6lNWJAo8jAfx3Ka9c0xzUTel9cA+XwAVLi4T7zJRuOp5cYo1zey3/sE//D BYGoxWTg==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noNG8-00Col6-34; Tue, 10 May 2022 10:38:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E4FD5617A1; Tue, 10 May 2022 10:38:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DEE5C385C6; Tue, 10 May 2022 10:38:17 +0000 (UTC) Date: Tue, 10 May 2022 11:38:13 +0100 From: Catalin Marinas To: Josh Poimboeuf Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Will Deacon , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org Subject: Re: [PATCH] bug: Use normal relative pointers in 'struct bug_entry' Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220510_113828_438700_7EC28AD2 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 05, 2022 at 06:09:45PM -0700, Josh Poimboeuf wrote: > With CONFIG_GENERIC_BUG_RELATIVE_POINTERS, the addr/file relative > pointers are calculated weirdly: based on the beginning of the bug_entry > struct address, rather than their respective pointer addresses. > > Make the relative pointers less surprising to both humans and tools by > calculating them the normal way. > > Signed-off-by: Josh Poimboeuf > --- > arch/arm64/include/asm/asm-bug.h | 4 ++-- Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel