[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.14 8/8] x86/hvm: enable emulated PIT for PVH dom0


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Mon, 15 Jun 2020 17:47:59 +0200
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Wei Liu <wl@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, paul@xxxxxxx
  • Delivery-date: Mon, 15 Jun 2020 15:48:28 +0000
  • Ironport-sdr: M5VQRtnHRZQc3T9olrbNYlwXfbbZwNmuiSAHgGezLGeSiarwyP0Fy9i4UyLhCKimEUXe2yZ2W8 LOkEDscE7ZI4mHHiEfooD+icyhInWe8nI5Wjj/erSWFgjF6ndV+03yteSwbbu3AvkZXLNPCDCH CiyBoAE4SI4ZrVpZOQCAoNWtncqJ58NxQVfBVERENejd7m3mglBFLrIjikwLIX0Xuw6/NWXtvX duN88D93Z4eNfOp64F/HJBimWIXFYHK8RUXes7PtGB0+CDRTPpAnpW3BgGwzdJrqcq8+jOiTvP +z0=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Jun 15, 2020 at 04:33:33PM +0100, Andrew Cooper wrote:
> On 12/06/2020 16:56, Roger Pau Monne wrote:
> > Some video BIOS require a PIT in order to work properly, hence classic
> > PV dom0 gets partial access to the physical PIT as long as it's not in
> > use by Xen.
> 
> Is this actually true today?

TBH I have no idea and asked the same thing myself.

> I can believe that it may have been necessary on old hardware, but the
> structure of systems has changed massively over the past 20 years, and
> the PIT is very legacy these days.

I also wondered whether video BIOSes really changed in the last 20
years, I really have no idea. FWIW, Wikipedia still lists PIT as being
used by video BIOSes on x86 systems [0] but there are no references to
specific models or video BIOSes.

Alternatively we could add this as a Xen command line option, ie:
dom0=pit or some such. It's however not very nice to not get output
because the video BIOS doesn't function properly due to lack of PIT.

Thanks, Roger.

[0] https://en.wikipedia.org/wiki/Intel_8253#IBM_PC_programming_tips_and_hints



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.