[Skiboot] [PATCH 2/3] phys map: Remove hole in NPU section

Andrew Donnellan andrew.donnellan at au1.ibm.com
Fri May 12 15:52:52 AEST 2017


On 12/05/17 15:49, Michael Neuling wrote:
> When we first added the map, we accidentally left a hole after the NPU
> PHY regs region. Fix this hole.
>
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

> ---
>  hw/phys-map.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/hw/phys-map.c b/hw/phys-map.c
> index a95ea33e18..cab23f6c9e 100644
> --- a/hw/phys-map.c
> +++ b/hw/phys-map.c
> @@ -99,16 +99,16 @@ static const struct phys_map_entry phys_map_table_nimbus[] = {
>  	{ NPU_USR        , 0, 0x0006030201000000ull, 0x0000000000200000ull },
>  	{ NPU_PHY        , 0, 0x0006030201200000ull, 0x0000000000200000ull },
>  	{ NPU_PHY	 , 1, 0x0006030201400000ull, 0x0000000000200000ull },
> -	{ NPU_NTL	 , 0, 0x0006030201620000ull, 0x0000000000020000ull },
> -	{ NPU_NTL	 , 1, 0x0006030201640000ull, 0x0000000000020000ull },
> -	{ NPU_NTL	 , 2, 0x0006030201660000ull, 0x0000000000020000ull },
> -	{ NPU_NTL	 , 3, 0x0006030201680000ull, 0x0000000000020000ull },
> -	{ NPU_NTL	 , 4, 0x00060302016a0000ull, 0x0000000000020000ull },
> -	{ NPU_NTL	 , 5, 0x00060302016c0000ull, 0x0000000000020000ull },
> -	{ NPU_GENID	 , 0, 0x00060302016e0000ull, 0x0000000000020000ull },
> -	{ NPU_GENID	 , 1, 0x0006030201700000ull, 0x0000000000020000ull },
> -	{ NPU_GENID	 , 2, 0x0006030201720000ull, 0x0000000000020000ull },
> -	{ RESV	         , 5, 0x0006030201740000ull, 0x00000000018c0000ull },
> +	{ NPU_NTL	 , 0, 0x0006030201600000ull, 0x0000000000020000ull },
> +	{ NPU_NTL	 , 1, 0x0006030201620000ull, 0x0000000000020000ull },
> +	{ NPU_NTL	 , 2, 0x0006030201640000ull, 0x0000000000020000ull },
> +	{ NPU_NTL	 , 3, 0x0006030201660000ull, 0x0000000000020000ull },
> +	{ NPU_NTL	 , 4, 0x0006030201680000ull, 0x0000000000020000ull },
> +	{ NPU_NTL	 , 5, 0x00060302016a0000ull, 0x0000000000020000ull },
> +	{ NPU_GENID	 , 0, 0x00060302016c0000ull, 0x0000000000020000ull },
> +	{ NPU_GENID	 , 1, 0x00060302016e0000ull, 0x0000000000020000ull },
> +	{ NPU_GENID	 , 2, 0x0006030201700000ull, 0x0000000000020000ull },
> +	{ RESV	         , 5, 0x0006030201720000ull, 0x00000000018e0000ull },
>  	{ PSI_LINK       , 0, 0x0006030203000000ull, 0x0000000000100000ull },
>  	{ XIVE_IC        , 0, 0x0006030203100000ull, 0x0000000000080000ull },
>  	{ XIVE_TM        , 0, 0x0006030203180000ull, 0x0000000000040000ull },
>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list