1. 22 10月, 2019 32 次提交
  2. 21 10月, 2019 2 次提交
  3. 20 10月, 2019 6 次提交
    • L
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4fe34d61
      Linus Torvalds 提交于
      Pull x86 fixes from Thomas Gleixner:
       "A small set of x86 fixes:
      
         - Prevent a NULL pointer dereference in the X2APIC code in case of a
           CPU hotplug failure.
      
         - Prevent boot failures on HP superdome machines by invalidating the
           level2 kernel pagetable entries outside of the kernel area as
           invalid so BIOS reserved space won't be touched unintentionally.
      
           Also ensure that memory holes are rounded up to the next PMD
           boundary correctly.
      
         - Enable X2APIC support on Hyper-V to prevent boot failures.
      
         - Set the paravirt name when running on Hyper-V for consistency
      
         - Move a function under the appropriate ifdef guard to prevent build
           warnings"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/boot/acpi: Move get_cmdline_acpi_rsdp() under #ifdef guard
        x86/hyperv: Set pv_info.name to "Hyper-V"
        x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu
        x86/hyperv: Make vapic support x2apic mode
        x86/boot/64: Round memory hole size up to next PMD page
        x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area
      4fe34d61
    • L
      Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 81c4bc31
      Linus Torvalds 提交于
      Pull irq fixes from Thomas Gleixner:
       "A small set of irq chip driver fixes and updates:
      
         - Update the SIFIVE PLIC interrupt driver to use the fasteoi handler
           to address the shortcomings of the existing flow handling which was
           prone to lose interrupts
      
         - Use the proper limit for GIC interrupt line numbers
      
         - Add retrigger support for the recently merged Anapurna Labs Fabric
           interrupt controller to make it complete
      
         - Enable the ATMEL AIC5 interrupt controller driver on the new
           SAM9X60 SoC"
      
      * 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        irqchip/sifive-plic: Switch to fasteoi flow
        irqchip/gic-v3: Fix GIC_LINE_NR accessor
        irqchip/atmel-aic5: Add support for sam9x60 irqchip
        irqchip/al-fic: Add support for irq retrigger
      81c4bc31
    • L
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 188768f3
      Linus Torvalds 提交于
      Pull hrtimer fixlet from Thomas Gleixner:
       "A single commit annotating the lockcless access to timer->base with
        READ_ONCE() and adding the WRITE_ONCE() counterparts for completeness"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        hrtimer: Annotate lockless access to timer->base
      188768f3
    • L
      Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 589f1222
      Linus Torvalds 提交于
      Pull stop-machine fix from Thomas Gleixner:
       "A single fix, amending stop machine with WRITE/READ_ONCE() to address
        the fallout of KCSAN"
      
      * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        stop_machine: Avoid potential race behaviour
      589f1222
    • M
      KVM: arm64: pmu: Reset sample period on overflow handling · 8c3252c0
      Marc Zyngier 提交于
      The PMU emulation code uses the perf event sample period to trigger
      the overflow detection. This works fine  for the *first* overflow
      handling, but results in a huge number of interrupts on the host,
      unrelated to the number of interrupts handled in the guest (a x20
      factor is pretty common for the cycle counter). On a slow system
      (such as a SW model), this can result in the guest only making
      forward progress at a glacial pace.
      
      It turns out that the clue is in the name. The sample period is
      exactly that: a period. And once the an overflow has occured,
      the following period should be the full width of the associated
      counter, instead of whatever the guest had initially programed.
      
      Reset the sample period to the architected value in the overflow
      handler, which now results in a number of host interrupts that is
      much closer to the number of interrupts in the guest.
      
      Fixes: b02386eb ("arm64: KVM: Add PMU overflow interrupt routing")
      Reviewed-by: NAndrew Murray <andrew.murray@arm.com>
      Signed-off-by: NMarc Zyngier <maz@kernel.org>
      8c3252c0
    • M
      KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel event · 725ce669
      Marc Zyngier 提交于
      The current convention for KVM to request a chained event from the
      host PMU is to set bit[0] in attr.config1 (PERF_ATTR_CFG1_KVM_PMU_CHAINED).
      
      But as it turns out, this bit gets set *after* we create the kernel
      event that backs our virtual counter, meaning that we never get
      a 64bit counter.
      
      Moving the setting to an earlier point solves the problem.
      
      Fixes: 80f393a2 ("KVM: arm/arm64: Support chained PMU counters")
      Reviewed-by: NAndrew Murray <andrew.murray@arm.com>
      Signed-off-by: NMarc Zyngier <maz@kernel.org>
      725ce669