Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2534930ybb; Sun, 22 Mar 2020 01:34:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv7vGX3S71Lf7K4Xnc7UiiQl2ZQqwRzWNMSLE3/lz1Rz3y+uU+tCKawxEjYy3tbs+XlfD2b X-Received: by 2002:a9d:6c88:: with SMTP id c8mr3039882otr.272.1584866097611; Sun, 22 Mar 2020 01:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584866097; cv=none; d=google.com; s=arc-20160816; b=Pfna2XIICdZlh18keg68K4AOmEHeR3yAZM5QLntLqrC1U83KoFBuqarIxpJGzCOGHz TP4sFPapHj271TdduIOC6YO9ATgQIZDLzQQSGKAF93HlHugBZJxPghtDmEZkDrdV/0BJ uRuT0fM7hdtyoTx4eNfMu536dHSJOfo4OlxXzkigQ4p05AvutLDqqmVf3NcGCyZ/96dk LtOnCMim7IhxUUdmxRPQ0esQvMH/HEX8IhnBb+dGBAYECgD/VHs9yw1LaI93RKnQDzJf ZulcE8AReYJsItAuLsjsnBx1JcofRVHsueHeZ9xXxPjrd5FqQLCPkrCVT/tlt4ynhLYY nNxA== 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:cc:to:subject:dkim-signature; bh=GYodu1hNAeAFvsnGp4c01oeXRlI7ca0lNBKuCrt4USY=; b=AEZwVb4UjqSL8flB39HHWm4ZtRcak5bP4wVh42XvY8e/WKnphQGSTcxRmcV92I6TDa cmFQ6IsVlbAy+wR0NVI+srRIUvfmLR59Nv/LHpNOR0It4tdsYEnKYrF9eHb/se7d/Iae PGDgNKL+uyNevDr4E5+2NyncWZvGLcCkqwnInSsSemL38SjrBFiBOF1iAwDjjCO3Jg7Y i5rLWclQLALl/K3vF7HI1DIDglNF3Wf8C1NGhV44o1Zs60niKgunWttbvphfEan45Zcz AzcPuCnpD56xx+iB5EOz++T2DSXYt/xotXla1udKCtYNIJ1HegcgsDzAFCg86qF78O+A 4LIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=xA9t41iw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si5905314otm.66.2020.03.22.01.34.29; Sun, 22 Mar 2020 01:34:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=xA9t41iw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726810AbgCVIdy (ORCPT + 99 others); Sun, 22 Mar 2020 04:33:54 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38385 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726770AbgCVIdx (ORCPT ); Sun, 22 Mar 2020 04:33:53 -0400 Received: by mail-lj1-f195.google.com with SMTP id w1so11106550ljh.5 for ; Sun, 22 Mar 2020 01:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GYodu1hNAeAFvsnGp4c01oeXRlI7ca0lNBKuCrt4USY=; b=xA9t41iwzU3rmuI25Ttw6r0xiC/AkGVhv2DijmSzsj8OvXACJUJ23FTgsgcgnod1c/ e3q+mRPx6Lhr4FIkaLnzxWjCp05TFrx4mjWhsPWhpas0AFonhcI8TwMMTJz5izVE2fjR jrkk/4ciPyk/4dVj8G2B/LYhUzEHXktfQ2TOo3nuHqjbUCpwDvHkSzmTnzxrkk0eDEOc p+ekQiVSMWezqPdJlM3dOrin1KVYvYkuKxfPIe2LqEPvONtxEWvZM7FcHqGZZVmLTznd IBW6hps1AsKbeQgJ7q+sQwxe9pKkmj/o8DoggCVmzd3ROM31RvG/inq3k7LMdHrbe+3a eiLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GYodu1hNAeAFvsnGp4c01oeXRlI7ca0lNBKuCrt4USY=; b=Kb6S4w6cL0VgU0fM+aVkejRpOpmsNG0kv/2xQD+52F06WOqzfUBky2u4M7I+7VvrLC +oohLOhnGNonGfqfSwHykndl07Qh9jZ5vY3j8UyhiQJIOPttMTirks0iPVifgOzP53bQ vQmtV1oQAFpI1X3eLw6zl1T5p3xHABYRWO1bEnlhPTfXskB3A8yiRSSH4/zdW4cRL7lr xo9VQ8YnWGRh/3ZZZTlmvp6ikdwoQ+fkAIs8oikl4KTyOPmsXZYGI//8ndErphMVxKWh oIyZb2CiASz2y1wUvuERxAnCf9xpIrsnS0n11zNM0dttIz+Tizw2vTkUsUCsSXsfSZGE YkNA== X-Gm-Message-State: ANhLgQ0fTwgDFl3A/w/G9KQXei9wc+mpShZ37RqcuUjghrzOw+p0K8oU bJvfVUfLXLifS4dsfFMK0076JXehFjgOvA== X-Received: by 2002:a05:651c:106c:: with SMTP id y12mr2510877ljm.170.1584866030990; Sun, 22 Mar 2020 01:33:50 -0700 (PDT) Received: from ?IPv6:2a00:1fa0:4416:1ee0:bdcc:9012:53a3:648d? ([2a00:1fa0:4416:1ee0:bdcc:9012:53a3:648d]) by smtp.gmail.com with ESMTPSA id d26sm7993714lfm.0.2020.03.22.01.33.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Mar 2020 01:33:50 -0700 (PDT) Subject: Re: [PATCH] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level To: YunQiang Su , mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200322053916.391906-1-syq@debian.org> From: Sergei Shtylyov Message-ID: <4d4b7b0f-7e55-c400-3b5f-5c9a04bac40f@cogentembedded.com> Date: Sun, 22 Mar 2020 11:33:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200322053916.391906-1-syq@debian.org> Content-Type: text/plain; charset=utf-8; format=flowed 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 Hello! On 22.03.2020 8:39, 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 behaivor is different with PowerPC. Behavior. > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22 > Signed-off-by: YunQiang Su > --- > man3/getauxval.3 | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/man3/getauxval.3 b/man3/getauxval.3 > index 456371c6a..518faf5d3 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 identifys the real platform; may differ from Identifies. > +.BR AT_PLATFORM "." > +On MIPS, this identifys the ISA level (Since 5.7). Same here. [...] MBR, Sergei