<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/bus.c, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-05-13T17:31:06Z</updated>
<entry>
<title>Merge branches 'acpi-scan' and 'acpi-tables'</title>
<updated>2024-05-13T17:31:06Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2024-05-13T17:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=784cf44945e3408bd87776bd2974b5c7cfc0ced4'/>
<id>urn:sha1:784cf44945e3408bd87776bd2974b5c7cfc0ced4</id>
<content type='text'>
Merge ACPI device enumeration changes and ACPI data-only tables support
updates for 6.10:

 - Rearrange fields in several structures to effectively eliminate
   computations from container_of() in some cases (Andy Shevchenko).

 - Do some assorted cleanups of the ACPI device enumeration code (Andy
   Shevchenko).

 - Make the ACPI device enumeration code skip devices with _STA values
   clearly identified by the specification as invalid (Rafael Wysocki).

 - Rework the handling of the NHLT table to simplify and clarify it and
   drop some obsolete pieces (Cezary Rojewski).

* acpi-scan:
  ACPI: scan: Avoid enumerating devices with clearly invalid _STA values
  ACPI: scan: Introduce typedef:s for struct acpi_hotplug_context members
  ACPI: scan: Use standard error checking pattern
  ACPI: scan: Move misleading comment to acpi_dma_configure_id()
  ACPI: scan: Use list_first_entry_or_null() in acpi_device_hid()
  ACPI: bus: Don't use "proxy" headers
  ACPI: bus: Make container_of() no-op where it makes sense

* acpi-tables:
  ACPI: NHLT: Streamline struct naming
  ACPI: NHLT: Drop redundant types
  ACPI: NHLT: Introduce API for the table
  ACPI: NHLT: Reintroduce types the table consists of
</content>
</entry>
<entry>
<title>ACPI: scan: Avoid enumerating devices with clearly invalid _STA values</title>
<updated>2024-04-30T19:32:06Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2024-04-30T16:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4aa921eb85a74bf0502eff64f0b9e06fe17081b'/>
<id>urn:sha1:d4aa921eb85a74bf0502eff64f0b9e06fe17081b</id>
<content type='text'>
The return value of _STA with the "present" bit unset and the "enabled"
bit set is clearly invalid as per the ACPI specification, Section 6.3.7
"_STA (Device Status)", so make the ACPI device enumeration code
disregard devices with such _STA return values.

Also, because this implies that status.enabled will only be set if
status.present is set too, acpi_device_is_enabled() can be modified
to simply return the value of the former.

Link: https://uefi.org/specs/ACPI/6.5/06_Device_Configuration.html#sta-device-status
Link: https://lore.kernel.org/linux-acpi/88179311a503493099028c12ca37d430@huawei.com/
Suggested-by: Salil Mehta &lt;salil.mehta@huawei.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Reviewed-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Reviewed-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>ACPI: store owner from modules with acpi_bus_register_driver()</title>
<updated>2024-04-08T14:16:55Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2024-03-28T19:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48b9c4862bd303628b2e772591f2ef958e02a316'/>
<id>urn:sha1:48b9c4862bd303628b2e772591f2ef958e02a316</id>
<content type='text'>
Modules registering driver with acpi_bus_register_driver() often forget to
set .owner field.  The field is used by some of other kernel parts for
reference counting (try_module_get()), so it is expected that drivers
will set it.

