[PATCH 6.11 227/261] LoongArch: Get correct cores_per_package for SMT systems