Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1360070
| From | Timur Tabi <timur@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 1/4] ACPI: parse SPCR and enable matching console |
| Date | 2016-03-17 18:30 +0100 |
| Message-ID | <rdJUe-1ST-1@gated-at.bofh.it> (permalink) |
| References | <r7uOd-2PD-5@gated-at.bofh.it> <r7uOf-2PD-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 29, 2016 at 6:02 AM, Aleksey Makarov <aleksey.makarov@linaro.org> wrote: > 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port > Console Redirection Table) [2] as a mandatory ACPI table that > specifies the configuration of serial console. > > Parse this table and check if any registered console match the > description. If it does, enable that console. > > Introduce a new function acpi_console_check(). At the uart port > registration, this function checks if the ACPI SPCR table specifies > its argument of type struct uart_port to be a console > and if so calls add_preferred_console(). > > [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html > [2] http://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx > > Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org> Tested-by: Timur Tabi <timur@codeaurora.org> I know another version of patch is coming, but I tested this version and it works. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v4 1/4] ACPI: parse SPCR and enable matching console Timur Tabi <timur@codeaurora.org> - 2016-03-17 18:30 +0100
csiph-web