Solve the problem by moving this task away from the drivers to the core
ACPI bus code, just like we did for platform_driver in
commit 9447057eaff8 ("platform_device: use a macro instead of
platform_driver_register").

Acked-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Signed-off-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: bus: Indicate support for IRQ ResourceSource thru _OSC</title>
<updated>2024-03-27T15:39:35Z</updated>
<author>
<name>Armin Wolf</name>
</author>
<published>2024-03-09T20:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=403ad17c06509794fdf6e4d4b3070bd5b56e2a8e'/>
<id>urn:sha1:403ad17c06509794fdf6e4d4b3070bd5b56e2a8e</id>
<content type='text'>
The ACPI IRQ mapping code supports parsing of ResourceSource,
but this is not reported thru _OSC.

Fix this by setting bit 13 ("Interrupt ResourceSource support")
when evaluating _OSC.

Fixes: d44fa3d46079 ("ACPI: Add support for ResourceSource/IRQ domain mapping")
Signed-off-by: Armin Wolf &lt;W_Armin@gmx.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: bus: Indicate support for the Generic Event Device thru _OSC</title>
<updated>2024-03-27T15:39:35Z</updated>
<author>
<name>Armin Wolf</name>
</author>
<published>2024-03-09T20:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8a967a243d71dd635ede076020f665a4df51c63'/>
<id>urn:sha1:a8a967a243d71dd635ede076020f665a4df51c63</id>
<content type='text'>
A device driver for the Generic Event Device (ACPI0013) already
exists for quite some time, but support for it was never reported
thru _OSC.

Fix this by setting bit 11 ("Generic Event Device support") when
evaluating _OSC.

Fixes: 3db80c230da1 ("ACPI: implement Generic Event Device")
Signed-off-by: Armin Wolf &lt;W_Armin@gmx.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: bus: Indicate support for more than 16 p-states thru _OSC</title>
<updated>2024-03-27T15:39:35Z</updated>
<author>
<name>Armin Wolf</name>
</author>
<published>2024-03-09T20:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e8345f23ca37d6d41bb76be5d6a705ddf542817'/>
<id>urn:sha1:6e8345f23ca37d6d41bb76be5d6a705ddf542817</id>
<content type='text'>
The code responsible for parsing the available p-states should
have no problems handling more than 16 p-states.

Indicate this by setting bit 10 ("Greater Than 16 p-state support")
when evaluating _OSC.

Signed-off-by: Armin Wolf &lt;W_Armin@gmx.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: bus: Indicate support for _TFP thru _OSC</title>
<updated>2024-03-27T15:39:35Z</updated>
<author>
<name>Armin Wolf</name>
</author>
<published>2024-03-09T20:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=95d43290f1e476b3be782dd17642e452d0436266'/>
<id>urn:sha1:95d43290f1e476b3be782dd17642e452d0436266</id>
<content type='text'>
The ACPI thermal driver already uses the _TPF ACPI method to retrieve
precise sampling time values, but this is not reported thru _OSC.

Fix this by setting bit 9 ("Fast Thermal Sampling support") when
evaluating _OSC.

Fixes: a2ee7581afd5 ("ACPI: thermal: Add Thermal fast Sampling Period (_TFP) support")
Signed-off-by: Armin Wolf &lt;W_Armin@gmx.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: bus: make acpi_bus_type const</title>
<updated>2024-02-12T13:42:48Z</updated>
<author>
<name>Ricardo B. Marliere</name>
</author>
<published>2024-02-11T15:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=592190b598c3a9fdf98c5fc649e5f6da6e8e7941'/>
<id>urn:sha1:592190b598c3a9fdf98c5fc649e5f6da6e8e7941</id>
<content type='text'>
Now that the driver core can properly handle constant struct bus_type,
move the acpi_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

Suggested-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Ricardo B. Marliere &lt;ricardo@marliere.net&gt;
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: Run USB4 _OSC() first with query bit set</title>
<updated>2023-11-20T16:52:31Z</updated>
<author>
<name>Mika Westerberg</name>
</author>
<published>2023-11-14T12:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d392d8daa7514a431678521c2af8be10fc31bc1'/>
<id>urn:sha1:6d392d8daa7514a431678521c2af8be10fc31bc1</id>
<content type='text'>
The platform can deny certain tunneling from the OS and it does that by
clearing the control bits it does not want the OS to get and returning
with OSC_CAPABILITIES_MASK_ERROR bit set. Currently we do not handle
this properly so if this happens, for example when the platform denies
PCIe tunneling, we just fail the whole negotiation and revert back to
what the Thunderbolt driver is doing to figure out whether the
controller is running firmware connection manager or not. However, we
should honor what the platform returns.

For this reason run the USB4 _OSC() first with query bit set, and then
use the returned control double word (that may contain some of the bits
cleared by the platform) and run it second time with query bit clear.

While there, remove an extra space from the assignment of the control
double word.

Reported-by: NaamaX Shachar &lt;naamax.shachar@intel.com&gt;
Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'acpi-bus'</title>
<updated>2023-10-26T13:04:49Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2023-10-26T13:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3660e641ef68dc2503e3c3120814e80359e0e66b'/>
<id>urn:sha1:3660e641ef68dc2503e3c3120814e80359e0e66b</id>
<content type='text'>
Merge ACPI bus type driver updates for 6.7-rc1:

 - Add context argument to acpi_dev_install_notify_handler() (Rafael
   Wysocki).

 - Clarify ACPI bus concepts in the ACPI device enumeration
   documentation (Rafael Wysocki).

* acpi-bus:
  ACPI: bus: Add context argument to acpi_dev_install_notify_handler()
  ACPI: docs: enumeration: Clarify ACPI bus concepts
</content>
</entry>
</feed>
