1. 16 Jul, 2020 18 commits
  2. 15 Jul, 2020 19 commits
  3. 08 Jul, 2020 1 commit
    • Desnes A. Nunes do Rosario's avatar
      selftests/powerpc: Purge extra count_pmc() calls of ebb selftests · 3337bf41
      Desnes A. Nunes do Rosario authored
      An extra count on ebb_state.stats.pmc_count[PMC_INDEX(pmc)] is being per-
      formed when count_pmc() is used to reset PMCs on a few selftests. This
      extra pmc_count can occasionally invalidate results, such as the ones from
      cycles_test shown hereafter. The ebb_check_count() failed with an above
      the upper limit error due to the extra value on ebb_state.stats.pmc_count.
      
      Furthermore, this extra count is also indicated by extra PMC1 trace_log on
      the output of the cycle test (as well as on pmc56_overflow_test):
      
      ==========
         ...
         [21]: counter = 8
         [22]: register SPRN_MMCR0 = 0x0000000080000080
         [23]: register SPRN_PMC1  = 0x0000000080000004
         [24]: counter = 9
         [25]: register SPRN_MMCR0 = 0x0000000080000080
         [26]: register SPRN_PMC1  = 0x0000000080000004
         [27]: counter = 10
         [28]: register SPRN_MMCR0 = 0x0000000080000080
         [29]: register SPRN_PMC1  = 0x0000000080000004
      >> [30]: register SPRN_PMC1  = 0x000000004000051e
      PMC1 count (0x280000546) above upper limit 0x2800003e8 (+0x15e)
      [FAIL] Test FAILED on line 52
      failure: cycles
      ==========
      Signed-off-by: default avatarDesnes A. Nunes do Rosario <desnesn@linux.ibm.com>
      Tested-by: default avatarSachin Sant <sachinp@linux.vnet.ibm.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://lore.kernel.org/r/20200626164737.21943-1-desnesn@linux.ibm.com
      3337bf41
  4. 06 Jul, 2020 1 commit
  5. 30 Jun, 2020 1 commit
    • Michael Ellerman's avatar
      powerpc/boot/dts: Fix dtc "pciex" warnings · 86bc917d
      Michael Ellerman authored
      With CONFIG_OF_ALL_DTBS=y, as set by eg. allmodconfig, we see lots of
      warnings about our dts files, such as:
      
        arch/powerpc/boot/dts/glacier.dts:492.26-532.5:
        Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci"
        or "pcie"
      
      The node name should not particularly matter, it's just a name, and
      AFAICS there's no kernel code that cares whether nodes are *named*
      "pciex" or "pcie". So shutup these warnings by converting to the name
      dtc wants.
      
      As always there's some risk this could break something obscure that
      does rely on the name, in which case we can revert.
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      Link: https://lore.kernel.org/r/20200623130320.405852-1-mpe@ellerman.id.au
      86bc917d