Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1173190ybz; Thu, 16 Apr 2020 04:23:56 -0700 (PDT) X-Google-Smtp-Source: APiQypIx3lYB8PyDtiTOnmnKLWA9xQUjvCzvvTzwjdrb4PKC7XrshtG6peVedkHItgc0lyBIzzJV X-Received: by 2002:a05:6402:8d8:: with SMTP id d24mr30496389edz.173.1587036235884; Thu, 16 Apr 2020 04:23:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587036235; cv=none; d=google.com; s=arc-20160816; b=RxgFFChhubqB7ysYzUzllZtkgUr4aaoV2XC4bspLeIZdvq+11PyaiQbYOqO7dpivoU TVmPFkiby7TGKyy7YvU6hzalGmUcSQkVQUIgCzwlq4ajolt6ZnRznEa/6pz95X5gb/TI wXt4vxVfYagWyT7dSYgR46gwaB53FIzL4GKG2bdEpGvx6o78clNAA59w/F7C9nwR4hAt apxUUxeggEhlpOfoojlwdKcA0/dZgN/5Eqkp6pnWF7/B/BE4vjRucxnvXSscXl1YUqQr IbnzeY1gwkqV94UCMZd33Xn+Jen0eYdJ8ALt1dcKBF7RWlcfKj6UFnHdL0ZYMoZ4Vq1a 34wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:cc:dkim-signature; bh=yrEAo/Qlbfc9GeX5Dwif5D5gCiJZ0+6j0nBqBeNFgGI=; b=nW6cQJSanVOzm1mh1cbjizvUWl9gbqbMlLnLhneD/oJHgwJmZky2Bbj3VFOm98R56l QKx9qMzg1r/80by6IxXTVYNABbzW/CQ25pQOU/Ay20/7ziOhAfdaoGjgKolE5+xoJ9s4 SSXUazL1GhTCQAtW8/cYsGpbvRQBf7tq9zyBbJiIMLwTDymOM088w0T9QXigO3F8Evqr FPPB6X7KDTsPEPz7NHthAnM5EjvlphQP0kUPuezSEOaHsQvadCkU9ATIWMfzJV95FKE+ F0vyguOAQRho+uhhwF5dG6pGRVyacMUhgcP0rLx3sjZm466K9zlqynUhcgCr+EP2eGoM zAQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pjd0p1TG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si1202535ejs.396.2020.04.16.04.23.32; Thu, 16 Apr 2020 04:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pjd0p1TG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2632893AbgDPLT4 (ORCPT + 99 others); Thu, 16 Apr 2020 07:19:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2632775AbgDPLOK (ORCPT ); Thu, 16 Apr 2020 07:14:10 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CBEDC061A0C; Thu, 16 Apr 2020 04:14:10 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id i10so4309631wrv.10; Thu, 16 Apr 2020 04:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yrEAo/Qlbfc9GeX5Dwif5D5gCiJZ0+6j0nBqBeNFgGI=; b=pjd0p1TG20XK+VM3xpl2elbHjVE8BdV/MM3NVaDdeZ84c0vMPxIOgiExN8sG4Rbl/N 1J2GsvesXPUCjUkWiKuALhwm7M4E5YeabuXrWhCih8+zLmXArmEw3HUnjI4NcImef+Hv T4dYMeFfSHccJQefBSDA+gy5VR/7P+/UprrQt/RmTixRftDa5RUpkqukwMaHbw0FxqYR w4HhlT0/oae6x+Sr7gFfy+YwSzUOgFXhV6OBrOc7jdr3gwtctDvWfndGdjBY3RpDn6we Sn41PQEgDBdWFTYTeTgah/R2IWBPUR1nUizhY+x6Dx725W9gi2NxwZLSENCkEota1qX6 ta8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yrEAo/Qlbfc9GeX5Dwif5D5gCiJZ0+6j0nBqBeNFgGI=; b=uiNtfnCTNnBh9p84T0mHHsTKkcKPeSBAqYQvDwf40cC2MxD6bXtez2Hvx1BCCc/Owt bRK+vl3xPp5V7rYGarF2pTRE4d3zP+ebII0l3wz+FhFw8XiDvZb+Z20FrDGonrtwvFoS gU8gZQXNiNQn4x361WtMCIhWwhBpzYsBdeL9neNSZC/uenxagJyzV4Y0RNFZlwqeB6dA H5qVDlRkyOjYEL663zsrQRcvBNU9pooCdsL/T2Uvx65DqsN6s0Gzcv7wxhVBZxU3Xd6W GU01GTjOkZU7uajXO8A5OiFP9budIyG8XqDmJoTwMowBXjQbNtLI0A/CaVyYot2oTFXz BvWQ== X-Gm-Message-State: AGi0PuZviedjg1ne1FeyJ91aUuF0UwUuuGdXRZqowZOI6i6l8kQzqvzR r4j0VH+6iMd0ggpzVMefi4BR//sO X-Received: by 2002:adf:eccb:: with SMTP id s11mr24435059wro.138.1587035648543; Thu, 16 Apr 2020 04:14:08 -0700 (PDT) Received: from ?IPv6:2001:a61:2482:101:3351:6160:8173:cc31? ([2001:a61:2482:101:3351:6160:8173:cc31]) by smtp.gmail.com with ESMTPSA id y20sm27927051wra.79.2020.04.16.04.14.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Apr 2020 04:14:08 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-mips@vger.kernel.org, linux-man@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level To: YunQiang Su References: <20200322095527.397716-1-syq@debian.org> From: "Michael Kerrisk (man-pages)" Message-ID: <74dc42c8-d249-828e-7cc8-54e63d5e92a8@gmail.com> Date: Thu, 16 Apr 2020 13:14:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200322095527.397716-1-syq@debian.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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/