[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <74dbd0d1-e888-4a1b-8f21-a44a015047e7@huawei.com>
Date: Thu, 18 Dec 2025 14:28:43 +0800
From: "lihuisong (C)" <lihuisong@...wei.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>, Linux ACPI
<linux-acpi@...r.kernel.org>
CC: LKML <linux-kernel@...r.kernel.org>, Linux PM <linux-pm@...r.kernel.org>,
Armin Wolf <w_armin@....de>, Hans de Goede <hansg@...nel.org>,
<lihuisong@...wei.com>
Subject: Re: [PATCH v1 1/4] ACPI: scan: Register platform devices for thermal
zones
在 2025/12/10 22:42, Rafael J. Wysocki 写道:
> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>
> Currently, platform devices are not registered for ACPI thermal zones
> because they are not represented as device objects in the ACPI namespace.
> Instead, they are represented as thermal zone objects, so in particular
> the platform_id flag is not set for them during enumeration because it
> is only set for objects of type ACPI_BUS_TYPE_DEVICE, but otherwise they
> are handled similarly at the ACPI core level.
>
> To facilitate converting the ACPI thermal zone driver into a platform
> one, modify acpi_set_pnp_ids() to set the platform_id flag for thermal
> zones in analogy with device objects to cause platform devices to be
> registered for them.
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
Acked-by: lihuisong@...wei.com
>
>
>
Powered by blists - more mailing lists