"Exclusive" Resources That Are Not Exclusive - The Case of Shared GPIOs in DT Systems
Linux Plumbers Conference via YouTube
Python, Prompt Engineering, Data Science — Build the Skills Employers Want Now
Lead AI Strategy with UCSB's Agentic AI Program — Microsoft Certified
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the complexities of GPIO resource management in Linux kernel systems through this 19-minute conference talk that examines the fundamental contradiction between the exclusive nature of GPIO consumer APIs and real-world hardware designs where multiple devices share the same GPIO pins. Learn about the challenges kernel engineers face when device-tree models reference the same GPIO across different device nodes, creating conflicts between drivers that need to request the same line. Discover existing infrastructure solutions like the reset-gpios property handled by reset core, and understand why current workarounds involving driver "fights" over GPIOs lack proper concurrency protection. Examine complex scenarios such as the PERST# signal in PCI systems where logical behavior requires coordinated control across multiple users. Gain insights into the detailed problems, existing solutions, ongoing development efforts, and the limitations of C code solutions using device-tree information before requiring hardware-specific quirks.
Syllabus
"Exclusive" resources that are not exclusive - the case of shared GPIOs in... Mr Bartosz Golaszewski
Taught by
Linux Plumbers Conference