[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87msnem3i1.ffs@tglx>
Date: Fri, 21 Jun 2024 22:42:46 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Huacai Chen <chenhuacai@...ngson.cn>
Cc: loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org, Xuefeng Li
<lixuefeng@...ngson.cn>, Huacai Chen <chenhuacai@...il.com>, Jiaxun Yang
<jiaxun.yang@...goat.com>, Huacai Chen <chenhuacai@...ngson.cn>
Subject: Re: [PATCH V2] irqchip/loongson-eiointc: Use early_cpu_to_node()
instead of cpu_to_node()
On Thu, Jun 20 2024 at 10:06, Huacai Chen wrote:
> When we use "nr_cpus=n" to hard limit the CPU number, cpu_to_node() is
> not usable because it can only applied on "possible" CPUs. On the other
> hand, early_cpu_to_node() can be always used instead.
We use nothing...
Aside of that you fail to explain what the problem is (i.e. the
malfunction) and why using early_cpu_to_node() is fixing it.
> #define pr_fmt(fmt) "eiointc: " fmt
>
> +#include <asm/numa.h>
asm includes come after the linux includes.
> #include <linux/cpuhotplug.h>
Thanks,
tglx
Powered by blists - more mailing lists