From: "Daniel P. Smith" <dpsmith@apertussolutions.com>
To: xen-devel@lists.xenproject.org
Cc: "Daniel P. Smith" <dpsmith@apertussolutions.com>,
scott.davis@starlab.io, christopher.clark@starlab.io,
jandryuk@gmail.com
Subject: [PATCH v3 0/3] xsm: refactor and optimize policy loading
Date: Tue, 31 May 2022 11:08:54 -0400 [thread overview]
Message-ID: <20220531150857.19727-1-dpsmith@apertussolutions.com> (raw)
This series was born out of some cleanup work done while crafting the
hyperlaunch boot modules patch series. The primary purpose of this series was
to stop walking all boot modules when it was not necessary, but the scope
creeped during review.
Changes in v3:
* added arm Rb for patch #3
* mainly a resend due to fubar on sending v2
Changes in v2:
* changed init_policy to policy_file_required
* split the patch into a series
* corrected casting of policy buffer
* use IS_ENABLED() instead of #ifdef sequence
* moved #ifdef inside of braces for xsm_dt_policy_init()
* addressed lack of error handling of xsm{mb,dt}_init()
Daniel P. Smith (3):
xsm: only search for a policy file when needed
xsm: consolidate loading the policy buffer
xsm: properly handle error from XSM init
xen/arch/arm/setup.c | 10 ++++----
xen/arch/x86/setup.c | 9 +++++--
xen/include/xsm/xsm.h | 2 +-
xen/xsm/xsm_core.c | 56 +++++++++++++++++++++----------------------
xen/xsm/xsm_policy.c | 31 ++++++++++++++++++++----
5 files changed, 68 insertions(+), 40 deletions(-)
--
2.20.1
next reply other threads:[~2022-05-31 15:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-31 15:08 Daniel P. Smith [this message]
2022-05-31 15:08 ` [PATCH v3 1/3] xsm: only search for a policy file when needed Daniel P. Smith
2022-05-31 15:51 ` Jan Beulich
2022-05-31 16:15 ` Daniel P. Smith
2022-06-01 6:04 ` Jan Beulich
2022-06-07 12:07 ` Daniel P. Smith
2022-06-01 6:08 ` Jan Beulich
2022-06-07 12:08 ` Daniel P. Smith
2022-05-31 15:08 ` [PATCH v3 2/3] xsm: consolidate loading the policy buffer Daniel P. Smith
2022-05-31 16:05 ` Jan Beulich
2022-05-31 17:02 ` Daniel P. Smith
2022-05-31 15:08 ` [PATCH v3 3/3] xsm: properly handle error from XSM init Daniel P. Smith
2022-06-01 6:14 ` Jan Beulich
2022-06-07 12:14 ` Daniel P. Smith
2022-06-07 13:21 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220531150857.19727-1-dpsmith@apertussolutions.com \
--to=dpsmith@apertussolutions.com \
--cc=christopher.clark@starlab.io \
--cc=jandryuk@gmail.com \
--cc=scott.davis@starlab.io \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.