[unstable] LP#1758856 -- retpoline hinting support

Andy Whitcroft apw at canonical.com
Mon Mar 26 15:07:38 UTC 2018


We have been having horrible problems with the retpoline information as
recorded in the ABI changing on every update.  The below pull-request
brings in some new support utilising the upstream retpoline annotations.
As well as bringing in some new annotations where needed.

This should in time bring us to the situation where the retpoline
information for every branch is empty.  Where unannotated entries remain
they are in review and will be coverered off in later updates.  These
are not regressions.

Proposing for unstable.

-apw


The following changes since commit 0a2f8eb4b747a124c95fd3021ecf534ac7879990:

  UBUNTU: Ubuntu-4.16.0-2.3 (2018-03-19 14:10:11 -0500)

are available in the Git repository at:

  git://git.launchpad.net/~apw/ubuntu/+source/linux/+git/review retpoline-hints/unstable

for you to fetch changes up to bc9478f2a1c39ec49a367ecaabe317a519e06ea5:

  UBUNTU: [Config] retpoine -- switch to new format (2018-03-26 11:49:48 +0100)

----------------------------------------------------------------
  * retpoline hints: primary infrastructure and initial hints (LP: #1758856)
    - [Packaging] retpoline -- add safe usage hint support
    - [Packaging] retpoline-check -- only report additions
    - [Packaging] retpoline -- widen indirect call/jmp detection
    - [Packaging] retpoline -- elide %rip relative indirections
    - [Packaging] retpoline -- clear hint information from packages
    - SAUCE: apm -- annotate indirect calls within
      firmware_restrict_branch_speculation_{start,end}
    - SAUCE: EFI -- annotate indirect calls within
      firmware_restrict_branch_speculation_{start,end}
    - SAUCE: early/late -- annotate indirect calls in early/late initialisation
      code
    - SAUCE: vga_set_mode -- avoid jump tables
    - [Config] retpoine -- switch to new format




More information about the kernel-team mailing list