From patchwork Thu Dec 6 15:57:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dann frazier X-Patchwork-Id: 1008881 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 439gGK35dvz9s4s; Fri, 7 Dec 2018 02:57:13 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gUw1S-0005YZ-5i; Thu, 06 Dec 2018 15:57:06 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1gUw1P-0005WK-Vu for kernel-team@lists.ubuntu.com; Thu, 06 Dec 2018 15:57:03 +0000 Received: from mail-io1-f69.google.com ([209.85.166.69]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gUw1P-0006Mu-Ld for kernel-team@lists.ubuntu.com; Thu, 06 Dec 2018 15:57:03 +0000 Received: by mail-io1-f69.google.com with SMTP id b21so752193ioj.8 for ; Thu, 06 Dec 2018 07:57:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=Mw9c8l3oMVWP5ch5WSzfftY+e15jo9o2R26nMsQZS/8=; b=ZALmdfEQCmvIuacASud9Eds+xrZ9KyRdM/zHmlucBqFLYmAgAtZbVd5zO7/D0JeUvt 7q0adyCYNy3X+YRJpOf22jN+KxR4AGT/BMYpHVQoaVne7h1I0cNb/+uKj473bTS+CmXS HfxDISeJ5tsLsi0zb+dpGeiAuYuJdQdv7XPXdbFZaFP8G2jrRIvCtsA5aStV2VLpwuRA YX7irTwyLerlIN4i7iC2/ysHwlUiThk24Z/uu+58nmE3ARSFrbx1H4Ae7IlHnbs+z9M0 1ZDAxmpTn0Z6j2+H+sB/K7EvxRJK38d0a26rU2sCb2u0ThJ5iN5l6P1e3G/n9fRL6asI mWRw== X-Gm-Message-State: AA+aEWYEKVsvwqTPHqic0NdqLbkoJnpEPhuCx3HumnUwuJ+tP2aPDUxQ OQ6YIc2BCUxLzTrEEYHA7gFwRFhIgcwjnwPBqkqannci5IezpP+WvSlHZ7TGEOQ9g3b2M56qP2Q Q/vOyMq3psXlXanDEyIbb8sLcrG2x+rwXx0ozX2dDag== X-Received: by 2002:a24:1c86:: with SMTP id c128mr19185198itc.58.1544111822418; Thu, 06 Dec 2018 07:57:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/WT5WYMPYPdTOHLLV3NtZa8nCXa3D/MyrQ2NdYmrnnkxP9bRl2yog0scXThpEwUmIpk7GMvNg== X-Received: by 2002:a24:1c86:: with SMTP id c128mr19185171itc.58.1544111821993; Thu, 06 Dec 2018 07:57:01 -0800 (PST) Received: from xps13.canonical.com (c-107-2-141-103.hsd1.co.comcast.net. [107.2.141.103]) by smtp.gmail.com with ESMTPSA id i188-v6sm507112iti.20.2018.12.06.07.57.01 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 07:57:01 -0800 (PST) Date: Thu, 6 Dec 2018 08:57:00 -0700 From: dann frazier To: kernel-team@lists.ubuntu.com Subject: [PULL v2][Regression][Disco] Fix kdump for arm64 GICv3 platforms Message-ID: <20181206155641.GA14635@xps13.dannf> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1806766 2 patches required minor backporting (annotated), remainder are clean cherry picks. Tested crashdump on a HiSilicon D05 system and boot tested on an x86 UEFI system. v2: Clean up conflict markers left in (uncompiled) code The following changes since commit 7a366efc5c2c563655f1a168b7721c01e2cb76d6: UBUNTU: [Packaging] buildinfo -- add buildinfo support to getabis (2018-12-03 12:28:15 -0600) are available in the Git repository at: git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux d05-kdump-d-v2 for you to fetch changes up to bccfda1afe9f3677b615b8eee0685aa2467357dc: efi: Prevent GICv3 WARN() by mapping the memreserve table before first use (2018-12-05 08:51:52 -0700) ---------------------------------------------------------------- Ard Biesheuvel (7): efi: honour memory reservations passed via a linux specific config table efi/arm: libstub: add a root memreserve config table efi: add API to reserve memory persistently across kexec reboot arm64: memblock: don't permit memblock resizing until linear mapping is up efi/arm: Defer persistent reservations until after paging_init() efi: Permit calling efi_mem_reserve_persistent() from atomic context efi: Prevent GICv3 WARN() by mapping the memreserve table before first use Marc Zyngier (10): irqchip/gic-v3-its: Change initialization ordering for LPIs irqchip/gic-v3-its: Simplify LPI_PENDBASE_SZ usage irqchip/gic-v3-its: Split property table clearing from allocation irqchip/gic-v3-its: Move pending table allocation to init time irqchip/gic-v3-its: Keep track of property table's PA and VA irqchip/gic-v3-its: Allow use of pre-programmed LPI tables irqchip/gic-v3-its: Use pre-programmed redistributor tables with kdump kernels irqchip/gic-v3-its: Check that all RDs have the same property table irqchip/gic-v3-its: Register LPI tables with EFI config table irqchip/gic-v3-its: Allow use of LPI tables in reserved memory arch/arm64/kernel/setup.c | 1 + arch/arm64/mm/init.c | 2 - arch/arm64/mm/mmu.c | 2 + drivers/firmware/efi/efi.c | 86 ++++++++++- drivers/firmware/efi/libstub/arm-stub.c | 30 ++++ drivers/irqchip/irq-gic-v3-its.c | 247 +++++++++++++++++++++++++------- drivers/irqchip/irq-gic-v3.c | 20 +-- include/linux/efi.h | 16 +++ include/linux/irqchip/arm-gic-v3.h | 4 +- 9 files changed, 341 insertions(+), 67 deletions(-)