linux_dsm_epyc7002/arch
Linus Torvalds 004cc08675 Merge branch 'x86-tsx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 tsx fixes from Thomas Gleixner:
 "This update provides kernel side handling for the TSX erratum of Intel
  Skylake (and later) CPUs.

  On these CPUs Intel Transactional Synchronization Extensions (TSX)
  functions can result in unpredictable system behavior under certain
  circumstances.

  The issue is mitigated with an microcode update which utilizes
  Performance Monitoring Counter (PMC) 3 when TSX functions are in use.
  This mitigation is enabled unconditionally by the updated microcode.

  As a consequence the usage of TSX functions can cause corrupted
  performance monitoring results for events which utilize PMC3. The
  corruption is silent on kernels which have no update for this issue.

  This update makes the kernel aware of the PMC3 utilization by the
  microcode:

  The microcode offers a possibility to enforce TSX abort which prevents
  the malfunction and frees up PMC3. The enforced TSX abort requires the
  TSX using application to have a software fallback path implemented;
  abort handlers which solely retry the transaction will fail over and
  over.

  The enforced TSX abort request is issued by the kernel when:

   - enforced TSX abort is enabled (PMU attribute)

   - A performance monitoring request needs PMC3

  When PMC3 is not longer used by the kernel the TSX force abort request
  is cleared.

  The enforced TSX abort mechanism is enabled by default and can be
  controlled by the administrator via the new PMU attribute
  'allow_tsx_force_abort'. This attribute is only visible when updated
  microcode is detected on affected systems. Writing '0' disables the
  enforced TSX abort mechanism, '1' enables it.

  As a result of disabling the enforced TSX abort mechanism, PMC3 is
  permanentely unavailable for performance monitoring which can cause
  performance monitoring requests to fail or switch to multiplexing
  mode"

* branch 'x86-tsx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/x86/intel: Implement support for TSX Force Abort
  x86: Add TSX Force Abort CPUID/MSR
  perf/x86/intel: Generalize dynamic constraint creation
  perf/x86/intel: Make cpuc allocations consistent
2019-03-12 09:02:36 -07:00
..
alpha Merge branch 'akpm' (patches from Andrew) 2019-03-06 10:31:36 -08:00
arc DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
arm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-11 08:54:01 -07:00
arm64 This is the bulk of pin control changes for the v5.1 kernel cycle. 2019-03-11 11:12:50 -07:00
c6x arch: simplify several early memory allocations 2019-03-07 18:32:03 -08:00
csky DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
h8300 configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED 2019-03-07 18:32:02 -08:00
hexagon y2038: additional syscall ABI cleanup 2019-02-27 21:45:27 +01:00
ia64 Merge branch 'akpm' (patches from Andrew) 2019-03-06 10:31:36 -08:00
m68k Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2019-03-11 18:33:52 -07:00
microblaze microblaze: prefer memblock API returning virtual address 2019-03-07 18:32:03 -08:00
mips Kbuild updates for v5.1 2019-03-10 17:48:21 -07:00
nds32 fscrypt updates for v5.1 2019-03-09 10:54:24 -08:00
nios2 nios2 update for v5.1-rc1 2019-03-10 10:13:37 -07:00
openrisc openrisc: simplify pte_alloc_one_kernel() 2019-03-07 18:32:03 -08:00
parisc Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00
powerpc Kbuild updates for v5.1 2019-03-10 17:48:21 -07:00
riscv DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
s390 Kbuild updates for v5.1 2019-03-10 17:48:21 -07:00
sh DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
sparc DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
um a.out: remove core dumping support 2019-03-05 10:00:35 -08:00
unicore32 DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
x86 Merge branch 'x86-tsx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-03-12 09:02:36 -07:00
xtensa DMA mapping updates for 5.1 2019-03-10 11:54:48 -07:00
.gitignore
Kconfig Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00