)]}'
{"id":"LineageOS%2Fandroid_kernel_sony_msm8974~313380","triplet_id":"LineageOS%2Fandroid_kernel_sony_msm8974~lineage-18.1~I707de358bcc70a980dc4bd581c159a30e01cce41","project":"LineageOS/android_kernel_sony_msm8974","branch":"lineage-18.1","hashtags":[],"change_id":"I707de358bcc70a980dc4bd581c159a30e01cce41","subject":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug","status":"MERGED","created":"2021-07-09 23:21:02.000000000","updated":"2021-07-11 13:16:37.000000000","submitted":"2021-07-11 13:16:37.000000000","submitter":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"307163","meta_rev_id":"f2060b28e017386b5239faa9eb66a21f41ea8558","_number":313380,"virtual_id_number":313380,"owner":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"actions":{},"labels":{"Verified":{"all":[{"value":0,"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"all":[{"value":0,"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"values":{"-2":"Do not submit","-1":"I would prefer that you didn\u0027t submit this"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0},"CI":{"all":[{"value":0,"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"values":{"-1":"Fail"," 0":"No score","+1":"Pass"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}],"reviewers":{"REVIEWER":[{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-07-09 23:21:02.000000000","updated_by":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"reviewer":{"_account_id":15173,"name":"Kevin Haggerty","email":"haggertk@lineageos.org","username":"haggertk","avatars":[{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/258edfac858c1ce5f056ed4ca050a578.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"state":"REVIEWER"}],"messages":[{"id":"c3ba5b706f1e2e81ee74e3a8127a81c1dbe12e7e","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"date":"2021-07-09 23:21:02.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"5d46ad63fe77dfd4be2f502f348e9cc57fd61104","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"date":"2021-07-09 23:23:59.000000000","message":"Uploaded patch set 2: New patch set was added with same tree, parent, and commit message as Patch Set 1.","accounts_in_message":[],"_revision_number":2},{"id":"f2060b28e017386b5239faa9eb66a21f41ea8558","tag":"autogenerated:gerrit:merged","author":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"date":"2021-07-11 13:16:37.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"00b758f2fcb7e15e1fbd13c9eda5a9d0f56027d9","revisions":{"75591df659ddf5eca47d7f1f8c70dc2ad0eac6f4":{"kind":"REWORK","_number":1,"created":"2021-07-09 23:21:02.000000000","uploader":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"ref":"refs/changes/80/313380/1","fetch":{"anonymous http":{"url":"https://github.com/LineageOS/android_kernel_sony_msm8974","ref":"refs/changes/80/313380/1","commands":{"Branch":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/1 \u0026\u0026 git checkout -b change-313380 FETCH_HEAD","Checkout":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/1","Reset To":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"6bf1c7b1d8ec2a0a33dfa7bb1c9833312fcc48d3","subject":"ktime: Fix ktime_divns to do signed division","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/6bf1c7b1d8ec2a0a33dfa7bb1c9833312fcc48d3"}]}],"author":{"name":"Thomas Gleixner","email":"tglx@linutronix.de","date":"2018-01-26 13:54:32.000000000","tz":60},"committer":{"name":"Arian","email":"arian.kulmer@web.de","date":"2021-07-09 23:19:53.000000000","tz":120},"subject":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug","message":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug\n\ncommit d5421ea43d30701e03cadc56a38854c36a8b4433 upstream.\n\nThe hrtimer interrupt code contains a hang detection and mitigation\nmechanism, which prevents that a long delayed hrtimer interrupt causes a\ncontinous retriggering of interrupts which prevent the system from making\nprogress. If a hang is detected then the timer hardware is programmed with\na certain delay into the future and a flag is set in the hrtimer cpu base\nwhich prevents newly enqueued timers from reprogramming the timer hardware\nprior to the chosen delay. The subsequent hrtimer interrupt after the delay\nclears the flag and resumes normal operation.\n\nIf such a hang happens in the last hrtimer interrupt before a CPU is\nunplugged then the hang_detected flag is set and stays that way when the\nCPU is plugged in again. At that point the timer hardware is not armed and\nit cannot be armed because the hang_detected flag is still active, so\nnothing clears that flag. As a consequence the CPU does not receive hrtimer\ninterrupts and no timers expire on that CPU which results in RCU stalls and\nother malfunctions.\n\nClear the flag along with some other less critical members of the hrtimer\ncpu base to ensure starting from a clean state when a CPU is plugged in.\n\nThanks to Paul, Sebastian and Anna-Maria for their help to get down to the\nroot cause of that hard to reproduce heisenbug. Once understood it\u0027s\ntrivial and certainly justifies a brown paperbag.\n\nFixes: 41d2e4949377 (\"hrtimer: Tune hrtimer_interrupt hang logic\")\nChange-Id: I707de358bcc70a980dc4bd581c159a30e01cce41\nReported-by: Paul E. McKenney \u003cpaulmck@linux.vnet.ibm.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Sebastian Sewior \u003cbigeasy@linutronix.de\u003e\nCc: Anna-Maria Gleixner \u003canna-maria@linutronix.de\u003e\nCc: stable@vger.kernel.org\nLink: https://lkml.kernel.org/r/alpine.DEB.2.20.1801261447590.2067@nanos\n[bigeasy: backport to v3.18, drop -\u003enext_timer it was introduced later]\nSigned-off-by: Sebastian Andrzej Siewior \u003cbigeasy@linutronix.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nSigned-off-by: Kevin F. Haggerty \u003chaggertk@lineageos.org\u003e\n","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/75591df659ddf5eca47d7f1f8c70dc2ad0eac6f4"}],"resolve_conflicts_web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/75591df659ddf5eca47d7f1f8c70dc2ad0eac6f4"}]},"branch":"refs/heads/lineage-18.1"},"5e161b9355108fe4dde1e4702f8f2e79686864ab":{"kind":"NO_CHANGE","_number":2,"created":"2021-07-09 23:23:59.000000000","uploader":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"ref":"refs/changes/80/313380/2","fetch":{"anonymous http":{"url":"https://github.com/LineageOS/android_kernel_sony_msm8974","ref":"refs/changes/80/313380/2","commands":{"Branch":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/2 \u0026\u0026 git checkout -b change-313380 FETCH_HEAD","Checkout":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/2","Reset To":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"260e95dc3bfab264c9cc3ced193ede903538b1c1","subject":"ktime: Fix ktime_divns to do signed division","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/260e95dc3bfab264c9cc3ced193ede903538b1c1"}]}],"author":{"name":"Thomas Gleixner","email":"tglx@linutronix.de","date":"2018-01-26 13:54:32.000000000","tz":60},"committer":{"name":"Arian","email":"arian.kulmer@web.de","date":"2021-07-09 23:23:53.000000000","tz":120},"subject":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug","message":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug\n\ncommit d5421ea43d30701e03cadc56a38854c36a8b4433 upstream.\n\nThe hrtimer interrupt code contains a hang detection and mitigation\nmechanism, which prevents that a long delayed hrtimer interrupt causes a\ncontinous retriggering of interrupts which prevent the system from making\nprogress. If a hang is detected then the timer hardware is programmed with\na certain delay into the future and a flag is set in the hrtimer cpu base\nwhich prevents newly enqueued timers from reprogramming the timer hardware\nprior to the chosen delay. The subsequent hrtimer interrupt after the delay\nclears the flag and resumes normal operation.\n\nIf such a hang happens in the last hrtimer interrupt before a CPU is\nunplugged then the hang_detected flag is set and stays that way when the\nCPU is plugged in again. At that point the timer hardware is not armed and\nit cannot be armed because the hang_detected flag is still active, so\nnothing clears that flag. As a consequence the CPU does not receive hrtimer\ninterrupts and no timers expire on that CPU which results in RCU stalls and\nother malfunctions.\n\nClear the flag along with some other less critical members of the hrtimer\ncpu base to ensure starting from a clean state when a CPU is plugged in.\n\nThanks to Paul, Sebastian and Anna-Maria for their help to get down to the\nroot cause of that hard to reproduce heisenbug. Once understood it\u0027s\ntrivial and certainly justifies a brown paperbag.\n\nFixes: 41d2e4949377 (\"hrtimer: Tune hrtimer_interrupt hang logic\")\nChange-Id: I707de358bcc70a980dc4bd581c159a30e01cce41\nReported-by: Paul E. McKenney \u003cpaulmck@linux.vnet.ibm.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Sebastian Sewior \u003cbigeasy@linutronix.de\u003e\nCc: Anna-Maria Gleixner \u003canna-maria@linutronix.de\u003e\nCc: stable@vger.kernel.org\nLink: https://lkml.kernel.org/r/alpine.DEB.2.20.1801261447590.2067@nanos\n[bigeasy: backport to v3.18, drop -\u003enext_timer it was introduced later]\nSigned-off-by: Sebastian Andrzej Siewior \u003cbigeasy@linutronix.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nSigned-off-by: Kevin F. Haggerty \u003chaggertk@lineageos.org\u003e\n","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/5e161b9355108fe4dde1e4702f8f2e79686864ab"}],"resolve_conflicts_web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/5e161b9355108fe4dde1e4702f8f2e79686864ab"}]},"branch":"refs/heads/lineage-18.1"},"00b758f2fcb7e15e1fbd13c9eda5a9d0f56027d9":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2021-07-11 13:16:37.000000000","uploader":{"_account_id":21290,"name":"Arian","email":"arian.kulmer@web.de","username":"ArianK16a","avatars":[{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/5fb921ba0d8167f4a9239e07f970970f.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"ref":"refs/changes/80/313380/3","fetch":{"anonymous http":{"url":"https://github.com/LineageOS/android_kernel_sony_msm8974","ref":"refs/changes/80/313380/3","commands":{"Branch":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/3 \u0026\u0026 git checkout -b change-313380 FETCH_HEAD","Checkout":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/3","Reset To":"git fetch https://github.com/LineageOS/android_kernel_sony_msm8974 refs/changes/80/313380/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"03d8d77d5c3a7aacb78801e4a5ad7452a68ce073","subject":"ktime: Fix ktime_divns to do signed division","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/03d8d77d5c3a7aacb78801e4a5ad7452a68ce073"}]}],"author":{"name":"Thomas Gleixner","email":"tglx@linutronix.de","date":"2018-01-26 13:54:32.000000000","tz":60},"committer":{"name":"Arian","email":"arian.kulmer@web.de","date":"2021-07-11 13:16:25.000000000","tz":120},"subject":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug","message":"hrtimer: Reset hrtimer cpu base proper on CPU hotplug\n\ncommit d5421ea43d30701e03cadc56a38854c36a8b4433 upstream.\n\nThe hrtimer interrupt code contains a hang detection and mitigation\nmechanism, which prevents that a long delayed hrtimer interrupt causes a\ncontinous retriggering of interrupts which prevent the system from making\nprogress. If a hang is detected then the timer hardware is programmed with\na certain delay into the future and a flag is set in the hrtimer cpu base\nwhich prevents newly enqueued timers from reprogramming the timer hardware\nprior to the chosen delay. The subsequent hrtimer interrupt after the delay\nclears the flag and resumes normal operation.\n\nIf such a hang happens in the last hrtimer interrupt before a CPU is\nunplugged then the hang_detected flag is set and stays that way when the\nCPU is plugged in again. At that point the timer hardware is not armed and\nit cannot be armed because the hang_detected flag is still active, so\nnothing clears that flag. As a consequence the CPU does not receive hrtimer\ninterrupts and no timers expire on that CPU which results in RCU stalls and\nother malfunctions.\n\nClear the flag along with some other less critical members of the hrtimer\ncpu base to ensure starting from a clean state when a CPU is plugged in.\n\nThanks to Paul, Sebastian and Anna-Maria for their help to get down to the\nroot cause of that hard to reproduce heisenbug. Once understood it\u0027s\ntrivial and certainly justifies a brown paperbag.\n\nFixes: 41d2e4949377 (\"hrtimer: Tune hrtimer_interrupt hang logic\")\nChange-Id: I707de358bcc70a980dc4bd581c159a30e01cce41\nReported-by: Paul E. McKenney \u003cpaulmck@linux.vnet.ibm.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Sebastian Sewior \u003cbigeasy@linutronix.de\u003e\nCc: Anna-Maria Gleixner \u003canna-maria@linutronix.de\u003e\nCc: stable@vger.kernel.org\nLink: https://lkml.kernel.org/r/alpine.DEB.2.20.1801261447590.2067@nanos\n[bigeasy: backport to v3.18, drop -\u003enext_timer it was introduced later]\nSigned-off-by: Sebastian Andrzej Siewior \u003cbigeasy@linutronix.de\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nSigned-off-by: Kevin F. Haggerty \u003chaggertk@lineageos.org\u003e\n","web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/00b758f2fcb7e15e1fbd13c9eda5a9d0f56027d9"}],"resolve_conflicts_web_links":[{"name":"GitHub","tooltip":"Open in GitWeb","url":"https://github.com/LineageOS/android_kernel_sony_msm8974/commit/00b758f2fcb7e15e1fbd13c9eda5a9d0f56027d9"}]},"branch":"refs/heads/lineage-18.1"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
