Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1258064pxx; Tue, 27 Oct 2020 12:02:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWXIU67kAOT6tcyFvp9E6WG4X0URos8CLKqLcNSEVx0dMj/kShcm2xz4mpARszC4a7IYRz X-Received: by 2002:a05:6402:1c10:: with SMTP id ck16mr3909771edb.7.1603825340478; Tue, 27 Oct 2020 12:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603825340; cv=none; d=google.com; s=arc-20160816; b=sChIfw06cl6szpgy3yCiVjcaGEqVrb/rzBgxTftFU9HP6dekmfUCQp24Jt8mYEANTE b6REb3fDfsrgIp5O2hAKMP91H0M8nnuL3aV/jpwtjptHjh4F9wW+VYLe/DRSVfvjPGWp rZA83CkiLm4WzfD3Y7iCxopc0opLE0dJD+hiyjeP7saUbCOXpoZdCrMmi5EoWqkM5K/s Nu7NhJewwtthFjHMuLLjfhjilv+fURsmda8ZD3PBHcyphbLWlUeyY4SLakZ0fPrQjAAv 1VnMdkEaj+XyX+oTGlmfp14UuGJyb9IDyAs/NgV7t1zypIIO0uox62HJGdjUDzzOLzQr r1/Q== 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=T8qt7b9RYX0/JbBHAVI6CVR9NfmtygZo5Xy/qDpfcys=; b=QPb4r5/QSWzooUaQwDqF2QS/NM7febS+XJp1slRFbzsjrCfr8LtkyiHomi5pkYASuz wbDnEyz9qQ2aJFngTMcTqBKqBOMfJ2ew0wCnSS7KgwpcOX2hM0jcbKCbGClo3YuoBQhI 8s/DI35pu2338nOUuU+TtzOEq3gQC7rDrsoEGSuHswtdqGUwI95Axr+11rkKlhtBrvWD uQdxqxiQBTPRfLd+U8l5ZCOD4GNsjPqo4y0N0G3logWzf8c9efGXMgbRRK0gp9vZPMsA TCAyr+4LEUmURIRCpFpyU4skfm/CS7ulUs6ruCpYy4U/lCyE3csJbsTpacyuFmX6SOXT pHXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZzAkbfRq; 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 d19si1587328ejr.473.2020.10.27.12.01.58; Tue, 27 Oct 2020 12:02:20 -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=ZzAkbfRq; 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 S2501875AbgJ0AjB (ORCPT + 99 others); Mon, 26 Oct 2020 20:39:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:50134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409135AbgJZXue (ORCPT ); Mon, 26 Oct 2020 19:50:34 -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 EBAD720773; Mon, 26 Oct 2020 23:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603756233; bh=FwGCC5je+qSALh6pUyJFCTlFd8RGLBo3/olgLlei+uQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZzAkbfRq/w/rOVQVB6OPm10O49lsC9XqUqiOf6emtf/HuLH2QpY9aoFWSoSNogNsv OGqGBt7EKJNila2g5xUCAv7LA2Ob8TkIlOsexWfpqXYJ50EcXXkfZSF4Q4IzY91V/R T0RiR1x7PgD+p/CCe7b1eeMG7G5D3Wqq9gDruyhA= 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 5.9 071/147] riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO Date: Mon, 26 Oct 2020 19:47:49 -0400 Message-Id: <20201026234905.1022767-71-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201026234905.1022767-1-sashal@kernel.org> References: <20201026234905.1022767-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 d86cb17bbabe6..22e0ae8884061 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.25.1