All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Smith" <dpsmith@apertussolutions.com>
To: xen-devel@lists.xenproject.org
Cc: "Daniel P. Smith" <dpsmith@apertussolutions.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Ian Jackson <iwj@xenproject.org>, Jan Beulich <jbeulich@suse.com>,
	Julien Grall <julien@xen.org>,
	Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>
Subject: [PATCH v3 6/7] xsm: drop generic event channel labeling exclusion
Date: Thu,  5 Aug 2021 10:06:43 -0400	[thread overview]
Message-ID: <20210805140644.357-7-dpsmith@apertussolutions.com> (raw)
In-Reply-To: <20210805140644.357-1-dpsmith@apertussolutions.com>

The internal define flag is not used by any XSM module, removing the #ifdef
leaving the generic event channel labeling as always present.

Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
---
 xen/include/xen/sched.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h
index 28146ee404..b089324510 100644
--- a/xen/include/xen/sched.h
+++ b/xen/include/xen/sched.h
@@ -120,15 +120,12 @@ struct evtchn
     unsigned short notify_vcpu_id; /* VCPU for local delivery notification */
     uint32_t fifo_lastq;           /* Data for identifying last queue. */
 
-#ifdef CONFIG_XSM
     union {
-#ifdef XSM_NEED_GENERIC_EVTCHN_SSID
         /*
          * If an XSM module needs more space for its event channel context,
          * this pointer stores the necessary data for the security server.
          */
         void *generic;
-#endif
 #ifdef CONFIG_XSM_FLASK
         /*
          * Inlining the contents of the structure for FLASK avoids unneeded
@@ -138,7 +135,6 @@ struct evtchn
         uint32_t flask_sid;
 #endif
     } ssid;
-#endif
 } __attribute__((aligned(64)));
 
 int  evtchn_init(struct domain *d, unsigned int max_port);
-- 
2.20.1



  parent reply	other threads:[~2021-08-05 14:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05 14:06 [PATCH v3 0/7] xsm: refactoring xsm hooks Daniel P. Smith
2021-08-05 14:06 ` [PATCH v3 1/7] xen: Implement xen/alternative-call.h for use in common code Daniel P. Smith
2021-08-05 15:31   ` Jan Beulich
2021-08-05 14:06 ` [PATCH v3 2/7] xsm: remove the ability to disable flask Daniel P. Smith
2021-08-25 15:22   ` Jan Beulich
2021-08-27 13:42     ` Daniel P. Smith
2021-08-05 14:06 ` [PATCH v3 3/7] xsm: refactor xsm_ops handling Daniel P. Smith
2021-08-25 15:16   ` Jan Beulich
2021-08-27 13:44     ` Daniel P. Smith
2021-08-05 14:06 ` [PATCH v3 4/7] xsm: convert xsm_ops hook calls to alternative call Daniel P. Smith
2021-08-05 14:06 ` [PATCH v3 5/7] xsm: decouple xsm header inclusion selection Daniel P. Smith
2021-08-26  8:13   ` Jan Beulich
2021-08-27 14:06     ` Daniel P. Smith
2021-08-30 13:24       ` Jan Beulich
2021-08-30 13:41         ` Daniel P. Smith
2021-08-30 13:46           ` Jan Beulich
2021-08-30 13:55             ` Daniel P. Smith
2021-08-05 14:06 ` Daniel P. Smith [this message]
2021-08-25 15:44   ` [PATCH v3 6/7] xsm: drop generic event channel labeling exclusion Jan Beulich
2021-08-27 14:16     ` Daniel P. Smith
2021-08-30 13:25       ` Jan Beulich
2021-08-05 14:06 ` [PATCH v3 7/7] xsm: removing facade that XSM can be enabled/disabled Daniel P. Smith
2021-08-26  9:37   ` Jan Beulich
2021-08-30 12:11     ` Daniel P. Smith
2021-08-30 13:34       ` 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=20210805140644.357-7-dpsmith@apertussolutions.com \
    --to=dpsmith@apertussolutions.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=iwj@xenproject.org \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=wl@xen.org \
    --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.