1. 15 Jan, 2018 8 commits
  2. 04 Jan, 2018 1 commit
    • Jan Kundrát's avatar
      i2c: gpio: Enable working over slow can_sleep GPIOs · f11a0446
      Jan Kundrát authored
      "Slow" GPIOs (usually those connected over an SPI or an I2C bus) are,
      well, slow in their operation. It is generally a good idea to avoid
      using them for time-critical operation, but sometimes the hardware just
      sucks, and the software has to cope. In addition to that, the I2C bus
      itself does not actually define any strict timing limits; the bus is
      free to go all the way down to DC. The timeouts (and therefore the
      slowest acceptable frequency) are present only in SMBus.
      
      The `can_sleep` is IMHO a wrong concept to use here. My SPI-to-quad-UART
      chip (MAX14830) is connected via a 26MHz SPI bus, and it happily drives
      SCL at 200kHz (5µs pulses) during my benchmarks. That's faster than the
      maximal allowed speed of the traditional I2C.
      
      The previous version of this code did not really block operation over
      slow GPIO pins, anyway. Instead, it just resorted to printing a warning
      with a backtrace each time a GPIO pin was accessed, thereby slowing
      things down even more.
      
      Finally, it's not just me. A similar patch was originally submitted in
      2015 [1].
      
      [1] https://patchwork.ozlabs.org/patch/450956/Signed-off-by: default avatarJan Kundrát <jan.kundrat@cesnet.cz>
      Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      f11a0446
  3. 03 Jan, 2018 4 commits
  4. 02 Jan, 2018 4 commits
  5. 01 Jan, 2018 20 commits
  6. 31 Dec, 2017 3 commits
    • Linus Torvalds's avatar
      Linux 4.15-rc6 · 30a7acd5
      Linus Torvalds authored
      30a7acd5
    • Linus Torvalds's avatar
      Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f39d7d78
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A couple of fixlets for x86:
      
         - Fix the ESPFIX double fault handling for 5-level pagetables
      
         - Fix the commandline parsing for 'apic=' on 32bit systems and update
           documentation
      
         - Make zombie stack traces reliable
      
         - Fix kexec with stack canary
      
         - Fix the delivery mode for APICs which was missed when the x86
           vector management was converted to single target delivery. Caused a
           regression due to the broken hardware which ignores affinity
           settings in lowest prio delivery mode.
      
         - Unbreak modules when AMD memory encryption is enabled
      
         - Remove an unused parameter of prepare_switch_to"
      
      * 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/apic: Switch all APICs to Fixed delivery mode
        x86/apic: Update the 'apic=' description of setting APIC driver
        x86/apic: Avoid wrong warning when parsing 'apic=' in X86-32 case
        x86-32: Fix kexec with stack canary (CONFIG_CC_STACKPROTECTOR)
        x86: Remove unused parameter of prepare_switch_to
        x86/stacktrace: Make zombie stack traces reliable
        x86/mm: Unbreak modules that use the DMA API
        x86/build: Make isoimage work on Debian
        x86/espfix/64: Fix espfix double-fault handling on 5-level systems
      f39d7d78
    • Linus Torvalds's avatar
      Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 52c90f2d
      Linus Torvalds authored
      Pull x86 page table isolation fixes from Thomas Gleixner:
       "Four patches addressing the PTI fallout as discussed and debugged
        yesterday:
      
         - Remove stale and pointless TLB flush invocations from the hotplug
           code
      
         - Remove stale preempt_disable/enable from __native_flush_tlb()
      
         - Plug the memory leak in the write_ldt() error path"
      
      * 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/ldt: Make LDT pgtable free conditional
        x86/ldt: Plug memory leak in error path
        x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
        x86/smpboot: Remove stale TLB flush invocations
      52c90f2d