From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Atcsqr.andestech.com (unknown [60.248.187.195]) (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 8F19F3043C9 for ; Tue, 24 Feb 2026 07:12:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.248.187.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771917127; cv=none; b=U8M2MtsE0M2zekOqxzOAYqdvCAy2jrr1lqoQc1m6URbAFh28+iFNTmmXQxN/yNNMCMgCu+ePkzagfBzHXlnVKbFVPro4+oSKl7gO3Wj0IP8TDVEVvTnDryTe2lww1/YCguIACMbKmfH4vjxPxV5RHmokdL5Qw47Y/F1r2kbIUJQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771917127; c=relaxed/simple; bh=hkvgVw6Vu8r0MVquLxzuFI9W2MzY0s6s2Iw0VSpuqC4=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nV70l88wl2ny71t5z3x7A9YfPAGyndrkylRRWs+o3SUAFXQSHri2xOryFEHA1vWhUTXHaNRn9BecFHiaLKQTIgxWHIpzRNTvKyUynHM87MaynibHMvwBEFmLKxwqsmLONRnH7tchMwTpqUtfAyUnE4EKdkpnMMQP4JY/bom4vPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=permerror header.from=andestech.com; spf=pass smtp.mailfrom=andestech.com; arc=none smtp.client-ip=60.248.187.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=permerror header.from=andestech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=andestech.com Received: from mail.andestech.com (ATCPCS34.andestech.com [10.0.1.134]) by Atcsqr.andestech.com with ESMTP id 61O7Breb066493; Tue, 24 Feb 2026 15:11:53 +0800 (+08) (envelope-from minachou@andestech.com) Received: from atcsi01.andestech.com (10.0.15.32) by ATCPCS34.andestech.com (10.0.1.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 24 Feb 2026 15:11:53 +0800 Date: Tue, 24 Feb 2026 15:11:48 +0800 From: Mina Chou To: Vivian Wang CC: , , , , , , , , , Charles Ci-Jyun Wu Subject: Re: [PATCH] riscv: fpu: refine FPU save flow Message-ID: References: <20260205055342.572379-1-minachou@andestech.com> <3ed8b576-723f-4c3b-8394-cd9255c2b63c@iscas.ac.cn> 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" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1.4 (2021-12-11) X-ClientProxiedBy: ATCPCS33.andestech.com (10.0.1.100) To ATCPCS34.andestech.com (10.0.1.134) X-DKIM-Results: atcpcs34.andestech.com; dkim=none; X-DNSRBL: X-SPAM-SOURCE-CHECK: pass X-MAIL:Atcsqr.andestech.com 61O7Breb066493 Hi Vivian, Thanks for the review. You are right; the sstatus was caused by task_pt_regs(p) being incorrectly handled in older kernels, but the issue has already been fixed by: riscv: prevent stack corruption by reserving task_pt_regs(p) early (merged in Linux v6.5). I should have checked the latest master before sending this over. My apologies for the noise, please ignore this patch. Best regards, Mina