From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [PATCH 1/3] serial: 8250_early: Add earlycon support for AMD Carrizo / Stoneyridge Date: Thu, 29 Mar 2018 14:34:00 +0100 Message-ID: <20180329143400.6d9256a5@alans-desktop> References: <20180314003655.12141-1-djkurtz@chromium.org> <20180314003655.12141-2-djkurtz@chromium.org> <20180326192428.71c23abf@alans-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Aaron Durbin Cc: Andy Shevchenko , Daniel Kurtz , Ricardo Ribalda Delgado , Greg Kroah-Hartman , Jiri Slaby , Marc Gonzalez , Doug Anderson , Matt Redfearn , Jeffy , "open list:SERIAL DRIVERS" , Linux Kernel Mailing List List-Id: linux-serial@vger.kernel.org On Mon, 26 Mar 2018 20:56:45 -0600 Aaron Durbin wrote: > On Mon, Mar 26, 2018 at 12:24 PM, Alan Cox wrote: > >> Sadly, this situation > >> is not unique to this hardware. There is hardware all over that does > >> not meet the current assumptions being made in the early uart drivers > >> within the kernel. > > > > Is there any fundamental reason you can't just embed dt entries in the > > ACPI table to describe the other features you need. I appreciate it > > doesn't solve the generic PC case but it ought to help for anything where > > the firmware cares about Linux ? > > What's the method for doing that? Using _DSD methods? Or have a > pointer to examples? Sorry, I haven't spelunked into the current state > of bridging ACPI and devicetree in a while. ACPI 5.1 adds an _DSD method UUID for device properties. The kernel device_property_* interface will pick them up just as if they came from DT tables etc. Alan