Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2584301ybb; Sun, 22 Mar 2020 02:56:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtjKuI8XyDnBm+5+I6K1JynohClYsgKzsuaejoflW7FEFrMtvQNZdCNPe4QRcfSYoMmXutU X-Received: by 2002:a9d:3f2:: with SMTP id f105mr4116088otf.187.1584870990360; Sun, 22 Mar 2020 02:56:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584870990; cv=none; d=google.com; s=arc-20160816; b=wVnImf2q2nRdiES42Y+hYgWlNuMA2OZFigxy6YNTr92tUFW6wblJWP0o5XyhdsjThb jYB148yTDcQzTKvEhNl2h+yx0KaSsDa1zJXYBKdUVuxCY0cT1FHQhP/hN2XTvV0Nxnig 6dzNm0F3+hqr6u8vX93SUF7Aax0XLar8vVR8n2H16rGqW+uQYwKJhW1M0wdwQf2+obnI 6Sis94J9ra8yDatf6kYmFvb+GKRZpBSGdg2jkCJHcMTJyG3d/nGaZCGyi4HwCFUZabjy xE1fcM7L+37M6Ob36QFNWcVStf+VY2L4bLwBkQxAo8P0ysoYqYl6cU77NYt9JtPHBBZU b3Dg== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/2MzkSElXxPR2YxyIoEkVcfa13iFyx9aLxRmU5HJX8k=; b=QFccyEj4eHHk0b1SfE2oUmrt/HM++j+iCI8g5LQ/WAV/+QwuVGDm0V5dSGdFVIfCfd oLkW1V93/G274rZeYKqakYS2/DXdb3eQNkIWkBYxKzYu1+tqK1iQb83FTBSR3qtzlLRo o+7C7jE1bUsg/QGoM9XH0MVmg+otSWuLqUbqD1zxcfX/FDLAYrF0jUFV9iA/ikmUd71n CO5OGkbPzxTB7UDZx6pMjfHUpnSfyWmAITtqHYLCiabiGOEZ09oK0V5xSfkGSExu2TE1 0yBlitIAdsrQr9IqF0yzJvlpaxi+COi6e+T0Uz5TmB9gVutFHn3LhxzKSvS8p4idnQRe 0/Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="pqI0/sUy"; 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 p15si3313528oto.160.2020.03.22.02.56.06; Sun, 22 Mar 2020 02:56:30 -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=fail header.i=@gmail.com header.s=20161025 header.b="pqI0/sUy"; 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 S1726912AbgCVJzi (ORCPT + 99 others); Sun, 22 Mar 2020 05:55:38 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:44330 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726866AbgCVJzi (ORCPT ); Sun, 22 Mar 2020 05:55:38 -0400 Received: by mail-pl1-f195.google.com with SMTP id h11so4528243plr.11; Sun, 22 Mar 2020 02:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/2MzkSElXxPR2YxyIoEkVcfa13iFyx9aLxRmU5HJX8k=; b=pqI0/sUylZqVpvTeukqO0MzSGLGwLVzv687iis5NqUEJLloAtRMa2uReoeRAoSoOXl oI6RBN9HGFt8mkmepYg/DAn7nd1uaabCpTukKQN9ejdclf447xWqf2bEUrfieAn31ahG VALfXlGCcWmEL+M0sTYxXJg6V3xTKAda5OZ1qcmfnPtOoV2rnScCd32Tl383fqtmZRlP PmrlVPYXv0T+VHymnjBH9b4P7Vch5pIlmpegQmivHi5DSoerHGZsKVDE3zcdsJtQ1aiy ptvmBG0E1MHra4CnVFIND/pI4CNPVMQZrUAYfbPFfQcggSgRNSM14oBg2/770GOk4A5v z8kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=/2MzkSElXxPR2YxyIoEkVcfa13iFyx9aLxRmU5HJX8k=; b=qGUCgw/uu70TsOAz04GS5kP5/M4SkvRyPORx+Tsd2RDA3pCIpNFU/S/OW8O+5PWY4g n9EHXJifMiDXVWYv2WkrMERC2YkbL/xJwvjBTBYrd/YW5nLEY+62AVzdkB9zROIVqjiL xeslPhVj/O7PGeSY9bhlkmwNQ2Qcy51XiOQBlujUXykfp39JozP34cI1RLX3nLMarMnc aWf8fb1BoeiUiEIiuhsMTaZhavubdimLeIKbAOf0SVA2I6D8776/cXeiJpHRJyka99Pi 8h8t5UG+CeNivnAa2lr5XbcVmxdAP90Je294tl69sqnfmOg57N4fI+bO9lvDLz6WdRVZ Kv2A== X-Gm-Message-State: ANhLgQ3gP5QvSf6Kh4ZV0JVZLsPpGE5XLr10BJ8ip4R7VCjrwxsI1AD7 5IM7gqnzuWLV1fXmhpVZ02k= X-Received: by 2002:a17:90b:300c:: with SMTP id hg12mr17559132pjb.96.1584870936422; Sun, 22 Mar 2020 02:55:36 -0700 (PDT) Received: from xps.vpn2.bfsu.edu.cn ([103.125.232.133]) by smtp.gmail.com with ESMTPSA id h64sm9963548pfg.191.2020.03.22.02.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2020 02:55:35 -0700 (PDT) From: YunQiang Su To: mtk.manpages@gmail.com Cc: linux-mips@vger.kernel.org, linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, YunQiang Su Subject: [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level Date: Sun, 22 Mar 2020 17:55:27 +0800 Message-Id: <20200322095527.397716-1-syq@debian.org> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ---- 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