From: Alex Williamson Subject: [PATCH 0/5] bios: >4G updates Date: Tue, 23 Sep 2008 10:41:58 -0600 Message-ID: <1222188118.8138.101.camel@2710p.home> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Avi Kivity To: kvm-devel Return-path: Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:40987 "EHLO g5t0007.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752260AbYIWQmD (ORCPT ); Tue, 23 Sep 2008 12:42:03 -0400 Sender: kvm-owner@vger.kernel.org List-ID: As requested, here's the follow-on to the >4G MTRR changes split into functional bits. [1/5] Rename variables to reflect what they're really reporting [2/5] Reformat ram_probe() to match the rest of the code [3/5] Add SMBIOS info for memory above 4G [4/5] Fix the SMBIOS type 19 & 20 range end address [5/5] Optional - switch default MTRR type to WB and only cover MMIO I've taken some liberties renaming and reformatting, if we'd rather not introduce too many extraneous changes, I can drop those. The SMBIOS changes seem to work up to 32767MB, then we hit a limitation in the type 17 table only providing 15bits for the size. We might need to describe multiple virtual DIMMs to get around that, but it's a separate issue. The final patch is optional and switches over to make the variable MTRRs only describe the MMIO hole, leaving the rest of the address space default to WB. I can't say I fully understand the implications of hotplug memory for this scenario. Let me know if there are comments. Thanks, Alex -- Alex Williamson HP Open Source & Linux Org.