From: Keir Fraser Subject: Re: write_tsc in a PV domain? Date: Wed, 26 Aug 2009 16:58:51 +0100 Message-ID: References: <6eb624ce-7d03-425b-afa4-2d97325b096c@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6eb624ce-7d03-425b-afa4-2d97325b096c@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , Jeremy Fitzhardinge Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 26/08/2009 16:42, "Dan Magenheimer" wrote: > OK, I see, wrmsr_hypervisor_regs(0x10) and mce_wrmsr(0x10) and > rdmsr_safe(0x10) all return 0, so the code at "invalid:" is > executed and a warning is printk'd. So in the current > implementation, write_tsc is skipped over. > > But ARCHITECTURALLY does Xen consider write_tsc to be a no-op > for PV domains, or is this just a case that's never been > encountered before? In other words, if a future PV OS had a > good reason to write_tsc, would we implement it (and make > the necessary adjustments to Xen's usages of tsc) or just say, > sorry, not allowed? There'd have to be a good argument for supporting it. I don't think we ever will. -- Keir