mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-05 13:51:45 +00:00
[sunxi-current] cleaned up kernel uplevel patches
* cedrus patch is now included in upstream mainline * topology patch is already included in megous upstream
This commit is contained in:
parent
c556012f30
commit
1c903a93f0
2 changed files with 0 additions and 34 deletions
|
@ -154,40 +154,6 @@ index 4b0bab2607e4..46e1be9e57a8 100644
|
|||
/*
|
||||
* Take this CPU offline. Once we clear this, we can't return,
|
||||
* and we must not schedule until we're ready to give up the cpu.
|
||||
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
|
||||
index 5b9faba03afb..8d2e61d9e7a6 100644
|
||||
--- a/arch/arm/kernel/topology.c
|
||||
+++ b/arch/arm/kernel/topology.c
|
||||
@@ -196,9 +196,8 @@ void store_cpu_topology(unsigned int cpuid)
|
||||
struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
|
||||
unsigned int mpidr;
|
||||
|
||||
- /* If the cpu topology has been already set, just return */
|
||||
- if (cpuid_topo->core_id != -1)
|
||||
- return;
|
||||
+ if (cpuid_topo->package_id != -1)
|
||||
+ goto topology_populated;
|
||||
|
||||
mpidr = read_cpuid_mpidr();
|
||||
|
||||
@@ -231,14 +230,15 @@ void store_cpu_topology(unsigned int cpuid)
|
||||
cpuid_topo->package_id = -1;
|
||||
}
|
||||
|
||||
- update_siblings_masks(cpuid);
|
||||
-
|
||||
update_cpu_capacity(cpuid);
|
||||
|
||||
pr_info("CPU%u: thread %d, cpu %d, socket %d, mpidr %x\n",
|
||||
cpuid, cpu_topology[cpuid].thread_id,
|
||||
cpu_topology[cpuid].core_id,
|
||||
cpu_topology[cpuid].package_id, mpidr);
|
||||
+
|
||||
+topology_populated:
|
||||
+ update_siblings_masks(cpuid);
|
||||
}
|
||||
|
||||
static inline int cpu_corepower_flags(void)
|
||||
diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
|
||||
index 04ad2fb22b9a..dba3488492f1 100644
|
||||
--- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
|
||||
|
|
Loading…
Add table
Reference in a new issue