summaryrefslogtreecommitdiff
tag namex86-urgent-2020-05-10 (06e0c2767cb5ccbe32e17b2ea24ddc592cb29736)
tag date2020-05-10 13:54:28 +0200
tagged byThomas Gleixner <tglx@linutronix.de>
tagged objectcommit fb9cbbc895...
A set of fixes for x86:
- Ensure that direct mapping alias is always flushed when changing page attributes. The optimization for small ranges failed to do so when the virtual address was in the vmalloc or module space. - Unbreak the trace event registration for syscalls without arguments caused by the refactoring of the SYSCALL_DEFINE0() macro. - Move the printk in the TSC deadline timer code to a place where it is guaranteed to only be called once during boot and cannot be rearmed by clearing warn_once after boot. If it's invoked post boot then lockdep rightfully complains about a potential deadlock as the calling context is different. - A series of fixes for objtool and the ORC unwinder addressing variety of small issues: Stack offset tracking for indirect CFAs in objtool ignored subsequent pushs and pops Repair the unwind hints in the register clearing entry ASM code Make the unwinding in the low level exit to usermode code stop after switching to the trampoline stack. The unwind hint is not longer valid and the ORC unwinder emits a warning as it can't find the registers anymore. Fix the unwind hints in switch_to_asm() and rewind_stack_do_exit() which caused objtool to generate bogus ORC data. Prevent unwinder warnings when dumping the stack of a non-current task as there is no way to be sure about the validity because the dumped stack can be a moving target. Make the ORC unwinder behave the same way as the frame pointer unwinder when dumping an inactive tasks stack and do not skip the first frame. Prevent ORC unwinding before ORC data has been initialized Immediately terminate unwinding when a unknown ORC entry type is found. Prevent premature stop of the unwinder caused by IRET frames. Fix another infinite loop in objtool caused by a negative offset which was not catched. Address a few build warnings in the ORC unwinder and add missing static/ro_after_init annotations -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEEQp8+kY+LLUocC4bMphj1TA10mKEFAl6363QTHHRnbHhAbGlu dXRyb25peC5kZQAKCRCmGPVMDXSYoRJHD/4hWjzJLsUZ9xq2NrzhevoeJtxj+wVM 66x9NM3mlFQ30BN4Aye4EnNEhR0iIvNPWWdfEmaJYfPHPwnUjjcOa426HYxP/WXA DWd5F20wGaaPOJ65LJpy/+pfcxAeQynt4I2cDEWHAplswfOWV/Hv8mSeKAKuq400 lCWaTMkWcO/toexSNn8PVyWi9rHlm+76E1bHkVwuoekGBGt1VloKGlK6OPyElzL2 w9VtrjSLlYQ0MdfCJKQeg44XQPMbf4hZRfc88x9SwDWB01q7aSvb0pWNl9AJKNXA 7fFu5T4F4PABPgRM7eJ5yNk0De9jM1y+6eCp66f9UXoNOeSr7Boz9Xc4xWqAraIi 9Dtx3WliO9CAxwUiD+Cj2iJO5o83AdRK/xhCth2VRnYMS6imfSidEqTC+LhEtkzw Yplu7sbrWQDa5JTh8vk60clDvbkU+pfdxJisY+KClRguWfQfR6MJNuQnE0NHr7cH H4VXFFHEE6tDdJneQ9RxA4iF20RTgSlJGK0YlsH6QsxPsRgoHVkGUao8fQhrNvRc MIdpm9YasWStjJ7ZXbDeStmnLFN3DCj1RC8wmvJ4i/R1sPnBvPvRUt4Lm988a951 Vyr23VIcVrE7zykiqQZVH7bvIv6ULORqTJbIOF1rO/aIut4W8z0ojoVXC0Z7CiwF S5SGj+hlWciIew== =0rCi -----END PGP SIGNATURE-----