From: Paolo Bonzini Subject: Re: [PATCH] kvm: x86: reduce rtc 0x70 access vm-exit time Date: Wed, 2 Aug 2017 10:50:09 +0200 Message-ID: References: <201708021645519197745@zte.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: rkrcmar@redhat.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: peng.hao2@zte.com.cn Return-path: In-Reply-To: <201708021645519197745@zte.com.cn> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 02/08/2017 10:45, peng.hao2@zte.com.cn wrote: >>On 02/08/2017 17:24, Peng Hao wrote: > coalesced MMIO is async and io port should be sync . I don't need to > coalese io port access. Coalesced MMIO access is resolved on the next read from a coalesced MMIO address or the next write to a non-coalescecd MMIO address. So it would work perfectly for port 0x70. You would have to modify QEMU to split the RTC I/O ports into two MemoryRegions. Paolo