Re: [PATCH v4 01/17] Xen: ACPI: Hide UART used by Xen

From: Stefano Stabellini
Date: Mon Feb 08 2016 - 05:57:29 EST


On Sat, 6 Feb 2016, Rafael J. Wysocki wrote:
> On Fri, Feb 5, 2016 at 4:05 AM, Shannon Zhao <zhaoshenglong@xxxxxxxxxx> wrote:
> > From: Shannon Zhao <shannon.zhao@xxxxxxxxxx>
> >
> > ACPI 6.0 introduces a new table STAO to list the devices which are used
> > by Xen and can't be used by Dom0. On Xen virtual platforms, the physical
> > UART is used by Xen. So here it hides UART from Dom0.
> >
> > Signed-off-by: Shannon Zhao <shannon.zhao@xxxxxxxxxx>
> > Reviewed-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
>
> Well, this doesn't look right to me.
>
> We need to find a nicer way to achieve what you want.

I take that you are talking about how to honor the STAO table in Linux.
Do you have any concrete suggestions?