Re: [PATCH v2 0/2] memblock tests: cover low-address allocations

From: Tianyi Chen

Date: Wed Sep 09 2026 - 19:56:13 EST


Hi Mike,

Sorry for sending v2 as a reply to v1. I have posted v3 as a separate
thread:
https://lore.kernel.org/r/cover.1788997523.git.hi@xxxxxxxxx

I shortened the comments and README to describe the low limit and
simulated RAM alignment directly. Both patches now use Assisted-by: LLM.

I also checked the pointer casts with BUILD=32, where pointers are 32-bit
and phys_addr_t is 64-bit. The tested compiler sign-extends a direct cast
to phys_addr_t, while conversion through uintptr_t zero-extends it.
Direct casts also introduce warnings, so I retained uintptr_t to preserve
the existing conversion behavior. There are no executable code changes
from v2.

Thanks for the review,
Tianyi