[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/8] x86: Support for __ro_after_init
- To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Tue, 30 Nov 2021 10:04:37 +0000
- Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Tue, 30 Nov 2021 10:05:14 +0000
- Ironport-data: A9a23:ZBDTKaKr96KYStS0FE+RHZIlxSXFcZb7ZxGr2PjKsXjdYENS02AAx jNKXDvVMvePN2Cmf4p3bY20o09U7MPdz9JhSQJlqX01Q3x08seUXt7xwmUcns+xwm8vaGo9s q3yv/GZdJhcokcxIn5BC5C5xZVG/fjgqoHUVaiUZUideSc+EH140Es4w7Zg6mJVqYPR7z2l6 IuaT/L3YDdJ6xYsWo7Dw/vewP/HlK2aVAIw5jTSV9gS1LPtvyB94KYkDbOwNxPFrrx8RYZWc QphIIaRpQs19z91Yj+sfy2SnkciGtY+NiDW4pZatjTLbrGvaUXe345iXMfwZ3u7hB23pcJY1 /scmaaNRCIXOLeSsslAa0FhRnQW0a1uoNcrIFC6uM2XiUbHb2Ht07NlC0Re0Y8wo7gtRzsUr LpBdW5LPkvra+GemdpXTsFFgMg5IdatF4QYonx6lhnSDOo8QICFSKLPjTNd9Gpg2pgQQqaED yYfQRZtYi2ceiVdAVlUOMoQhsWInXihYQQN/Tp5ooJoujOOnWSdyoPFL979atGMA8JPkS6wh EjL4mD4CREyL8GExHyO9XfErv/Cm2b3VZwfEJW89+V2mxuDy2oLEhoUWFCn5/6jhSaDt8l3c hJOvHB09O5rqRLtHoKVswCETGCsgCQOcsV+QsEA1Qyo9KzOvSy0W1Bcd2sUADA5j/MeSTsv3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7OeCCWO91vZRIYU+YT++nDhEeWw0I jRV8J6vcU4irN1b+dlbqwi//Dcz9J2mCLjW3W8vsKtm07JL3GN/QSIhOY1FyTxGb7tIy4leri/ SlCVxFUmKYUFcCaLq6tYcAX/DeMiFgE7F1O31UAq/BhAlO4w0GDPZ1oOLitEdU6T+oS0Xhy7Hk S1oYzK14/DgDty3TcyT0K+Rnr9dgEekUJxKusN/raM5ZLKpqXr1ewAJ6tEDPtfxAMToRfRqUOI zzzAj7VeL6v547W9J4l2X/dJ
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Also some prep cleanup, because the boot time pagetable handling is seemingly
impossible to edit without finding more skeletons lying around...
Andrew Cooper (8):
x86/boot: Drop incorrect mapping at l2_xenmap[0]
x86/boot: Better describe the pagetable relocation loops
x86/boot: Fix data placement around __high_start()
x86/mm: Drop bogus cacheability logic in update_xen_mappings()
x86/boot: Drop xen_virt_end
x86/boot: Adjust .text/.rodata/etc permissions in one place
x86/boot: Support __ro_after_init
x86/boot: Check that permission restrictions have taken effect
xen/arch/x86/boot/x86_64.S | 8 --
xen/arch/x86/livepatch.c | 3 +-
xen/arch/x86/mm.c | 24 +++---
xen/arch/x86/setup.c | 153 +++++++++++++++++++-------------------
xen/arch/x86/smpboot.c | 3 +-
xen/arch/x86/xen.lds.S | 6 ++
xen/include/asm-x86/setup.h | 3 +
xen/include/asm-x86/x86_64/page.h | 2 -
xen/include/xen/cache.h | 2 +
9 files changed, 103 insertions(+), 101 deletions(-)
--
2.11.0
|