xcp-1.6-updates/xen-4.1.hg

view .hgsigs @ 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 11dfb8e06343
children e89be0dedeb4
line source
1 2a60be40e2cb2a3c62836e690927588c3e31d01c 0 iQEcBAABAgAGBQJNLxyGAAoJEIP+FMlX6CvZUjIH/1R0TcK4zBLl1FdXWF/LnOW+HgezYywSRHuJqNur6TweqVqKxnM6gCqjRvlGOrtWOhtEVnb3FmR7pRX4dEiQnBdO//b30ZbU8zOKvDlB7Pa0U81pcD19tloycV+LbHgulVxXnZXeQRTP/eLsUKTM4GKiqvDNN3EPdZADJyz+0MLf/BCJipXVkgmzbFefFlBDRtw05BGE899kiObqoA6LnPPVvZxBqW4nNxeYR6nK7mgps9RRrgMnt9fyPmSN0+ME1nxhfl6Gd9p9109S5ujHwnzwgO/5X+OQF/F0i1SQVvXsGQyM5eE/ZxHEpEKqtFyWPEIk4/eFLsqmdPAAr5XERaw=
2 9dca60d88c630fcc7a07ad68fd3a0dce02aee646 0 iQEcBAABAgAGBQJNPtkLAAoJEIP+FMlX6CvZzPMH/Rwsp62u3DXfzune2FBh6WjJerPusvkkhfogDc21Mfy7ed/rJfr2ovLYdiJhc7Ml5F51rLc/1d2FshiCDB9x5nVGyKSx9VfWew6fU/YI5wc2BiQg47d9WM6WI8kP07E51c+ML9nQu9QOE4xI0JpFy2u1jByJtG/Wy9qgLwvhK1OoCjs0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7tt3/GmaK4qSdnHNpIkulVK0XJYzFkJzFr5eHVeYTGFb25Sgir2sIN2gxaCPI3/p90akFMJKmeNV5XCmOQ5g2GWUZTff8LGF6Fk0Me8=
8 32203061c1f762de4bea517a68f243d878b5240f 0 iQEcBAABAgAGBQJNgO9ZAAoJEIP+FMlX6CvZvI4IAKdS4yPTDFHeXDxW1xajGTbBag1YQS90Ns3dn7IVTCmPj53pgHwbVGQWnHZNqZdGsJbb02kGGADzkhVWXg27mHgKL3QEBrrsN/lQxG5yWcth9jrlAnd1yL0wnGWKsALOAZljfNwsC9hlPKPvd77G4mKM835aPIw55njoIzSC/D6jBmKih1cF/kPQai1Qp8hed+sGf3BXQ2h+VTrsHdegjhRQ3edb4RU3TX91mZOqQt1yJQNh4RNg+6qjEFbFxe5Yb4Rr9iFGTEsxqZyOCpdY5K3xc5qDXeaMQJFbHQkmCpnzW/Zaneh0NiMBeVAFbnMN4F6Hh8/+QWFc+45nW83nhCU=
9 98c5805050539a920523b33227d5934965bcc038 0 iQEcBAABAgAGBQJNh07zAAoJEIP+FMlX6CvZ8jgH/jMXLHWv0jRBCJ1eHTmrAwU+GSJQCfnLgFKkQe7HCFTxAP1D292MKFMvhfPPmYn9fi7CcPlilFKofgJcjSXc5l2UPC7ZZra94jQtc8FQXjEPiLpqzOINBFFbwLwmkcpLbNZXmU49bcVUA9XULxruCBhzPnS7a8Oby2sIGMgdfi4pDT/LzPP36P/h9x5LG4a8Hca7P7LPku+42Y53xLgMIQYazSA3K5NXUc9nrwqmBhSCtXg800YA+YYfIOW/3QVR/H01OlUH6kWnv1L8fW9IO9XbHqRRebID0Wwzi878Z0quas+Zjif+uL+auEalitjyNqyy+/cSwoL9Ki3/rravTd4=
10 6a2089f00dc7573e3559635f72ca93e0540b030d 0 iQEcBAABAgAGBQJNjGzyAAoJEIP+FMlX6CvZALgIAMBUChPDBEsFq50j1Mr/F8LaZRnd0pN6AS3S1N1jq/vrYHGcbvTg8igCYfqrNAPn3HKy+rGGE601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