public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead•org>
To: Josh Poimboeuf <jpoimboe@kernel•org>
Cc: Catalin Marinas <catalin.marinas@arm•com>,
	Dave Hansen <dave.hansen@linux•intel.com>,
	Paul Mackerras <paulus@samba•org>,
	"H. Peter Anvin" <hpa@zytor•com>,
	Alexander Gordeev <agordeev@linux•ibm.com>,
	Will Deacon <will@kernel•org>,
	linux-riscv@lists•infradead.org, linux-s390@vger•kernel.org,
	x86@kernel•org, Ingo Molnar <mingo@redhat•com>,
	Christian Borntraeger <borntraeger@linux•ibm.com>,
	Albert Ou <aou@eecs•berkeley.edu>,
	Vasily Gorbik <gor@linux•ibm.com>,
	Heiko Carstens <hca@linux•ibm.com>,
	Borislav Petkov <bp@alien8•de>,
	Paul Walmsley <paul.walmsley@sifive•com>,
	Thomas Gleixner <tglx@linutronix•de>,
	linux-arm-kernel@lists•infradead.org,
	linux-kernel@vger•kernel.org, Palmer Dabbelt <palmer@dabbelt•com>,
	Sven Schnelle <svens@linux•ibm.com>,
	linuxppc-dev@lists•ozlabs.org
Subject: Re: [PATCH] bug: Use normal relative pointers in 'struct bug_entry'
Date: Fri, 6 May 2022 09:45:03 +0200	[thread overview]
Message-ID: <20220506074503.GG2501@worktop.programming.kicks-ass.net> (raw)
In-Reply-To: <afddb4548e93f6458ec1d9ec185a834c348eda33.1651798983.git.jpoimboe@kernel.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 <jpoimboe@kernel•org>

Acked-by: Peter Zijlstra (Intel) <peterz@infradead•org>

  reply	other threads:[~2022-05-06  7:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06  1:09 [PATCH] bug: Use normal relative pointers in 'struct bug_entry' Josh Poimboeuf
2022-05-06  7:45 ` Peter Zijlstra [this message]
2022-05-06  9:17 ` Sven Schnelle
2022-05-06 10:40 ` Mark Rutland
2022-05-09 12:31 ` Michael Ellerman
2022-05-09 19:20   ` Josh Poimboeuf
2022-05-10 10:38 ` Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220506074503.GG2501@worktop.programming.kicks-ass.net \
    --to=peterz@infradead$(echo .)org \
    --cc=agordeev@linux$(echo .)ibm.com \
    --cc=aou@eecs$(echo .)berkeley.edu \
    --cc=borntraeger@linux$(echo .)ibm.com \
    --cc=bp@alien8$(echo .)de \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=dave.hansen@linux$(echo .)intel.com \
    --cc=gor@linux$(echo .)ibm.com \
    --cc=hca@linux$(echo .)ibm.com \
    --cc=hpa@zytor$(echo .)com \
    --cc=jpoimboe@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-riscv@lists$(echo .)infradead.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=mingo@redhat$(echo .)com \
    --cc=palmer@dabbelt$(echo .)com \
    --cc=paul.walmsley@sifive$(echo .)com \
    --cc=paulus@samba$(echo .)org \
    --cc=svens@linux$(echo .)ibm.com \
    --cc=tglx@linutronix$(echo .)de \
    --cc=will@kernel$(echo .)org \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox