cee25393d8
- Fix P15-8-init-cycle-detection.patch: replace visiting+error with seen+silent-skip to eliminate 11 false-positive 'dependency cycle detected' errors on shared deps - Fix P0-daemon-fix-init-notify-unwrap.patch: remove eprintln! for missing INIT_NOTIFY (expected for oneshot_async services, ~7 daemons affected) - Fix driver-manager hotplug loop: add PERMANENTLY_SKIPPED static set shared between hotplug handler and DriverConfig::probe() to stop infinite re-probing of Fatal/NotSupported/deferred-exhausted device+driver pairs (e.g. ided) - Fix driver-manager log_timeline: suppress repeated EPIPE/ENOENT errors with AtomicI32 dedup and AtomicBool one-shot guards for boot timeline JSON - Add driver-manager SIGTERM handler, ACPI bus registration, --status mode, driver reap loop, graceful shutdown, and reduced deferred retries (30→3)
17 lines
813 B
Diff
17 lines
813 B
Diff
--- a/drivers/pcid/src/main.rs
|
|
+++ b/drivers/pcid/src/main.rs
|
|
@@ -262,11 +262,10 @@
|
|
let access_fd = socket
|
|
.create_this_scheme_fd(0, access_id, syscall::O_RDWR, 0)
|
|
.expect("failed to issue this resource");
|
|
- let access_bytes = access_fd.to_ne_bytes();
|
|
if let Err(err) = register_pci.call_wo(
|
|
- &access_bytes,
|
|
- syscall::CallFlags::WRITE | syscall::CallFlags::FD,
|
|
&[],
|
|
+ syscall::CallFlags::WRITE | syscall::CallFlags::FD,
|
|
+ &[access_fd as u64],
|
|
) {
|
|
warn!("pcid: failed to send pci_fd to acpid (error: {}). Running without ACPI integration.", err);
|
|
}
|