Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp933533pxx; Tue, 27 Oct 2020 04:22:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybOZmwEOAFfY4oQqMjWURjzh0zzyKaWUtCL4rM0p9qbGKrSt8NgeIz/jEYI1rdx4rxxPiy X-Received: by 2002:a17:906:9504:: with SMTP id u4mr1872566ejx.19.1603797754017; Tue, 27 Oct 2020 04:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603797754; cv=none; d=google.com; s=arc-20160816; b=S7Mqlk0S8LFvm/Z98rdstLhVaZEtSKvtzxlKRtLgnIpKJP234R+IAhVPAnzi7ZhW1i Gws1nEiKJQ5PHVF3YhbtxoaKA5oJqCZTpIXrv/vQ7tDiyfgRiE4OClqoxnolLRbxUHAV Wz9la9qYXiqJIZemOKBkPbTCYOYGPb35lJ/hiT45Zv13jvTFzNvpZSN7AX7q1gAsbDVA 1SeL3TwUsmvBBhXkP4H5cydaQDyn/NWGTgvJZCat9F843C0jAWu++v9cPMf+TEA72Kph YLernmEWU2RTQtnzPNKSWi7lwZjWMR2WKgPDlDWO8s9rTjkEVHyjTxva0UhnYaQilphM 8o1w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tMBS+9ePH1AyAopUCKtK+sxkdTaIWWG0TNvehkkRvZM=; b=X6US91EaZqzbRDAT55X4fL1NC/rtMTqW9CtQtKvJ3ADs4DLrL2CwHuzWlezt41jCQa 0LQEASr0JwL/MXmaGMpLfb7/Q3Des0S4BRvz3ie5gl8FeCMlXMxp0wDhdJK3hW69V30x ndedGZ9ciS3eMGfgPV2zDzirs4pNy++FuXYncm5XxkVANb+B/55XpWRXaoLAcNby9Khn +Jn2gwZYXhV80ZI8dpf4vldptpuoPwGf42U6DS56RH+yz9d/IXcqK0ItPjJ/yWBYOxA9 EACN7LFDmXhOICLK+qkp0FUUPLZvF1Frb5qdgQvOc43C3ozNQxddV3JpLUZozRvrqSgO GsKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Dj6Hn/1k"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si658366edc.421.2020.10.27.04.22.12; Tue, 27 Oct 2020 04:22:34 -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=@kernel.org header.s=default header.b="Dj6Hn/1k"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438684AbgJ0AGE (ORCPT + 99 others); Mon, 26 Oct 2020 20:06:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:53676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437804AbgJ0AEu (ORCPT ); Mon, 26 Oct 2020 20:04:50 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3BBD021707; Tue, 27 Oct 2020 00:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603757089; bh=zJP6FABmNY+7aHNngYzTeoWqZzqO+Ut9jn9IXW73IeQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dj6Hn/1kAwpuLf7u0pwZt4gdsVIBbk1Cbq/Yzbwr1VMA/FYp7VD7bzk4KBQe2p521 eeCLj31bj84qqxw6UTKWKUV0cpQYWlYVqrNOkmKJTG+EDH/Ge6JDQxEAf4NKZPMEKZ 4Tc4kju5bcOFp6qUnq0koRvq+0uIph67q8FT4UFU= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Zong Li , Palmer Dabbelt , Pekka Enberg , Sasha Levin , linux-riscv@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 28/60] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO Date: Mon, 26 Oct 2020 20:03:43 -0400 Message-Id: <20201027000415.1026364-28-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201027000415.1026364-1-sashal@kernel.org> References: <20201027000415.1026364-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 */ -- 2.25.1