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=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham 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 9969FC43381 for ; Fri, 29 Mar 2019 09:16:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E2902183E for ; Fri, 29 Mar 2019 09:16:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="C46acWZ5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729234AbfC2JQD (ORCPT ); Fri, 29 Mar 2019 05:16:03 -0400 Received: from mail.skyhub.de ([5.9.137.197]:58082 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728769AbfC2JQD (ORCPT ); Fri, 29 Mar 2019 05:16:03 -0400 Received: from zn.tnic (p200300EC2F148A00F5B59F909E867DAC.dip0.t-ipconnect.de [IPv6:2003:ec:2f14:8a00:f5b5:9f90:9e86:7dac]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5B3921EC0469; Fri, 29 Mar 2019 10:16:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1553850962; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=pTkOo/VJz+chTqcsnKKjXjldiAQauWAo4SxEEKVzCxU=; b=C46acWZ5nDBoKWv7RLmzWwJmzg/wKzOlBrzaLXUySDOrA8F04feOsOgFaz2vbD94j783zy TtuaRNtEOZoKSqsurQZDyHqqGI6QMt2eirFrYZY4I7AFZDmIF29+UiooLsVCeff5bBq3kD se505mdKOTqzxgAzZz0Mon587E2+o3Q= Date: Fri, 29 Mar 2019 10:16:05 +0100 From: Borislav Petkov To: Chao Fan , Junichi Nomura Cc: "bhe@redhat.com" , Dave Young , "kasong@redhat.com" , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] x86/boot: Use EFI setup data if provided Message-ID: <20190329091605.GB21152@zn.tnic> References: <20190325231000.GA9184@jeru.linux.bs1.fc.nec.co.jp> <20190326135714.GG1867@zn.tnic> <20190327014852.GA3659@MiWiFi-R3L-srv> <73322ba9-e436-68db-7863-afd31607d969@ce.jp.nec.com> <20190328064343.GA1877@MiWiFi-R3L-srv> <20190328074337.GA9470@jeru.linux.bs1.fc.nec.co.jp> <20190328155256.GP22720@zn.tnic> <0263068e-f2d0-1101-0438-0f570f0b38e7@ce.jp.nec.com> <20190329083920.GA21152@zn.tnic> <20190329090550.GI4234@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190329090550.GI4234@localhost.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 29, 2019 at 05:05:50PM +0800, Chao Fan wrote: > But in my code, I am not sure which version will be found firstly, so I > write this logical, if ACPI20 found, return directly, then consider ACPI 1.0. Thanks. Junichi, please add a shorter version of that as a comment to the code, above the function name so that it is clear why we're preferring the 2.0 version. Thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.skyhub.de ([5.9.137.197]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9ncJ-0004XZ-TT for kexec@lists.infradead.org; Fri, 29 Mar 2019 09:16:05 +0000 Date: Fri, 29 Mar 2019 10:16:05 +0100 From: Borislav Petkov Subject: Re: [PATCH v2] x86/boot: Use EFI setup data if provided Message-ID: <20190329091605.GB21152@zn.tnic> References: <20190325231000.GA9184@jeru.linux.bs1.fc.nec.co.jp> <20190326135714.GG1867@zn.tnic> <20190327014852.GA3659@MiWiFi-R3L-srv> <73322ba9-e436-68db-7863-afd31607d969@ce.jp.nec.com> <20190328064343.GA1877@MiWiFi-R3L-srv> <20190328074337.GA9470@jeru.linux.bs1.fc.nec.co.jp> <20190328155256.GP22720@zn.tnic> <0263068e-f2d0-1101-0438-0f570f0b38e7@ce.jp.nec.com> <20190329083920.GA21152@zn.tnic> <20190329090550.GI4234@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190329090550.GI4234@localhost.localdomain> 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: Chao Fan , Junichi Nomura Cc: "kasong@redhat.com" , "bhe@redhat.com" , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Dave Young On Fri, Mar 29, 2019 at 05:05:50PM +0800, Chao Fan wrote: > But in my code, I am not sure which version will be found firstly, so I > write this logical, if ACPI20 found, return directly, then consider ACPI 1.0. Thanks. Junichi, please add a shorter version of that as a comment to the code, above the function name so that it is clear why we're preferring the 2.0 version. Thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec