[SRU][Artful][PATCH 0/3] Fixes for LP:1706247

Joseph Salisbury joseph.salisbury at canonical.com
Fri Dec 15 15:20:35 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1706247

== SRU Justification ==
In the past it was not possible to turn on 16g huge pages on Ubuntu PowerNV.
However, boot options were available to enable huge pages, which would not 
actually work. 

These patches from IBM add support for 16G Huge Pages.  All three patches were
added to mainline as of 4.14-rc1.  Xenial and Zesty also need these patches, 
but two additional ones are also requires, so they will be SRU'd separately. 

== Fixes ==
e24a1307ba1f ("mm/hugetlb: Allow arch to override and call the weak function")
79cc38ded1e1 ("powerpc/mm/hugetlb: Add support for reserving gigantic huge pages via kernel command line")
4ae279c2c96a ("powerpc/mm/hugetlb: Allow runtime allocation of 16G.")


== Regression Potential ==
These chages are specific to powerpc and have been authored and tested by IBM.

== Test Case ==
A test kernel was built with these patches and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.

Aneesh Kumar K.V (3):
  mm/hugetlb: Allow arch to override and call the weak function
  powerpc/mm/hugetlb: Add support for reserving gigantic huge pages via
    kernel command line
  powerpc/mm/hugetlb: Allow runtime allocation of 16G.

 arch/powerpc/include/asm/book3s/64/hugetlb.h  |   4 +-
 arch/powerpc/include/asm/book3s/64/mmu-hash.h |   2 +-
 arch/powerpc/include/asm/hugetlb.h            |  14 --
 arch/powerpc/kernel/setup-common.c            |   7 -
 arch/powerpc/mm/hash_utils_64.c               |   2 +-
 arch/powerpc/mm/hugetlbpage.c                 | 177 +++-----------------------
 arch/powerpc/mm/init_32.c                     |   2 -
 include/linux/hugetlb.h                       |   1 +
 mm/hugetlb.c                                  |   4 +-
 9 files changed, 27 insertions(+), 186 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list