From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: UIO memmap of PCi devices not working?
Date: Fri, 08 Sep 2017 08:23:48 +1000 [thread overview]
Message-ID: <1504823028.12628.39.camel@kernel.crashing.org> (raw)
In-Reply-To: <1504779569.31322.16.camel@infinera.com>
On Thu, 2017-09-07 at 10:19 +0000, Joakim Tjernlund wrote:
> > Problem is that pci_mem_offset is gone, the closed I can find is mem_offset
> > but that is an array,maybe just mem_offset[0] ?
> >
> > > I'm not sure exactly what's going
> > > on in your case, if you have a problem can you add printk to instrument
> > > ?
> >
> > Seems to be something else going on in out board. Anyhow, the mem_offset should
> > be fixed to compile, nice to have it behind a CONFIG option. Then
> > one can start the process to remove the special casing easier.
>
> After sorting the bugs in our app, it works with and without above patch.
Ok. I don't see a pressing need to change what we are doing in the
kernel then.
Cheers,
Ben.
next prev parent reply other threads:[~2017-09-07 22:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-06 15:20 UIO memmap of PCi devices not working? Joakim Tjernlund
2017-09-07 7:16 ` Benjamin Herrenschmidt
2017-09-07 7:22 ` Joakim Tjernlund
2017-09-07 8:33 ` Benjamin Herrenschmidt
2017-09-07 8:59 ` Joakim Tjernlund
2017-09-07 10:19 ` Joakim Tjernlund
2017-09-07 22:23 ` Benjamin Herrenschmidt [this message]
2017-09-07 22:22 ` Benjamin Herrenschmidt
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=1504823028.12628.39.camel@kernel.crashing.org \
--to=benh@kernel.crashing.org \
--cc=Joakim.Tjernlund@infinera.com \
--cc=linuxppc-dev@lists.ozlabs.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).