Thread (52 messages) read the whole thread 52 messages, 12 authors, 2021-10-24

Re: [PATCH v2 0/4] Introduce and use absolute_pointer macro

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-09-15 19:19:22
Also in: lkml, netdev

On Tue, Sep 14, 2021 at 8:52 PM Guenter Roeck [off-list ref] 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.

                Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help