From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 C39E334D3AE for ; Mon, 2 Feb 2026 10:04:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770026693; cv=none; b=soHj1XaFbZvMoPYxPj867dz8lvez5OrPkCRGI0BQSdE72Egi2hxY7nFccP/Yu4CicEX1Cmv01Mqq44QfChpJq7tPWOWrHVQh5zcX0B7x4jPJn5puKrZ4YICE74SDKv5AiZa8cEJLTZggkN1e78MfDBZ+9b7v7JujfwW+Xj4akM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770026693; c=relaxed/simple; bh=/gP4d6IL0bH2d+IXKNxRupVNBwK9cWHR/loG0mUXp6w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jQitRb4+Eu+14J0DdPqi9jImfyf0pnxzCZ3e5jM9aK5EzzN3mefhMzfC/CwfMZ1W4wN0zi3aIsT19tQBPG8wbOMie+qloTUTqrUJxjhLSgZz5/V/JH6j1WUlxcu0pf+Aq2l4P8cvCebFu0U9Ro2hH2L2kAdqycojKxI9k8iVorI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=K62P7x/B; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="K62P7x/B" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CHBAEQoJoCa5ROAMWKjYEQGZA2Dbci0X/q6T/y3AQdQ=; b=K62P7x/BA49K3N4ngtV0PE82zM 0Mi+snnTh3x/Uoh7ZS9GTGkugvwu2aJsTIwEplsy8LxYXoEi5OEaXfGhRtk17+GiNceP3YR1RnZIA inpHWEDGxLkLquZIPkLhHMlG++gTOxefuDzF8Nwj0m9kQrm9w842WSe5Rv8d0CBsGCQHuPB94HbE/ AKI+q9w5S7NWNMbYqkmhFiHOJ8bAkERaFjri644ynY69iehx6rDnhAMMcqMi1q3Ba2B0w6EAoUlKt EIL8PFQufluTL6qGWhkEanRG74BvUdEbyeT7T3hJrAfuO2YMx4RS/8HwuPho2gJiyngufW27o0kHx 24xAztOg==; Received: from 2001-1c00-8d85-5700-266e-96ff-fe07-7dcc.cable.dynamic.v6.ziggo.nl ([2001:1c00:8d85:5700:266e:96ff:fe07:7dcc] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1vmqnW-0000000GJqP-2SNk; Mon, 02 Feb 2026 10:04:46 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id F1C6C303031; Mon, 02 Feb 2026 11:04:45 +0100 (CET) Date: Mon, 2 Feb 2026 11:04:45 +0100 From: Peter Zijlstra To: Borislav Petkov Cc: hugopoggetti , tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, hugo.poggetti@epitech.eu Subject: Re: [PATCH] x86/alternative: Replace DPRINTK with pr_debug Message-ID: <20260202100445.GG2995752@noisy.programming.kicks-ass.net> References: <20260201185828.1053981-1-hugo.poggetti@epitech.eu> <20260201190527.GAaX-j939vwhf2AnM5@fat_crate.local> 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: <20260201190527.GAaX-j939vwhf2AnM5@fat_crate.local> On Sun, Feb 01, 2026 at 08:05:27PM +0100, Borislav Petkov wrote: > On Sun, Feb 01, 2026 at 07:58:28PM +0100, hugopoggetti wrote: > > Replace the custom DPRINTK macro with the standard pr_debug() > > to use the kernel's standard debugging infrastructure. > > No thanks. pr_debug() depends on a bunch of config options and we want > alternatives debugging to JustWork(tm), without a bunch of fuss. Also, he completely broke 'debug_alternative' for bonus points.. So yeah, no touching unless you've actually went through the pain of debugging the alternative code :-)