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 979414A13BF; Thu, 2 Jul 2026 09:38:37 +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=1782985119; cv=none; b=UKt/CVjheogdHIBKw2nC1108rZTv0AE5/ZnI7yV3psLKFCU9FNhw22e9kuHK9UnJaJGxOhTCXUuI+mvJIGXxZPRrFEE4A9Lj/ci8As6B931gHN0MKbkhJ6jX4i2oaewnSIzdyLQjgcbUKuduzbjIUKL3qnnHy96y7eKEehwTsSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782985119; c=relaxed/simple; bh=le1pY0cZzch4KB3xevM5B8Vs1Omxe5BuEZ41Xr3LB1w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=fmorewg7QWZHy5Kq7CtnmLeOa5k5APMJEF1x48MFShOS79W9nCfMIy9sXtuPJ3WqpGVOA/b1QnDdQzJnfoazyZ9Fat284mXM5sF8nLB5rGTeuAgGyNBQHH7FrtAkuGp9AQkrDFiisC4xpJWMdHvcfIWKBrNErXTt5n7mdMSmq2g= 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=k2JsrNzj; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HGS1HUgc; 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="k2JsrNzj"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HGS1HUgc" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1782985108; 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=le1pY0cZzch4KB3xevM5B8Vs1Omxe5BuEZ41Xr3LB1w=; b=k2JsrNzjKN9sdTwU1KQIhBcQnL37+Bgh58nrQhF8Zs4QOklPCoMMWd5wUu9O70RzDYqB41 SMX/N7HYsPQawlZKev4fiKNSwoxOPujo0EmrMcm3VJHoxxQMAu3m7+6GPJACNq7hZBeGqc lgV4dI3h3S5lhzLlUR6FNZ1WQooO80fdSj1P5d/kbEpdcSKAjG5tYlqDG9CxLkKT19oSiq 1lkgyS4G+ly5PRw6vOIPLJqPZZRUVWJ8UOwiYAYZ3J09rh6NwePVQ1jSP43H8Ys6+eeMO+ AE1x1/04fsPAE+cOhXkNktBJ+l2oMsRxNQAa3RPK8hyz6M4UXwz2UsOicVbS2A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1782985108; 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=le1pY0cZzch4KB3xevM5B8Vs1Omxe5BuEZ41Xr3LB1w=; b=HGS1HUgcxEI0vVmM7UnXSpfhK8UD0pyk0iOseX5a5RKfDvA+OAq4MfG3jIBNb+zCS35nSg 67Zx1WG+/SO5nyDg== To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nathan Chancellor , Conor Dooley , Wende Tan Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , kernel test robot , stable@vger.kernel.org Subject: Re: [PATCH 0/2] riscv: vdso: Do not use LTO for the vDSO In-Reply-To: <20260701-riscv-vdso-lto-v1-0-89db0cd82077@linutronix.de> References: <20260701-riscv-vdso-lto-v1-0-89db0cd82077@linutronix.de> Date: Thu, 02 Jul 2026 11:38:26 +0200 Message-ID: <87bjcpu3xp.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: > With LTO enabled the compiler assumes that the vDSO functions are not > used and optimizes them away completely. > > Disable LTO for the vDSO, as these functions are hand-optimized anyways. > > Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nam Cao