1. 14 8月, 2013 7 次提交
  2. 08 8月, 2013 17 次提交
  3. 01 8月, 2013 3 次提交
    • R
      powerpc: VPHN topology change updates all siblings · 3be7db6a
      Robert Jennings 提交于
      When an associativity level change is found for one thread, the
      siblings threads need to be updated as well.  This is done today
      for PRRN in stage_topology_update() but is missing for VPHN in
      update_cpu_associativity_changes_mask().  This patch will correctly
      update all thread siblings during a topology change.
      
      Without this patch a topology update can result in a CPU in
      init_sched_groups_power() getting stuck indefinitely in a loop.
      
      This loop is built in build_sched_groups(). As a result of the thread
      moving to a node separate from its siblings the struct sched_group will
      have its next pointer set to point to itself rather than the sched_group
      struct of the next thread.  This happens because we have a domain without
      the SD_OVERLAP flag, which is correct, and a topology that doesn't conform
      with reality (threads on the same core assigned to different numa nodes).
      When this list is traversed by init_sched_groups_power() it will reach
      the thread's sched_group structure and loop indefinitely; the cpu will
      be stuck at this point.
      
      The bug was exposed when VPHN was enabled in commit b7abef04 (v3.9).
      
      Cc: <stable@vger.kernel.org> [v3.9+]
      Reported-by: NJan Stancek <jstancek@redhat.com>
      Signed-off-by: NRobert Jennings <rcj@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      3be7db6a
    • M
      powerpc/perf: Export PERF_EVENT_CONFIG_EBB_SHIFT to userspace · 8d7c55d0
      Michael Ellerman 提交于
      We use bit 63 of the event code for userspace to request that the event
      be counted using EBB (Event Based Branches). Export this value, making
      it part of the API - though only on processors that support EBB.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      8d7c55d0
    • M
      powerpc: Rename PMU interrupts from CNT to PMI · e8e813ed
      Michael Ellerman 提交于
      Back in commit 89713ed1 "Add timer, performance monitor and machine check
      counts to /proc/interrupts" we added a count of PMU interrupts to the
      output of /proc/interrupts.
      
      At the time we named them "CNT" to match x86.
      
      However in commit 89ccf465 "Rename 'performance counter interrupt'", the
      x86 guys renamed theirs from "CNT" to "PMI".
      
      Arguably changing the name could break someone's script, but I think the
      chance of that is minimal, and it's preferable to have a name that 1) is
      somewhat meaningful, and 2) matches x86.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e8e813ed
  4. 31 7月, 2013 4 次提交
  5. 26 7月, 2013 1 次提交
  6. 24 7月, 2013 8 次提交