public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Borislav Petkov <bp@alien8.de>
Cc: hugopoggetti <hugo.poggetti@gmail.com>,
	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
Date: Mon, 2 Feb 2026 11:04:45 +0100	[thread overview]
Message-ID: <20260202100445.GG2995752@noisy.programming.kicks-ass.net> (raw)
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 :-)

      reply	other threads:[~2026-02-02 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-01 18:58 [PATCH] x86/alternative: Replace DPRINTK with pr_debug hugopoggetti
2026-02-01 19:05 ` Borislav Petkov
2026-02-02 10:04   ` Peter Zijlstra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260202100445.GG2995752@noisy.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hugo.poggetti@epitech.eu \
    --cc=hugo.poggetti@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox