From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B4A50399365 for ; Sat, 8 Aug 2026 18:00:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786212051; cv=none; b=rAB65WdpdHtvHI05aKQlTvfjWz9li5XSNZDtfbglU3FD+zEvZFqP2uGAyJIJl/U7p+hUK3MDCv0Wryhrdyt+Le6ldpH9J+uYqFYIDhqyEHFijLN/3rV/M1fijw4tqq7pQ+Bwt015eTPfJ7I7ddLa3emy/fC+FFKzoZCiU0HxnKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786212051; c=relaxed/simple; bh=p40mzWDVDkxH3C2n8BLabpb6ufPbtLwRmVjHVQMh2ZQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=ohocSUi8uWWTxVihj8Er6JSCkhJAfs71y9hX1M0O9HDq6MRVCcdj08dfyR52eWBBP6H+V2WPoEIKLWe2nZ5FbD5+YSSNR34D4aOLfWfk+SplsSPr3/hms0XoXI8rygeF+SMQRSC18jw24Ltn63mpqNFM4fm5oFTB8QdmeO9i54A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NHsAD4Ff; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NHsAD4Ff" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C468F1F000E9; Sat, 8 Aug 2026 18:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786212047; bh=3MJCt1He2zsbLqVXjy//wJhJ0zIZ6C/TWcTiFL8fPqs=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=NHsAD4FfXOVHgtDzk5cAkofVCypGgSqK8qfLH0e8ux5ExweNX2976EIdVwIEWymRC hr/4W6hdC6Uz4ahITNZt6MSiDrVmSM8lPAKStVDBQvtdXrTjlIfv2W5cI+zgcf3HgU uFGv0rfyycU0zMegSlizQC7PnMG/WsovTvg0ID50YIdjSAGZR3PaaFOGFO857XQ+zU RJR06xVOMh//82hjVMTT2rHI1vBldJJcow0leCEXjBzPLH+1DwEGBI2KRgXtGR2oCG Q1vEFmPrmIfF0eIHWCPcJwQPGIOKRxGUVGjT0NkuFbIw1nqerOKtNauv4O17RgY6Pl 1PUdx0bv2uuFg== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 03C10380CFEE; Sat, 8 Aug 2026 18:00:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: lib: Fix ZBB strnlen reading past count boundary From: patchwork-bot+linux-riscv@kernel.org Message-Id: <178621200564.2716124.18450500018830260.git-patchwork-notify@kernel.org> Date: Sat, 08 Aug 2026 18:00:05 +0000 References: <20260413010738.1622423-1-mikey@neuling.org> In-Reply-To: <20260413010738.1622423-1-mikey@neuling.org> To: Michael Neuling Cc: linux-riscv@lists.infradead.org, jiangfeng@kylinos.cn, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (fixes) by Paul Walmsley : On Mon, 13 Apr 2026 01:07:38 +0000 you wrote: > The ZBB-optimized strnlen loop loads one word ahead before checking the > aligned boundary: > > REG_L t1, SZREG(t0) // load next word > addi t0, t0, SZREG // advance > orc.b t1, t1 > bgeu t0, t4, 4f // boundary check AFTER load > > [...] Here is the summary with links: - riscv: lib: Fix ZBB strnlen reading past count boundary https://git.kernel.org/riscv/c/5d588c684833 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html