From owner-svn-src-all@FreeBSD.ORG Mon Dec 23 16:00:30 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 496BC4D2 for ; Mon, 23 Dec 2013 16:00:29 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B44B917C3 for ; Mon, 23 Dec 2013 16:00:29 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id qd12so6074622ieb.3 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=fhC3Pn03r7FKWcjMeqqLLpOAVlRUXXRMRafI/3PLrAkkFN27gSAXbVI5G7jpl4yzY5 2q6peJJL71BpMum3lWCuEeGn8r92dWjGXZGMhgDGUWZTOZa5Vv3Af/2eEyIUDYR9nNAW YvzLZFpI2/m3IOluhbmhdQ851k2Q7xgr4r1aMdulNmHAn95H6mY4hoH67oFRqZVlTg/H 6XpbR4JDLxp7nnVQCnchUO4ZwXnVRNoiAizMXHLNrRsaKYcVnVGWrle1j9ySWRPXqTV+ AKy+FaYmBZ/RLE2aeKJ2Pf7ZCnmMSVmZnoxC9VT2nwkDNRaFfwUvzFF+gp5vZB+xMbWb PzEw== X-Gm-Message-State: ALoCoQl+OGBmXdVc04OLtpFL+ic95yUjSyizMWWRzYQ7qqpM7pg20LzkYyr1pPbqXwQChPrAEQXp 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-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2013 16:00:30 -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