From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.thinkmo.de (s3.thinkmo.de [162.55.237.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AFB62F6591 for ; Thu, 18 Jun 2026 16:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.55.237.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781799155; cv=none; b=iTvYUEd4MIH+FcxcGi/uqVrmz73Vc9DC5SRU9o8odt85gSlKJPbQSbDQGQuGk2sB7kSaWUvH3ByMg1OvrQiFA21Ik5HlnRzFqKk9ToF9UUxV6imQsH9yjH70GZ+fGkxIiV60//69CuM1uubQvNqEFFb6C5hPECwgoln1JXn1ruM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781799155; c=relaxed/simple; bh=SlbwOnnf6k3WMsNUBN+xLrV0Us/0oKewcAMurblpvjI=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=DlE2HBaRfwbS3WaceLMBgOiRVuGdzw/EInPiQjNGZc+Oa7CAUlTmo9c2eBvA0ekIOnIuY4cu/652XtXJxcClZjcI+N9ZN6l6zsFxskbeXQRAM5ZtCTSX93onhX7ZwPzXyWObwgbCiAxYBNT8PZkGXJzCphfkJxCaXjZzsLBvxHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org; spf=fail smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=FOYQ+ewo; arc=none smtp.client-ip=162.55.237.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=debian.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="FOYQ+ewo" Received: from localhost (localhost [127.0.0.1]) by mail.thinkmo.de (Postfix) with ESMTP id 4gh5NH54gwzylW; Thu, 18 Jun 2026 16:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=debian.org; h= content-disposition:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date:received :received; s=mail202007.waldi.user; t=1781799151; bh=0cujWojzlZM 8C2H4+AecRU7nFvcUdw0EKLb/mls3ZfY=; b=FOYQ+ewo7UxysVzmDejuWoviYD/ 9Adfq1MECIK6Ozqbjsvypk9aaG3gfWKuzqXQuPkYSRD5RgAtpdzeByQVqsti1JNe AY67tDKD4iMzhPI60sA8NhnORyI1E4kWuA2PFpNZgAoP3Oc8KvPQDRQZnzn9vqCB 5Q5Kt0cPhHGcRPH3BkxdqSw8ef7nCgE5qB8QeXYCibug49O27J00MV56TO8f4qG4 OQXoa36qYeEGbWsc1yf3TPnHxViC8y6eUiLfc8jhrFwr9+cEuHqv4yo/Ebmemf7B J3W5E+qjpgFdewk5mCZsf3vYIJTe/cWa+8yrHr/FKrqxwe8IO5ogTD86huw== X-Virus-Scanned: Debian amavis at Received: from mail.thinkmo.de ([127.0.0.1]) by localhost (mail.thinkmo.de [127.0.0.1]) (amavis, port 10024) with ESMTP id pzhBG0ZvwH2P; Thu, 18 Jun 2026 16:12:31 +0000 (UTC) Received: from steamhammer.waldi.eu.org (unknown [IPv6:2a02:8071:5af1:6518:ad11:fa76:980a:620e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail.thinkmo.de (Postfix) with ESMTPSA id 4gh5NH3Z4hzyg6; Thu, 18 Jun 2026 16:12:31 +0000 (UTC) Date: Thu, 18 Jun 2026 18:12:30 +0200 From: Bastian Blank To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: Add build salt to the vDSO Message-ID: Mail-Followup-To: Bastian Blank , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline The vDSO needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Signed-off-by: Bastian Blank --- arch/riscv/kernel/vdso/note.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/kernel/vdso/note.S b/arch/riscv/kernel/vdso/note.S index 3d92cc956b95..69bfe48be037 100644 --- a/arch/riscv/kernel/vdso/note.S +++ b/arch/riscv/kernel/vdso/note.S @@ -4,6 +4,7 @@ * Here we can supply some information useful to userland. */ +#include #include #include #include @@ -12,4 +13,6 @@ ELFNOTE_START(Linux, 0, "a") .long LINUX_VERSION_CODE ELFNOTE_END +BUILD_SALT + emit_riscv_feature_1_and -- 2.53.0