)]}' { "commit": "76ce7cfe35ef58f34e6ba85327afb5fbf6c3ff9b", "tree": "ad750f9e42d213b7847a9f3cec679cf4d9406951", "parents": [ "e4880bc5dfb1f02b152e62a894b5c6f3e995b3cf" ], "author": { "name": "Pavel Tatashin", "email": "pasha.tatashin@oracle.com", "time": "Fri Oct 27 20:11:00 2017 -0400" }, "committer": { "name": "Thomas Gleixner", "email": "tglx@linutronix.de", "time": "Tue Nov 07 16:04:54 2017 +0100" }, "message": "x86/smpboot: Make optimization of delay calibration work correctly\n\nIf the TSC has constant frequency then the delay calibration can be skipped\nwhen it has been calibrated for a package already. This is checked in\ncalibrate_delay_is_known(), but that function is buggy in two aspects:\n\nIt returns \u0027false\u0027 if\n\n (!tsc_disabled \u0026\u0026 !cpu_has(\u0026cpu_data(cpu), X86_FEATURE_CONSTANT_TSC)\n\nwhich is obviously the reverse of the intended check and the check for the\nsibling mask cannot work either because the topology links have not been\nset up yet.\n\nCorrect the condition and move the call to set_cpu_sibling_map() before\ninvoking calibrate_delay() so the sibling check works correctly.\n\n[ tglx: Rewrote changelong ]\n\nFixes: c25323c07345 (\"x86/tsc: Use topology functions\")\nSigned-off-by: Pavel Tatashin \u003cpasha.tatashin@oracle.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: peterz@infradead.org\nCc: bob.picco@oracle.com\nCc: steven.sistare@oracle.com\nCc: daniel.m.jordan@oracle.com\nCc: stable@vger.kernel.org\nLink: https://lkml.kernel.org/r/20171028001100.26603-1-pasha.tatashin@oracle.com\n", "tree_diff": [ { "type": "modify", "old_id": "ad59edd84de70cfb978b8c0bc2ac38b892418b71", "old_mode": 33188, "old_path": "arch/x86/kernel/smpboot.c", "new_id": "65a0ccdc3050742f9235922aaa3774560ca1f9c2", "new_mode": 33188, "new_path": "arch/x86/kernel/smpboot.c" }, { "type": "modify", "old_id": "796d96bb0821874a3b567d1b95f802b85f1222dc", "old_mode": 33188, "old_path": "arch/x86/kernel/tsc.c", "new_id": "ad2b925a808e7327dec37ae03c60ea2901d48352", "new_mode": 33188, "new_path": "arch/x86/kernel/tsc.c" } ] }