mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@suse.de>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	"Luck, Tony" <tony.luck@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Borislav Petkov <bp@alien8.de>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [GIT PULL] x86/asm changes for v5.6
Date: Tue, 28 Jan 2020 23:31:10 +0100	[thread overview]
Message-ID: <20200128223110.GB6787@zn.tnic> (raw)
In-Reply-To: <CAHk-=wipvtDUE=MZ=y7v1Xm7PE0pAaUwS26X1Zx5iL768yK=oQ@mail.gmail.com>

On Tue, Jan 28, 2020 at 01:04:19PM -0800, Linus Torvalds wrote:
> On Tue, Jan 28, 2020 at 12:41 PM Luck, Tony <tony.luck@intel.com> wrote:
> >
> > Is there still some easy way to get gdb to disassemble from /dev/kmem
> > to see what we ended up with after all the patching?
> 
> Hmm. No, I think it's all gone.
> 
> It _used_ to be easy to just do "objdump --disassemble /proc/kcore" as
> root, but I think we've broken that long ago.

Either booting with "debug-alternative" on baremetal or starting a guest
and stopping it with gdb and examining the patched memory is what I've
been using to hack on the alternatives in past years. Guest won't help
you a whole lot with FSRM but you could "force it", for example.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg

  reply	other threads:[~2020-01-28 22:31 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28 16:59 Ingo Molnar
2020-01-28 19:51 ` Linus Torvalds
2020-01-28 20:06   ` Linus Torvalds
2020-01-28 20:14     ` Ingo Molnar
2020-01-28 20:41     ` Luck, Tony
2020-01-28 21:04       ` Linus Torvalds
2020-01-28 22:31         ` Borislav Petkov [this message]
2020-01-29 18:00           ` Josh Poimboeuf
2020-01-29 13:26     ` Borislav Petkov
2020-01-29 17:07       ` Luck, Tony
2020-01-29 17:40         ` Linus Torvalds
2020-01-29 18:34           ` Borislav Petkov
2020-01-29 18:56             ` Linus Torvalds
2020-01-30  8:51               ` Borislav Petkov
2020-01-30 15:27                 ` Linus Torvalds
2020-01-30 17:39                   ` Borislav Petkov
2020-01-30 18:02                     ` Linus Torvalds
2020-01-31 14:27                       ` Borislav Petkov
2020-01-31 16:05                         ` Josh Poimboeuf
2020-01-29 19:42             ` Luck, Tony
2020-01-30  5:47             ` Damian Tometzki
2020-01-30  7:55               ` Borislav Petkov
2020-01-30 11:10                 ` Mike Rapoport
2020-01-30 11:53                   ` Borislav Petkov
2020-01-30 11:59                     ` Mike Rapoport
2020-01-30 12:06                       ` Borislav Petkov
2020-01-30 16:45                         ` Damian Tometzki
2020-01-30 17:39                           ` Borislav Petkov
2020-01-28 21:15 ` pr-tracker-bot

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=20200128223110.GB6787@zn.tnic \
    --to=bp@suse.de \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=bp@alien8.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    --cc=torvalds@linux-foundation.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

all inboxes | Powered by JetHome®