A set of fixes for x86 and objtool:

 objtool:

  - Ignore the double UD2 which is emitted in BUG() when CONFIG_UBSAN_TRAP
    is enabled.

  - Support clang non-section symbols in objtool ORC dump

  - Fix switch table detection in .text.unlikely

  - Make the BP scratch register warning more robust.

 x86:

  - Increase microcode maximum patch size for AMD to cope with new CPUs
    which have a larger patch size.

  - Fix a crash in the resource control filesystem when the removal of the
    default resource group is attempted.

  - Preserve Code and Data Prioritization enabled state accross CPU
    hotplug.

  - Update split lock cpu matching to use the new X86_MATCH macros.

  - Change the split lock enumeration as Intel finaly decided that the
    IA32_CORE_CAPABILITIES bits are not architectural contrary to what
    the SDM claims. !@#%$^!

  - Add Tremont CPU models to the split lock detection cpu match.

  - Add a missing static attribute to make sparse happy.
x86/split_lock: Add Tremont family CPU models

Tremont CPUs support IA32_CORE_CAPABILITIES bits to indicate whether
specific SKUs have support for split lock detection.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200416205754.21177-4-tony.luck@intel.com

1 file changed