Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1022110pxb; Thu, 5 Nov 2020 21:30:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2a9E4sMT/4xv/jjFy4Ou1TzSyrTQRmQX7Qn3bcx6B9pAV0EyHEoQuVTBW0oCoU6DHMbl3 X-Received: by 2002:a17:906:2b8b:: with SMTP id m11mr354689ejg.457.1604640639651; Thu, 05 Nov 2020 21:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604640639; cv=none; d=google.com; s=arc-20160816; b=a9+fYaha+Q27AfNTACfRw8OHoOzbODR3xmKCFsgVqxJjxFz8YEmj/vfxjcDCWcQcc3 p+P7U4rVPo62kZCeqeOBURFF6Ivq5WflGYXLU1qZoFXf3UlUxS65VZrLJob4LtuFT6oL VL2WsPyo5gCNnetOhDpCFfrQ0UYLvYpakC3eDCebfDPN7EFpfFfmQdCsUcWlGquBYoGI arYTsclObEIXm492jGoffaJu2Vo0+8eJ5muLyGneJKqsf70sHQPwUpu+2yd08/7pfhz8 lR1oJjuzo9qfwVxEHfEWaEeU4oXG8xq8S+0kbxXXPry7otkpXO/ZOnY6aWt5cOx2wJQ+ NN/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=EkQLhkGZHqpvuQT2CFN2+E1nRGoyf455nd9ZLIW66dM=; b=VMo/aDC7jkJtO/B386WAMX7pszaW/61zH3j1pJKyFMMd+D05RDTE0j3qP8zgWY/AAk 1KMLnP2BNXF+Xq5roE+iW7kNqIVLe39OmoUuOASpmv1fi/LuErYB+3ZujXMwEI89l6lG fqGFRxFRCQaDPzjr09UBehSfb4rbjlIdGtKNGdZzU6vc4RYBAzh/u2V0ifx2vmwlrxUr KJbKZzDQ/V9JIp8jNB+/lcUfPlUBq0dXUkkmnMG7eHU7gyCrzY6g4T9C0902jRBaLq5G JfrQDP3Noxmb5LJ4Le5E22SNtBlw5+BT4UjfYSvPc1j/l0Bg5NDeH7LPE50SkG3LFVQK ZVaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kHPaqhNU; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l17si84887ejp.348.2020.11.05.21.30.16; Thu, 05 Nov 2020 21:30:39 -0800 (PST) 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=@google.com header.s=20161025 header.b=kHPaqhNU; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726156AbgKFF0m (ORCPT + 99 others); Fri, 6 Nov 2020 00:26:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgKFF0l (ORCPT ); Fri, 6 Nov 2020 00:26:41 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5B8FC0613CF for ; Thu, 5 Nov 2020 21:26:41 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id w4so23841pgg.13 for ; Thu, 05 Nov 2020 21:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=EkQLhkGZHqpvuQT2CFN2+E1nRGoyf455nd9ZLIW66dM=; b=kHPaqhNUPrft4bDa8rGifjMcUdpz202rSSaV36nVs/Hru2LoPXEWCRkzDvufyB9fzW NSoIP9+mGKO9emMplFGwv88J9odD3J+C3hnsgl1EFQh644MZcr2/UFrxZQVSqpdOru1D Cmrl/jkn07BuKlQLVcijDNoSqnDsg+zhyE9lZE6A/7Ls/DXa0twaXKON0tk6fOzMdLib gL6msyEqIGKNhU5JC3o91m1M+BlvLluct1HU7J7JIrtMk9GwU22+beqtoLMAWoO4OSqQ OB3i+sdARPUIfQbirFuZ2Wep0ZTe9EYYEVKQCLpVY6L+cbPRusdhKmqOFesXtZC533pF /3eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=EkQLhkGZHqpvuQT2CFN2+E1nRGoyf455nd9ZLIW66dM=; b=PlDKuGS6mU3CDu9XIbsqfzfBYgcVKMD0b5j7/LrXqqgFDcj3DSIa2ZJnCT7eyHTwyz lexnUJf6ayPtWR5t6qnSO7rw+pZk3/ZA1lxmBX4zJY9bescfVlF0xn//S2kBWPVc/FHE ZOj8tP2BoCK/RM3Zr5w2VNhTntnV5T8x2JveRpCTF1sehhbQrbOjpn0QR7tZDEF2YZ/u Nfw03rPUO2Se3V1GQ0xir9EC7MKL9ArzU/G8FJTfYUj2zr96j4Byh2VliQjIrxgcARiC op+dPDNabXQI3jThrxRKaMMDk8Ma2+fDQ6vyhMGmNG6U370rIIvoVUmNnVXUFLQ8ly2v Agdw== X-Gm-Message-State: AOAM530F0KyHKWUxpVIGLIOV5xJ6XovuimOZ3Am8ktZBpTUSeB3X+Nd8 14qbPdbSRgcbHSFDNvaqJ6YymwGoj+48TPE7 X-Received: by 2002:a63:db18:: with SMTP id e24mr312795pgg.155.1604640400933; Thu, 05 Nov 2020 21:26:40 -0800 (PST) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id g7sm499742pjl.11.2020.11.05.21.26.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 21:26:40 -0800 (PST) Date: Thu, 05 Nov 2020 21:26:40 -0800 (PST) X-Google-Original-Date: Thu, 05 Nov 2020 21:26:38 PST (-0800) Subject: Re: [PATCH AUTOSEL 4.19 28/60] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO In-Reply-To: <20201027000415.1026364-28-sashal@kernel.org> CC: linux-kernel@vger.kernel.org, stable@vger.kernel.org, zong.li@sifive.com, penberg@kernel.org, sashal@kernel.org, linux-riscv@lists.infradead.org From: Palmer Dabbelt To: sashal@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Oct 2020 17:03:43 PDT (-0700), sashal@kernel.org wrote: > From: Zong Li > > [ Upstream commit b5fca7c55f9fbab5ad732c3bce00f31af6ba5cfa ] > > AT_VECTOR_SIZE_ARCH should be defined with the maximum number of > NEW_AUX_ENT entries that ARCH_DLINFO can contain, but it wasn't defined > for RISC-V at all even though ARCH_DLINFO will contain one NEW_AUX_ENT > for the VDSO address. > > Signed-off-by: Zong Li > Reviewed-by: Palmer Dabbelt > Reviewed-by: Pekka Enberg > Signed-off-by: Palmer Dabbelt > Signed-off-by: Sasha Levin > --- > arch/riscv/include/uapi/asm/auxvec.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/riscv/include/uapi/asm/auxvec.h b/arch/riscv/include/uapi/asm/auxvec.h > index 1376515547cda..ed7bf7c7add5f 100644 > --- a/arch/riscv/include/uapi/asm/auxvec.h > +++ b/arch/riscv/include/uapi/asm/auxvec.h > @@ -21,4 +21,7 @@ > /* vDSO location */ > #define AT_SYSINFO_EHDR 33 > > +/* entries in ARCH_DLINFO */ > +#define AT_VECTOR_SIZE_ARCH 1 > + > #endif /* _UAPI_ASM_RISCV_AUXVEC_H */ Thanks. This should have been Fixes: 2129a235c098 ("RISC-V: ELF and module implementation") which is essentially all the way back to the beginning.