From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: objtool: header file sync-up
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+When building tools/objtool/ it rightly complains about a number of
+files being out of sync. Fix this up by syncing them properly with the
+relevant in-kernel versions.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: live-patching@vger.kernel.org
Link: http://lkml.kernel.org/r/294c5c695fd73c1a5000bbe5960a7c9bec4ee6b4.1498659915.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
+[backported by hand to 4.9, this was a pain... - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: objtool: sync up with the 4.14.47 version of objtool
+There are pros and cons of dealing with tools in the kernel directory.
+The pros are the fact that development happens fast, and new features
+can be added to the kernel and the tools at the same times. The cons
+are when dealing with backported kernel patches, it can be necessary to
+backport parts of the tool changes as well.
+For 4.9.y so far, we have backported individual patches. That quickly
+breaks down when there are minor differences between how backports were
+handled, so grabbing 40+ patch long series can be difficult, not
+impossible, but really frustrating to attempt.
+
+To help mitigate this mess, here's a single big patch to sync up the
+objtool logic to the 4.14.47 version of the tool. From this point
+forward (after some other minor header file patches are applied), the
+tool should be in sync and much easier to maintain over time.
+
+This has survivied my limited testing, and as the codebase is identical
+to 4.14.47, I'm pretty comfortable dropping this big change in here in
+4.9.y. Hopefully all goes well...
+
+Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: perf/tools: header file sync up
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+When building tools/perf/ it rightly complains about a number of .h
+files being out of sync. Fix this up by syncing them properly with the
+relevant in-kernel versions.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools-include-move-array_size-to-linux-kernel.h.patch
tools-include-drop-array_size-definition-from-linux-hashtable.h.patch
tools-include-include-missing-headers-for-fls-and-types-in-linux-log2.h.patch
-objdiff.patch
+objtool-sync-up-with-the-4.14.47-version-of-objtool.patch
objtool-support-gcc-8-s-cold-subfunctions.patch
objtool-support-gcc-8-switch-tables.patch
objtool-detect-rip-relative-switch-table-references.patch
objtool-detect-rip-relative-switch-table-references-part-2.patch
objtool-fix-noreturn-detection-for-recursive-sibling-calls.patch
objtool-x86-add-several-functions-and-files-to-the-objtool-whitelist.patch
-perf_headers_sync.patch
-objtool_headers_sync.patch
-xen-fixup.patch
+perf-tools-header-file-sync-up.patch
+objtool-header-file-sync-up.patch
+x86-xen-add-unwind-hint-annotations-to-xen_setup_gdt.patch