[PATCH] Fix the CPU count calculation error.

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Apr 19 08:50:38 UTC 2024


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 option could be to 
make the number of interrupt export ports configurable.

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list