]> git.ipfire.org Git - thirdparty/linux.git/commit
Documentation: ACPI: Fix parent device references
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 10 Jul 2025 17:00:23 +0000 (20:00 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Jul 2025 09:13:37 +0000 (11:13 +0200)
commite65cb011349e653ded541dddd6469c2ca813edcf
treeb99cdcb0d1e7bcce6199fc7cd97f32e1b1dfd54e
parent904cf14f9135a18c9efe8327362f5dfd3c0f3a3f
Documentation: ACPI: Fix parent device references

The _CRS resources in many cases want to have ResourceSource field
to be a type of ACPI String. This means that to compile properly
we need to enclosure the name path into double quotes. This will
in practice defer the interpretation to a run-time stage, However,
this may be interpreted differently on different OSes and ACPI
interpreter implementations. In particular ACPICA might not correctly
recognize the leading '^' (caret) character and will not resolve
the relative name path properly. On top of that, this piece may be
used in SSDTs which are loaded after the DSDT and on itself may also
not resolve relative name paths outside of their own scopes.
With this all said, fix documentation to use fully-qualified name
paths always to avoid any misinterpretations, which is proven to
work.

Fixes: 8eb5c87a92c0 ("i2c: add ACPI support for I2C mux ports")
Reported-by: Yevhen Kondrashyn <e.kondrashyn@gmail.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250710170225.961303-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/firmware-guide/acpi/i2c-muxes.rst