linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: John Linn <John.Linn@xilinx.com>
Cc: Tirumala Reddy Marri <tmarri@amcc.com>, linuxppc-dev@ozlabs.org
Subject: Re: Question about DBCR0 initialization for 440
Date: Fri, 17 Apr 2009 15:50:18 -0500	[thread overview]
Message-ID: <200904171550.19625.hollisb@us.ibm.com> (raw)
In-Reply-To: <20090417203053.1D692F88052@mail119-dub.bigfish.com>

On Friday 17 April 2009 15:30:45 John Linn wrote:
> We think that we still need that conditional as the code is not Oring in the 
enable such that it would
> disable external debug mode for the BDI. But we need it this way for our 
Xilinx pod.
> 
> #if !defined(CONFIG_BDI_SWITCH)
>             /*
>              * The Abatron BDI JTAG debugger does not tolerate others
>              * mucking with the debug registers.
>              */
>             lis     r2,DBCR0_IDM@h
>             mtspr   SPRN_DBCR0,r2
>             isync
>             /* clear any residual debug events */
>             li      r2,-1
>             mtspr   SPRN_DBSR,r2
> #endif

So change the code to OR in your bits. What's the problem?

-- 
Hollis Blanchard
IBM Linux Technology Center

  parent reply	other threads:[~2009-04-17 20:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14 20:33 Question about DBCR0 initialization for 440 John Linn
2009-04-15 16:24 ` Tirumala Reddy Marri
2009-04-17 15:46   ` John Linn
2009-04-17 17:22     ` Josh Boyer
2009-04-17 18:07       ` Hollis Blanchard
2009-04-17 19:04         ` Benjamin Herrenschmidt
2009-04-17 19:10           ` Grant Likely
2009-04-17 20:30             ` John Linn
2009-04-17 20:35               ` Josh Boyer
2009-04-17 20:41                 ` John Linn
2009-04-17 20:54                   ` Josh Boyer
2009-04-17 20:50               ` Hollis Blanchard [this message]
2009-04-17 20:57                 ` John Linn
2009-04-17 18:57       ` Grant Likely
2009-04-17 18:58         ` John Linn

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=200904171550.19625.hollisb@us.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=John.Linn@xilinx.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=tmarri@amcc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).