From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot Date: Tue, 16 Jul 2013 12:41:59 -0700 Message-ID: <51E5A207.30204@zytor.com> References: <1373659660-31123-1-git-send-email-keescook@chromium.org> <20130712203802.GA14702@www.outflux.net> <51E5A0A9.90108@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from terminus.zytor.com ([198.137.202.10]:58385 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933202Ab3GPTm2 (ORCPT ); Tue, 16 Jul 2013 15:42:28 -0400 In-Reply-To: Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Kees Cook Cc: Yinghai Lu , "Eric W. Biederman" , Linux Kernel Mailing List , Rob Landley , Thomas Gleixner , Ingo Molnar , the arch/x86 maintainers , Greg Kroah-Hartman , "linux-doc@vger.kernel.org" , linux-serial@vger.kernel.org On 07/16/2013 12:40 PM, Kees Cook wrote: >> >> I think setting up a dynamic #PF handler is the right thing for the >> decompressor, we already did for the kernel proper. > > I'm not sure how to accomplish this yet. I'm still trying to > understand how the page tables are arranged. :) > Look at the handler at the top of arch/x86/kernel/head64.c. -hpa