1. 23 9月, 2016 1 次提交
  2. 01 8月, 2016 8 次提交
  3. 17 7月, 2016 1 次提交
  4. 11 5月, 2016 2 次提交
    • A
      powerpc/mm/radix: Add MMU_FTR_RADIX · a8ed87c9
      Aneesh Kumar K.V 提交于
      We are going to add asm changes in the follow up patches. Add the
      feature bit now so that we can get it all build.
      
      mpe: When CONFIG_PPC_RADIX_MMU=n we omit MMU_FTR_RADIX from the
      MMU_FTRS_POSSIBLE mask. This allows the compiler to work out that those
      checks will always be false and so the code can be elided completely.
      
      Note we do *not* define MMU_FTR_RADIX to 0 in the RADIX_MMU=n case,
      because that doesn't work with the ASM_FTR patching. In particular an
      IF_SET section will result in a mask and value of zero, which is always
      true, meaning the section *won't* be patched, which is the opposite of
      what we want.
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      Acked-by: NBalbir Singh <bsingharora@gmail.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      a8ed87c9
    • M
      powerpc/mm: Add mask of possible MMU features · 773edead
      Michael Ellerman 提交于
      Follow the example of the cpu feature code, and add a mask of possible
      MMU features, MMU_FTRS_POSSIBLE.
      
      This is used in mmu_has_feature(), which allows the possible mask to act
      as a shortcut for any features that are not possible, but still allows
      the feature bit itself to be defined.
      
      We will use this in the next commit to allow MMU_FTR_RADIX checks to be
      elided when MMU_FTR_RADIX is not possible.
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      773edead
  5. 01 5月, 2016 3 次提交
  6. 03 3月, 2016 1 次提交
  7. 22 2月, 2016 1 次提交
    • M
      powerpc: Add POWER9 cputable entry · c3ab300e
      Michael Neuling 提交于
      Add a cputable entry for POWER9.  More code is required to actually
      boot and run on a POWER9 but this gets the base piece in which we can
      start building on.
      
      Copies over from POWER8 except for:
      - Adds a new CPU_FTR_ARCH_300 bit to start hanging new architecture
         features from (in subsequent patches).
      - Advertises new user features bits PPC_FEATURE2_ARCH_3_00 &
        HAS_IEEE128 when on POWER9.
      - Drops CPU_FTR_SUBCORE.
      - Drops PMU code and machine check.
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      c3ab300e
  8. 28 7月, 2014 1 次提交
  9. 11 7月, 2014 1 次提交
  10. 10 1月, 2014 1 次提交
    • S
      powerpc/e6500: TLB miss handler with hardware tablewalk support · 28efc35f
      Scott Wood 提交于
      There are a few things that make the existing hw tablewalk handlers
      unsuitable for e6500:
      
       - Indirect entries go in TLB1 (though the resulting direct entries go in
         TLB0).
      
       - It has threads, but no "tlbsrx." -- so we need a spinlock and
         a normal "tlbsx".  Because we need this lock, hardware tablewalk
         is mandatory on e6500 unless we want to add spinlock+tlbsx to
         the normal bolted TLB miss handler.
      
       - TLB1 has no HES (nor next-victim hint) so we need software round robin
         (TODO: integrate this round robin data with hugetlb/KVM)
      
       - The existing tablewalk handlers map half of a page table at a time,
         because IBM hardware has a fixed 1MiB indirect page size.  e6500
         has variable size indirect entries, with a minimum of 2MiB.
         So we can't do the half-page indirect mapping, and even if we
         could it would be less efficient than mapping the full page.
      
       - Like on e5500, the linear mapping is bolted, so we don't need the
         overhead of supporting nested tlb misses.
      
      Note that hardware tablewalk does not work in rev1 of e6500.
      We do not expect to support e6500 rev1 in mainline Linux.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Cc: Mihai Caraman <mihai.caraman@freescale.com>
      28efc35f
  11. 15 11月, 2012 1 次提交
  12. 17 9月, 2012 1 次提交
  13. 03 7月, 2012 1 次提交
  14. 20 9月, 2011 1 次提交
    • B
      powerpc: Hugetlb for BookE · 41151e77
      Becky Bruce 提交于
      Enable hugepages on Freescale BookE processors.  This allows the kernel to
      use huge TLB entries to map pages, which can greatly reduce the number of
      TLB misses and the amount of TLB thrashing experienced by applications with
      large memory footprints.  Care should be taken when using this on FSL
      processors, as the number of large TLB entries supported by the core is low
      (16-64) on current processors.
      
      The supported set of hugepage sizes include 4m, 16m, 64m, 256m, and 1g.
      Page sizes larger than the max zone size are called "gigantic" pages and
      must be allocated on the command line (and cannot be deallocated).
      
      This is currently only fully implemented for Freescale 32-bit BookE
      processors, but there is some infrastructure in the code for
      64-bit BooKE.
      Signed-off-by: NBecky Bruce <beckyb@kernel.crashing.org>
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      41151e77
  15. 12 7月, 2011 1 次提交
  16. 08 7月, 2011 1 次提交
  17. 04 5月, 2011 1 次提交
  18. 27 4月, 2011 1 次提交
  19. 05 8月, 2010 1 次提交
    • B
      memblock: Remove rmo_size, burry it in arch/powerpc where it belongs · cd3db0c4
      Benjamin Herrenschmidt 提交于
      The RMA (RMO is a misnomer) is a concept specific to ppc64 (in fact
      server ppc64 though I hijack it on embedded ppc64 for similar purposes)
      and represents the area of memory that can be accessed in real mode
      (aka with MMU off), or on embedded, from the exception vectors (which
      is bolted in the TLB) which pretty much boils down to the same thing.
      
      We take that out of the generic MEMBLOCK data structure and move it into
      arch/powerpc where it belongs, renaming it to "RMA" while at it.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      cd3db0c4
  20. 05 5月, 2010 1 次提交
  21. 28 8月, 2009 1 次提交
  22. 20 8月, 2009 1 次提交
  23. 09 6月, 2009 1 次提交
  24. 21 5月, 2009 1 次提交
  25. 23 4月, 2009 1 次提交
  26. 07 4月, 2009 1 次提交
  27. 24 3月, 2009 2 次提交
  28. 09 3月, 2009 1 次提交
  29. 13 2月, 2009 1 次提交