From patchwork Mon Aug 26 19:00:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pasha Tatashin X-Patchwork-Id: 11115263 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E502013B1 for ; Mon, 26 Aug 2019 19:01:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C1B4E2070B for ; Mon, 26 Aug 2019 19:01:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iqY7sXkH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=soleen.com header.i=@soleen.com header.b="FgCCF3AP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1B4E2070B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=soleen.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/xYArChdSL2KLjY72ATGhjj+bDjVXMGL7ZVWcHCuAIk=; b=iqY7sXkHnsvtaQ xOLRSrSS/B14+QjGkGTP6jWOMy+c5Md8a1H+4FlhiOmOvculI4syTLlcApzyPN9/Izq++5xPETAI0 l7erAhS5WIT4DTeu/AHazEl1gVpNKarQok3wPWaapWDXhIB4eBFGcuJIdPE9k7Z6xBnyJ/otBdz5w jXPlMSzLkUu0PveRNPULjEkNJwc/4Z465YBz1+XPFOv/c9PCMUXC82lsGfd+kt1PNDgI4mFA8MPEr /eSEaNnTKQN6xWqN1gJ97TwdmUtC2tcbkTFSNOOlraUSVPEr00Hzuh/St8jgaUHbSoZ9Y0QtR5sfq SHwrT6PcfnLvgfMnXAxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2KEp-0007PW-84; Mon, 26 Aug 2019 19:01:11 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2KEe-0006y7-7X for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2019 19:01:01 +0000 Received: by mail-qt1-x843.google.com with SMTP id v38so18995618qtb.0 for ; Mon, 26 Aug 2019 12:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=cwuY5sKjDPAwM+Eem6lSsn7R4L71P95IVVWzmn8Wm+8=; b=FgCCF3AP0YmnF2LejCVe101FrUUf6kmHoXj2PR30frAoZbyQsvuBWlRQpPGROktgcK Q9iijuL25Ge0l4YDSLYImTqkM8+2Kz9w/LlLYow27imU5TKvZ1FE5S0dEQ54Ok4vxlnt rzT65ReQAVdCqfJk6HEhHP5wmZHVvFqteyH3NVAoADlXG/Fxp1ajR/692fNqYWQD2x+d jE/69FydSNlhO8d7GREtGEU/s3Pl1R8fW/9GiQSdh7LT7bz8eZux+yBKZ0tLTlFChi0I ovgnk334G/N6WVMoibuCVgTXrQsyrpz/Q2qjVADuGdKG4w346BbPwvs+ajjRcvfWmM7W 5xew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=cwuY5sKjDPAwM+Eem6lSsn7R4L71P95IVVWzmn8Wm+8=; b=kPSXGunkOFZgkPHsbvQ1DxBUC3oDB0tnk/Lz/0He3ygcQ6nPgCG2pOOrtngdv+ffdy 7tGcaQUhDBiErTqyMMOMMYOxKZvBTq1sRiprzn2LUULg7gdoTNSCxcy4N/HloRyI7arm Xp0Oc76Ku+UyL2XfMvZP6bzD39vZg5I2hArwcvE3KaDIB1ofRewPbQCzQ5g0fhqXeJkH Ai/f5avdQZS9UbdM0Rgd2Yyf2BN6t33jUUCkQ/nK3HDTZFtkq0RdheSm4aapnVYh1tzv SA93LVp+oocbuMKlUmRidgKGoLGc2h+/P3C64yLyhgsh6/QX/5J+j0yH0kCi6Qob3Q2h ceMg== X-Gm-Message-State: APjAAAWEi3ULnigNh/rB5+dr5KWuZuZsdmSQNcbMeR2JEYrX6v3/SlZG NT/nlIJKQDMhxEH/sJO7mlvTqg== X-Google-Smtp-Source: APXvYqx70qupmhIz/B7QuYzWH1TgZQebS1UrrW8+S6jNJLoBgPyN9gqcqANa3UWN/UDyR6cFmCr9Hw== X-Received: by 2002:ac8:4691:: with SMTP id g17mr19142886qto.104.1566846058466; Mon, 26 Aug 2019 12:00:58 -0700 (PDT) Received: from localhost.localdomain (c-73-69-118-222.hsd1.nh.comcast.net. [73.69.118.222]) by smtp.gmail.com with ESMTPSA id o45sm8614377qta.65.2019.08.26.12.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 12:00:57 -0700 (PDT) From: Pavel Tatashin To: pasha.tatashin@soleen.com, jmorris@namei.org, sashal@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, james.morse@arm.com, vladimir.murzin@arm.com, mark.rutland@arm.com Subject: [PATCH v1 0/6] Allow kexec reboot for GICv3 and device tree Date: Mon, 26 Aug 2019 15:00:50 -0400 Message-Id: <20190826190056.27854-1-pasha.tatashin@soleen.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190826_120100_346572_A61CB18D X-CRM114-Status: UNSURE ( 7.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:843 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Marc Zyngier added the support for kexec and GICv3 for EFI based systems. However, it is still not possible todo on systems with device trees. Here is EFI fixes from Marc: https://lore.kernel.org/lkml/20180921195954.21574-1-marc.zyngier@arm.com For Device Tree variant: lets allow reserve a memory region in interrupt controller node, and use this property to allocate interrupt tables. This way we are safe during kexec, as these page tables are going to stay the same after kexec. Pavel Tatashin (6): rqchip/gic-v3-its: reset prop table outside of allocation rqchip/gic-v3-its: use temporary va / pa variables rqchip/gic-v3-its: add reset pending table function rqchip/gic-v3-its: move reset pending table outside of allocator rqchip/gic-v3-its: move reset pending table outside of allocator dt-bindings: interrupt-controller: add optional memory-region .../interrupt-controller/arm,gic-v3.yaml | 7 + drivers/irqchip/irq-gic-v3-its.c | 121 +++++++++++++----- 2 files changed, 96 insertions(+), 32 deletions(-)