You need to sign in or sign up before continuing.
  1. 27 6月, 2016 2 次提交
  2. 25 6月, 2016 18 次提交
  3. 24 6月, 2016 1 次提交
  4. 23 6月, 2016 4 次提交
  5. 22 6月, 2016 5 次提交
  6. 19 6月, 2016 1 次提交
    • L
      ARM: dts: STi: stih407-family: Disable reserved-memory co-processor nodes · 0e289e53
      Lee Jones 提交于
      This patch fixes a non-booting issue in Mainline.
      
      When booting with a compressed kernel, we need to be careful how we
      populate memory close to DDR start.  AUTO_ZRELADDR is enabled by default
      in multi-arch enabled configurations, which place some restrictions on
      where the kernel is placed and where it will be uncompressed to on boot.
      
      AUTO_ZRELADDR takes the decompressor code's start address and masks out
      the bottom 28 bits to obtain an address to uncompress the kernel to
      (thus a load address of 0x42000000 means that the kernel will be
      uncompressed to 0x40000000 i.e. DDR START on this platform).
      
      Even changing the load address to after the co-processor's shared memory
      won't render a booting platform, since the AUTO_ZRELADDR algorithm still
      ensures the kernel is uncompressed into memory shared with the first
      co-processor (0x40000000).
      
      Another option would be to move loading to 0x4A000000, since this will
      mean the decompressor will decompress the kernel to 0x48000000. However,
      this would mean a large chunk (0x44000000 => 0x48000000 (64MB)) of
      memory would essentially be wasted for no good reason.
      
      Until we can work with ST to find a suitable memory location to
      relocate co-processor shared memory, let's disable the shared memory
      nodes.  This will ensure a working platform in the mean time.
      
      NB: The more observant of you will notice that we're leaving the DMU
      shared memory node enabled; this is because a) it is the only one in
      active use at the time of this writing and b) it is not affected by
      the current default behaviour which is causing issues.
      
      Fixes: fe135c63 (ARM: dts: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory)
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Reviewed-by Peter Griffin <peter.griffin@linaro.org>
      Signed-off-by: NMaxime Coquelin <maxime.coquelin@st.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      0e289e53
  7. 18 6月, 2016 1 次提交
    • W
      isa: Allow ISA-style drivers on modern systems · 3a495511
      William Breathitt Gray 提交于
      Several modern devices, such as PC/104 cards, are expected to run on
      modern systems via an ISA bus interface. Since ISA is a legacy interface
      for most modern architectures, ISA support should remain disabled in
      general. Support for ISA-style drivers should be enabled on a per driver
      basis.
      
      To allow ISA-style drivers on modern systems, this patch introduces the
      ISA_BUS_API and ISA_BUS Kconfig options. The ISA bus driver will now
      build conditionally on the ISA_BUS_API Kconfig option, which defaults to
      the legacy ISA Kconfig option. The ISA_BUS Kconfig option allows the
      ISA_BUS_API Kconfig option to be selected on architectures which do not
      enable ISA (e.g. X86_64).
      
      The ISA_BUS Kconfig option is currently only implemented for X86
      architectures. Other architectures may have their own ISA_BUS Kconfig
      options added as required.
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NWilliam Breathitt Gray <vilhelm.gray@gmail.com>
      Acked-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3a495511
  8. 17 6月, 2016 7 次提交
  9. 16 6月, 2016 1 次提交
    • H
      s390/cpum_cf: use perf software context for hardware counters · 9254e70c
      Hendrik Brueckner 提交于
      On s390, there are two different hardware PMUs for counting and
      sampling.  Previously, both PMUs have shared the perf_hw_context
      which is not correct and, recently, results in this warning:
      
          ------------[ cut here ]------------
          WARNING: CPU: 5 PID: 1 at kernel/events/core.c:8485 perf_pmu_register+0x420/0x428
          Modules linked in:
          CPU: 5 PID: 1 Comm: swapper/0 Not tainted 4.7.0-rc1+ #2
          task: 00000009c5240000 ti: 00000009c5234000 task.ti: 00000009c5234000
          Krnl PSW : 0704c00180000000 0000000000220c50 (perf_pmu_register+0x420/0x428)
                     R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3
          Krnl GPRS: ffffffffffffffff 0000000000b15ac6 0000000000000000 00000009cb440000
                     000000000022087a 0000000000000000 0000000000b78fa0 0000000000000000
                     0000000000a9aa90 0000000000000084 0000000000000005 000000000088a97a
                     0000000000000004 0000000000749dd0 000000000022087a 00000009c5237cc0
          Krnl Code: 0000000000220c44: a7f4ff54            brc     15,220aec
                     0000000000220c48: 92011000           mvi     0(%r1),1
                    #0000000000220c4c: a7f40001           brc     15,220c4e
                    >0000000000220c50: a7f4ff12           brc     15,220a74
                     0000000000220c54: 0707               bcr     0,%r7
                     0000000000220c56: 0707               bcr     0,%r7
                     0000000000220c58: ebdff0800024       stmg    %r13,%r15,128(%r15)
                     0000000000220c5e: a7f13fe0           tmll    %r15,16352
          Call Trace:
          ([<000000000022087a>] perf_pmu_register+0x4a/0x428)
          ([<0000000000b2c25c>] init_cpum_sampling_pmu+0x14c/0x1f8)
          ([<0000000000100248>] do_one_initcall+0x48/0x140)
          ([<0000000000b25d26>] kernel_init_freeable+0x1e6/0x2a0)
          ([<000000000072bda4>] kernel_init+0x24/0x138)
          ([<000000000073495e>] kernel_thread_starter+0x6/0xc)
          ([<0000000000734958>] kernel_thread_starter+0x0/0xc)
          Last Breaking-Event-Address:
           [<0000000000220c4c>] perf_pmu_register+0x41c/0x428
          ---[ end trace 0c6ef9f5b771ad97 ]---
      
      Using the perf_sw_context is an option because the cpum_cf PMU does
      not use interrupts.  To make this more clear, initialize the
      capabilities in the PMU structure.
      Signed-off-by: NHendrik Brueckner <brueckner@linux.vnet.ibm.com>
      Suggested-by: NPeter Zijlstra <peterz@infradead.org>
      Acked-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      9254e70c