From: Jarkko Sakkinen <jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: jethro-LmnypSVwBK6EVqv0pETR8A@public.gmane.org,
tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: resource sanity fails on ioremap
Date: Wed, 10 Feb 2016 14:42:16 +0200 [thread overview]
Message-ID: <20160210124216.GA18392@intel.com> (raw)
In-Reply-To: <20160210122227.GA31734-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
On Wed, Feb 10, 2016 at 02:22:27PM +0200, Jarkko Sakkinen wrote:
> On Fri, Feb 05, 2016 at 11:28:57AM -0800, Jarkko Sakkinen wrote:
> > On Fri, Feb 05, 2016 at 10:42:58AM -0700, Jason Gunthorpe wrote:
> > > On Fri, Feb 05, 2016 at 08:47:04AM -0800, Jarkko Sakkinen wrote:
> > >
> > > > Right, thanks for the explanation and I'm able to reproduce it on my own
> > > > work laptop now:
> > > >
> > > > [ 0.708272] resource sanity check: requesting [mem
> > > > 0xfed10000-0xfed15fff], which spans more than pnp 00:01 [mem
> > > > 0xfed10000-0xfed13fff]
> > > > [ 0.708302] [<ffffffff8108548a>] ? iomem_map_sanity_check+0xba/0xd0
> > > >
> > > > Luckily we have this fixed (in two commits) in 4.5.
> > >
> > > We do? I don't recall seeing a commit that changes the 0x1000
> >
> > Ignore our fixes do not do anything to this. And it does not even occur
> > my laptop (that was a different case). Should think before pressing.
> > Apologies. I'll push a fix as soon to master.
> [SNIP did not make sense]
Right, this was confusing because it requests something that is not
multiple of than page size :)
So would the right thing to do change it request size of the control
area structure (in the call site of crb_map_res)?
/Jarkko
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
next prev parent reply other threads:[~2016-02-10 12:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-03 23:37 resource sanity fails on ioremap Jarkko Sakkinen
[not found] ` <20160203233701.GA10585-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-02-04 23:49 ` Jason Gunthorpe
[not found] ` <20160204234947.GA20269-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-02-05 4:05 ` Jarkko Sakkinen
[not found] ` <20160205040500.GA7708-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-02-05 5:08 ` Jason Gunthorpe
[not found] ` <20160205050850.GA23820-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-02-05 16:47 ` Jarkko Sakkinen
[not found] ` <20160205164704.GA8112-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-02-05 17:42 ` Jason Gunthorpe
[not found] ` <20160205174258.GA29116-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-02-05 19:28 ` Jarkko Sakkinen
[not found] ` <20160205192857.GA23523-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-02-10 12:22 ` Jarkko Sakkinen
[not found] ` <20160210122227.GA31734-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-02-10 12:42 ` Jarkko Sakkinen [this message]
[not found] ` <20160210124216.GA18392-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-02-10 16:02 ` Jason Gunthorpe
[not found] ` <20160210160238.GA20730-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-02-11 6:39 ` Jarkko Sakkinen
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=20160210124216.GA18392@intel.com \
--to=jarkko.sakkinen-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=jethro-LmnypSVwBK6EVqv0pETR8A@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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).