* [patch 0/5] ia64 memory attribute fixes
@ 2007-03-21 22:16 Bjorn Helgaas
2007-03-29 14:54 ` Bjorn Helgaas
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2007-03-21 22:16 UTC (permalink / raw)
To: linux-ia64
This series fixes a few memory mapping issues on ia64. Outline:
1 rename ioremap variables to match i386 (no functional change)
2 use page table mappings in ioremap to avoid unsupported attributes
3 allow WB mmap of /sys/.../legacy_mem
4 fail mmaps that span areas with incompatible attributes
5 update documentation & add tests
These are independent except that 2 depends on 1.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [patch 0/5] ia64 memory attribute fixes
2007-03-21 22:16 [patch 0/5] ia64 memory attribute fixes Bjorn Helgaas
@ 2007-03-29 14:54 ` Bjorn Helgaas
2007-03-29 17:18 ` Andrew Morton
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2007-03-29 14:54 UTC (permalink / raw)
To: linux-ia64
On Wednesday 21 March 2007 16:16, Bjorn Helgaas wrote:
> This series fixes a few memory mapping issues on ia64. Outline:
>
> 1 rename ioremap variables to match i386 (no functional change)
> 2 use page table mappings in ioremap to avoid unsupported attributes
> 3 allow WB mmap of /sys/.../legacy_mem
> 4 fail mmaps that span areas with incompatible attributes
> 5 update documentation & add tests
>
> These are independent except that 2 depends on 1.
Andrew, I should have copied you on this series so you could put
it in -mm (assuming you think it looks reasonable).
Tony plans to apply the series after 2.6.21 pops, but it'd be
nice to get a little runtime before then.
Should I forward the series to you, or do you have copies?
Bjorn
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [patch 0/5] ia64 memory attribute fixes
2007-03-21 22:16 [patch 0/5] ia64 memory attribute fixes Bjorn Helgaas
2007-03-29 14:54 ` Bjorn Helgaas
@ 2007-03-29 17:18 ` Andrew Morton
2007-03-29 17:56 ` Luck, Tony
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Andrew Morton @ 2007-03-29 17:18 UTC (permalink / raw)
To: linux-ia64
On Thu, 29 Mar 2007 08:54:04 -0600 Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:
> On Wednesday 21 March 2007 16:16, Bjorn Helgaas wrote:
> > This series fixes a few memory mapping issues on ia64. Outline:
> >
> > 1 rename ioremap variables to match i386 (no functional change)
> > 2 use page table mappings in ioremap to avoid unsupported attributes
> > 3 allow WB mmap of /sys/.../legacy_mem
> > 4 fail mmaps that span areas with incompatible attributes
> > 5 update documentation & add tests
> >
> > These are independent except that 2 depends on 1.
>
> Andrew, I should have copied you on this series so you could put
> it in -mm (assuming you think it looks reasonable).
>
> Tony plans to apply the series after 2.6.21 pops, but it'd be
> nice to get a little runtime before then.
>
> Should I forward the series to you, or do you have copies?
>
My linux-ia64 feed seems to have broken, so a resend would be appreciated,
thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [patch 0/5] ia64 memory attribute fixes
2007-03-21 22:16 [patch 0/5] ia64 memory attribute fixes Bjorn Helgaas
2007-03-29 14:54 ` Bjorn Helgaas
2007-03-29 17:18 ` Andrew Morton
@ 2007-03-29 17:56 ` Luck, Tony
2007-03-29 23:54 ` Luck, Tony
2007-03-30 16:23 ` Bjorn Helgaas
4 siblings, 0 replies; 6+ messages in thread
From: Luck, Tony @ 2007-03-29 17:56 UTC (permalink / raw)
To: linux-ia64
> My linux-ia64 feed seems to have broken, so a resend would be appreciated,
> thanks.
I'll stack these patches into my "test" tree and push it later
today ... save the repost and some of your time.
-Tony
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [patch 0/5] ia64 memory attribute fixes
2007-03-21 22:16 [patch 0/5] ia64 memory attribute fixes Bjorn Helgaas
` (2 preceding siblings ...)
2007-03-29 17:56 ` Luck, Tony
@ 2007-03-29 23:54 ` Luck, Tony
2007-03-30 16:23 ` Bjorn Helgaas
4 siblings, 0 replies; 6+ messages in thread
From: Luck, Tony @ 2007-03-29 23:54 UTC (permalink / raw)
To: linux-ia64
Found a small problem. With this patch in place I get
a complaint while booting on an Intel tiger:
Trying to vfree() bad address (a00000020001b000)
BUG: at vm/vmalloc.c:323 __vunmap()
The stack trace points back to drivers/firmware/dmi_scan.c
in dmi_table()
buf = dmi_ioremap(base, len);
...
dmi_iounmap(buf, len);
Before applying your patch we have base=0x7fefb000 len=0xfbc
and the return value is 0xc00000007fefb000
After your patch, we get buf = 0xa00000020001b000
-Tony
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [patch 0/5] ia64 memory attribute fixes
2007-03-21 22:16 [patch 0/5] ia64 memory attribute fixes Bjorn Helgaas
` (3 preceding siblings ...)
2007-03-29 23:54 ` Luck, Tony
@ 2007-03-30 16:23 ` Bjorn Helgaas
4 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2007-03-30 16:23 UTC (permalink / raw)
To: linux-ia64
On Thursday 29 March 2007 17:54, Luck, Tony wrote:
> Found a small problem. With this patch in place I get
> a complaint while booting on an Intel tiger:
>
> Trying to vfree() bad address (a00000020001b000)
> BUG: at vm/vmalloc.c:323 __vunmap()
Oops, I forgot to page-align the address before passing it to
vunmap(). I'll post an updated patch with the fix.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-03-30 16:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-21 22:16 [patch 0/5] ia64 memory attribute fixes Bjorn Helgaas
2007-03-29 14:54 ` Bjorn Helgaas
2007-03-29 17:18 ` Andrew Morton
2007-03-29 17:56 ` Luck, Tony
2007-03-29 23:54 ` Luck, Tony
2007-03-30 16:23 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox