On 7/13/2026 1:07 PM, Matheus Tavares Bernardino wrote:
> As documented:
> 
>      * @get_phys_addr_debug: Callback for obtaining a physical address.
>      * This must be able to handle a non-page-aligned address, and will
>      * return the physical address corresponding to that address.
> 
> When MMU is enabled, hexagon_cpu_get_phys_addr_debug() returns the
> physical address page-aligned, not corrected to reflect the exact byte
> the virtual addr maps to within the page. Let's fix that. The
> MMU-disabled case is already correct.
> 
> This would break semihosting argument reads when it is added for Hexagon.
> 
> Signed-off-by: Matheus Tavares Bernardino 
> <[email protected]>
> ---
>  target/hexagon/cpu.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to