lkml.org 
[lkml]   [2021]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: remove set_fs for UML
On Tue, Dec 21, 2021 at 10:05:03PM +0100, Richard Weinberger wrote:
> So far UML seems to work with these changes applied. :-)
> I have applied both patches to my UML tree for now, I assume x86 maintainers are fine with
> patch 1/2?

Looks like patch 1 needs this fixup for some configurations, where
pci.h doesn't get pulled into kvm by other means.

But we probably want an ACK from the x86 maintainers to be sure anyway..

diff --git a/arch/x86/kvm/mmu/spte.c b/arch/x86/kvm/mmu/spte.c
index 0c76c45fdb686..fad546df0bbac 100644
--- a/arch/x86/kvm/mmu/spte.c
+++ b/arch/x86/kvm/mmu/spte.c
@@ -16,6 +16,7 @@
#include "spte.h"

#include <asm/e820/api.h>
+#include <asm/memtype.h>
#include <asm/vmx.h>

static bool __read_mostly enable_mmio_caching = true;
\
 
 \ /
  Last update: 2021-12-22 09:19    [W:0.090 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site