Page MenuHomeFreeBSD

iichid: Consume GPIO interrupts via cousin interrupt mechanism
Needs ReviewPublic

Authored by obiwac on Tue, Sep 15, 12:55 AM.
Tags
None
Referenced Files
F172696955: D59686.diff
Sun, Sep 20, 7:57 AM
Unknown Object (File)
Fri, Sep 18, 10:17 PM
Unknown Object (File)
Fri, Sep 18, 6:22 PM
Unknown Object (File)
Thu, Sep 17, 5:19 AM
Unknown Object (File)
Wed, Sep 16, 10:23 PM
Unknown Object (File)
Wed, Sep 16, 7:45 PM
Unknown Object (File)
Wed, Sep 16, 7:47 AM
Unknown Object (File)
Tue, Sep 15, 8:39 AM
Subscribers

Details

Reviewers
aokblast
Summary

When the normal IRQ resource allocation fails (e.g. on x86 when the
touchpad interrupt comes from a cousin GPIO controller rather than an
ancestor PIC), register as a cousin interrupt consumer.

When the GPIO interrupt source attaches later, the setup callback
disables sampling mode in favor of the direct interrupt. If the source
detaches, re-register the request and fall back to sampling.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76912
Build 73795: arc lint + arc unit