[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/9] x86/shadow: misc tidying
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 11 Jan 2023 14:51:11 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ILA0dFecrQ4kY+XxLhjKokOnovJsHmRJvxl1dDrFEto=; b=YKD78oWLtyUPLaEDNPVHMmYse60pk3FR2fwDmVTrNkf5TlZ+t7JNPFKy9ki0/DC73yavQoZqx6RrM04IumXrcWFUcxcJ7ZY+PKYsSl0bi16YIe5A/99zh4yyMHkQ0To1WX/uJgEmvDMayTH3o8Q5Qoz5SewRvF7HBbE0B/fFlc/ddiksuF97eXTMn3x0FVaso6pddm7gAvIIcIv72sx/XC0tmkH293tmLgBHWPJHA7nbgZTyKegqfxIdzzaiGVDRvSzbrNUKkENhAhcThRE+3PdpQmGmaqHpgupMjMKeTusTHXv2T8zaOQc2Qdk1yUVrw3sIISzMqmi6jtYoFesZjQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ehFA9beu3wI7dZRUgk2FXcAMUMID6fFgaInH/T0KRL9m9q194mJvYEXO53QposM+tS2dV+ovYWCpeQH3kp6ID6uLnLyQ5HbhswhyG7b1D07iRWFk6lHT4f7Aqq67b67wdRivwyilE88AQ/9gcY04ezMhDKfgtOakvcqm7Q7259Zqe/2fkNiWJ2MBbRMuuMFxugcZgmKZSwdlnOojZzBZxDKbo72gwGJItg5IgaF/7djSyG/2BPtirIFvYyUWMiwKOrSP3y9J26WNIQ1HFBkCSQ9HWrPf2PBSStJeR2xt1ijkzZYMLmnpxGjrbNvXuOg5yFDhU0fJcXYGHuYcwm4S4A==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
- Delivery-date: Wed, 11 Jan 2023 13:51:26 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
... or so I hope. The main observation was that we still have both
hash_vcpu_for_each() and hash_domain_for_each(), where the latter was
introduced in 2014/15 to replace the former. Only some eight years
later we can now complete this conversion. Everything else addresses
other things noticed along the road.
Note that patch 8 conflicts contextually but not functionally with
patches 3 and 4 from "x86/mm: address aspects noticed during XSA-410
work".
1: replace sh_reset_l3_up_pointers()
2: drop hash_vcpu_foreach()
3: rename hash_domain_foreach()
4: drop a few uses of mfn_valid()
5: L2H shadow type is PV32-only
6: x86/shadow: re-work 4-level SHADOW_FOREACH_L2E()
7: reduce effort of hash calculation
8: call sh_detach_old_tables() directly
9: harden shadow_size()
Jan
|