From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C11AD2E54B6 for ; Thu, 2 Jul 2026 08:12:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782979979; cv=none; b=C+HnJQJ2toZZMjmCVUk1OmlE4tQ0IfBZSKBAsK+XKtH/RceVmfPo/dImuuOTxcCakhIK0PW7mROtAJCHOO0OtIMrxU2plGztVn7qDHcy9Oqc5tJsICT4S52QffiX0EmJDahalOXWXRusougZfvDGLzu2czS76xMy8kTRog6Pb0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782979979; c=relaxed/simple; bh=1g5nByJG5knbckJrtSh5dIvJzHbPhIcgBQQ/GmVani8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=SY/N9bhZ6mrHvkA3+Pj4SVM0ld1EYtfpP8q6HZHdEF+4nxZWnh0wFrhrov2HuUE2s1F0pY/JC+4i3cK+cAw9+M0UHUYgZpV09wzAAVm1DVskpZ5aUhdu4BKfWlqFsB7XCxxdd+DSsMHYYafssciiqjgWVNfOp2CUof4nCXSJbcc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Laaadz6I; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=GMx2QucF; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Laaadz6I"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="GMx2QucF" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1782979977; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1g5nByJG5knbckJrtSh5dIvJzHbPhIcgBQQ/GmVani8=; b=Laaadz6ItsMrGnI/DCLptW6hRwNrunhrwsZ+SteJQre0s7pJlv2ZXkYLd05gH1xXq07fGc Vi8YNvIWBOT8FNLLHLx7SESyAS5utaePucXjn80xGEJrOd8h1jUgS1XCJ2r9F8L3sEkWcD JUDUK1nvKxgTMZne/Y3kPYipcCYtsSqPfBdZNxVYfA8R5NUie9eYL3lEz7cqPm0j/5TFI3 YSi0Y2RviqZNFteVI0176YmlvnAlQANuscO86fpLVWMYM64yushOWMy2neDmDasepONuHI qLiiPS4Qr7HZaMyC9klXk5YN7N7Wb7cNVDxNBHM5gmR4FTOIr8LrJilguShoXw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1782979977; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1g5nByJG5knbckJrtSh5dIvJzHbPhIcgBQQ/GmVani8=; b=GMx2QucFP+mx1exSY8sb6c44e7+vFGSiknmXObZ16YAMVVoYEYlCmxZqUWBfx0kwWmsrCP FjLGWCUfGJf6naDQ== To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Thomas_Wei=C3=9Fschuh_=28Schneider_Electric=29?= Subject: Re: [PATCH 0/3] riscv: alternative: Statically compute alternative section boundaries and patch compat vDSO In-Reply-To: <20260630-riscv-vdso32-alternative-v1-0-a32fd89b7b1c@linutronix.de> References: <20260630-riscv-vdso32-alternative-v1-0-a32fd89b7b1c@linutronix.de> Date: Thu, 02 Jul 2026 10:12:56 +0200 Message-ID: <87fr21vmgn.fsf@yellow.woof> 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-Transfer-Encoding: quoted-printable Thomas Wei=C3=9Fschuh writes: > Currently the alternative sections are extracted from the vDSO > binaries at runtime. This has runtime overhead and also doesn't > work for the compat vDSO. > > Extract the offsets of the alternative section during the build with the > existing symbol extraction machinery and use those. > > Also add support for the compat vDSO. Reviewed-by: Nam Cao