lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANCZXo5Fx5rTYWNRrC4T7nkPzB9iVn7EnYpXUCTsDXxW34TwyQ@mail.gmail.com>
Date:	Tue, 7 Apr 2015 16:19:00 +0600
From:	Alexander Kuleshov <kuleshovmail@...il.com>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86/earlyprintk: setup earlyprintk as early as possible

2015-04-07 15:52 GMT+06:00 Ingo Molnar <mingo@...nel.org>:
>
> It would be nice to test it via a well placed printk() and check that
> before the patch the message doesn't go to the serial console and
> after the patch the message indeed arrives on the early serial console
> - or something like that.

I have tested this patch when i wrote it and early_printk does not print
anything before the parse_early_param. But i don't know how to show this
in code in a correct way. Maybe we should to give back early_printk call
which i removed in the previous patch
(https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=91d8f0416f3989e248d3a3d3efb821eda10a85d2)?

Any one another question about this. I submited patch only for head64.c
and it does not affect kernel for i386, because i'm not sure where is
the best place to setup earlyprintk in the head32.c. I thought to put
it in the start of i386_start_kernel(void) (from head32.c) but not sure
about it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