mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Aperture memory hole on x86_64
@ 2008-04-21 19:13 Alan
  2008-04-21 19:32 ` Yinghai Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Alan @ 2008-04-21 19:13 UTC (permalink / raw)
  To: linux-kernel

Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a 256meg
video card.

I am running 2.6.25 from Fedora 9 beta.

When i boot, I get the following messages:

Checking aperture...
Node 0: aperture @ 9816000000 size 32 MB
Aperture beyond 4GB. Ignoring.
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the bios setup
Mapping aperture over 65536 KB of RAM @ c000000

Is this a bug or is the x86_64 supposed to map the video aperture into
something that is 32bit addressable?

Also, there is no video settings at all on this particular laptop in bios.
 (It is an HP dv6700 with almost everything maxed out.)

Just curious if this is correct behavior or not. (Since I am using the
xorg nv driver, it may not make any difference.)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Aperture memory hole on x86_64
  2008-04-21 19:13 Aperture memory hole on x86_64 Alan
@ 2008-04-21 19:32 ` Yinghai Lu
  2008-04-21 20:42   ` Alan
  0 siblings, 1 reply; 4+ messages in thread
From: Yinghai Lu @ 2008-04-21 19:32 UTC (permalink / raw)
  To: Alan; +Cc: linux-kernel

On Mon, Apr 21, 2008 at 12:13 PM, Alan <alan@clueserver.org> wrote:
> Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a 256meg
>  video card.
>
>  I am running 2.6.25 from Fedora 9 beta.
>
>  When i boot, I get the following messages:
>
>  Checking aperture...
>  Node 0: aperture @ 9816000000 size 32 MB
>  Aperture beyond 4GB. Ignoring.
>  No AGP bridge found
>  Your BIOS doesn't leave a aperture memory hole
>  Please enable the IOMMU option in the bios setup
>  Mapping aperture over 65536 KB of RAM @ c000000
>
>  Is this a bug or is the x86_64 supposed to map the video aperture into
>  something that is 32bit addressable?
>
>  Also, there is no video settings at all on this particular laptop in bios.
>   (It is an HP dv6700 with almost everything maxed out.)
>
>  Just curious if this is correct behavior or not. (Since I am using the
>  xorg nv driver, it may not make any difference.)

you have 4G ram installed, and hw mem hole is enabled, so you memory
top is above 4g.
and kernel need to use gart for iommu.

and you bios didn't setup your gart because you didn't have agp..

please check if you BIOS have setup for gart, and you can set size to
64M, and then you could get 64M ram back.

YH

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Aperture memory hole on x86_64
  2008-04-21 19:32 ` Yinghai Lu
@ 2008-04-21 20:42   ` Alan
  2008-04-21 21:03     ` Yinghai Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Alan @ 2008-04-21 20:42 UTC (permalink / raw)
  To: Yinghai Lu; +Cc: Alan, linux-kernel

> On Mon, Apr 21, 2008 at 12:13 PM, Alan <alan@clueserver.org> wrote:
>> Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a
>> 256meg
>>  video card.
>>
>>  I am running 2.6.25 from Fedora 9 beta.
>>
>>  When i boot, I get the following messages:
>>
>>  Checking aperture...
>>  Node 0: aperture @ 9816000000 size 32 MB
>>  Aperture beyond 4GB. Ignoring.
>>  No AGP bridge found
>>  Your BIOS doesn't leave a aperture memory hole
>>  Please enable the IOMMU option in the bios setup
>>  Mapping aperture over 65536 KB of RAM @ c000000
>>
>>  Is this a bug or is the x86_64 supposed to map the video aperture into
>>  something that is 32bit addressable?
>>
>>  Also, there is no video settings at all on this particular laptop in
>> bios.
>>   (It is an HP dv6700 with almost everything maxed out.)
>>
>>  Just curious if this is correct behavior or not. (Since I am using the
>>  xorg nv driver, it may not make any difference.)
>
> you have 4G ram installed, and hw mem hole is enabled, so you memory
> top is above 4g.
> and kernel need to use gart for iommu.
>
> and you bios didn't setup your gart because you didn't have agp..
>
> please check if you BIOS have setup for gart, and you can set size to
> 64M, and then you could get 64M ram back.

There is no memory or video related setting options in the bios at all. 
It is about as barebones as you can get.

If you want, I can send the output of dmesg or other diagnostics for this
machine.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Aperture memory hole on x86_64
  2008-04-21 20:42   ` Alan
@ 2008-04-21 21:03     ` Yinghai Lu
  0 siblings, 0 replies; 4+ messages in thread
From: Yinghai Lu @ 2008-04-21 21:03 UTC (permalink / raw)
  To: Alan, Andi Kleen, Ingo Molnar; +Cc: linux-kernel

On Mon, Apr 21, 2008 at 1:42 PM, Alan <alan@clueserver.org> wrote:
>
> > On Mon, Apr 21, 2008 at 12:13 PM, Alan <alan@clueserver.org> wrote:
>  >> Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a
>  >> 256meg
>  >>  video card.
>  >>
>  >>  I am running 2.6.25 from Fedora 9 beta.
>  >>
>  >>  When i boot, I get the following messages:
>  >>
>  >>  Checking aperture...
>  >>  Node 0: aperture @ 9816000000 size 32 MB
>  >>  Aperture beyond 4GB. Ignoring.
>  >>  No AGP bridge found
>  >>  Your BIOS doesn't leave a aperture memory hole
>  >>  Please enable the IOMMU option in the bios setup
>  >>  Mapping aperture over 65536 KB of RAM @ c000000
>  >>
>  >>  Is this a bug or is the x86_64 supposed to map the video aperture into
>  >>  something that is 32bit addressable?
>  >>
>  >>  Also, there is no video settings at all on this particular laptop in
>  >> bios.
>  >>   (It is an HP dv6700 with almost everything maxed out.)
>  >>
>  >>  Just curious if this is correct behavior or not. (Since I am using the
>  >>  xorg nv driver, it may not make any difference.)
>  >
>  > you have 4G ram installed, and hw mem hole is enabled, so you memory
>  > top is above 4g.
>  > and kernel need to use gart for iommu.
>  >
>  > and you bios didn't setup your gart because you didn't have agp..
>  >
>  > please check if you BIOS have setup for gart, and you can set size to
>  > 64M, and then you could get 64M ram back.
>
>  There is no memory or video related setting options in the bios at all.
>  It is about as barebones as you can get.
>
>  If you want, I can send the output of dmesg or other diagnostics for this
>  machine.

that is ok.

because get that from RAM is safe.

or some day we can treat GART in amd NB as unassigned resource, and
assign some mmio resource to it...
so you can get 64M back. --- but that not 100% safe.

YH

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-21 21:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-21 19:13 Aperture memory hole on x86_64 Alan
2008-04-21 19:32 ` Yinghai Lu
2008-04-21 20:42   ` Alan
2008-04-21 21:03     ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®