Skip to content
  1. Feb 04, 2015
  2. Jan 27, 2015
  3. Jan 25, 2015
  4. Jan 24, 2015
  5. Jan 23, 2015
  6. Jan 22, 2015
    • Ley Foon Tan's avatar
      nios2: fix kuser trampoline address · d24c8163
      Ley Foon Tan authored
      
      
      __kuser_sigtramp address should be 0x1044 instead of 0x1040.
      
      Signed-off-by: default avatarLey Foon Tan <lftan@altera.com>
      d24c8163
    • Shreyas B. Prabhu's avatar
      powerpc/powernv: Restore LPCR with LPCR_PECE1 cleared · 0eb13208
      Shreyas B. Prabhu authored
      
      
      LPCR_PECE1 bit controls whether decrementer interrupts are allowed to
      cause exit from power-saving mode. While waking up from winkle, restoring
      LPCR with LPCR_PECE1 set (i.e Decrementer interrupts allowed) can cause
      issue in the following scenario:
      
      - All the threads in a core are offlined. The core enters deep winkle.
      - Spurious interrupt wakes up a thread in the core. Here LPCR is restored
        with LPCR_PECE1 bit set.
      - Since it was a spurious interrupt on a offline thread, the thread clears
        the interrupt and goes back to winkle.
      - Here before the thread executes winkle and puts the core into deep winkle,
        if a decrementer interrupt occurs on any of the sibling threads in the core
        that thread wakes up.
      - Since in offline loop we are flushing interrupt only in case of external
        interrupt, the decrementer interrupt does not get flushed. So at this stage
        the thread is stuck in this is loop of waking up at 0x100 due to decrementer
        interrupt, not flushing the interrupt as only external interrupts get flushed,
        entering winkle, waking up at 0x100 again.
      
      Fix this by programming PORE to restore LPCR with LPCR_PECE1 bit
      cleared when waking up from winkle.
      
      Signed-off-by: default avatarShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      0eb13208
  7. Jan 21, 2015
  8. Jan 20, 2015
  9. Jan 19, 2015
  10. Jan 18, 2015
    • Thomas Petazzoni's avatar
      ARM: mvebu: completely disable hardware I/O coherency · 8f1e8ee2
      Thomas Petazzoni authored
      
      
      The current hardware I/O coherency is known to cause problems with DMA
      coherent buffers, as it still requires explicit I/O synchronization
      barriers, which is not compatible with the semantics expected by the
      Linux DMA coherent buffers API.
      
      So, in order to have enough time to validate a new solution based on
      automatic I/O synchronization barriers, this commit disables hardware
      I/O coherency entirely. Future patches will re-enable it.
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: <stable@vger.kernel.org> # v3.8+
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      8f1e8ee2
    • Marc Zyngier's avatar
      ARM: OMAP: Work around hardcoded interrupts · 0fb22a8f
      Marc Zyngier authored
      
      
      Commit 9a1091ef ("irqchip: gic: Support hierarchy irq domain")
      changed the GIC driver to use a non-legacy IRQ domain on DT
      platforms. This patch assumes that DT-driven systems are getting
      all of their interrupts from device tree.
      
      Turns out that OMAP has quite a few hidden gems, and still uses
      hardcoded interrupts despite having fairly complete DTs.
      
      This patch attempts to work around these by offering a translation
      method that can be called directly from the hwmod code, if present.
      The same hack is sprinkled over PRCM and TWL.
      
      It isn't pretty, but it seems to do the job without having to add
      more hacks to the interrupt controller code.
      
      Tested on OMAP4 (Panda-ES) and OMAP5 (UEVM5432).
      
      Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Acked-by: default avatarNishanth Menon <nm@ti.com>
      [tony@atomide.com: updated to fix make randconfig issue]
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0fb22a8f
  11. Jan 17, 2015