* [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
@ 2020-03-22 9:55 YunQiang Su
2020-03-26 8:12 ` Michael Kerrisk (man-pages)
2020-04-16 11:14 ` Michael Kerrisk (man-pages)
0 siblings, 2 replies; 4+ messages in thread
From: YunQiang Su @ 2020-03-22 9:55 UTC (permalink / raw)
To: mtk.manpages; +Cc: linux-mips, linux-man, linux-kernel, YunQiang Su
Since Linux 5.7, on MIPS, we use AT_BASE_PLATFORM to pass ISA level.
The values may be:
mips2, mips3, mips4, mips5,
mips32, mips32r2, mips32r6,
mips64, mips64r2, mips64r6.
This behavior is different with PowerPC.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22
Signed-off-by: YunQiang Su <syq@debian.org>
----
v1 -> v2: fix typo
---
man3/getauxval.3 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/man3/getauxval.3 b/man3/getauxval.3
index 456371c6a..bcc116dd2 100644
--- a/man3/getauxval.3
+++ b/man3/getauxval.3
@@ -60,9 +60,10 @@ values are present on all architectures.
The base address of the program interpreter (usually, the dynamic linker).
.TP
.BR AT_BASE_PLATFORM
-A pointer to a string identifying the real platform; may differ from
-.BR AT_PLATFORM
-(PowerPC only).
+A pointer to a string (PowerPC and MIPS only).
+On PowerPC, this identifies the real platform; may differ from
+.BR AT_PLATFORM "."
+On MIPS, this identifies the ISA level (Since 5.7).
.TP
.BR AT_CLKTCK
The frequency with which
--
2.26.0.rc2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
2020-03-22 9:55 [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level YunQiang Su
@ 2020-03-26 8:12 ` Michael Kerrisk (man-pages)
2020-03-26 8:30 ` YunQiang Su
2020-04-16 11:14 ` Michael Kerrisk (man-pages)
1 sibling, 1 reply; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-03-26 8:12 UTC (permalink / raw)
To: YunQiang Su; +Cc: mtk.manpages, linux-mips, linux-man, linux-kernel
Hello YunQiang Su
On 3/22/20 10:55 AM, YunQiang Su wrote:
> Since Linux 5.7, on MIPS, we use AT_BASE_PLATFORM to pass ISA level.
> The values may be:
> mips2, mips3, mips4, mips5,
> mips32, mips32r2, mips32r6,
> mips64, mips64r2, mips64r6.
>
> This behavior is different with PowerPC.
Thank you for the patch. I see that this is scheduled for
Linux 5.7 (for which the merge window is not yet open).
How certain is it that the feature will land in 5.7?
Thanks,
Michael
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22
> Signed-off-by: YunQiang Su <syq@debian.org>
>
> ----
> v1 -> v2: fix typo
> ---
> man3/getauxval.3 | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/man3/getauxval.3 b/man3/getauxval.3
> index 456371c6a..bcc116dd2 100644
> --- a/man3/getauxval.3
> +++ b/man3/getauxval.3
> @@ -60,9 +60,10 @@ values are present on all architectures.
> The base address of the program interpreter (usually, the dynamic linker).
> .TP
> .BR AT_BASE_PLATFORM
> -A pointer to a string identifying the real platform; may differ from
> -.BR AT_PLATFORM
> -(PowerPC only).
> +A pointer to a string (PowerPC and MIPS only).
> +On PowerPC, this identifies the real platform; may differ from
> +.BR AT_PLATFORM "."
> +On MIPS, this identifies the ISA level (Since 5.7).
> .TP
> .BR AT_CLKTCK
> The frequency with which
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
2020-03-26 8:12 ` Michael Kerrisk (man-pages)
@ 2020-03-26 8:30 ` YunQiang Su
0 siblings, 0 replies; 4+ messages in thread
From: YunQiang Su @ 2020-03-26 8:30 UTC (permalink / raw)
To: Michael Kerrisk (man-pages); +Cc: linux-mips, linux-man, LKML
Michael Kerrisk (man-pages) <mtk.manpages@gmail.com> 于2020年3月26日周四 下午4:12写道:
>
> Hello YunQiang Su
>
> On 3/22/20 10:55 AM, YunQiang Su wrote:
> > Since Linux 5.7, on MIPS, we use AT_BASE_PLATFORM to pass ISA level.
> > The values may be:
> > mips2, mips3, mips4, mips5,
> > mips32, mips32r2, mips32r6,
> > mips64, mips64r2, mips64r6.
> >
> > This behavior is different with PowerPC.
>
> Thank you for the patch. I see that this is scheduled for
> Linux 5.7 (for which the merge window is not yet open).
> How certain is it that the feature will land in 5.7?
It is in mips-next and linux-next now.
>
> Thanks,
>
> Michael
>
> > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22
> > Signed-off-by: YunQiang Su <syq@debian.org>
> >
> > ----
> > v1 -> v2: fix typo
> > ---
> > man3/getauxval.3 | 7 ++++---
> > 1 file changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/man3/getauxval.3 b/man3/getauxval.3
> > index 456371c6a..bcc116dd2 100644
> > --- a/man3/getauxval.3
> > +++ b/man3/getauxval.3
> > @@ -60,9 +60,10 @@ values are present on all architectures.
> > The base address of the program interpreter (usually, the dynamic linker).
> > .TP
> > .BR AT_BASE_PLATFORM
> > -A pointer to a string identifying the real platform; may differ from
> > -.BR AT_PLATFORM
> > -(PowerPC only).
> > +A pointer to a string (PowerPC and MIPS only).
> > +On PowerPC, this identifies the real platform; may differ from
> > +.BR AT_PLATFORM "."
> > +On MIPS, this identifies the ISA level (Since 5.7).
> > .TP
> > .BR AT_CLKTCK
> > The frequency with which
> >
>
>
> --
> Michael Kerrisk
> Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
> Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
2020-03-22 9:55 [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level YunQiang Su
2020-03-26 8:12 ` Michael Kerrisk (man-pages)
@ 2020-04-16 11:14 ` Michael Kerrisk (man-pages)
1 sibling, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-04-16 11:14 UTC (permalink / raw)
To: YunQiang Su; +Cc: mtk.manpages, linux-mips, linux-man, linux-kernel
On 3/22/20 10:55 AM, YunQiang Su wrote:
> Since Linux 5.7, on MIPS, we use AT_BASE_PLATFORM to pass ISA level.
> The values may be:
> mips2, mips3, mips4, mips5,
> mips32, mips32r2, mips32r6,
> mips64, mips64r2, mips64r6.
>
> This behavior is different with PowerPC.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22
> Signed-off-by: YunQiang Su <syq@debian.org>
Hello YunQiang Su,
Thank you. I've applied your patch.
Cheers,
Michael
>
> ----
> v1 -> v2: fix typo
> ---
> man3/getauxval.3 | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/man3/getauxval.3 b/man3/getauxval.3
> index 456371c6a..bcc116dd2 100644
> --- a/man3/getauxval.3
> +++ b/man3/getauxval.3
> @@ -60,9 +60,10 @@ values are present on all architectures.
> The base address of the program interpreter (usually, the dynamic linker).
> .TP
> .BR AT_BASE_PLATFORM
> -A pointer to a string identifying the real platform; may differ from
> -.BR AT_PLATFORM
> -(PowerPC only).
> +A pointer to a string (PowerPC and MIPS only).
> +On PowerPC, this identifies the real platform; may differ from
> +.BR AT_PLATFORM "."
> +On MIPS, this identifies the ISA level (Since 5.7).
> .TP
> .BR AT_CLKTCK
> The frequency with which
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-16 11:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22 9:55 [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level YunQiang Su
2020-03-26 8:12 ` Michael Kerrisk (man-pages)
2020-03-26 8:30 ` YunQiang Su
2020-04-16 11:14 ` Michael Kerrisk (man-pages)
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).