Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbbDGKb4 (ORCPT ); Tue, 7 Apr 2015 06:31:56 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:34505 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750993AbbDGKbz (ORCPT ); Tue, 7 Apr 2015 06:31:55 -0400 MIME-Version: 1.0 In-Reply-To: <20150407102445.GA13658@gmail.com> References: <1428326234-10067-1-git-send-email-kuleshovmail@gmail.com> <20150407095228.GA13093@gmail.com> <20150407102445.GA13658@gmail.com> Date: Tue, 7 Apr 2015 16:31:54 +0600 Message-ID: Subject: Re: [PATCH] x86/earlyprintk: setup earlyprintk as early as possible From: Alexander Kuleshov To: Ingo Molnar Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Greg Kroah-Hartman , LKML 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: 844 Lines: 23 > Ingo Molnar : wrote: > > Just add a debug printk() for your own testing, right after the param > initialization call, to be confident that the early console indeed > works. > I already tested it as you said when was writing this patch and it works. > > I'd use i386_start_kernel() on 32-bit and x86_64_start_kernel() on > 64-bit - but I haven't tested whether it actually works. > As i already wrote, i tested it for x86_64 and it works. I will put earlyprintk setup in the start of the i386_start_kernel, will test it with 32-bit and resend two patches if they will be good. -- 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/