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 39DBFCA6F for ; Fri, 21 Aug 2026 01:53:33 +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=1787277214; cv=none; b=mD9FMQUzDXKAgcD4Uye8pzDXl99PHGSfwl3tIpCNNjqFcMSHKOtjVk9ZCdqLaqoOOHhn5MNql4NfFBcyTsSsyC6IeE/ZSNzv5gyRsvH1obu8MlDZGEa/TuadHzIG0owjYytfR/qbmY5U1CfjM83CI88L17tCfMff0XF7zlk5vAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787277214; c=relaxed/simple; bh=hUyoZ7zuvWiuEs5hJbLoK/KPjw+r3+450EI3zo47hwk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=JWjiiEIHsIf4L61DK62KYv0dVrIGQebF9Y7pkRAcRfK87gzmJBJRcpQOFHgj06oMv5S6cQUbFocTonl+rYU7uNHAovlEK7bkbme1MIGbqYpc8Vr2pdKAB9e88Bu5q06Wal/Dz/znnRn3gvh5X4nS6cmDG8b3D0cMgq38dsFu8CM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mik8zYI8; 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="mik8zYI8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 268B31F000E9; Fri, 21 Aug 2026 01:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1787277212; bh=dKo2aLMBgmdPLr+9SGvRD08MU3JFbNMO745B0V9ZYu8=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=mik8zYI82kKavrlvHO9BvvyrcO678LBFFZJdBq5xSdP5CfUY64tP7NTIbJONk7zyB fivO9+/fwsAGYsdrBYnHROqg3NrpD2bEkRWlsSDX/wMScxKuWfwOztXEVFTzzer97R pMeRNj7w4TqX9bG9XDOhG5Cs5GeQTtggE5bSeuFrOXElmADVdvWnYHt/SljPYse1zm T/RtkkCHLj7xNLJvtOdglC2v8PiHf6iRVdvm5K2ewf1QTGdnI0yisgz6lixEDEaZkT 3Xgetb28yu3/ZnakjB1rTePJ29jECSG5sjlZNeaB7fga+MryNrTcxCDavSe7kqeufo EiXN2yflQgeDw== Date: Thu, 20 Aug 2026 19:53:29 -0600 (MDT) From: Paul Walmsley To: Aleksa Paunovic cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Djordje Todorovic , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jesse Taube Subject: Re: [PATCH] riscv: Add support for early boot errata application on MIPS chips In-Reply-To: <20260810-p8700-early-boot-v1-1-5c4aa08d500f@htecgroup.com> Message-ID: <1bd31b3c-bdbe-37e1-0f0a-3cf152ff81d5@kernel.org> References: <20260810-p8700-early-boot-v1-1-5c4aa08d500f@htecgroup.com> 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=US-ASCII On Mon, 10 Aug 2026, Aleksa Paunovic via B4 Relay wrote: > From: Aleksa Paunovic > > MIPS errata implementation previously skipped early boot application > entirely. Although the only currently existing MIPS erratum does not > require this, amending this now should make any future addition easier to > implement. > > This commit was based on the existing T-Head implementation. > > Suggested-by: Jesse Taube > Link: https://lore.kernel.org/linux-riscv/CADRr4bcbD57hmR0XGgo8BjgNp4shEADOondZEtwscCJ9-nxXRQ@mail.gmail.com/ > Signed-off-by: Aleksa Paunovic > --- > The patch was motivated by Jesse's suggestion to implement [2] as an early boot erratum. > However, since it's in conflict with [1] as well, I decided against sending this one and the ZALRSC patch as a series, > opting for rebasing [1] and [2] once it's clear we should move forward with this approach. > > I tested this on an eight-hart QEMU config. The testing was done by rebasing [1] and [2] onto the patch > and running most of the same tests used to verify those patches. This includes: coremark testing, futex kselftests > and GDB to check errata application. The same tests were run on the Boston board, configured with a single P8700 core. > > Links: > [1] https://lore.kernel.org/linux-riscv/20260608-p8700-wfi-v2-1-77efc7459f3d@htecgroup.com/ > [2] https://lore.kernel.org/linux-riscv/20260723-p8700-zalrsc-v4-1-59c21b252e29@htecgroup.com/ Thanks, queued for v7.4. - Paul