From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933890Ab3GPTge (ORCPT ); Tue, 16 Jul 2013 15:36:34 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58183 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933110Ab3GPTgb (ORCPT ); Tue, 16 Jul 2013 15:36:31 -0400 Message-ID: <51E5A0A9.90108@zytor.com> Date: Tue, 16 Jul 2013 12:36:09 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 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 Subject: Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot References: <1373659660-31123-1-git-send-email-keescook@chromium.org> <20130712203802.GA14702@www.outflux.net> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/16/2013 12:31 PM, Kees Cook wrote: > > Could the first step be documenting the limitation? I've found this > patch extremely useful for my case already, and I imagine there might > be other people that need the early mmio stuff to. Generally the > compressed boot serial console stuff is going to be used in the more > common non-kexec situations at least for a while. > > Does this patch create any _problems_? Right now, neither low nor >4G > kernel can use an mmio serial port. :) This this, we'd at least gain > it for the low case. > Even documenting the limitation is likely to end up with a bunch of emails asking why their kernel crashed. I think setting up a dynamic #PF handler is the right thing for the decompressor, we already did for the kernel proper. -hpa