[Trusty PATCH 0/7] Fixes for LP#1658270 Redux

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Mon Feb 6 20:35:01 UTC 2017


When building trusty master-next, with the original series for this bug
applied, we found out armhf and arm64 failed to build.

Dropping the original patchset and applying this patchset (which ends up
changing only files under arch/arm/ and arch/arm64/, compared to the
other tree), builds for armhf and arm64 succeed.

All backports ended up being clean cherry picks, including "mm: fix huge
zero page accounting in smaps report". I kept the backport by Joseph
Salisbury for "mm: Respect FOLL_FORCE/FOLL_COW for thp".

We need this for cranking Trusty. Otherwise, we need to drop the
original patchset and include it in the next cycle.

Build-tested only for armhf and arm64. Other arches were OK to build
with the original patchset.

Jianguo Wu (1):
  ARM: 8037/1: mm: support big-endian page tables

Keno Fischer (1):
  UBUNTU: SAUCE: mm: Respect FOLL_FORCE/FOLL_COW for thp

Kirill A. Shutemov (1):
  mm: fix huge zero page accounting in smaps report

Steve Capper (1):
  arm64: mm: Route pmd thp functions through pte equivalents

Steven Capper (2):
  ARM: 8108/1: mm: Introduce {pte,pmd}_isset and {pte,pmd}_isclear
  ARM: 8109/1: mm: Modify pte_write and pmd_write logic for LPAE

Will Deacon (1):
  ARM: 7985/1: mm: implement pte_accessible for faulting mappings

 arch/arm/include/asm/pgtable-3level-hwdef.h |   3 +-
 arch/arm/include/asm/pgtable-3level.h       |  49 ++++++++-----
 arch/arm/include/asm/pgtable.h              |  21 ++++--
 arch/arm/mm/proc-v7-3level.S                |  23 ++++--
 arch/arm64/include/asm/pgtable.h            |  53 +++++++-------
 arch/powerpc/include/asm/pgtable-ppc64.h    |   1 +
 arch/sparc/include/asm/pgtable_64.h         |   7 ++
 arch/x86/include/asm/pgtable.h              |   5 ++
 fs/proc/task_mmu.c                          | 104 ++++++++++++++++++----------
 mm/huge_memory.c                            |  12 +++-
 10 files changed, 181 insertions(+), 97 deletions(-)

-- 
2.9.3





More information about the kernel-team mailing list