All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: driver-api: firmware: clarify userspace requirements
@ 2025-03-14 10:01 Jacek Lawrynowicz
  2025-03-14 12:34 ` Bagas Sanjaya
  2025-03-17 22:53 ` Jonathan Corbet
  0 siblings, 2 replies; 5+ messages in thread
From: Jacek Lawrynowicz @ 2025-03-14 10:01 UTC (permalink / raw)
  To: corbet
  Cc: linux-doc, dri-devel, linux-kernel, simona.vetter, airlied,
	Jacek Lawrynowicz

The guidelines mention that firmware updates can't break the kernel,
but it doesn't state directly that they can't break userspace programs.
Make it explicit that firmware updates cannot break UAPI.

Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
---
 .../driver-api/firmware/firmware-usage-guidelines.rst        | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/driver-api/firmware/firmware-usage-guidelines.rst b/Documentation/driver-api/firmware/firmware-usage-guidelines.rst
index fdcfce42c6d28..5f8f13e2ee510 100644
--- a/Documentation/driver-api/firmware/firmware-usage-guidelines.rst
+++ b/Documentation/driver-api/firmware/firmware-usage-guidelines.rst
@@ -42,3 +42,8 @@ then of course these rules will not apply strictly.)
   deprecating old major versions, then this should only be done as a
   last option, and be stated clearly in all communications.
 
+* Firmware files that affect the User API (UAPI) shall not introduce
+  changes that break existing userspace programs. Updates to such firmware
+  must ensure backward compatibility with existing userspace applications.
+  This includes maintaining consistent interfaces and behaviors that
+  userspace programs rely on.
\ No newline at end of file
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-17 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-14 10:01 [PATCH] docs: driver-api: firmware: clarify userspace requirements Jacek Lawrynowicz
2025-03-14 12:34 ` Bagas Sanjaya
2025-03-17 22:53 ` Jonathan Corbet
2025-03-17 22:56   ` Dave Airlie
2025-03-17 23:06     ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.