From: Benjamin Herrenschmidt <benh@au1.ibm.com>
To: Jens Osterkamp <jens@de.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>,
Arnd Bergmann <arnd@arndb.de>,
Jens Osterkamp <jens.osterkamp@de.ibm.com>
Subject: Re: [PATCH] powerpc: Fix __raw* accessors
Date: Thu, 23 Nov 2006 08:18:09 +1100 [thread overview]
Message-ID: <1164230289.5653.24.camel@localhost.localdomain> (raw)
In-Reply-To: <200611221446.02716.jens@de.ibm.com>
On Wed, 2006-11-22 at 14:46 +0100, Jens Osterkamp wrote:
> On Tuesday 21 November 2006 11:29, Arnd Bergmann wrote:
> > On Tuesday 21 November 2006 02:35, Benjamin Herrenschmidt wrote:
> > > The new IO accessor code allows to stick a token in the top bit of MMIO
> > > addresses which gets masked out during actual accesses. However, the
> > > __raw_* accessors forgot to mask it out. This fixes it.
> >
> > Jens, you debugged the problem originally. Does this patch fix it entirely,
> > or is there something else missing?
>
> The driver basically works, but I am seeing strange im_free messages,
> probably because this code is not aware of the tokens in the ioremapped
> addresses.
Or becasue ioumap isn't properly masking out the token... I'll check
that.
Ben.
> <6>ib_mthca: Mellanox InfiniBand HCA driver v0.08 (February 14, 2006)
> <6>ib_mthca: Initializing 0002:00:00.0
> <3>Trying to im_free nonexistent area (d002080080930000)
> <6>ib_mthca: Initializing 0004:00:00.0
> <3>Trying to im_free nonexistent area (d003080082a37000)
> <4>ib_mthca 0004:00:00.0: HCA FW version 4.6.0 is old (4.7.600 is current).
> <4>ib_mthca 0004:00:00.0: If you have problems, try updating your HCA FW.
>
> Jens
prev parent reply other threads:[~2006-11-22 21:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-21 1:35 [PATCH] powerpc: Fix __raw* accessors Benjamin Herrenschmidt
2006-11-21 10:29 ` Arnd Bergmann
2006-11-22 13:46 ` Jens Osterkamp
2006-11-22 21:18 ` Benjamin Herrenschmidt [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=1164230289.5653.24.camel@localhost.localdomain \
--to=benh@au1.ibm.com \
--cc=arnd@arndb.de \
--cc=jens.osterkamp@de.ibm.com \
--cc=jens@de.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).