[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kvm-ppc
Subject:    Re: [PATCH v2 03/20] powerpc/64: Enable use of radix MMU under hypervisor on POWER9
From:       Michael Ellerman <mpe () ellerman ! id ! au>
Date:       2017-01-30 21:16:36
Message-ID: 87wpdcuu2z.fsf () concordia ! ellerman ! id ! au
[Download RAW message or body]

Paul Mackerras <paulus@ozlabs.org> writes:

> diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c
> index cfa53cc..94323c4 100644
> --- a/arch/powerpc/mm/pgtable-radix.c
> +++ b/arch/powerpc/mm/pgtable-radix.c
> @@ -401,6 +401,8 @@ void __init radix__early_init_mmu(void)
>  		mtspr(SPRN_LPCR, lpcr | LPCR_UPRT | LPCR_HR);
>  		radix_init_partition_table();
>  		radix_init_amor();
> +	} else {
> +		radix_init_pseries();
>  	}

That breaks the cell build:

  (.init.text+0x1878): undefined reference to `.radix_init_pseries'

I added a stub in book3s/64/mmu.h.

cheers
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic