1. 06 Apr, 2018 4 commits
  2. 04 Apr, 2018 3 commits
  3. 29 Mar, 2018 2 commits
    • Thomas Gleixner's avatar
      Merge tag 'irqchip-4.17' of... · 71e6882b
      Thomas Gleixner authored
      Merge tag 'irqchip-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core
      
      Pull irqchip updates for 4.17 from Marc Zyngier:
      
       - New Qualcomm PDC irqchip
       - New Microsemi Ocelot irqchip
       - Suspend/resume support for some oddball GICv3 irqchip
       - Better GIC/GICv3 support for kexec
       - Various cleanups and fixes
      71e6882b
    • Aniruddha Banerjee's avatar
      irqchip/gic: Take lock when updating irq type · aa08192a
      Aniruddha Banerjee authored
      Most MMIO GIC register accesses use a 1-hot bit scheme that
      avoids requiring any form of locking. This isn't true for the
      GICD_ICFGRn registers, which require a RMW sequence.
      
      Unfortunately, we seem to be missing a lock for these particular
      accesses, which could result in a race condition if changing the
      trigger type on any two interrupts within the same set of 16
      interrupts (and thus controlled by the same CFGR register).
      
      Introduce a private lock in the GIC common comde for this
      particular case, making it cover both GIC implementations
      in one go.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarAniruddha Banerjee <aniruddhab@nvidia.com>
      [maz: updated changelog]
      Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      aa08192a
  4. 28 Mar, 2018 1 commit
    • Davidlohr Bueso's avatar
      irqchip/gic: Update supports_deactivate static key to modern api · d01d3274
      Davidlohr Bueso authored
      No changes in semantics -- key init is true; replace
      
      static_key_slow_dec       with   static_branch_disable
      static_key_true           with   static_branch_likely
      
      The first is because we never actually do any couterpart incs,
      thus there is really no reference counting semantics going on.
      Use the more proper static_branch_disable() construct.
      
      Also added a '_key' suffix to supports_deactivate, for better
      self documentation.
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
      Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      d01d3274
  5. 23 Mar, 2018 1 commit
    • Shanker Donthineni's avatar
      irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling · 6eb486b6
      Shanker Donthineni authored
      Booting with GICR_CTLR.EnableLPI=1 is usually a bad idea, and may
      result in subtle memory corruption. Detecting this is thus pretty
      important.
      
      On detecting that LPIs are still enabled, we taint the kernel (because
      we're not sure of anything anymore), and try to disable LPIs. This can
      fail, as implementations are allowed to implement GICR_CTLR.EnableLPI
      as a one-way enable, meaning the redistributors cannot be reprogrammed
      with new tables.
      
      Should this happen, we fail probing the redistributor and warn the user
      that things are pretty dire.
      Signed-off-by: default avatarShanker Donthineni <shankerd@codeaurora.org>
      [maz: reworded changelog, minor comment and message changes]
      Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      6eb486b6
  6. 22 Mar, 2018 3 commits
  7. 20 Mar, 2018 7 commits
  8. 16 Mar, 2018 2 commits
  9. 14 Mar, 2018 12 commits
  10. 12 Mar, 2018 2 commits
  11. 11 Mar, 2018 3 commits
    • Linus Torvalds's avatar
      Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ed58d66f
      Linus Torvalds authored
      Pull x86/pti updates from Thomas Gleixner:
       "Yet another pile of melted spectrum related updates:
      
         - Drop native vsyscall support finally as it causes more trouble than
           benefit.
      
         - Make microcode loading more robust. There were a few issues
           especially related to late loading which are now surfacing because
           late loading of the IB* microcodes addressing spectre issues has
           become more widely used.
      
         - Simplify and robustify the syscall handling in the entry code
      
         - Prevent kprobes on the entry trampoline code which lead to kernel
           crashes when the probe hits before CR3 is updated
      
         - Don't check microcode versions when running on hypervisors as they
           are considered as lying anyway.
      
         - Fix the 32bit objtool build and a coment typo"
      
      * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/kprobes: Fix kernel crash when probing .entry_trampoline code
        x86/pti: Fix a comment typo
        x86/microcode: Synchronize late microcode loading
        x86/microcode: Request microcode on the BSP
        x86/microcode/intel: Look into the patch cache first
        x86/microcode: Do not upload microcode if CPUs are offline
        x86/microcode/intel: Writeback and invalidate caches before updating microcode
        x86/microcode/intel: Check microcode revision before updating sibling threads
        x86/microcode: Get rid of struct apply_microcode_ctx
        x86/spectre_v2: Don't check microcode versions when running under hypervisors
        x86/vsyscall/64: Drop "native" vsyscalls
        x86/entry/64/compat: Save one instruction in entry_INT80_compat()
        x86/entry: Do not special-case clone(2) in compat entry
        x86/syscalls: Use COMPAT_SYSCALL_DEFINEx() macros for x86-only compat syscalls
        x86/syscalls: Use proper syscall definition for sys_ioperm()
        x86/entry: Remove stale syscall prototype
        x86/syscalls/32: Simplify $entry == $compat entries
        objtool: Fix 32-bit build
      ed58d66f
    • Linus Torvalds's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1ad5daa6
      Linus Torvalds authored
      Pull timer fix from Thomas Gleixner:
       "Just a single fix which adds a missing Kconfig dependency to avoid
        unmet dependency warnings"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/atmel-st: Add 'depends on HAS_IOMEM' to fix unmet dependency
      1ad5daa6
    • Linus Torvalds's avatar
      Merge branch 'ras-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ebb3762e
      Linus Torvalds authored
      Pull RAS fixes from Thomas Gleixner:
       "Two small fixes for RAS/MCE:
      
         - Serialize sysfs changes to avoid concurrent modificaiton of
           underlying data
      
         - Add microcode revision to Machine Check records. This should have
           been there forever, but now with the broken microcode versions in
           the wild it has become important"
      
      * 'ras-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/MCE: Serialize sysfs changes
        x86/MCE: Save microcode revision in machine check records
      ebb3762e