From owner-svn-src-releng@FreeBSD.ORG Mon Dec 23 16:00:29 2013 Return-Path: Delivered-To: svn-src-releng@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCEF6414 for ; Mon, 23 Dec 2013 16:00:29 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8544A17C2 for ; Mon, 23 Dec 2013 16:00:29 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id ut6so13467390igb.5 for ; Mon, 23 Dec 2013 08:00:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=JpjqAuxatEvfk9S0rcqD7vsM71gsBWt149wHS2ABCic=; b=Vu7tTuEqfLAfglcX41rs9q7Md7NBmRqeV8bZrNi5xBmKGezY7XxUEOwWkIlr1Y42A8 YCvZ0I50NFgpMRwj+1PpVlO2/oLKhZZm1bcvAYfdvnCK5KMekJkZE+JfPbq1KmYB57Iz cYAKRlynMiOpbkBpxQRCEV6g7tdnnDQaoDllCcIq/V/V5ejknvEOHSSqlmTzodRpXQgA cqH1CFK0nzxCBErHjdqaE2wpB4xId7BedccRcb59Qt2SGF+JwkajO7RBovphZ+vZcEbl KQq3/8zYkUxLznnGNBbfRviZpDiX1DJB6R5SnciVMnFcI0FUGnK1mMV7+ssrrbPYcRVf ka+g== X-Gm-Message-State: ALoCoQkduzSrrN9Tthw+JviWrV/kaG3VL3ruVfh1aZvz+uFSBWd0NTxdfOcgJ9Ej8uWeMsbMtSbb X-Received: by 10.43.77.212 with SMTP id zj20mr17281344icb.5.1387814422994; Mon, 23 Dec 2013 08:00:22 -0800 (PST) Received: from fusion-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id ml2sm20627234igb.10.2013.12.23.08.00.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Dec 2013 08:00:22 -0800 (PST) Sender: Warner Losh Subject: Re: svn commit: r259748 - releng/10.0/sys/arm/at91 Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20131222224718.GO99167@funkthat.com> Date: Mon, 23 Dec 2013 09:00:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201312222231.rBMMVeql061111@svn.freebsd.org> <20131222224718.GO99167@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1085) Cc: svn-src-releng@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Warner Losh X-BeenThere: svn-src-releng@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the release engineering / security commits to the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 16:00:29 -0000 On Dec 22, 2013, at 3:47 PM, John-Mark Gurney wrote: > Warner Losh wrote this message on Sun, Dec 22, 2013 at 22:31 +0000: >> The real fix is to use cngrab/cnungrab function pointers to disable >> RXRDY interrupts while grabbed. However, that touches the MI uart >> code, so was disallowed for 10.0 due to the lateness of the hour = this >> fix was proposed. It works for mountroot, the most common atmel = kernel >> prompt use cases, but wouldn't work for GELI since it prompts later = in >> the boot process. >=20 > Hmmm, good point about geli, there have been complaints that the geli > prompt gets garbled by other output (and I'm anoyed by it too)... >=20 > Can we solve this w/ grab? How would the console code know the other > writers don't have the console grabed? Maybe by thread? cngrab/cnungrab was meant to toggle between userland and kernel use of = the console for input in rare cases. Contention doesn't seem to be = covered at all, but could be... Warner