diff options
author | Jiang Yunhong <yunhong.jiang@intel.com> | 2011-08-30 15:50:31 +0800 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2011-09-13 12:08:51 +0200 |
commit | f1f1f5ff5b87d4f754572e0f05398842f0cde059 (patch) | |
tree | 197c2e76d3970c7c32ff20196aa07290b25455f6 /hw/pci.c | |
parent | e07ec9adfc33c0cfb2056180960d7e62fc5ea7c7 (diff) | |
download | external_qemu-f1f1f5ff5b87d4f754572e0f05398842f0cde059.zip external_qemu-f1f1f5ff5b87d4f754572e0f05398842f0cde059.tar.gz external_qemu-f1f1f5ff5b87d4f754572e0f05398842f0cde059.tar.bz2 |
Accelerate nand device in virtualization environment
Currently NAND device driver need 8 MMIO access for goldfish nand device access.
MMIO access is expensive in virtualization environment because each MMIO access
will cause a context switch from in-kernel module to qemu user space process.
Through introducing a new batch command, these multiple MMIO access can be
combined into one, thus improve virtualization perofrmance. The booting time in
KVM environment is reduced from 25~26 seconds to 20~21 seconds.
A kernel patch is required to utilize this new batch command.
The patched kernel will detect the batch support through a new flags in
goldfish nand device, while current kernel is not impacted.
Change-Id: Ia460b1ba3c6fde5b1fc6101bb66f8f58e46e6a78
Signed-off-by: Xin Xiaohui <xiaohui.xin@intel.com>
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com>
Signed-off-by: Nakajima Jun <jun.nakajima@intel.com>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions