Disable PAT in linux VMs
Apparently kernel patch "x86/cpa: Use pte_attrs instead of pte_flags on CPA/set_p.._wb/wc operations" (in out repo) doesn't fully solve the problem and sometimes qubes-gui agent crashes with message like "qubes-gui:664 map pfn expected mapping type write-back for [mem 0x00093000-0x00093fff], got uncached-minus". Because PAT we really need only in dom0 (lack of it dramatically decrease performance of some graphics drivers), we can simply disable it in VM - as it is currently done in upstream kernel.
This commit is contained in:
		
							parent
							
								
									8694e4ffbb
								
							
						
					
					
						commit
						ef09f2ed2a
					
				| @ -80,8 +80,8 @@ vm_files = { | |||||||
| 
 | 
 | ||||||
| defaults = { | defaults = { | ||||||
|     'memory': 400, |     'memory': 400, | ||||||
|     'kernelopts': "", |     'kernelopts': "nopat", | ||||||
|     'kernelopts_pcidevs': "iommu=soft swiotlb=4096", |     'kernelopts_pcidevs': "nopat iommu=soft swiotlb=4096", | ||||||
| 
 | 
 | ||||||
|     'dom0_update_check_interval': 6*3600, |     'dom0_update_check_interval': 6*3600, | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski-Górecki
						Marek Marczykowski-Górecki