summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/io/vmm
AgeCommit message (Collapse)AuthorFilesLines
2022-04-2114587 bhyve and viona belong in uts/intelPatrick Mooney83-39719/+0
Reviewed by: Keith Wesolowski <wesolows@oxide.computer> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2022-04-1514636 discard mutex shim for bhyvePatrick Mooney9-82/+61
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2022-04-1114598 bhyve vlapic should handle APICBASE changesPatrick Mooney11-605/+592
14599 simplify bhyve MSR handling Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Luqman Aden <luqman@oxide.computer> Approved by: Dan McDonald <danmcd@joyent.com>
2022-03-3014569 bhyve should consolidate on hrtimePatrick Mooney7-262/+220
14486 bhyve needs instruction emul tests Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Luqman Aden <luqman@oxide.computer> Approved by: Dan McDonald <danmcd@joyent.com>
2022-03-3013912 viona should track held pagesPatrick Mooney2-23/+46
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Approved by: Dan McDonald <danmcd@joyent.com>
2022-03-0214511 bhyve needs devmem access for all segmentsPatrick Mooney1-27/+31
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Luqman Aden <luqman@oxide.computer> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-02-2614483 bhyve should emulate testb imm8,r/m8Andy Fiddaman1-0/+27
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-02-2314430 simplify bhyve vatpitPatrick Mooney1-42/+63
Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Rich Lowe <richlowe@richlowe.net>
2022-02-1814456 bhyve needs fpu import/exportPatrick Mooney5-78/+153
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2022-02-0814429 simplify bhyve vatpicPatrick Mooney1-130/+115
Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Dan McDonald <danmcd@joyent.com>
2022-02-0714372 bhyve upstream sync 2022 JanuaryAndy Fiddaman2-11/+16
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jorge Schrauwen <sjorge@blackdot.be> Approved by: Dan McDonald <danmcd@joyent.com>
2022-01-2713917 ctxops interfaces could be more ergonomicPatrick Mooney1-31/+36
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-01-2514425 want probes for invvpid and inveptPatrick Mooney1-9/+18
14426 expand seg_vmm tests Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-01-2414423 bhyve vm can wedge on shutdownPatrick Mooney1-3/+7
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: Vitaliy Gusev <gusev.vitaliy@gmail.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2022-01-2414438 ppt gets width of PCIE_DEVCAP wrongAndy Fiddaman1-2/+2
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2022-01-1314260 bhyve PICs should use unsigned levelsPatrick Mooney2-84/+132
Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Dan McDonald <danmcd@joyent.com>
2022-01-1114367 bhyve gpt mishandles small mappingsPatrick Mooney2-14/+37
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2022-01-1114373 ppt driver maps BAR to wrong ddi registerAndy Fiddaman1-8/+16
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Jorge Schrauwen <registration@blackdot.be> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-12-1414087 Bhyve exposes dirty page tracking interfaceDan Cross5-1/+84
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-12-0214281 bhyve bungles kstat clean-upPatrick Mooney1-1/+2
Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-11-2914266 bhyve mishandles TLB flush on VMXPatrick Mooney2-23/+25
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2021-11-2314081 bhyve upstream sync 2021 SeptemberAndy Fiddaman9-143/+162
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-11-1913896 bhyve VM interfaces should be better fitPatrick Mooney33-2361/+2136
13981 bhyve emulation should set dirty bits Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-2814024 bhyve vm_suspend should be more flexiblePatrick Mooney3-27/+77
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Luqman Aden <luqman@oxide.computer> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-2714100 bhyve misses TLB flush for shadowed cr0Patrick Mooney1-4/+47
14101 bhyve should expose shadowed bits in CRs Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-1014010 bhyve should handle SMI exit on AMDPatrick Mooney2-2/+11
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-1013686 bhyve should emulate mov-to-%crPatrick Mooney1-4/+150
Reviewed by: Jonathan Perkin <jperkin@joyent.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-09-0314042 GPT: Closed ranges conflict with other code causing panicsDan Cross1-7/+7
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-0114026 livelock in vmm_drv interfacePatrick Mooney1-48/+120
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-07-2713833 want bhyve memory reservoirPatrick Mooney10-168/+1448
13822 bhyve memory should exert memory pressure 13834 want extensible page_resv 13821 vmmctl ioctls should have more structure Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-07-2613932 improve bhyve second level page table supportDan Cross6-402/+963
13862 EPT/RVI supports resetting A/D bits Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-07-0213861 bhyve apicv logic could take more carePatrick Mooney4-126/+131
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-07-0213902 Fix for 13717 may break 8-disk raidz2Dan McDonald1-1/+1
13915 installctx() blocking allocate causes problems Portions contributed by: Jerry Jelinek <gjelinek@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2021-06-0313835 bhyve should not zero lowmem on rebootPatrick Mooney3-33/+1
13840 bhyve hostbridge should feign PAM0 emulation Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-05-3113825 consolidate vm-related headers for bhyveDan Cross26-402/+264
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-05-1313777 bhyve kernel ifdef cleanupPatrick Mooney22-782/+12
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Dan Cross <cross@oxidecomputer.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-05-0413723 expose bhyve metrics as kstatsPatrick Mooney6-19/+256
13741 want microstates for bhyve vCPUs Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-1913674 bhyve upstream sync 2021 MarchAndy Fiddaman11-92/+308
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Jorge Schrauwen <sjorge@blackdot.be> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-1913713 vm_unmap_mmio() should return non zero on errorAndy Fiddaman3-11/+2
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Jorge Schrauwen <sjorge@blackdot.be> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-1913712 bhyve allows vmspace mapping inside existing rangeAndy Fiddaman1-6/+11
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Jorge Schrauwen <sjorge@blackdot.be> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-0613692 bhyve panic if vmm_drv_purge() failsAndy Fiddaman1-4/+4
Reviewed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-04-0213645 bhyve queues wrong SIPIPatrick Mooney1-1/+9
Reviewed by: Yuri Pankov <yuripv@yuripv.dev> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-03-0413256 bhyve should shadow %cr0 on AMDPatrick Mooney7-20/+419
13338 bhyve should be able to emulate CLTS Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2021-02-0913375 bhyve should expose invariant TSCPatrick Mooney8-96/+180
13381 support TSC offsets on AMD bhyve 13382 consolidate MSR emulation in bhyve Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-02-0213379 bhyve upstream sync 2020 DecAndy Fiddaman10-106/+85
Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Jorge Schrauwen <sjorge@blackdot.be> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-01-2613383 generalize check for serializing LFENCEPatrick Mooney1-7/+13
13384 tsc_read() should use lfence when prudent 13387 bhyve should expose lfence serialize in DE_CFG MSR Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-01-2313458 bhyve flushes ASID needlesslyPatrick Mooney1-1/+1
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-01-0813275 bhyve needs richer INIT/SIPI supportPatrick Mooney10-406/+606
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-12-1713301 bhyve PIT not periodic for square wave modePatrick Mooney1-1/+1
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-12-1613361 bhyve should mask RDT cpuid infoPatrick Mooney2-0/+20
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>