On Mon, Oct 27, 2025 at 06:04:55PM +0100, Mikhail Zaslonko wrote:
> Since s390x IS_VMALLOC_ADDR() callback functions include non-zero
> vmalloc_start check we can drop it from s390x_kvtop().
> 
> Signed-off-by: Mikhail Zaslonko <[email protected]>
> ---
>  s390x.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/s390x.c b/s390x.c
> index 1117bf0..25dca5e 100644
> --- a/s390x.c
> +++ b/s390x.c
> @@ -943,17 +943,12 @@ s390x_kvtop(struct task_context *tc, ulong vaddr, 
> physaddr_t *paddr, int verbose
>  
>       if (!IS_KVADDR(vaddr)){
>               *paddr = 0;
>               return FALSE;
>       }
>  
> -     if (!vt->vmalloc_start) {
> -            *paddr = VTOP(vaddr);
> -            return TRUE;
> -     }
> -
>       if (!IS_VMALLOC_ADDR(vaddr)) {
>              *paddr = VTOP(vaddr);
>              return TRUE;
>       }
>  
>       pgd_base = (unsigned long)vt->kernel_pgd[0];

Acked-by: Alexander Gordeev <[email protected]>
--
Crash-utility mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

Reply via email to