All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: Mike Grundy <grundym@us.ibm.com>
Cc: jan.glauber@de.ibm.com, linux-kernel@vger.kernel.org,
	systemtap@sources.redhat.com
Subject: Re: [PATCH] kprobes for s390 architecture
Date: Tue, 27 Jun 2006 13:56:11 +0200	[thread overview]
Message-ID: <1151409371.5390.14.camel@localhost> (raw)
In-Reply-To: <20060621171517.GA7421@localhost.localdomain>

On Wed, 2006-06-21 at 10:15 -0700, Mike Grundy wrote:
> On Wed, Jun 21, 2006 at 06:38:40PM +0200, Martin Schwidefsky wrote:
> > On Tue, 2006-06-20 at 21:28 -0700, Mike Grundy wrote:
> > > Hi Martin - This patch implements the suggestions from your review. There were
> > > a couple points I wanted to go over:
> > > > There are some more instructions missing that need fixup:
> > > > "brxh" 0x84??????, "brxle" 0x85??????, "brc" 0xa7?4????,
> > > > "brct" 0xa7?6????, "brctg" 0xa7?7????, "bctgr" 0xb946????,
> > > > "brxhg" 0xec????????44 and "brxlg" 0xec??????45.
> > > Since all of these are relative branches, and they don't save the psw, the
> > > standard clean up of adjusting the original psw by the offset from the out of
> > > line address after single step. Unless I'm just being dense :-) 
> > 
> > All of these are conditional branches, if the branch is not taken you
> > have to do a cleanup.
> The reason I have a special cleanup for the other branches is the easy way to 
> tell if the branch wasn't taken is the pswa = orig pswa + instruction length.
> The relative branches get cleaned up the same way if the branch was taken or
> not, pswa = probe_addr + (out of line end psw - out of line start psw). These
> are all relative branches and while they need cleanup, they don't get treated
> differently based on the branch status.

So you are always doing a sort of branch cleanup, even for non-branch
instructions. Seems reasonable, since non-branch instructions don't
branch and the standard cleanup logic can deal with. 

> > You misunderstood me here. I'm not talking about storing the same piece
> > of data to memory on each processor. I'm talking about isolating all
> > other cpus so that the initiating cpu can store the breakpoint to memory
> Yep, I misunderstood that. The serialization is the point, not the replacement
> of a word in memory.

Exactly.

-- 
blue skies,
  Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.



  reply	other threads:[~2006-06-27 11:56 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-12 13:15 [PATCH] kprobes for s390 architecture Mike Grundy
2006-06-12 19:40 ` Martin Schwidefsky
2006-06-21  4:28   ` Mike Grundy
2006-06-21 16:38     ` Martin Schwidefsky
2006-06-21 17:15       ` Mike Grundy
2006-06-27 11:56         ` Martin Schwidefsky [this message]
2006-06-21 17:34       ` Mike Grundy
2006-06-22 11:28         ` Jan Glauber
2006-06-22 16:36           ` Mike Grundy
2006-06-23  8:50             ` Jan Glauber
2006-06-23 14:38             ` Heiko Carstens
2006-06-22  1:38       ` Mike Grundy
2006-06-21  9:40   ` Jan Glauber
2006-06-21 16:23 ` Jan Glauber
     [not found] <20060623150344.GL9446@osiris.boeblingen.de.ibm.com>
2006-06-23 22:53 ` [heiko.carstens@de.ibm.com: Re: [PATCH] kprobes for s390 architecture] Michael Grundy
2006-06-23 22:21   ` [PATCH] kprobes for s390 architecture Heiko Carstens
2006-06-24 11:36     ` Heiko Carstens
2006-06-24 12:15       ` Heiko Carstens
2006-06-25 13:31         ` Mike Grundy
2006-06-26  8:09           ` Heiko Carstens
2006-06-26 10:49             ` Mike Grundy
2006-06-26 11:19               ` Heiko Carstens
2006-06-27 15:23       ` Martin Schwidefsky
2006-06-28  5:58         ` Heiko Carstens
2006-07-07 17:23           ` Mike Grundy
2006-07-07 17:25             ` Heiko Carstens
2006-07-08 18:54               ` Mike Grundy
2006-07-08 19:58                 ` Mike Grundy
2006-07-10  9:28                   ` Heiko Carstens
2006-07-10 22:20                     ` Mike Grundy
2006-07-11 13:54               ` Mike Grundy
2006-07-11 14:13                 ` Martin Schwidefsky

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=1151409371.5390.14.camel@localhost \
    --to=schwidefsky@de.ibm.com \
    --cc=grundym@us.ibm.com \
    --cc=jan.glauber@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=systemtap@sources.redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.