mbox

[SRU,Zesty] arm64: Add support for handling memory corruption

Message ID 1497465931.13521.0@smtp.canonical.com
State New
Headers show

Pull-request

git+ssh://git.launchpad.net/~centriq-team/+git/linux-sru lp1696852

Message

Manoj Iyer June 14, 2017, 6:45 p.m. UTC
Please review and consider this pull-request SRU for adding support for 
handling memory corruption in ARM64. This is a feature requested on 
QDF2400 platform. Previously I had submitted an SRU (pending review) 
for adding RAS features in arm64 https://launchpad.net/bugs/1696570, 
that covers the base set of RAS patches for arm64.

The patches were cherry-picked from for-next branch on the arm64 git 
repo maintained by Will Deacon. A test kernel for ARM64, AMD64, Power8 
are available at 
https://launchpad.net/~centriq-team/+archive/ubuntu/lp1696852/ This 
kernel was tested on ARM64 with mce-test and results are available on 
the bug https://launchpad.net/bugs/1696852 . The Kernel was also boot 
tested on AMD64 and Power8 as noted in the bug report.

The following changes since commit 
377872015b3a06cecba9597558d194a667e35810:

  UBUNTU: [Config] CONFIG_ACPI_APEI_SEA=y (2017-06-08 14:56:40 -0500)

are available in the git repository at:

  git+ssh://git.launchpad.net/~centriq-team/+git/linux-sru lp1696852

for you to fetch changes up to 357b492ed1cc4beb9d46e3bb017116a362dca5f0:

  arm64: kconfig: allow support for memory failure handling (2017-06-13 
15:45:24 -0500)

----------------------------------------------------------------
Jonathan (Zhixiong) Zhang (2):
      arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling
      arm64: kconfig: allow support for memory failure handling

Punit Agrawal (2):
      arm64: hugetlb: Fix huge_pte_offset to return poisoned page table 
entries
      arm64: mm: Update perf accounting to handle poison faults

 arch/arm64/Kconfig               |  1 +
 arch/arm64/include/asm/pgtable.h |  2 +-
 arch/arm64/mm/fault.c            | 90 
++++++++++++++++++++++++----------------
 arch/arm64/mm/hugetlbpage.c      | 29 +++++--------
 4 files changed, 67 insertions(+), 55 deletions(-)

Comments

Manoj Iyer June 23, 2017, 4:23 p.m. UTC | #1
The RAS patches were recently nacked for good reason. Do you think it 
makes more sense to resubmit this patch along with the RAS patches when 
I resubmit those RAS patches when it lands in linus's tree?

If you would prefer to review this patch series after RAS related 
updates are commited please feel free to nack this for now.

On Wed, Jun 14, 2017 at 1:45 PM, Manoj Iyer <manoj.iyer@canonical.com> 
wrote:
> Please review and consider this pull-request SRU for adding support 
> for handling memory corruption in ARM64. This is a feature requested 
> on QDF2400 platform. Previously I had submitted an SRU (pending 
> review) for adding RAS features in arm64 
> https://launchpad.net/bugs/1696570, that covers the base set of RAS 
> patches for arm64.
> 
> The patches were cherry-picked from for-next branch on the arm64 git 
> repo maintained by Will Deacon. A test kernel for ARM64, AMD64, 
> Power8 are available at 
> https://launchpad.net/~centriq-team/+archive/ubuntu/lp1696852/ This 
> kernel was tested on ARM64 with mce-test and results are available on 
> the bug https://launchpad.net/bugs/1696852 . The Kernel was also boot 
> tested on AMD64 and Power8 as noted in the bug report.
> 
> The following changes since commit 
> 377872015b3a06cecba9597558d194a667e35810:
> 
>   UBUNTU: [Config] CONFIG_ACPI_APEI_SEA=y (2017-06-08 14:56:40 -0500)
> 
> are available in the git repository at:
> 
>   git+ssh://git.launchpad.net/~centriq-team/+git/linux-sru lp1696852
> 
> for you to fetch changes up to 
> 357b492ed1cc4beb9d46e3bb017116a362dca5f0:
> 
>   arm64: kconfig: allow support for memory failure handling 
> (2017-06-13 15:45:24 -0500)
> 
> ----------------------------------------------------------------
> Jonathan (Zhixiong) Zhang (2):
>       arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling
>       arm64: kconfig: allow support for memory failure handling
> 
> Punit Agrawal (2):
>       arm64: hugetlb: Fix huge_pte_offset to return poisoned page 
> table entries
>       arm64: mm: Update perf accounting to handle poison faults
> 
>  arch/arm64/Kconfig               |  1 +
>  arch/arm64/include/asm/pgtable.h |  2 +-
>  arch/arm64/mm/fault.c            | 90 
> ++++++++++++++++++++++++----------------
>  arch/arm64/mm/hugetlbpage.c      | 29 +++++--------
>  4 files changed, 67 insertions(+), 55 deletions(-)
>