linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Documentation for /dev/efi_test
@ 2020-12-10 21:49 Heinrich Schuchardt
  2020-12-10 22:58 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2020-12-10 21:49 UTC (permalink / raw)
  To: Ard Biesheuvel, Jonathan Corbet
  Cc: Ivan Hu, Linux Doc Mailing List, linux-efi

Hello Ard, hello Jonathan,

to test UEFI runtime services we have CONFIG_EFI_TEST which provides
/dev/efi_test and a bunch of IOCTLs for excercising the runtime services
(cf. drivers/firmware/efi/test/efi_test.h).

Currently there is no user documentation for this ABI.

Where should the documentation for the ABI be put in the documentation
tree? Is this Documentation/ABI/stable/?

Can includes be referenced in Documentation/ABI/stable/ files using
reStructured text notation?

I am hesitant to put the description into the man-pages project as this
ABI is meant for testing only.

Best regards

Heinrich



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

* Re: [RFC] Documentation for /dev/efi_test
  2020-12-10 21:49 [RFC] Documentation for /dev/efi_test Heinrich Schuchardt
@ 2020-12-10 22:58 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-12-10 22:58 UTC (permalink / raw)
  To: Heinrich Schuchardt
  Cc: Ard Biesheuvel, Ivan Hu, Linux Doc Mailing List, linux-efi

On Thu, 10 Dec 2020 22:49:09 +0100
Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:

> to test UEFI runtime services we have CONFIG_EFI_TEST which provides
> /dev/efi_test and a bunch of IOCTLs for excercising the runtime services
> (cf. drivers/firmware/efi/test/efi_test.h).
> 
> Currently there is no user documentation for this ABI.
> 
> Where should the documentation for the ABI be put in the documentation
> tree? Is this Documentation/ABI/stable/?

To date, nobody has documented ioctl() interfaces under Documentation/ABI;
this probably isn't the time to start.  The best way to document it might
be to put your testing code in the tools/testing directory.  You could
also add something to the userspace-api manual as well, but that might
increase your chances of being committed to maintaining that interface
forever...

Thanks,

jon

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

end of thread, other threads:[~2020-12-10 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-10 21:49 [RFC] Documentation for /dev/efi_test Heinrich Schuchardt
2020-12-10 22:58 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).