From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v4 04/14] x86/rtc: replace paravirt rtc check with platform legacy quirk Date: Fri, 8 Apr 2016 08:37:44 -0400 Message-ID: <5707A618.7040608@oracle.com> References: <1459987594-5434-1-git-send-email-mcgrof@kernel.org> <1459987594-5434-5-git-send-email-mcgrof@kernel.org> <570658DA.7060509@oracle.com> <20160408003207.GN1990@wotan.suse.de> <57073F0F.400@suse.com> <57075201.5080207@suse.com> <57075A0F.2020303@suse.com> <570764F8.6020902@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <570764F8.6020902@suse.com> Sender: linux-acpi-owner@vger.kernel.org To: Juergen Gross , "Luis R. Rodriguez" , "H. Peter Anvin" Cc: Borislav Petkov , Thomas Gleixner , Ingo Molnar , Rusty Russell , X86 ML , "linux-kernel@vger.kernel.org" , Andy Lutomirski , David Vrabel , Konrad Rzeszutek Wilk , "xen-devel@lists.xensource.com" , lguest@lists.ozlabs.org, Andy Shevchenko , Joey Lee , Gary Lin , Matt Fleming , Andrew Cooper , "Rafael J. Wysocki" , Len Brown , "Moore, Robert" , Lv Zheng , Toshi Kani , ACPI Devel Maling List , kozerkov@paral List-Id: xen-devel@lists.xenproject.org On 04/08/2016 03:59 AM, Juergen Gross wrote: > On 08/04/16 09:36, Luis R. Rodriguez wrote: >> On Fri, Apr 8, 2016 at 12:13 AM, Juergen Gross wrote: >>> On 08/04/16 08:56, Luis R. Rodriguez wrote: >>>> On Thu, Apr 7, 2016 at 11:38 PM, Juergen Gross wrote: >>>> >>>> Okay. Another idea (not sure whether this is really a good one): >>>> >>>> Add X86_SUBARCH_XEN_DOM0. As hardware_subarch is 32 bits wide I don't >>>> think the number of subarchs is a scarce resource. :-) >> This would mean bumping the x86 boot protocol, we shouldn't take that >> lightly, but given that in this case the new subarch would really only >> be set by the kernel (or future loaders for perhaps HVMLite) I'd think >> this is not such an intrusive alternative. > I think adding an own subarch for dom0 isn't that bad. It really is > different from domU as dom0 has per default access to the real hardware > (or at least to most of it). Can we do this (overwrite quirks) in x86_init_ops.arch_setup? I'd really like to avoid adding a what essentially is a sub-subarch. -boris