diff for duplicates of <1eb27e3bbcbb2c67e6eadc0893c9b41e5d76894b.1553057341.git.viresh.kumar@linaro.org>
diff --git a/a/1.txt b/N1/1.txt
index ebe84c8..aa3199b 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -52,13 +52,11 @@ index facd4240ca02..c6d37563610a 100644
return NOTIFY_OK;
- if (!per_cpu(l_p_j_ref, cpu)) {
-- per_cpu(l_p_j_ref, cpu) =
-- per_cpu(cpu_data, cpu).loops_per_jiffy;
+- per_cpu(l_p_j_ref, cpu) - per_cpu(cpu_data, cpu).loops_per_jiffy;
- per_cpu(l_p_j_ref_freq, cpu) = freq->old;
+ if (!per_cpu(l_p_j_ref, first)) {
+ for_each_cpu(cpu, cpus) {
-+ per_cpu(l_p_j_ref, cpu) =
-+ per_cpu(cpu_data, cpu).loops_per_jiffy;
++ per_cpu(l_p_j_ref, cpu) + per_cpu(cpu_data, cpu).loops_per_jiffy;
+ per_cpu(l_p_j_ref_freq, cpu) = freq->old;
+ }
+
@@ -69,8 +67,7 @@ index facd4240ca02..c6d37563610a 100644
loops_per_jiffy = cpufreq_scale(global_l_p_j_ref,
global_l_p_j_ref_freq,
freq->new);
-- per_cpu(cpu_data, cpu).loops_per_jiffy =
-- cpufreq_scale(per_cpu(l_p_j_ref, cpu),
+- per_cpu(cpu_data, cpu).loops_per_jiffy - cpufreq_scale(per_cpu(l_p_j_ref, cpu),
- per_cpu(l_p_j_ref_freq, cpu),
- freq->new);
+
@@ -98,10 +95,9 @@ index 3eb77943ce12..89fb05f90609 100644
- ft->ref_freq = freq->old;
- ft->clock_tick_ref = cpu_data(cpu).clock_tick;
- }
-- if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||
-- (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
-- cpu_data(cpu).clock_tick =
-- cpufreq_scale(ft->clock_tick_ref,
+- if ((val = CPUFREQ_PRECHANGE && freq->old < freq->new) ||
+- (val = CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
+- cpu_data(cpu).clock_tick - cpufreq_scale(ft->clock_tick_ref,
- ft->ref_freq,
- freq->new);
+ for_each_cpu(cpu, freq->policy->cpus) {
@@ -112,10 +108,9 @@ index 3eb77943ce12..89fb05f90609 100644
+ ft->clock_tick_ref = cpu_data(cpu).clock_tick;
+ }
+
-+ if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||
-+ (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
-+ cpu_data(cpu).clock_tick =
-+ cpufreq_scale(ft->clock_tick_ref, ft->ref_freq,
++ if ((val = CPUFREQ_PRECHANGE && freq->old < freq->new) ||
++ (val = CPUFREQ_POSTCHANGE && freq->old > freq->new)) {
++ cpu_data(cpu).clock_tick + cpufreq_scale(ft->clock_tick_ref, ft->ref_freq,
+ freq->new);
+ }
}
@@ -171,9 +166,9 @@ index 65e4559eef2f..1ac8c710cccc 100644
*
*/
-- if (val == CPUFREQ_PRECHANGE && freq->old > freq->new)
+- if (val = CPUFREQ_PRECHANGE && freq->old > freq->new)
- return 0;
-- if (val == CPUFREQ_POSTCHANGE && freq->old < freq->new)
+- if (val = CPUFREQ_POSTCHANGE && freq->old < freq->new)
- return 0;
-
- smp_call_function_single(freq->cpu, tsc_khz_changed, freq, 1);
@@ -202,9 +197,9 @@ index 65e4559eef2f..1ac8c710cccc 100644
+ struct cpufreq_freqs *freq = data;
+ int cpu;
+
-+ if (val == CPUFREQ_PRECHANGE && freq->old > freq->new)
++ if (val = CPUFREQ_PRECHANGE && freq->old > freq->new)
+ return 0;
-+ if (val == CPUFREQ_POSTCHANGE && freq->old < freq->new)
++ if (val = CPUFREQ_POSTCHANGE && freq->old < freq->new)
+ return 0;
+
+ for_each_cpu(cpu, freq->policy->cpus)
diff --git a/a/content_digest b/N1/content_digest
index 9c79563..37ce967 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,7 +5,7 @@
"Subject\0[PATCH V3] cpufreq: Call transition notifier only once for each policy\0"
]
[
- "Date\0Wed, 20 Mar 2019 10:22:23 +0530\0"
+ "Date\0Wed, 20 Mar 2019 04:52:46 +0000\0"
]
[
"To\0Rafael Wysocki <rjw\@rjwysocki.net>",
@@ -90,13 +90,11 @@
" \t\treturn NOTIFY_OK;\n",
" \n",
"-\tif (!per_cpu(l_p_j_ref, cpu)) {\n",
- "-\t\tper_cpu(l_p_j_ref, cpu) =\n",
- "-\t\t\tper_cpu(cpu_data, cpu).loops_per_jiffy;\n",
+ "-\t\tper_cpu(l_p_j_ref, cpu) -\t\t\tper_cpu(cpu_data, cpu).loops_per_jiffy;\n",
"-\t\tper_cpu(l_p_j_ref_freq, cpu) = freq->old;\n",
"+\tif (!per_cpu(l_p_j_ref, first)) {\n",
"+\t\tfor_each_cpu(cpu, cpus) {\n",
- "+\t\t\tper_cpu(l_p_j_ref, cpu) =\n",
- "+\t\t\t\tper_cpu(cpu_data, cpu).loops_per_jiffy;\n",
+ "+\t\t\tper_cpu(l_p_j_ref, cpu) +\t\t\t\tper_cpu(cpu_data, cpu).loops_per_jiffy;\n",
"+\t\t\tper_cpu(l_p_j_ref_freq, cpu) = freq->old;\n",
"+\t\t}\n",
"+\n",
@@ -107,8 +105,7 @@
" \t\tloops_per_jiffy = cpufreq_scale(global_l_p_j_ref,\n",
" \t\t\t\t\t\tglobal_l_p_j_ref_freq,\n",
" \t\t\t\t\t\tfreq->new);\n",
- "-\t\tper_cpu(cpu_data, cpu).loops_per_jiffy =\n",
- "-\t\t\tcpufreq_scale(per_cpu(l_p_j_ref, cpu),\n",
+ "-\t\tper_cpu(cpu_data, cpu).loops_per_jiffy -\t\t\tcpufreq_scale(per_cpu(l_p_j_ref, cpu),\n",
"-\t\t\t\t\tper_cpu(l_p_j_ref_freq, cpu),\n",
"-\t\t\t\t\tfreq->new);\n",
"+\n",
@@ -136,10 +133,9 @@
"-\t\tft->ref_freq = freq->old;\n",
"-\t\tft->clock_tick_ref = cpu_data(cpu).clock_tick;\n",
"-\t}\n",
- "-\tif ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||\n",
- "-\t (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {\n",
- "-\t\tcpu_data(cpu).clock_tick =\n",
- "-\t\t\tcpufreq_scale(ft->clock_tick_ref,\n",
+ "-\tif ((val = CPUFREQ_PRECHANGE && freq->old < freq->new) ||\n",
+ "-\t (val = CPUFREQ_POSTCHANGE && freq->old > freq->new)) {\n",
+ "-\t\tcpu_data(cpu).clock_tick -\t\t\tcpufreq_scale(ft->clock_tick_ref,\n",
"-\t\t\t\t ft->ref_freq,\n",
"-\t\t\t\t freq->new);\n",
"+\tfor_each_cpu(cpu, freq->policy->cpus) {\n",
@@ -150,10 +146,9 @@
"+\t\t\tft->clock_tick_ref = cpu_data(cpu).clock_tick;\n",
"+\t\t}\n",
"+\n",
- "+\t\tif ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) ||\n",
- "+\t\t (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) {\n",
- "+\t\t\tcpu_data(cpu).clock_tick =\n",
- "+\t\t\t\tcpufreq_scale(ft->clock_tick_ref, ft->ref_freq,\n",
+ "+\t\tif ((val = CPUFREQ_PRECHANGE && freq->old < freq->new) ||\n",
+ "+\t\t (val = CPUFREQ_POSTCHANGE && freq->old > freq->new)) {\n",
+ "+\t\t\tcpu_data(cpu).clock_tick +\t\t\t\tcpufreq_scale(ft->clock_tick_ref, ft->ref_freq,\n",
"+\t\t\t\t\t freq->new);\n",
"+\t\t}\n",
" \t}\n",
@@ -209,9 +204,9 @@
" \t *\n",
" \t */\n",
" \n",
- "-\tif (val == CPUFREQ_PRECHANGE && freq->old > freq->new)\n",
+ "-\tif (val = CPUFREQ_PRECHANGE && freq->old > freq->new)\n",
"-\t\treturn 0;\n",
- "-\tif (val == CPUFREQ_POSTCHANGE && freq->old < freq->new)\n",
+ "-\tif (val = CPUFREQ_POSTCHANGE && freq->old < freq->new)\n",
"-\t\treturn 0;\n",
"-\n",
"-\tsmp_call_function_single(freq->cpu, tsc_khz_changed, freq, 1);\n",
@@ -240,9 +235,9 @@
"+\tstruct cpufreq_freqs *freq = data;\n",
"+\tint cpu;\n",
"+\n",
- "+\tif (val == CPUFREQ_PRECHANGE && freq->old > freq->new)\n",
+ "+\tif (val = CPUFREQ_PRECHANGE && freq->old > freq->new)\n",
"+\t\treturn 0;\n",
- "+\tif (val == CPUFREQ_POSTCHANGE && freq->old < freq->new)\n",
+ "+\tif (val = CPUFREQ_POSTCHANGE && freq->old < freq->new)\n",
"+\t\treturn 0;\n",
"+\n",
"+\tfor_each_cpu(cpu, freq->policy->cpus)\n",
@@ -336,4 +331,4 @@
"2.21.0.rc0.269.g1a574e7a288b"
]
-91d2554f3f409eb37027b276fcd536eadb8f4dae2e73d387690689666ab06f46
+0e5fd51286e776964f300e203796b2d5fd26232e27d09158e5940b3723eae5c9
diff --git a/a/1.txt b/N2/1.txt
index ebe84c8..7ca8eb1 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -295,4 +295,10 @@ index b160e98076e3..e327523ddff2 100644
#define CPUFREQ_SHARED_TYPE_NONE (0) /* None */
#define CPUFREQ_SHARED_TYPE_HW (1) /* HW does needed coordination */
--
-2.21.0.rc0.269.g1a574e7a288b
\ No newline at end of file
+2.21.0.rc0.269.g1a574e7a288b
+
+
+_______________________________________________
+linux-arm-kernel mailing list
+linux-arm-kernel@lists.infradead.org
+http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
\ No newline at end of file
diff --git a/a/content_digest b/N2/content_digest
index 9c79563..9457e34 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -21,13 +21,13 @@
" Radim Kr\304\215m\303\241\305\231 <rkrcmar\@redhat.com>\0"
]
[
- "Cc\0Viresh Kumar <viresh.kumar\@linaro.org>",
+ "Cc\0Vincent Guittot <vincent.guittot\@linaro.org>",
+ " kvm\@vger.kernel.org",
" linux-pm\@vger.kernel.org",
- " Vincent Guittot <vincent.guittot\@linaro.org>",
- " linux-arm-kernel\@lists.infradead.org",
+ " Viresh Kumar <viresh.kumar\@linaro.org>",
" linux-kernel\@vger.kernel.org",
" sparclinux\@vger.kernel.org",
- " kvm\@vger.kernel.org\0"
+ " linux-arm-kernel\@lists.infradead.org\0"
]
[
"\0000:1\0"
@@ -333,7 +333,13 @@
" #define CPUFREQ_SHARED_TYPE_NONE (0) /* None */\n",
" #define CPUFREQ_SHARED_TYPE_HW\t (1) /* HW does needed coordination */\n",
"-- \n",
- "2.21.0.rc0.269.g1a574e7a288b"
+ "2.21.0.rc0.269.g1a574e7a288b\n",
+ "\n",
+ "\n",
+ "_______________________________________________\n",
+ "linux-arm-kernel mailing list\n",
+ "linux-arm-kernel\@lists.infradead.org\n",
+ "http://lists.infradead.org/mailman/listinfo/linux-arm-kernel"
]
-91d2554f3f409eb37027b276fcd536eadb8f4dae2e73d387690689666ab06f46
+8a1088b481f80412c55928a090a076772df56a009c59778090f9e5db57de4ac6
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.