On Tue, Apr 25, 2023 at 09:00:31PM +0800, lihuisong (C) wrote:Hi Sudeep,
For firmware, DSD way is simpler and easier to manage these virtual platformAny specific examples you are referring here. We had lots of debate when
devices, and it's an usual way in kernel.
DSD was introduced. It must be used only when there is no standard ACPI
way to achieve the same. But in this I don't (yet) think that is the case.
Further "simplicity" is remotely not the reason why you must use DSD.
So until you provide me technical reasons as why _CRS can't work, I
have to NACK this approach. DSD in this case seems like pure hack.
Driver only needs to get a fixed value, like pcc-id and type, here.Yes and _CRS is used to get similar such properties in ACPI. It includes
normally MMIO and interrupts and since GAS supports PCC and _CRS can
contain GAS, you must simply use that.