From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D27CC433EF for ; Tue, 19 Apr 2022 12:49:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0074983BBD; Tue, 19 Apr 2022 14:49:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="R2AkWneE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2939C83B63; Tue, 19 Apr 2022 14:49:24 +0200 (CEST) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8354383B63 for ; Tue, 19 Apr 2022 14:49:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2f.google.com with SMTP id x20so12966173qvl.10 for ; Tue, 19 Apr 2022 05:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=H8JLYhpKnS7VILJDgn0F2SL11UN8DvT9fjR0q9URE3U=; b=R2AkWneEAO0gyN3I1lsCQbOin1qtAnoDDvxcGVuOQ1I+bgL+tylG1l/ofGxnvwtM0B KaL2tQtZbI9X1z/63dnZowCamgIPvwUqv+kpJlUL6kgAgXYzGQr4q3/kPt05hLBQx37a Zej37V8wR+P7Wn/Ut8PmDhlSL3MT0OSJPGnc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=H8JLYhpKnS7VILJDgn0F2SL11UN8DvT9fjR0q9URE3U=; b=Eti8C1lmM60AXRdY7jKsuPSdPPzKs6unpBkhjb8esLlKOEDVfPB2VXE9kASwzuY9Qm ZMmtaE/V/F/AN17j4gSo1ZbXpOEUyLST+r1h5DCd47BMFecKTVZrBgMjh1+jbcZ3Lrjk oc8bJBh3IOnQlscN1BKcXzSgQR4awn3oSsno200cGsrWOw90I1RCFDkR8T79Ry9npOUO NS1ADHbwHQVFXmZI+Tz4j/XznmJo+cksu5xNIfXmGHeMLODmMCQ33jU2FyAlb6fOShB1 ufq3l3tRBDy5we/CJ1nyWQaeqIeTmHgB5pb0NKl1rpevu83LCJBI7wzukQ4RR9q8+TZZ LwnQ== X-Gm-Message-State: AOAM530AosE51sjAg8pyn9Xipp3vS0rUMfw+RbsIiOeSJZWhyIGs1KIg fvYQkmVu0CXUH9oq0Cy+3QP32g== X-Google-Smtp-Source: ABdhPJxLeTKiYs+xnG3E4UYCzN+RUtRCPY8sJALyOjceyHH4G6mLjiqhewa+yY5pZ7wYdqTFjkppdg== X-Received: by 2002:ad4:5ccb:0:b0:446:7925:1982 with SMTP id iu11-20020ad45ccb000000b0044679251982mr1214611qvb.98.1650372560199; Tue, 19 Apr 2022 05:49:20 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id t198-20020a3746cf000000b0069c51337badsm8117167qka.45.2022.04.19.05.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 05:49:19 -0700 (PDT) Date: Tue, 19 Apr 2022 08:49:17 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heinrich Schuchardt , Sean Anderson , Marek =?iso-8859-1?Q?Beh=FAn?= , U-Boot Custodians Subject: Re: [PATCH 02/10] sandbox: Correct loss of early output in SPL Message-ID: <20220419124917.GG3045430@bill-the-cat> References: <20220327202622.3438333-1-sjg@chromium.org> <20220327142415.2.If1c273ffb4d69da0ebb02720f7ff997e8b35944c@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gr/z0/N6AeWAPJVB" Content-Disposition: inline In-Reply-To: <20220327142415.2.If1c273ffb4d69da0ebb02720f7ff997e8b35944c@changeid> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 27, 2022 at 02:26:14PM -0600, Simon Glass wrote: > At present fputc() is used before the console is available, then write() > is used. These are not compatible. Since fputc() buffers internally it is > better to use the write(), so that a partial line is immediately > displayed. >=20 > This has a slight effect on performance, but we are already using write() > for the vast majority of the output with no obvious impacts. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --gr/z0/N6AeWAPJVB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJer8oACgkQFHw5/5Y0 tyykQgv/YELgSAinpDSHXqSzp9jTWENnMc2AlHw+8g5hlxy35W7B9uc30GT/nkcA VV8QGc03NKFLc9cANAHrXyH9k9cQCCON91yrd/eg1wFJNWMb+4zTQITCafiLTlg+ YBn5XAovagHGDQQPYgEoRnIgpbIgMprMmgAUAF/YNM2WXtgySeccLXqcDFUkphtL cfJ0i2DFYmBOmXJ7pYM/+fdq00g721j7kaTduU5deoyCKqzBETHLJ623SAyzhY+U ZVMS3Q6wuQyq9AwmBh8OLAQTUevymbHZPaYlp9vKXzN3UOogaIx4tdlA65OkWSWH Ew6xDKcLekFOjzL7th3A52XOmdxVNzu4lVrO78tV+Lts57ImjsPi/z7U8y5TWW5q bz2ECGJv0aWkWKuCO+Mjfg4DBJSv3YvyHUtflcswffaqOc/u+X6ac75KCohMYfld 8o/1DF9lxb7WLgXGH1hDIo046iUdqICImzOcAfbuFi/PeNXwi7ksSfymrwgAGhN6 Cy0Zr/a9 =+4B3 -----END PGP SIGNATURE----- --gr/z0/N6AeWAPJVB--