Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1oU076-000050-CY for mharc-grub-devel@gnu.org; Fri, 02 Sep 2022 02:25:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU073-0008VZ-Es for grub-devel@gnu.org; Fri, 02 Sep 2022 02:25:09 -0400 Received: from gate.crashing.org ([63.228.1.57]:35114) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU071-0004RF-VF for grub-devel@gnu.org; Fri, 02 Sep 2022 02:25:09 -0400 Received: from [IPv6:::1] (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 2826O3Q0023318 for ; Fri, 2 Sep 2022 01:24:04 -0500 Message-ID: Subject: Re: [PATCH 0/7] Add MMIO serial ports support and SPCR detection From: Benjamin Herrenschmidt To: The development of GNU GRUB Date: Fri, 02 Sep 2022 16:23:37 +1000 In-Reply-To: <20220902061222.1086343-1-benh@kernel.crashing.org> References: <20220902061222.1086343-1-benh@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1-0ubuntu1 MIME-Version: 1.0 Received-SPF: pass client-ip=63.228.1.57; envelope-from=benh@kernel.crashing.org; helo=gate.crashing.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2022 06:25:09 -0000 On Fri, 2022-09-02 at 16:12 +1000, Benjamin Herrenschmidt wrote: > This series improves our legacy serial support to add the ability > to use MMIO based serial ports on x86 and to use ACPI's SPCR to > automatically configure the default port. >=20 > An MMIO serial port can be specified explicitely using the > "mmio," prefix for the --port argument to the 'serial' command, > the register access size can also be specified via a suffix, > and when 'serial' is used without arguments, it will try to use > an ACPI SPCR entry (if any) to add the default port and configure > it appropriately (speed, parity etc...) I forgot to mention that typically MMIO UARTs are found on AWS EC2 "metal" instances, whose firmware also conveniently populates SPCR. This allows grub serial to work on these. Cheers, Ben.