1. Apr 08, 2021
    • Lee Jones's avatar
      HID: hid-sensor-custom: Remove unused variable 'ret' · dbf104fd
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-sensor-custom.c: In function ‘store_value’:
       drivers/hid/hid-sensor-custom.c:400:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Jonathan Cameron <jic23@kernel.org>
      Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: linux-input@vger.kernel.org
      Cc: linux-iio@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      dbf104fd
    • Lee Jones's avatar
      HID: hid-uclogic-params: Ensure function names are present and correct in kernel-doc headers · 5abb5445
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-uclogic-params.c:33: warning: expecting prototype for Convert a pen in(). Prototype was for uclogic_params_pen_inrange_to_str() instead
       drivers/hid/hid-uclogic-params.c:519: warning: wrong kernel-doc identifier on line:
       drivers/hid/hid-uclogic-params.c:706: warning: expecting prototype for uclogic_params_init(). Prototype was for uclogic_params_huion_init() instead
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      5abb5445
    • Lee Jones's avatar
      HID: hid-uclogic-rdesc: Kernel-doc is for functions and structs · a62ce117
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-uclogic-rdesc.c:645: warning: wrong kernel-doc identifier on line:
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      a62ce117
    • Lee Jones's avatar
      HID: hid-logitech-hidpp: Fix conformant kernel-doc header and demote abuses · 3f37fdcd
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-logitech-hidpp.c:275: warning: Function parameter or member 'hidpp' not described in 'hidpp_send_message_sync'
       drivers/hid/hid-logitech-hidpp.c:275: warning: Function parameter or member 'message' not described in 'hidpp_send_message_sync'
       drivers/hid/hid-logitech-hidpp.c:275: warning: Function parameter or member 'response' not described in 'hidpp_send_message_sync'
       drivers/hid/hid-logitech-hidpp.c:275: warning: expecting prototype for and something else(). Prototype was for hidpp_send_message_sync() instead
       drivers/hid/hid-logitech-hidpp.c:427: warning: wrong kernel-doc identifier on line:
       drivers/hid/hid-logitech-hidpp.c:470: warning: Function parameter or member 'input_dev' not described in 'hidpp_scroll_counter_handle_scroll'
       drivers/hid/hid-logitech-hidpp.c:1894: warning: Function parameter or member 'hidpp' not described in 'hidpp_touchpad_fw_items_set'
       drivers/hid/hid-logitech-hidpp.c:1894: warning: Function parameter or member 'feature_index' not described in 'hidpp_touchpad_fw_items_set'
       drivers/hid/hid-logitech-hidpp.c:1894: warning: Function parameter or member 'items' not described in 'hidpp_touchpad_fw_items_set'
       drivers/hid/hid-logitech-hidpp.c:1894: warning: expecting prototype for send a set state command to the device by reading the current items(). Prototype was for hidpp_touchpad_fw_items_set() instead
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: Henrik Rydberg <rydberg@bitmath.org>
      Cc: Lopez Casado <nlopezcasad@logitech.com>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      3f37fdcd
    • Lee Jones's avatar
      HID: hid-picolcd_core: Remove unused variable 'ret' · ae71db0d
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-picolcd_core.c: In function ‘picolcd_raw_event’:
       drivers/hid/hid-picolcd_core.c:332:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
      
      Cc: "Bruno Prémont" <bonbons@linux-vserver.org>
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: "L. Vinyard, Jr" <rvinyard@cs.nmsu.edu>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      ae71db0d
    • Lee Jones's avatar
      HID: hid-kye: Fix incorrect function name for kye_tablet_enable() · a3760cd7
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-kye.c:666: warning: expecting prototype for Enable fully(). Prototype was for kye_tablet_enable() instead
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      a3760cd7
    • Lee Jones's avatar
      HID: hid-core: Fix incorrect function name in header · cd2bb7b7
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-core.c:2142: warning: expecting prototype for store_new_id(). Prototype was for new_id_store() instead
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: Vojtech Pavlik <vojtech@suse.cz>
      Cc: Michael Haboustak <mike-@cinci.rr.com>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      cd2bb7b7
    • Lee Jones's avatar
      HID: hid-alps: Correct struct misnaming · 8802d154
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/hid-alps.c:113: warning: expecting prototype for struct u1_data. Prototype was for struct alps_dev instead
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: Henrik Rydberg <rydberg@bitmath.org>
      Cc: Masaki Ota <masaki.ota@jp.alps.com>
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      8802d154
    • Lee Jones's avatar
      HID: usbhid: hid-pidff: Demote a couple kernel-doc abuses · fbe352aa
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/usbhid/hid-pidff.c:512: warning: Function parameter or member 'dev' not described in 'pidff_playback'
       drivers/hid/usbhid/hid-pidff.c:512: warning: Function parameter or member 'effect_id' not described in 'pidff_playback'
       drivers/hid/usbhid/hid-pidff.c:512: warning: Function parameter or member 'value' not described in 'pidff_playback'
       drivers/hid/usbhid/hid-pidff.c:512: warning: expecting prototype for value times(). Prototype was for pidff_playback() instead
       drivers/hid/usbhid/hid-pidff.c:1005: warning: Function parameter or member 'pidff' not described in 'pidff_find_effects'
       drivers/hid/usbhid/hid-pidff.c:1005: warning: Function parameter or member 'dev' not described in 'pidff_find_effects'
       drivers/hid/usbhid/hid-pidff.c:1005: warning: expecting prototype for Find the implemented effect types(). Prototype was for pidff_find_effects() instead
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: Anssi Hannula <anssi.hannula@gmail.com>
      Cc: linux-usb@vger.kernel.org
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      fbe352aa
    • Lee Jones's avatar
      HID: usbhid: Repair a formatting issue in a struct description · 4cbf8aa7
      Lee Jones authored
      
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/hid/usbhid/usbkbd.c:66: warning: bad line:                 should be on
      
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: message to <vojtech@ucw.cz>
      Cc: linux-usb@vger.kernel.org
      Cc: linux-input@vger.kernel.org
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
      4cbf8aa7
  2. Feb 24, 2021
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · 69aea9d2
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - support for "Unified Battery" feature on Logitech devices from Filipe
         Laíns
      
       - power management improvements for intel-ish driver from Zhang Lixu
      
       - support for Goodix devices from Douglas Anderson
      
       - improved handling of generic HID keyboard in order to make it easier
         for userspace to figure out the details of the device, from Dmitry
         Torokhov
      
       - Playstation DualSense support from Roderick Colenbrander
      
       - other assorted small fixes and device ID additions.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (49 commits)
        HID: playstation: add DualSense player LED support.
        HID: playstation: add microphone mute support for DualSense.
        HID: playstation: add initial DualSense lightbar support.
        HID: wacom: Ignore attempts to overwrite the touch_max value from HID
        HID: playstation: fix array size comparison (off-by-one)
        HID: playstation: fix unused variable in ps_battery_get_property.
        HID: playstation: report DualSense hardware and firmware version.
        HID: playstation: add DualSense classic rumble support.
        HID: playstation: add DualSense Bluetooth support.
        HID: playstation: track devices in list.
        HID: playstation: add DualSense accelerometer and gyroscope support.
        HID: playstation: add DualSense touchpad support.
        HID: playstation: add DualSense battery support.
        HID: playstation: use DualSense MAC address as unique identifier.
        HID: playstation: initial DualSense USB support.
        HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
        HID: Ignore battery for Elan touchscreen on HP Spectre X360 15-df0xxx
        HID: logitech-dj: add support for the new lightspeed connection iteration
        HID: intel-ish-hid: ipc: Add Tiger Lake H PCI device ID
        HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
        ...
      69aea9d2
    • Rob Herring's avatar
      scripts/dtc: Add missing fdtoverlay to gitignore · c3476d2f
      Rob Herring authored
      Commit 0da6bcd9 ("scripts: dtc: Build fdtoverlay tool") enabled
      building fdtoverlay, but failed to add it to .gitignore.
      
      Also add a note to keep hostprogs in sync with .gitignore.
      
      Fixes: 0da6bcd9
      
       ("scripts: dtc: Build fdtoverlay tool")
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      c3476d2f
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · f6e1e1d1
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Log space and revoke accounting rework to fix some failed asserts.
      
       - Local resource group glock sharing for better local performance.
      
       - Add support for version 1802 filesystems: trusted xattr support and
         '-o rgrplvb' mounts by default.
      
       - Actually synchronize on the inode glock's FREEING bit during withdraw
         ("gfs2: fix glock confusion in function signal_our_withdraw").
      
       - Fix parallel recovery of multiple journals ("gfs2: keep bios separate
         for each journal").
      
       - Various other bug fixes.
      
      * tag 'gfs2-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: (49 commits)
        gfs2: Don't get stuck with I/O plugged in gfs2_ail1_flush
        gfs2: Per-revoke accounting in transactions
        gfs2: Rework the log space allocation logic
        gfs2: Minor calc_reserved cleanup
        gfs2: Use resource group glock sharing
        gfs2: Allow node-wide exclusive glock sharing
        gfs2: Add local resource group locking
        gfs2: Add per-reservation reserved block accounting
        gfs2: Rename rs_{free -> requested} and rd_{reserved -> requested}
        gfs2: Check for active reservation in gfs2_release
        gfs2: Don't search for unreserved space twice
        gfs2: Only pass reservation down to gfs2_rbm_find
        gfs2: Also reflect single-block allocations in rgd->rd_extfail_pt
        gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
        gfs2: Add trusted xattr support
        gfs2: Enable rgrplvb for sb_fs_format 1802
        gfs2: Don't skip dlm unlock if glock has an lvb
        gfs2: Lock imbalance on error path in gfs2_recover_one
        gfs2: Move function gfs2_ail_empty_tr
        gfs2: Get rid of current_tail()
        ...
      f6e1e1d1
    • Linus Torvalds's avatar
      Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 7d6beb71
      Linus Torvalds authored
      Pull idmapped mounts from Christian Brauner:
       "This introduces idmapped mounts which has been in the making for some
        time. Simply put, different mounts can expose the same file or
        directory with different ownership. This initial implementation comes
        with ports for fat, ext4 and with Christoph's port for xfs with more
        filesystems being actively worked on by independent people and
        maintainers.
      
        Idmapping mounts handle a wide range of long standing use-cases. Here
        are just a few:
      
         - Idmapped mounts make it possible to easily share files between
           multiple users or multiple machines especially in complex
           scenarios. For example, idmapped mounts will be used in the
           implementation of portable home directories in
           systemd-homed.service(8) where they allow users to move their home
           directory to an external storage device and use it on multiple
           computers where they are assigned...
      7d6beb71
    • Linus Torvalds's avatar
      Merge branch 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu · aa8e3291
      Linus Torvalds authored
      Pull percpu updates from Dennis Zhou:
       "Percpu had a cleanup come in that makes use of the cpu bitmask helpers
        instead of the current iterative approach.
      
        This clean up then had an adverse interaction when clang's inlining
        sensitivity is changed such that not all sites are inlined resulting
        in modpost being upset with section mismatch due to percpu setup being
        marked __init.
      
        That was fixed by introducing __flatten to compiler_attributes.h"
      
      * 'for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
        percpu: fix clang modpost section mismatch
        percpu: reduce the number of cpu distance comparisons
      aa8e3291
    • Linus Torvalds's avatar
      Kbuild: disable TRIM_UNUSED_KSYMS option · 5cf0fd59
      Linus Torvalds authored
      The removal of EXPORT_UNUSED_SYMBOL() in commit 36794822 looks like
      (and was sold as) a no-op, but it actually had a rather serious and
      subtle side effect: the UNUSED_SYMBOLS option not only enabled the
      removed (unused) functionality, it also _disabled_ the TRIM_UNUSED_KSYMS
      functionality.
      
      And it turns out that TRIM_UNUSED_KSYMS is a huge time waste, and takes
      up a third of the kernel build time for me.  For no actual upside, since
      no distro is likely to ever be able to enable it (because they all
      support external kernel modules).
      
      Rather than re-enable EXPORT_UNUSED_SYMBOL, this just disables the
      TRIM_UNUSED_KSYMS option by marking it broken.  I'm tempted to just
      remove the support entirely, but maybe somebody has a use-case and can
      fix the behavior of it.
      
      I could have just disabled it for COMPILE_TEST, but it really smells
      like the TRIM_UNUSED_KSYMS option is badly done and not really useful,
      so this takes the more direct approach - let's see if anybody ever
      actually notices or complains.
      
      Cc: Miroslav Benes <mbenes@suse.cz>
      Cc: Emil Velikov <emil.l.velikov@gmail.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Jessica Yu <jeyu@kernel.org>
      Fixes: 36794822
      
       ("module: remove EXPORT_UNUSED_SYMBOL*")
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5cf0fd59
    • Linus Torvalds's avatar
      Merge tag 'modules-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · 21a6ab21
      Linus Torvalds authored
      Pull module updates from Jessica Yu:
      
       - Retire EXPORT_UNUSED_SYMBOL() and EXPORT_SYMBOL_GPL_FUTURE(). These
         export types were introduced between 2006 - 2008. All the of the
         unused symbols have been long removed and gpl future symbols were
         converted to gpl quite a long time ago, and I don't believe these
         export types have been used ever since. So, I think it should be safe
         to retire those export types now (Christoph Hellwig)
      
       - Refactor and clean up some aged code cruft in the module loader
         (Christoph Hellwig)
      
       - Build {,module_}kallsyms_on_each_symbol only when livepatching is
         enabled, as it is the only caller (Christoph Hellwig)
      
       - Unexport find_module() and module_mutex and fix the last module
         callers to not rely on these anymore. Make module_mutex internal to
         the module loader (Christoph Hellwig)
      
       - Harden ELF checks on module load and validate ELF structures before
         checking the ...
      21a6ab21
    • Linus Torvalds's avatar
      Merge tag 'microblaze-v5.12' of git://git.monstr.eu/linux-2.6-microblaze · 74268693
      Linus Torvalds authored
      Pull microblaze updates from Michal Simek:
      
       - Fix DTB alignment
      
       - Remove code for very old GCC versions
      
       - Remove TRACING_SUPPORT selection
      
      * tag 'microblaze-v5.12' of git://git.monstr.eu/linux-2.6-microblaze:
        microblaze: Fix built-in DTB alignment to be 8-byte aligned
        microblaze: Remove support for gcc < 4
        microblaze: do not select TRACING_SUPPORT directly
      74268693
    • Bob Peterson's avatar
      gfs2: Don't get stuck with I/O plugged in gfs2_ail1_flush · 17d77684
      Bob Peterson authored
      
      
      In gfs2_ail1_flush, we're using I/O plugging to give the block layer a
      better chance of merging I/O requests.  If we're too aggressive here, we
      can end up waiting on I/O to complete while still plugged.  Fix that in
      a way similar to writeback_sb_inodes, except that we can't use
      blk_flush_plug because blk_flush_plug_list is not exported.
      
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      17d77684
    • Linus Torvalds's avatar
      Merge tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a56ff24e
      Linus Torvalds authored
      Pull objtool updates from Thomas Gleixner:
      
       - Make objtool work for big-endian cross compiles
      
       - Make stack tracking via stack pointer memory operations match
         push/pop semantics to prepare for architectures w/o PUSH/POP
         instructions.
      
       - Add support for analyzing alternatives
      
       - Improve retpoline detection and handling
      
       - Improve assembly code coverage on x86
      
       - Provide support for inlined stack switching
      
      * tag 'objtool-core-2021-02-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (33 commits)
        objtool: Support stack-swizzle
        objtool,x86: Additionally decode: mov %rsp, (%reg)
        x86/unwind/orc: Change REG_SP_INDIRECT
        x86/power: Support objtool validation in hibernate_asm_64.S
        x86/power: Move restore_registers() to top of the file
        x86/power: Annotate indirect branches as safe
        x86/acpi: Support objtool validation in wakeup_64.S
        x86/acpi: Annotate indirect branch as safe
        x86/ftrace: Support objtool vmlinux.o validation in ftrace_64.S
        x86/xen/pvh: Annotate indirect branch as safe
        x86/xen: Support objtool vmlinux.o validation in xen-head.S
        x86/xen: Support objtool validation in xen-asm.S
        objtool: Add xen_start_kernel() to noreturn list
        objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC
        objtool: Add asm version of STACK_FRAME_NON_STANDARD
        objtool: Assume only ELF functions do sibling calls
        x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub
        objtool: Support retpoline jump detection for vmlinux.o
        objtool: Fix ".cold" section suffix check for newer versions of GCC
        objtool: Fix retpoline detection in asm code
        ...
      a56ff24e
    • Andreas Gruenbacher's avatar
      Merge branches 'rgrp-glock-sharing' and 'gfs2-revoke' from... · 803074ad
      Andreas Gruenbacher authored
      Merge branches 'rgrp-glock-sharing' and 'gfs2-revoke' from https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
      
      
      
      Merge the resource group glock sharing feature and the revoke accounting rework.
      
      Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
      803074ad
    • Linus Torvalds's avatar
      Merge tag 'clang-lto-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · 79db4d22
      Linus Torvalds authored
      Pull clang LTO updates from Kees Cook:
       "Clang Link Time Optimization.
      
        This is built on the work done preparing for LTO by arm64 folks,
        tracing folks, etc. This includes the core changes as well as the
        remaining pieces for arm64 (LTO has been the default build method on
        Android for about 3 years now, as it is the prerequisite for the
        Control Flow Integrity protections).
      
        While x86 LTO enablement is done, it depends on some pending objtool
        clean-ups. It's possible that I'll send a "part 2" pull request for
        LTO that includes x86 support.
      
        For merge log posterity, and as detailed in commit dc5723b0
        ("kbuild: add support for Clang LTO"), here is the lt;dr to do an LTO
        build:
      
              make LLVM=1 LLVM_IAS=1 defconfig
              scripts/config -e LTO_CLANG_THIN
              make LLVM=1 LLVM_IAS=1
      
        (To do a cross-compile of arm64, add "CROSS_COMPILE=aarch64-linux-gnu-"
        and "ARCH=arm64" to the "make"...
      79db4d22
  3. Feb 23, 2021