[PATCH master 1/3] pstore: ramoops: fix use of wrong types on 64-bit
Sascha Hauer
s.hauer at pengutronix.de
Tue May 7 00:33:31 PDT 2024
On Mon, 06 May 2024 18:02:44 +0200, Ahmad Fatoum wrote:
> The kernel struct persistent_ram_buffer uses atomic_t for start and size
> members in the persistent_ram_buffer chunk, which are 32-bit always,
> unlike resource_size_t that we used in barebox, which is 64-bit when
> CONFIG_PHYS_ADDR_T_64BIT=y.
>
> To fix this, we could use either int32_t or atomic_t. To make
> synchronization with Linux easier, let's use atomic_t.
>
> [...]
Applied, thanks!
[1/3] pstore: ramoops: fix use of wrong types on 64-bit
https://git.pengutronix.de/cgit/barebox/commit/?id=914622436219 (link may not be stable)
[2/3] pstore: fix size of OF fixup memory region
https://git.pengutronix.de/cgit/barebox/commit/?id=0efa116b9f48 (link may not be stable)
[3/3] pstore: return -ENOENT when file is missing
https://git.pengutronix.de/cgit/barebox/commit/?id=e70a514bce4b (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list