Re: [PATCH] Fix the CPU count calculation error.

2024-05-06 Thread zhengxiaojun
在 2024/4/19 16:50, Sebastian Huber 写道: On 19.04.24 09:16, zhengxiaojun wrote: I tested on arm64, the cpu_count do not increase when (redist->icrtyper & GIC_REDIST_ICRTYPER_LAST != 0),but it is the last core. The current code assumes that you have exactly one interrupt export

Re: [PATCH] Fix the CPU count calculation error.

2024-04-19 Thread zhengxiaojun
在 2024/4/19 16:50, Sebastian Huber 写道: On 19.04.24 09:16, zhengxiaojun wrote: I tested on arm64, the cpu_count do not increase when (redist->icrtyper & GIC_REDIST_ICRTYPER_LAST != 0),but it is the last core. The current code assumes that you have exactly one interrupt export port. With

Re: [PATCH] Fix the CPU count calculation error.

2024-04-19 Thread Sebastian Huber
On 19.04.24 09:16, zhengxiaojun wrote: I tested on arm64, the cpu_count do not increase when (redist->icrtyper & GIC_REDIST_ICRTYPER_LAST != 0),but it is the last core. The current code assumes that you have exactly one interrupt export port. With which SoC are you working currently? One

Re: [PATCH] Fix the CPU count calculation error.

2024-04-19 Thread zhengxiaojun
I tested on arm64, the cpu_count do not increase when (redist->icrtyper & GIC_REDIST_ICRTYPER_LAST != 0),but it is the last core. 在 2024/4/19 15:00, Sebastian Huber 写道: Hello, on which platform does this fix a error? ___ devel mailing list

Re: [PATCH] Fix the CPU count calculation error.

2024-04-19 Thread Sebastian Huber
Hello, on which platform does this fix a error? -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer:

[PATCH] Fix the CPU count calculation error.

2024-04-19 Thread zhengxiaojun
Fix the CPU count calculation error. Signed-off-by: zhengxiaojun --- bsps/shared/dev/irq/arm-gicv3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/shared/dev/irq/arm-gicv3.c b/bsps/shared/dev/irq/arm-gicv3.c index 958b1061bd..6422a191f1 100644 ---