xcp-1.6-updates/xen-4.1.hg

view buildconfigs/src.git-clone @ 23319:ff523faf2be1

x86/mm: fix mod_l1_entry() return value when encountering r/o MMIO page

While putting together the workaround announced in
http://lists.xen.org/archives/html/xen-devel/2012-06/msg00709.html, I
found that mod_l1_entry(), upon encountering a set bit in
mmio_ro_ranges, would return 1 instead of 0 (the removal of the write
permission is supposed to be entirely transparent to the caller, even
more so to the calling guest).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen-unstable changeset: 25487:baa85434d0ec
xen-unstable date: Thu Jun 21 11:30:59 2012 +0200
author Jan Beulich <jbeulich@novell.com>
date Mon Jul 09 10:30:16 2012 +0100 (2012-07-09)
parents 15e574a85800
children
line source
1 # Mercurial
2 GIT ?= git
4 LINUX_SRCDIR ?= linux-$(LINUX_VER).git
6 # The URL of the remote GIT repository
7 ifeq ($(XEN_LINUX_GIT_URL),)
8 .ERROR: XEN_LINUX_GIT_URL not specified
9 endif
11 # The branch in the remote repository
12 ifeq ($(XEN_LINUX_GIT_REMOTEBRANCH),)
13 .ERROR: XEN_LINUX_GIT_REMOTEBRANCH not specified
14 endif
16 XEN_GIT_ORIGIN ?= xen
18 XEN_LINUX_GIT_LOCALBRANCH ?= $(XEN_LINUX_GIT_REMOTEBRANCH)
20 # Set XEN_LINUX_GITREV to update to a particlar revision.
21 XEN_LINUX_GITREV ?= $(XEN_GIT_ORIGIN)/$(XEN_LINUX_GIT_REMOTEBRANCH)
23 $(LINUX_SRCDIR)/.valid-src: $(__XEN_LINUX_UPDATE)
24 set -ex; \
25 if ! [ -d $(LINUX_SRCDIR) ]; then \
26 rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \
27 mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \
28 $(GIT) clone -o $(XEN_GIT_ORIGIN) -n $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \
29 (cd $(LINUX_SRCDIR).tmp; git checkout -b $(XEN_LINUX_GIT_LOCALBRANCH) $(XEN_LINUX_GITREV) ); \
30 mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \
31 fi
32 touch $@