From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.formilux.org (mta1.formilux.org [51.159.59.229]) (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 3465F2E719C for ; Sun, 8 Mar 2026 08:51:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.159.59.229 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772959903; cv=none; b=d1hqlQv9qBWnibC+5D7YkDsbTNSm+r8Rm9TTDfZrReMF/meH8OL4L5iPDt57cPVvQqDXOEOOlm0TaJrFEvuvBlMKeL5L9ykUW/Fe6L1qu1c+shfGMbycYzgrWo7yNI460E1w5jQ5s2d6FRbn0WREGw+MmfDulOWTRnir1Gvp2+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772959903; c=relaxed/simple; bh=ppGQP2oK6rNz4TubA5cVC7oRLnH7h4vsgaVswvsOUqA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OCKANnpLRn40Woh5ylcXcmmRzhYQ71hF25t7T7px17sxE9rZV1PTC9XIuxpr94ev9J9Qt+vb2sJpCuCO7ChoOgjw70S1wPkLKHu72sleet7Z7AIwD0r2vld4o/XYzxf7IyL9mVl4v19HiYHllcLBgvoVH829khU0xGoIVD/2v0g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=1wt.eu; spf=pass smtp.mailfrom=1wt.eu; dkim=pass (1024-bit key) header.d=1wt.eu header.i=@1wt.eu header.b=p95h0ps+; arc=none smtp.client-ip=51.159.59.229 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=1wt.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1wt.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=1wt.eu header.i=@1wt.eu header.b="p95h0ps+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1wt.eu; s=mail; t=1772959898; bh=XLbW7l2ck2+8msY4n8DeCWE+42aj7idiApJ7MRmeZrI=; h=From:Message-ID:From; b=p95h0ps+ZuYMeNsrh3W5OroO/ui/bqYgrsT03ZJbi7aJ9f2XCIApg05IK3wfeJ/xz B9pAvPRmYXDTy2gkiCck+ZDPDagvDX2SfYDwxFwWYYFPZOMqJ89/7nS+g0mxFxWABJ 20yYrZMbY4o0vwVQni1JftY7dKiFWmalYpsf7qZc= Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by mta1.formilux.org (Postfix) with ESMTP id E11C3C0A03; Sun, 08 Mar 2026 09:51:38 +0100 (CET) Date: Sun, 8 Mar 2026 09:51:38 +0100 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Thomas =?iso-8859-1?Q?Wei=DFschuh?= , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/nolibc: MIPS: fix clobbers of 'lo' and 'hi' registers on different ISAs Message-ID: References: <20260218-nolibc-mips-clobber-v1-1-f71009a00c90@linutronix.de> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260218-nolibc-mips-clobber-v1-1-f71009a00c90@linutronix.de> On Wed, Feb 18, 2026 at 12:45:48PM +0100, Thomas Weißschuh wrote: > Earlier MIPS64 ISAs still provide the 'lo' and 'hi' special registers. > These are clobbered by system calls and need to be marked as such to > avoid miscompilations. > Also 32-bit ISAs from r6 on do not define the 'lo' and 'hi' registers. > > Handle all different combinations of ABI and ISAs. > > Fixes: a6a2a8a42972 ("tools/nolibc: MIPS: add support for N64 and N32 ABIs") > Fixes: 66b6f755ad45 ("rcutorture: Import a copy of nolibc") > Signed-off-by: Thomas Weißschuh I trust that you've contemplated way more doc than me on that topic, so obviously: Acked-by: Willy Tarreau Thanks, Willy