Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1488173ybb; Thu, 26 Mar 2020 01:31:44 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu4rYp1C4rGMEidV37Ih6BdBfX2R8LjPweRFHHGSWcRXddnCyzJ7fi9m35v3lJApbsUcl1O X-Received: by 2002:aca:1e1a:: with SMTP id m26mr1037633oic.39.1585211504549; Thu, 26 Mar 2020 01:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585211504; cv=none; d=google.com; s=arc-20160816; b=mhLYuuYFM95Lox5IXTberJOYeJwgZqewnxfQD86G6ehdW6YYYKKA8+zHn2dkkbXE6k 6cLYHmAmIAT5rKqIDw2ZdHv2267MRJCnNcBnaJ/XwjjwsudQqkt5R25PbNxyneAKYE6l pZXTNnjD3sfYAqt38EUJODBUquz4DTw+4LSAYEf2/Z2SVg+fdJgFOCgNhFkcTGFSNzRH 5MRGfCcOywWsQl/wu7xrM2Ecd4DpHuCkbb1xcOXYj+ESIvKXNVAaRwTJ9PCcscIh8KGB dMaUp5/xwuYHvzu0MBjERxFOU8tCifx49SA2W5I5vmM7qz2VMchXGqh7YfdkmxfAXRjS qPeA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=QiwVFp5LUUiCoZ+mbMiCA63tGKBmmVVSOfwfMfyme64=; b=g0LbYTajjGpA8SzAy30h1/FRqPFxmiqq6lMCO1bADfiEraiaL6IEbRxWlIFeg35ULb UHyZC6DqdHg5l1zTyYvAt1L17ZDa6AAgt+zHbWy3zutAqWd+vA0hKkQ3yRuRXnk4trqY 1MV3RIPMLMZaNzKpfdp/cAZxDObC2GsqHcRmVnNSiZqdNjCJPZT07oHbwjQEQbM7lWF7 gK9lc68BAPk64eWN2vxYDRplSmEGlCQP502MRWvkReNVo9DdoB+/gr6YsGa87+i9W+o6 Hmfp4sN1GrZAtYX1jt7PuyD6jxAlzphdKxeG/r+kElnvsnKcsFDvf6wRkY5HoKjjQ8K2 6few== ARC-Authentication-Results: i=1; mx.google.com; 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 q7si728709otk.77.2020.03.26.01.31.29; Thu, 26 Mar 2020 01:31:44 -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; 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 S1727560AbgCZIbF convert rfc822-to-8bit (ORCPT + 99 others); Thu, 26 Mar 2020 04:31:05 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:34240 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbgCZIbE (ORCPT ); Thu, 26 Mar 2020 04:31:04 -0400 Received: by mail-qt1-f195.google.com with SMTP id 10so4591412qtp.1; Thu, 26 Mar 2020 01:31:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=1uL6T0AlsEjbmQmM6hXpAIWUikHWCOqgCwWrHStOPM4=; b=JH3O4DFcQPzWFJmBjC/6CSDEMrX1UAowmp4PKE4vqLdFoiKqXriar8u53ExFjXN7wR KapHDumX8ckM5BRYaqLwhT0TzsOvgmkbaJJAJEcpRtaqROujK51FlxjgO/7p8jXaNvWg Pi/r326GHl07uzTo8ZESydPHPwEsKwt2HdD05EQhsNIkUI4BtNNfYXmJr4JPPqvmS0/V JpSbD06R1HVaJXdAMws0Qxhq3bao/4/K9MR1wjGNlCGD+vGApDevKPIXkxXg1oBNVIPN AWSIyWgxpFOxz9+vqGZ6YJQ1Dtemiusnr95jTXYnCaXCmDJx4DD7x1O0Aqj0TONMmsTW rnCQ== X-Gm-Message-State: ANhLgQ2fvmi7DBGwwJWpnv8fq30xkfcNcUlKbTndNi9CcuiFKlqTOJv6 suub27wH7GWmXgk2evrxJLaWQOvh3b0U0F0M4ic= X-Received: by 2002:ac8:7449:: with SMTP id h9mr7109717qtr.386.1585211464008; Thu, 26 Mar 2020 01:31:04 -0700 (PDT) MIME-Version: 1.0 References: <20200322095527.397716-1-syq@debian.org> <827f0ae8-2e97-5eeb-387d-275d8aac98ad@gmail.com> In-Reply-To: <827f0ae8-2e97-5eeb-387d-275d8aac98ad@gmail.com> From: YunQiang Su Date: Thu, 26 Mar 2020 16:30:52 +0800 Message-ID: Subject: Re: [PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level To: "Michael Kerrisk (man-pages)" Cc: linux-mips , linux-man@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael Kerrisk (man-pages) 于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 > > > > ---- > > 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/