Thread (14 messages) 14 messages, 5 authors, 2020-05-06

Re: Adding arch-specific user ABI documentation in linux-man

From: Dave Martin <Dave.Martin@arm.com>
Date: 2020-05-05 10:55:36
Also in: linux-arch, linux-man

On Tue, May 05, 2020 at 07:45:32AM +0000, Walter Harms wrote:
Hi Dave,
you are pointing to an (IMHO) interesting question.
How to document different CPUs ?
Given that an operating system should hide the different CPU's using
CPU specific features should be used sparsely at best.
Agreed!  But there are real situations where cpu specifics can't be
avoided, and having documentation will help people to use those features
correctly.
the easy part are adds-on like flags for prctrl etc. simply add it to the page.
For prctl, that makes sense (it's a jumble of arch specifics already).

But would it be considered a problem if the ptrace page, say, becomes
80% arch-specific stuff?  That page is cumbersome enough already...
Other things should go to a cpu specific pages (can of worms). The problem will
be to keep that small but informative. I have no idea about the level of detail
(and i have worked with a range of CPUs) that could be interesting for a programmer.
An of cause every other CPU now needs also a page.
Fair enough.

Cheers
---Dave

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help