From: Marcin Wojtas <mw@semihalf.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
devel@acpica.org
Cc: Grzegorz Jaszczyk <jaz@semihalf.com>,
Grzegorz Bernacki <gjb@semihalf.com>,
upstream@semihalf.com,
Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>,
Jon Nettleton <jon@solid-run.com>,
Tomasz Nowicki <tn@semihalf.com>,
rjw@rjwysocki.net, lenb@kernel.org, erik.kaneda@intel.com,
robert.moore@intel.com, Marcin Wojtas <mw@semihalf.com>
Subject: Re: [PATCH] ACPI: SPCR: Add new 16550-compatible Serial Port Subtype
Date: Fri, 25 Jun 2021 19:18:06 +0200 [thread overview]
Message-ID: <CAPv3WKf=ufj-RbqOKm3cjOQcG1PDAEAkVLdLQUkRK94=_vtj9w@mail.gmail.com> (raw)
In-Reply-To: <CAPv3WKctDU7WOxHzeHc49-G_h42qX-pUpinJN2CVHNoRH86QHw@mail.gmail.com>
Hi,
pon., 21 cze 2021 o 22:06 Marcin Wojtas <mw@semihalf.com> napisał(a):
>
> Apologies for the patch prefix, of course it's a first version and
> unrelated to the networking subsystem.
>
> Best regards,
> Marcin
>
>
> pon., 21 cze 2021 o 22:05 Marcin Wojtas <mw@semihalf.com> napisał(a):
> >
> > The Microsoft Debug Port Table 2 (DBG2) specification revision
> > May 31, 2017 adds support for 16550-compatible Serial Port
> > Subtype with parameters defined in Generic Address Structure (GAS) [1]
> >
> > Add its support in SPCR parsing routine.
> >
> > [1] https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table
> >
> > Signed-off-by: Marcin Wojtas <mw@semihalf.com>
> > ---
> > include/acpi/actbl1.h | 1 +
> > drivers/acpi/spcr.c | 1 +
> > 2 files changed, 2 insertions(+)
> >
> > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
> > index ce59903c2695..f746012eba8d 100644
> > --- a/include/acpi/actbl1.h
> > +++ b/include/acpi/actbl1.h
> > @@ -498,6 +498,7 @@ struct acpi_dbg2_device {
> > #define ACPI_DBG2_ARM_SBSA_GENERIC 0x000E
> > #define ACPI_DBG2_ARM_DCC 0x000F
> > #define ACPI_DBG2_BCM2835 0x0010
> > +#define ACPI_DBG2_16550_WITH_GAS 0x0012
> >
> > #define ACPI_DBG2_1394_STANDARD 0x0000
> >
> > diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
> > index 88460bacd5ae..25c2d0be953e 100644
> > --- a/drivers/acpi/spcr.c
> > +++ b/drivers/acpi/spcr.c
> > @@ -136,6 +136,7 @@ int __init acpi_parse_spcr(bool enable_earlycon, bool enable_console)
> > break;
> > case ACPI_DBG2_16550_COMPATIBLE:
> > case ACPI_DBG2_16550_SUBSET:
> > + case ACPI_DBG2_16550_WITH_GAS:
> > uart = "uart";
> > break;
> > default:
> > --
Do you have any comments / remarks to the patch?
Best regards,
Marcin
next prev parent reply other threads:[~2021-06-25 17:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 20:04 [net-next: PATCH v3 1/1] ACPI: SPCR: Add new 16550-compatible Serial Port Subtype Marcin Wojtas
2021-06-21 20:06 ` Marcin Wojtas
2021-06-25 17:18 ` Marcin Wojtas [this message]
2021-06-25 17:20 ` [PATCH] " Rafael J. Wysocki
2021-06-25 17:21 ` Marcin Wojtas
2021-07-14 12:27 ` [net-next: PATCH v3 1/1] " Rafael J. Wysocki
2021-07-14 19:18 ` Marcin Wojtas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPv3WKf=ufj-RbqOKm3cjOQcG1PDAEAkVLdLQUkRK94=_vtj9w@mail.gmail.com' \
--to=mw@semihalf.com \
--cc=Samer.El-Haj-Mahmoud@arm.com \
--cc=devel@acpica.org \
--cc=erik.kaneda@intel.com \
--cc=gjb@semihalf.com \
--cc=jaz@semihalf.com \
--cc=jon@solid-run.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=robert.moore@intel.com \
--cc=tn@semihalf.com \
--cc=upstream@semihalf.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).