From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 26 Aug 2019 20:13:13 +0100 From: Marc Zyngier Subject: Re: [PATCH v1 0/6] Allow kexec reboot for GICv3 and device tree Message-ID: <20190826201313.246208e9@why> In-Reply-To: <20190826190056.27854-1-pasha.tatashin@soleen.com> References: <20190826190056.27854-1-pasha.tatashin@soleen.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Pavel Tatashin Cc: sashal@kernel.org, mark.rutland@arm.com, vladimir.murzin@arm.com, kexec@lists.infradead.org, jmorris@namei.org, linux-kernel@vger.kernel.org, james.morse@arm.com, linux-arm-kernel@lists.infradead.org On Mon, 26 Aug 2019 15:00:50 -0400 Pavel Tatashin wrote: > 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. There is no such thing as a "device tree variant". As long as your bootloader implements EFI, everything will work correctly, whether you're using DT, ACPI, or the anything else. This already works today, without any need to add anything to the kernel (I have systems using EDK II and u-boot, both implementing EFI, and I'm able to kexec without any issue). If your bootloader doesn't support EFI, here's a good opportunity to implement it! Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81B35C3A59F for ; Mon, 26 Aug 2019 19:13:33 +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 566722184D for ; Mon, 26 Aug 2019 19:13:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fQeSLgeS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 566722184D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=npOE/UonDPbLZjMXLjsPz1jUpjzkbP+prApPU68XXOw=; b=fQeSLgeSpeuPAN TETEruGa4Iu9LjOTFCpouv1SVClq2f3ujoQyPKH543HRygJ6qkmydloNf59Stl587Zmtx1fATTRiR aWx6Yvwj0IqydOyhRFXby1kCtZYe5pHeMgMQq2510FN0w1ERAjBtxWG9YLYKSn7N4OFVnYVg5ABrV dCp5h/+Nl5VQQ5cVdNs2W7trBywBpG1ODBdpdoNNEgT7C6l640ENdejTA6mcLeFJ7YRPd5PWZkdS2 jPGYuC4KcvuogIm7XAG9wkDKzMTFZd0BdaYLWQnblcreX08Lz0RGeeA+HQFflb3hqAjoCFHhzsG9h m7bemljtMKfkyHoCS3zQ==; 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 1i2KQg-0003xl-06; Mon, 26 Aug 2019 19:13:26 +0000 Received: from inca-roads.misterjones.org ([213.251.177.50]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2KQb-0003vR-OV; Mon, 26 Aug 2019 19:13:23 +0000 Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1i2KQV-0007jY-Pj; Mon, 26 Aug 2019 21:13:16 +0200 Date: Mon, 26 Aug 2019 20:13:13 +0100 From: Marc Zyngier To: Pavel Tatashin Subject: Re: [PATCH v1 0/6] Allow kexec reboot for GICv3 and device tree Message-ID: <20190826201313.246208e9@why> In-Reply-To: <20190826190056.27854-1-pasha.tatashin@soleen.com> References: <20190826190056.27854-1-pasha.tatashin@soleen.com> Organization: Approximate X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-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, james.morse@arm.com, vladimir.murzin@arm.com, mark.rutland@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190826_121321_947023_E290FFA4 X-CRM114-Status: GOOD ( 10.07 ) 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: , Cc: sashal@kernel.org, mark.rutland@arm.com, vladimir.murzin@arm.com, kexec@lists.infradead.org, jmorris@namei.org, linux-kernel@vger.kernel.org, james.morse@arm.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 26 Aug 2019 15:00:50 -0400 Pavel Tatashin wrote: > 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. There is no such thing as a "device tree variant". As long as your bootloader implements EFI, everything will work correctly, whether you're using DT, ACPI, or the anything else. This already works today, without any need to add anything to the kernel (I have systems using EDK II and u-boot, both implementing EFI, and I'm able to kexec without any issue). If your bootloader doesn't support EFI, here's a good opportunity to implement it! Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C540C3A59F for ; Mon, 26 Aug 2019 19:13:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D85472184D for ; Mon, 26 Aug 2019 19:13:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566846801; bh=SOFeZdgaZD9HZz/S+0Ok1/wz5guU3PCw9Qao16OP8MA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=nHNDNhakMgOotgMttHmzv/8SYdD0rYERZmjmtHdaMM0Bp0Nl47hic2v/CSSXynI3O rS0MT6yEjDoSOxtRlVJJ1cOPLH3BUv66EWHJCaYNoZK5HyE4CxQDi7EEinBPkYqq9c CA3LbUl4CNswg3oo1L/g6CETI7UGfB1fuc4yz+jM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732282AbfHZTNU (ORCPT ); Mon, 26 Aug 2019 15:13:20 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:41674 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727860AbfHZTNT (ORCPT ); Mon, 26 Aug 2019 15:13:19 -0400 Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why) by cheepnis.misterjones.org with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1i2KQV-0007jY-Pj; Mon, 26 Aug 2019 21:13:16 +0200 Date: Mon, 26 Aug 2019 20:13:13 +0100 From: Marc Zyngier To: Pavel Tatashin Cc: jmorris@namei.org, sashal@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, vladimir.murzin@arm.com, mark.rutland@arm.com Subject: Re: [PATCH v1 0/6] Allow kexec reboot for GICv3 and device tree Message-ID: <20190826201313.246208e9@why> In-Reply-To: <20190826190056.27854-1-pasha.tatashin@soleen.com> References: <20190826190056.27854-1-pasha.tatashin@soleen.com> Organization: Approximate X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-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, james.morse@arm.com, vladimir.murzin@arm.com, mark.rutland@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Aug 2019 15:00:50 -0400 Pavel Tatashin wrote: > 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. There is no such thing as a "device tree variant". As long as your bootloader implements EFI, everything will work correctly, whether you're using DT, ACPI, or the anything else. This already works today, without any need to add anything to the kernel (I have systems using EDK II and u-boot, both implementing EFI, and I'm able to kexec without any issue). If your bootloader doesn't support EFI, here's a good opportunity to implement it! Thanks, M. -- Without deviation from the norm, progress is not possible.