1. 04 4月, 2016 4 次提交
    • L
      ARM: dts: realview: DT support for the PBA8 and PBX-A9 · dfc8a117
      Linus Walleij 提交于
      This adds a devicetree for the ARM RealView PBA8 platform,
      also known as HBI-0178, "RealView Platform Baseboard for
      Cortex-A8" and PBX-A9 "RealView Platform Baseboard
      Explore for Cortex-A9"
      
      Tested in QEMU with -M realview-pb-a8, as well as with
      -M realview-pbx-a9 -smp cpus=2
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Tested-by: NRobin Murphy <robin.murphy@arm.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      dfc8a117
    • L
      ARM: dts: realview: support all the RealView EB board variants · 2440d29d
      Linus Walleij 提交于
      The ARM RealView Evaluation Baseboards are basically these:
      
      - The original ARMv5 EB board with an ARM926EJ-S, ARM1136 or
        ARM1176 core tile here described in arm-realview-eb.dts
        no matter which of these core tiles is being used. This
        can be emulated by QEMU "realview-eb" machine, which by
        default will have the ARM926EJ-S core tile.
      
      - The same board with one of three MPCore Core tiles:
        ARM11MPCore, not to be confused with the similar ARM
        PB11MPCore ARM11MPCore test system. This exist in
        two revisions:
        - Revision A modeled in arm-realview-eb-11mp.dts
        - Revision B modeled arm-realview-eb-11mp-revb.dts
          Revision B can be emulated by the QEMU
          "realview-eb-mpcore" machine, but to match the hardware
          also the argument -smp cpus=4 must be passed so that
          it has four CPU cores, like the hardware.
      
        There is also evidently from the code in the kernel a
        Cortex-A9 core tile for the EB, and this is modeled in
        arm-realview-eb-a9mp.dts based on the kernel boardfile.
        I have not found a user guide for this EB core tile on
        the ARM website and it seems uncommon. It is however
        included for completeness.
      
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      2440d29d
    • L
      ARM: dts: realview: PB1176: define a standard VGA panel · 95109b8b
      Linus Walleij 提交于
      This defines the CLCD block in the PB1176 and adds a standard
      640x480 VGA panel to the device tree.
      
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      95109b8b
    • L
      ARM: dts: realview: PB11MPCore: define a standard VGA panel · 6096188a
      Linus Walleij 提交于
      Let's supply a standard VGA panel by default on the PB11MPCore,
      this will work with most monitors. If more screen real estate is
      desired, users can update the DPI definition.
      
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      6096188a
  2. 02 4月, 2016 2 次提交
  3. 01 4月, 2016 2 次提交
  4. 31 3月, 2016 4 次提交
  5. 29 3月, 2016 14 次提交
  6. 26 3月, 2016 4 次提交
    • S
      ACPI / processor: Request native thermal interrupt handling via _OSC · a2121167
      Srinivas Pandruvada 提交于
      There are several reports of freeze on enabling HWP (Hardware PStates)
      feature on Skylake-based systems by the Intel P-states driver. The root
      cause is identified as the HWP interrupts causing BIOS code to freeze.
      
      HWP interrupts use the thermal LVT which can be handled by Linux
      natively, but on the affected Skylake-based systems SMM will respond
      to it by default.  This is a problem for several reasons:
       - On the affected systems the SMM thermal LVT handler is broken (it
         will crash when invoked) and a BIOS update is necessary to fix it.
       - With thermal interrupt handled in SMM we lose all of the reporting
         features of the arch/x86/kernel/cpu/mcheck/therm_throt driver.
       - Some thermal drivers like x86-package-temp depend on the thermal
         threshold interrupts signaled via the thermal LVT.
       - The HWP interrupts are useful for debugging and tuning
         performance (if the kernel can handle them).
      The native handling of thermal interrupts needs to be enabled
      because of that.
      
      This requires some way to tell SMM that the OS can handle thermal
      interrupts.  That can be done by using _OSC/_PDC in processor
      scope very early during ACPI initialization.
      
      The meaning of _OSC/_PDC bit 12 in processor scope is whether or
      not the OS supports native handling of interrupts for Collaborative
      Processor Performance Control (CPPC) notifications.  Since on
      HWP-capable systems CPPC is a firmware interface to HWP, setting
      this bit effectively tells the firmware that the OS will handle
      thermal interrupts natively going forward.
      
      For details on _OSC/_PDC refer to:
      http://www.intel.com/content/www/us/en/standards/processor-vendor-specific-acpi-specification.html
      
      To implement the _OSC/_PDC handshake as described, introduce a new
      function, acpi_early_processor_osc(), that walks the ACPI
      namespace looking for ACPI processor objects and invokes _OSC for
      them with bit 12 in the capabilities buffer set and terminates the
      namespace walk on the first success.
      
      Also modify intel_thermal_interrupt() to clear HWP status bits in
      the HWP_STATUS MSR to acknowledge HWP interrupts (which prevents
      them from firing continuously).
      Signed-off-by: NSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      [ rjw: Subject & changelog, function rename ]
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a2121167
    • A
      mm, kasan: stackdepot implementation. Enable stackdepot for SLAB · cd11016e
      Alexander Potapenko 提交于
      Implement the stack depot and provide CONFIG_STACKDEPOT.  Stack depot
      will allow KASAN store allocation/deallocation stack traces for memory
      chunks.  The stack traces are stored in a hash table and referenced by
      handles which reside in the kasan_alloc_meta and kasan_free_meta
      structures in the allocated memory chunks.
      
      IRQ stack traces are cut below the IRQ entry point to avoid unnecessary
      duplication.
      
      Right now stackdepot support is only enabled in SLAB allocator.  Once
      KASAN features in SLAB are on par with those in SLUB we can switch SLUB
      to stackdepot as well, thus removing the dependency on SLUB stack
      bookkeeping, which wastes a lot of memory.
      
      This patch is based on the "mm: kasan: stack depots" patch originally
      prepared by Dmitry Chernenkov.
      
      Joonsoo has said that he plans to reuse the stackdepot code for the
      mm/page_owner.c debugging facility.
      
      [akpm@linux-foundation.org: s/depot_stack_handle/depot_stack_handle_t]
      [aryabinin@virtuozzo.com: comment style fixes]
      Signed-off-by: NAlexander Potapenko <glider@google.com>
      Signed-off-by: NAndrey Ryabinin <aryabinin@virtuozzo.com>
      Cc: Christoph Lameter <cl@linux.com>
      Cc: Pekka Enberg <penberg@kernel.org>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Andrey Konovalov <adech.fo@gmail.com>
      Cc: Dmitry Vyukov <dvyukov@google.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Konstantin Serebryany <kcc@google.com>
      Cc: Dmitry Chernenkov <dmitryc@google.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd11016e
    • A
      arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections · be7635e7
      Alexander Potapenko 提交于
      KASAN needs to know whether the allocation happens in an IRQ handler.
      This lets us strip everything below the IRQ entry point to reduce the
      number of unique stack traces needed to be stored.
      
      Move the definition of __irq_entry to <linux/interrupt.h> so that the
      users don't need to pull in <linux/ftrace.h>.  Also introduce the
      __softirq_entry macro which is similar to __irq_entry, but puts the
      corresponding functions to the .softirqentry.text section.
      Signed-off-by: NAlexander Potapenko <glider@google.com>
      Acked-by: NSteven Rostedt <rostedt@goodmis.org>
      Cc: Christoph Lameter <cl@linux.com>
      Cc: Pekka Enberg <penberg@kernel.org>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Andrey Konovalov <adech.fo@gmail.com>
      Cc: Dmitry Vyukov <dvyukov@google.com>
      Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
      Cc: Konstantin Serebryany <kcc@google.com>
      Cc: Dmitry Chernenkov <dmitryc@google.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      be7635e7
    • T
      [IA64] Enable preadv2 and pwritev2 syscalls for ia64 · 2d5ae5c2
      Tony Luck 提交于
      New system calls added in:
            f17d8b35
            vfs: vfs: Define new syscalls preadv2,pwritev2
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      2d5ae5c2
  7. 25 3月, 2016 6 次提交
  8. 23 3月, 2016 4 次提交