From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CBD64149C6F for ; Thu, 27 Nov 2025 19:19:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764271181; cv=none; b=fGndZ596so47+wOCeA22Wk1bkPgNTKz3RXR+bnNy35yZN/J6YqLPX70Gplknb6OAcoLgyL3kL5wQ24IRIUtL19UgNrmnyHleWDRpXfuXnbwMGb1aebqIrdSf+KFwZIRlAEeJ3a9CNw34kuy2NgLzrBIObyDZwqwBuuDCJSNq8FI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764271181; c=relaxed/simple; bh=JHUup27yTsZNR/RUWfn/oMkV/KkDpaYB3fWjoRPhd1U=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=oZR81cE7CBjcZmNRf7RR692HsPTvcg+C+rqM2+tAyWDMqmktRa7oY07Qwh+YDFsj5R52as4uA88wg20epNEGOwYuCCFzUTCiWCIzujhEasfPeay5SO6gcjlAoEUHEIj4OjXd5OCZePWZM6ujEjmEzdEo6rNoCmgTSJPxt+Sv0Zw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=ElJMCl2O; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="ElJMCl2O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1801BC113D0; Thu, 27 Nov 2025 19:19:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1764271181; bh=JHUup27yTsZNR/RUWfn/oMkV/KkDpaYB3fWjoRPhd1U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ElJMCl2ON+8u2jbqVFImaNpjKgvwsiEzdmTXkR15Xmg230hLoqmlSHXBv647f6r0W 7eCr/h4he7KLgGg4DeCFqFEFGW/wHLzleVbTRopXCWgaAxZjr1FZeUQonCHBMpyBsA Zn+gsWL6Y83Jjo3I8rTGS/kyNSXKBDu5aSdvL4Cg= Date: Thu, 27 Nov 2025 11:19:40 -0800 From: Andrew Morton To: Breno Leitao Cc: Alexander Potapenko , Marco Elver , Dmitry Vyukov , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH] mm/kfence: add reboot notifier to disable KFENCE on shutdown Message-Id: <20251127111940.8549bd7aa82cfae5e9be1b0e@linux-foundation.org> In-Reply-To: References: <20251126-kfence-v1-1-5a6e1d7c681c@debian.org> <20251126101453.3ba9b3184aa6dd3c718287e6@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Thu, 27 Nov 2025 03:12:10 -0800 Breno Leitao wrote: > > > This fixes a late kexec CSD lockup[1] when kfence is trying to IPI a CPU > > > that is busy in a IRQ-disabled context printing characters to the > > > console. > > > > > > Link: https://lore.kernel.org/all/sqwajvt7utnt463tzxgwu2yctyn5m6bjwrslsnupfexeml6hkd@v6sqmpbu3vvu/ [1] > > > > 6.13 kernels and earlier, so I assume we'll want a cc:stable on this. > > And I assume there's really no identifiable Fixes: target. > > This infrastructure showed up when kfence was created, so, a possible > Fixes: target would point to commit 0ce20dd84089 ("mm: add Kernel > Electric-Fence infrastructure") Great, thanks, I added that.