Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp881576ybt; Tue, 7 Jul 2020 02:34:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFn2lJQdKQkOI/TVOQ3HQUA8joTrB4juGLL0TCMoxhH331OL+GcEhDfaMkfGEq/YPrVf6F X-Received: by 2002:a05:6402:1805:: with SMTP id g5mr50363456edy.357.1594114450275; Tue, 07 Jul 2020 02:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594114450; cv=none; d=google.com; s=arc-20160816; b=YXwo8b9W5Pfqtz0g+Oq44OdYCWW4eMj1MjNSapVYDyOHrwjD5lf842ROgxwcxyMRQo 1+ggixhM0ltFmLthL0tpYBTge+rw2ATPISh5PrBXyNeanzp8SvpdIPk1EPEpdOhKSiCH ScmI8QAPfTCBin1ZJOZ9CQLGeSJevSM2Q8ZSszmA5oechIJTKWGGJTgIz/rZNBYB7jEL otQ/mh2ftMecVKvLQct0yhUQDmuDYgRzhVaz8m2bUg1JvgtRFFBxnrXftPGYVDZ3CMo5 WX581hoLEgHQ9zG40SF37J27Q7X2FHykc7pXmmSFQFP2wphEtklNLDv5SN/4PW6e7dKz XBhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UfuIz4UHBMOwSxX1pJVc5YXivVtB5zjr8vmw0wj96hY=; b=nJ4kOxAO3OPJBasjQ7+f3fwqxk29/aA2PG1h97IUDDm9cnp0xEyE3S/kfVRJrWByXo Thu3lwmqHd5RuYwE0cj+BF+VQE5ofgMlkPg6YTOlza+lS5Ajo8TnOTl9nbPruKwIJE1c eWsBgilUeD/LolfWawsE83m/pu+nXB/N6OaPjGykY8pRYjUsjg0Zmd3NL5hEMMvubePr Ts1UPXy57EIvfWdzLkA/zQzBHuT7xtAJeIWLqkkj02BmD6h5CpDOSXtrNScSTaDIkNbs kve2YpsMQLj0jxhoVwfrZICcW6UxKlMnmbrIL23u2z8ocOfLQfK5atUhuzQ+At9klBXY zD8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=jdmRppII; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si15260154edn.528.2020.07.07.02.33.46; Tue, 07 Jul 2020 02:34:10 -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=@sifive.com header.s=google header.b=jdmRppII; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727097AbgGGJcv (ORCPT + 99 others); Tue, 7 Jul 2020 05:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725825AbgGGJcv (ORCPT ); Tue, 7 Jul 2020 05:32:51 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7A95C061755 for ; Tue, 7 Jul 2020 02:32:50 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id l63so32939537oih.13 for ; Tue, 07 Jul 2020 02:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=UfuIz4UHBMOwSxX1pJVc5YXivVtB5zjr8vmw0wj96hY=; b=jdmRppIIVdsnJlbD/8XOFXCflBAVypl8ziuHJdOlL3dIlATUfGDLUbXYFmanXFZVLV Tqd7k4K1F2R1YuWJPp71Z76qdEHlyfRWH7niBZiiGEvfNxv4XdSZiYBW3G/3wKq3DFzY 62so5j0QN+3PyXJ09luDc5ZClhOEF8/BB58+wJlL4cgCocSxZz0T9Uik4uA826+RB0d7 UF0/tBPLrpEPnfEA3scjKK6/By0DGz/tA+ljQyJKC/GVyt0jvP+BIVDZkddeFnUp1CS+ d6lCBFU0Oz7itQuAtG4CQEIfkkPBxo9AxltHqVsVGBNYs/Yr797FUUIklumJKTnZStoJ nvGw== 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; bh=UfuIz4UHBMOwSxX1pJVc5YXivVtB5zjr8vmw0wj96hY=; b=h6KwUm2agaY5gLPuR1JuQ0eHfKne5+blugglxFTCRRLCXHFckd5BxFi4lUEU/0EUhD vIzsSy3OYHDjTJCKmRag4lW2YNLnkzM/Z/E3aSmveN50lWx1gYqesKzccUlC/jLFkqld jMiv9z2m7GbufxnA9FJOSbIiA+rBTQgZz9KQa8GydnH+ShfYH1ocsGGUBW7NqcyMUjgH V4GfcbmJOS//E0Zg79OeSV+/AnltKI6uASic1rkJ90XKgA89YjZ24nXSTvvVpSqDw7xV 7pqBcgTN+urBoAsyM4T/+nwEZmsgNiaTfraw2zuxRAViX+4h3+F5mSqa94h56cLUJxB/ lfJw== X-Gm-Message-State: AOAM532jJFgTW0OZy0CGKS6wz+xTfDdjUF1kFbXFT+k9STZjd2Z64GB1 5vvydRbfrH2Iwo+Uo17M+Onp5TQ18/gIkLqAj46D6A== X-Received: by 2002:aca:d509:: with SMTP id m9mr2402280oig.116.1594114370298; Tue, 07 Jul 2020 02:32:50 -0700 (PDT) MIME-Version: 1.0 References: <20200623080238.122973-1-zong.li@sifive.com> In-Reply-To: <20200623080238.122973-1-zong.li@sifive.com> From: Zong Li Date: Tue, 7 Jul 2020 17:32:39 +0800 Message-ID: Subject: Re: [PATCH] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO To: Paul Walmsley , Palmer Dabbelt , linux-riscv , "linux-kernel@vger.kernel.org List" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 23, 2020 at 4:02 PM Zong Li wrote: > > 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 > --- > 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 d86cb17bbabe..22e0ae888406 100644 > --- a/arch/riscv/include/uapi/asm/auxvec.h > +++ b/arch/riscv/include/uapi/asm/auxvec.h > @@ -10,4 +10,7 @@ > /* vDSO location */ > #define AT_SYSINFO_EHDR 33 > > +/* entries in ARCH_DLINFO */ > +#define AT_VECTOR_SIZE_ARCH 1 > + > #endif /* _UAPI_ASM_RISCV_AUXVEC_H */ > -- > 2.27.0 > Hi all, I put this patch into other patch series. Please ignore this single one. Thanks. http://lists.infradead.org/pipermail/linux-riscv/2020-July/000882.html