Return-path: Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1evnlA-0002I4-MI for kexec@lists.infradead.org; Tue, 13 Mar 2018 17:30:53 +0000 Subject: Re: [PATCH v4 4/5] kexec: add option to fall back to KEXEC_LOAD when KEXEC_FILE_LOAD is not supported. References: <19a47e290fc03efea82af845740ae8f6b30f13b8.1520342150.git.msuchanek@suse.de> From: Tony Jones Message-ID: Date: Tue, 13 Mar 2018 10:30:28 -0700 MIME-Version: 1.0 In-Reply-To: <19a47e290fc03efea82af845740ae8f6b30f13b8.1520342150.git.msuchanek@suse.de> Content-Language: en-US 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: kexec@lists.infradead.org Cc: msuchanek@suse.de, Simon Horman , dyoung@redhat.com, Petr Tesarik On 03/06/2018 05:15 AM, Michal Suchanek wrote: > Not all architectures implement KEXEC_FILE_LOAD. However, on some > archiectures KEXEC_FILE_LOAD is required when secure boot is enabled in > locked-down mode. Previously users had to select the KEXEC_FILE_LOAD > syscall with undocumented -s option. However, if they did pass the > option kexec would fail on architectures that do not support it. > > So add an -a option that tries KEXEC_FILE_LOAD and when it is not > supported tries KEXEC_LOAD. > > Signed-off-by: Michal Suchanek David, Simon. Is there any feedback on v4 of this patchset? Adding a new option for fallback rather than changing the existing behavior was the v3 feedback on March 2nd. Cheers! Tony _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec