From: Borislav Petkov Subject: Re: [PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable Date: Mon, 13 Jan 2014 11:18:22 +0100 Message-ID: <20140113101822.GA5388@pd.tnic> References: <1389473370-1940-1-git-send-email-bp@alien8.de> <1389473370-1940-2-git-send-email-bp@alien8.de> <20140113053240.GA11237@dhcp-16-126.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20140113053240.GA11237-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dave Young Cc: Linux EFI , LKML , Borislav Petkov , Arjan van de Ven , Matt Fleming , Matthew Garrett , "H. Peter Anvin" , Toshi Kani List-Id: linux-efi@vger.kernel.org On Mon, Jan 13, 2014 at 01:32:40PM +0800, Dave Young wrote: > pr_info? This is for debug purpose, maybe pr_debug is better? I hate pr_debug as it depends on other defines I have to have defined properly in order just so I get output. > How about do not limit to only if (pgd) case, instead do something > like below: set dump_to_dmesg as a module parameter X86_PTDUMP is not a module. And even though the idea to make the efi pagetable dumpable with a kernel cmdline parameter doesn't sound all that bad, I'd like to hold off on adding yet another efi= cmdline option and only do so until it is really needed. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --