Received: from eggs.gnu.org ([2001:4830:134:3::10]:53069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCQFQ-00029Q-D9 for qemu-devel@nongnu.org; Mon, 13 Jun 2016 07:41:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCQFO-00056d-Ft for qemu-devel@nongnu.org; Mon, 13 Jun 2016 07:41:39 -0400 From: Date: Mon, 13 Jun 2016 14:38:31 +0530 Message-ID: <1465808915-4887-1-git-send-email-vijayak@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [RFC PATCH v1 0/4] ARM/AARCH64: Runtime page size computation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-arm@nongnu.org, peter.maydell@linaro.org, pbonzini@redhat.com, quintela@redhat.com Cc: qemu-devel@nongnu.org, Prasun.Kapoor@caviumnetworks.com, vijay.kilari@gmail.com, Vijaya Kumar K From: Vijaya Kumar K For AARCH64, minimum page size is 4K, for ARM32 bit platforms minimum page size is 1K. With this patch series, the page size is calculated at run-time based on cpu model emulated. Having higher/optimal page size, improves emulation and migration performance. Vijaya Kumar K (4): migration: Remove static allocation of xzblre cache buffer exec.c: Remove static allocation of sub_section of sub_page translate-all.c: Compute L1 page table properties at runtime target-arm: Compute page size based on ARM target cpu type exec.c | 5 +++-- hw/arm/virt.c | 48 +++++++++++++++++++++++++++++++++++++++++ include/hw/boards.h | 1 + include/qemu-common.h | 1 + migration/ram.c | 4 +++- target-arm/cpu.h | 12 ++++++----- translate-all.c | 57 ++++++++++++++++++++++++++++++------------------- vl.c | 10 +++++++++ 8 files changed, 108 insertions(+), 30 deletions(-) -- 1.7.9.5