From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] [PATCH]ACPI fACS global lock & virtual memmap
Date: Wed, 06 Nov 2002 17:32:43 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805340@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805326@msgid-missing>
>>>>> On Fri, 1 Nov 2002 16:14:43 -0600, "Sluder, Charles" <Charles.Sluder@UNISYS.com> said:
Charles> The first problem was a panic in put_gate_page(). The panic
Charles> only occurs with CONFIG_VIRTUAL_MEMMAP enabled. The panic
Charles> results because there is not a pte for the kernel data
Charles> section. We traced this back and found that
Charles> efi_memmap_walk() was indiscriminately "trimming" chunks
Charles> out of the first 96MB of memory in the efi memory map. The
Charles> problem appears to be that the first_non_wb_addr variable
Charles> is not being advanced properly as the code walks through
Charles> the efi memory descriptors. On the next pass through the
Charles> outer loop after a hole is encountered in the memmap,
Charles> first_non_wb_addr is usually pointing at one of the memory
Charles> descriptors in the previous contiguous segment. It calls
Charles> the functions to trim the memory descriptor without taking
Charles> the memory descriptor previous to that into
Charles> account. Basically the code goes through a contiguous
Charles> segment, finds a hole, and then, on the next pass, trims a
Charles> bunch of memory out of the contiguous segment. The problem
Charles> only occurs if there are numerous holes in the efi memory
Charles> map. The panic will not occur on a tiger. The patch sets
Charles> first_non_wb_addr to either the first non write back
Charles> address it finds or to the start address in the first
Charles> memory descriptor after a hole. We do not fully understand
Charles> all the uses for this routine and are therefore not certain
Charles> that this is the correct way to fix this problem.
Can you provide a specific example of a (simple) memory map that you
believe causes problems? It's probably sufficient to give descriptors
for one or two granules (both the descriptor range & type are needed).
Thanks,
--david
next prev parent reply other threads:[~2002-11-06 17:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-01 22:14 [Linux-ia64] [PATCH]ACPI fACS global lock & virtual memmap Sluder, Charles
2002-11-04 15:45 ` Van Maren, Kevin
2002-11-06 17:32 ` David Mosberger [this message]
2002-11-06 23:31 ` David Mosberger
2002-11-06 23:35 ` David Mosberger
2002-11-07 2:52 ` Sluder, Charles
2002-11-07 3:13 ` David Mosberger
2002-11-07 18:02 ` Sluder, Charles
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=marc-linux-ia64-105590709805340@msgid-missing \
--to=davidm@napali.hpl.hp.com \
--cc=linux-ia64@vger.kernel.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