Re: [PATCH v3 1/2] ACPI: scan: do not enumerate MSFT8000 as a serial bus slave

Armin Wolf <[email protected]>
Newsgroups org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb
Message-ID <[email protected]>
Am 29.08.26 um 16:55 schrieb Edward Blair:

> MSFT8000 represents the Windows Resource Hub Proxy. Its SerialBus
> resources describe connections that Windows exposes to userspace rather
> than a physical peripheral attached to a serial bus.
>
> Treat the device like other ACPI nodes which contain SerialBus resources
> without being serial bus slaves. This keeps the ACPI device present while
> preventing the resources from being instantiated as I2C, SPI or serdev
> clients and conflicting with the actual devices.

Reviewed-by: Armin Wolf <[email protected]>

> Suggested-by: Armin Wolf <[email protected]>
> Signed-off-by: Edward Blair <[email protected]>
> ---
>   drivers/acpi/scan.c | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index 7dcf78419..608527cda 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -1770,6 +1770,11 @@ static bool acpi_device_enumeration_by_parent(struct acpi_device *device)
>   	 * attached to a serial bus at all.
>   	 */
>   		{"MSHW0028", },
> +	/*
> +	 * MSFT8000 is a Windows Resource Hub Proxy device. Its SerialBus
> +	 * resources grant userspace access and do not describe a slave.
> +	 */
> +		{"MSFT8000", },
>   	/*
>   	 * HIDs of device with an UartSerialBusV2 resource for which userspace
>   	 * expects a regular tty cdev to be created (instead of the in kernel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.