- Jan 22, 2025
-
-
Introduce a new test to identify regressions causing devices to go missing on the system. For each bus and class on the system the test checks the number of devices present against a reference file, which needs to have been generated by the program at a previous point on a known-good kernel, and if there are missing devices they are reported. Signed-off-by:
Nícolas F. R. A. Prado <nfraprado@collabora.com>
-
Laura Nao authored
Add new kselftest that tests whether devices declared in the ACPI namespace and supported by the kernel are correctly bound to a driver. The test traverses the ACPI sysfs tree to get a list of all the devices defined in the ACPI namespace and verifies whether the physical devices linked to each ACPI object are bound to a driver. The test relies on two lists to skip devices not expected to be bound to a driver: - List generated by the acpi-extract-ids script: includes the ACPI IDs matched by a driver - Manual list of ignored IDs: includes the ID of devices that may be discovered only via the platform firmware and that don't require a driver or cannot be represented as platform devices The test also examines the sysfs attributes of the target device objects linked by physical_node* to exclude other devices that should not be bound to a driver. This includes: - Devices not assigned to any subsystem - Devices that are linked to other devices - Class devices - Specific PCI bridges that do not require a driver Signed-off-by:
Laura Nao <laura.nao@collabora.com>
-
Laura Nao authored
Add a script to extract all the supported acpi device ids from kernel sources. The script looks for IDs defined in acpi_device_id structs within both .c and .h files and prints them. If the -d option is used, the script only shows the IDs that are matched by a driver, identified through either an ACPI match table or a list of supported IDs provided by the driver. The list of IDs returned by the script can be used as a reference to determine if a device declared in the ACPI namespace with certain _HID/_CID is supported by the kernel or not. Note: this script cannot identify IDs defined via macros. Signed-off-by:
Laura Nao <laura.nao@collabora.com>
-
Stephen Rothwell authored
Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au>
-
Stephen Rothwell authored
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
-
https://github.com/Rust-for-Linux/linux.gitStephen Rothwell authored
# Conflicts: # rust/kernel/lib.rs # rust/kernel/miscdevice.rs # rust/kernel/security.rs
-
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.gitStephen Rothwell authored
# Conflicts: # tools/testing/selftests/kselftest/ktap_helpers.sh
-
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.gitStephen Rothwell authored
# Conflicts: # drivers/ata/ahci.h # drivers/ata/sata_mv.c # include/linux/libata.h
-