[Pdbg] [PATCH v1] pdbg: increase max chips to 32

Amitay Isaacs amitay at ozlabs.org
Tue Oct 26 16:36:04 AEDT 2021


On Fri, 2021-10-22 at 22:04 +1000, Nicholas Piggin wrote:
> POWER10 processors contain 32 addressable cores ("chips").
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>  src/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/main.c b/src/main.c
> index 1ecf3da..3ebba0e 100644
> --- a/src/main.c
> +++ b/src/main.c
> @@ -50,7 +50,7 @@ static char const *device_node;
>  static int i2c_addr = 0x50;
>  
>  #define MAX_PROCESSORS 64
> -#define MAX_CHIPS 24
> +#define MAX_CHIPS 32
>  #define MAX_THREADS THREADS_PER_CORE
>  
>  #define MAX_LINUX_CPUS (MAX_PROCESSORS * MAX_CHIPS * MAX_THREADS)
> -- 
> 2.23.0
> 

Pushed upstream.

Amitay.
-- 

If you don't stand for something, you'll fall for anything.



More information about the Pdbg mailing list