1. 14 Feb, 2017 2 commits
    • Michael Ellerman's avatar
      powerpc/mm: Fix build break when CMA=n && SPAPR_TCE_IOMMU=y · a05ef161
      Michael Ellerman authored
      Currently the build breaks if CMA=n and SPAPR_TCE_IOMMU=y:
      
        arch/powerpc/mm/mmu_context_iommu.c: In function ‘mm_iommu_get’:
        arch/powerpc/mm/mmu_context_iommu.c:193:42: error: ‘MIGRATE_CMA’ undeclared (first use in this function)
        if (get_pageblock_migratetype(page) == MIGRATE_CMA) {
        ^~~~~~~~~~~
      
      Fix it by using the existing is_migrate_cma_page(), which evaulates to
      false when CMA=n.
      
      Fixes: 2e5bbb54 ("KVM: PPC: Book3S HV: Migrate pinned pages out of CMA")
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      a05ef161
    • Michael Ellerman's avatar
      powerpc/mm: Fix build break with RADIX=y & HUGETLBFS=n · aad71e39
      Michael Ellerman authored
      If we enable RADIX but disable HUGETLBFS, the build breaks with:
      
        arch/powerpc/mm/pgtable-radix.c:557:7: error: implicit declaration of function 'pmd_huge'
        arch/powerpc/mm/pgtable-radix.c:588:7: error: implicit declaration of function 'pud_huge'
      
      Fix it by stubbing those functions when HUGETLBFS=n.
      
      Fixes: 4b5d62ca ("powerpc/mm: add radix__remove_section_mapping()")
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      aad71e39
  2. 10 Feb, 2017 15 commits
  3. 09 Feb, 2017 1 commit
  4. 08 Feb, 2017 6 commits
  5. 07 Feb, 2017 11 commits
  6. 06 Feb, 2017 5 commits