Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933563AbbELSI2 (ORCPT ); Tue, 12 May 2015 14:08:28 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:35657 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932809AbbELSIZ (ORCPT ); Tue, 12 May 2015 14:08:25 -0400 MIME-Version: 1.0 In-Reply-To: <1431453527.28073.73.camel@linux.intel.com> References: <1431418137-32320-1-git-send-email-kuleshovmail@gmail.com> <1431418208-2274-1-git-send-email-kuleshovmail@gmail.com> <1431429553.28073.63.camel@linux.intel.com> <1431453527.28073.73.camel@linux.intel.com> Date: Wed, 13 May 2015 00:08:25 +0600 Message-ID: Subject: Re: [PATCH v6 3/3] x86/earlyprintk: setup earlyprintk as early as possible From: Alexander Kuleshov To: Andy Shevchenko Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , LKML , Greg Kroah-Hartman , Borislav Petkov , Mark Rustad , Yinghai Lu Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 814 Lines: 21 2015-05-12 23:58 GMT+06:00 Andy Shevchenko : >> > >> >> Because for now we can setup only serial console, for other we need ioremap >> which is not enabled for this moment. Here we just try to find serial console >> and setup it, if another argument passed to the 'earlyprintk', it will >> be parsed in the >> 'setup_arch'. > > Even for EFI case? > If I understand correctly, yes. As we can read from early_efi_map_fb function (which setup with early_initcall) comment: efi earlyprintk need use early_ioremap to map the framebuffer. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/