All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Goldstein <cardoe@cardoe.com>
To: xen-devel@lists.xen.org
Cc: Keir Fraser <keir@xen.org>, Doug Goldstein <cardoe@cardoe.com>,
	Jan Beulich <jbeulich@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: [PATCHv6] 13/28] build: convert HAS_GDBSX use to Kconfig
Date: Tue, 24 Nov 2015 11:52:03 -0600	[thread overview]
Message-ID: <1448387538-12208-14-git-send-email-cardoe@cardoe.com> (raw)
In-Reply-To: <1448387538-12208-1-git-send-email-cardoe@cardoe.com>

Use the Kconfig generated CONFIG_HAS_GDBSX defines in the code base.

CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <jbeulich@suse.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
 xen/Rules.mk          | 1 -
 xen/arch/x86/Rules.mk | 1 -
 xen/common/Kconfig    | 4 ++++
 xen/common/domain.c   | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/xen/Rules.mk b/xen/Rules.mk
index 351a186..0ff1a5d 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -56,7 +56,6 @@ CFLAGS-$(crash_debug)   += -DCRASH_DEBUG
 CFLAGS-$(perfc)         += -DPERF_COUNTERS
 CFLAGS-$(perfc_arrays)  += -DPERF_ARRAYS
 CFLAGS-$(lock_profile)  += -DLOCK_PROFILE
-CFLAGS-$(HAS_GDBSX)     += -DHAS_GDBSX
 CFLAGS-$(HAS_MEM_ACCESS)  += -DHAS_MEM_ACCESS
 CFLAGS-$(HAS_MEM_PAGING)  += -DHAS_MEM_PAGING
 CFLAGS-$(HAS_MEM_SHARING) += -DHAS_MEM_SHARING
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index 645d44c..009f702 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -4,7 +4,6 @@
 HAS_NUMA := y
 HAS_EHCI := y
 HAS_KEXEC := y
-HAS_GDBSX := y
 HAS_PDX := y
 HAS_CORE_PARKING := y
 xenoprof := y
diff --git a/xen/common/Kconfig b/xen/common/Kconfig
index 53ca33f..f63284d 100644
--- a/xen/common/Kconfig
+++ b/xen/common/Kconfig
@@ -5,4 +5,8 @@ menu "Common Features"
 config HAS_DEVICE_TREE
 	bool
 
+# Select HAS_GDBSX if GDBSX is supported
+config HAS_GDBSX
+	bool
+
 endmenu
diff --git a/xen/common/domain.c b/xen/common/domain.c
index f56b7ff..94cb2cc 100644
--- a/xen/common/domain.c
+++ b/xen/common/domain.c
@@ -772,7 +772,7 @@ void vcpu_end_shutdown_deferral(struct vcpu *v)
         vcpu_check_shutdown(v);
 }
 
-#ifdef HAS_GDBSX
+#ifdef CONFIG_HAS_GDBSX
 void domain_pause_for_debugger(void)
 {
     struct vcpu *curr = current;
-- 
2.4.10

  parent reply	other threads:[~2015-11-24 17:52 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 17:51 [PATCHv6] 00/28] Kconfig conversion Doug Goldstein
2015-11-24 17:51 ` [PATCHv6] 01/28] build: import Kbuild/Kconfig from Linux 4.2 Doug Goldstein
2015-11-30 13:59   ` Jan Beulich
2015-11-30 15:34     ` Doug Goldstein
2015-11-30 15:42       ` Ian Jackson
2015-11-30 17:03         ` Jan Beulich
2015-11-30 17:16           ` Ian Jackson
2015-11-30 17:21             ` Ian Campbell
2015-12-01 11:00             ` Jan Beulich
2015-12-02 10:39               ` Ian Campbell
2015-12-03 16:04                 ` Doug Goldstein
2015-11-30 15:55       ` Jan Beulich
2015-11-30 17:00         ` Doug Goldstein
2015-11-30 17:04           ` Ian Jackson
2015-11-30 17:10             ` Doug Goldstein
2015-11-30 17:19           ` Ian Campbell
2015-12-01 20:04             ` Doug Goldstein
2015-12-02  9:38               ` Jan Beulich
2015-12-02 14:34                 ` Doug Goldstein
2015-12-02  9:47               ` Ian Campbell
2015-12-02 14:33                 ` Doug Goldstein
2015-12-01 11:01           ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 02/28] build: build Kconfig and config rules Doug Goldstein
2015-11-30 14:36   ` Jan Beulich
2015-11-30 17:53     ` Doug Goldstein
2015-12-01 11:22       ` Jan Beulich
2015-12-03  0:34         ` Doug Goldstein
2015-12-03  8:57           ` Jan Beulich
2015-12-07 21:27             ` Doug Goldstein
2015-12-08  7:32               ` Jan Beulich
2015-12-08 14:16                 ` Doug Goldstein
2015-12-08 14:25                   ` Jan Beulich
2015-12-08 17:59                     ` Doug Goldstein
2015-12-08 18:04                       ` Andrew Cooper
2015-12-09 10:13                         ` Ian Campbell
2015-11-24 17:51 ` [PATCHv6] 03/28] build: use generated Kconfig options for Xen Doug Goldstein
2015-11-30 14:45   ` Jan Beulich
2015-12-08 19:53     ` Doug Goldstein
2015-12-09  8:40       ` Jan Beulich
2015-12-09 20:34         ` Doug Goldstein
2015-12-09 20:53           ` Doug Goldstein
2015-12-10 11:45             ` Jan Beulich
2015-12-10 11:43           ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 04/28] build: convert HAS_PASSTHROUGH use to Kconfig Doug Goldstein
2015-11-30 14:50   ` Jan Beulich
2015-12-03  0:36     ` Doug Goldstein
2015-12-03  8:58       ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 05/28] build: convert HAS_DEVICE_TREE " Doug Goldstein
2015-11-24 17:51 ` [PATCHv6] 06/28] build: convert HAS_PCI " Doug Goldstein
2015-11-24 17:51 ` [PATCHv6] 07/28] build: convert HAS_NS16550 " Doug Goldstein
2015-11-30 14:55   ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 08/28] build: convert HAS_IOPORTS " Doug Goldstein
2015-11-30 14:56   ` Jan Beulich
2015-11-30 15:01     ` Jan Beulich
2015-12-03  0:39       ` Doug Goldstein
2015-12-03  9:06         ` Jan Beulich
2015-11-24 17:51 ` [PATCHv6] 09/28] build: convert HAS_ACPI " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 10/28] build: convert HAS_VIDEO " Doug Goldstein
2015-11-30 15:03   ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 11/28] build: convert HAS_VGA " Doug Goldstein
2015-11-30 15:04   ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 12/28] build: convert HAS_CPUFREQ " Doug Goldstein
2015-11-24 17:52 ` Doug Goldstein [this message]
2015-11-30 15:06   ` [PATCHv6] 13/28] build: convert HAS_GDBSX " Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 14/28] build: convert HAS_PDX " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 15/28] build: convert HAS_KEXEC " Doug Goldstein
2015-11-30 15:10   ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 16/28] build: convert HAS_ARM_HDLCD " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 17/28] build: convert HAS_CADENCE_UART " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 18/28] build: convert HAS_PL011 " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 19/28] build: convert HAS_EXYNOS4210 " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 20/28] build: convert HAS_OMAP " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 21/28] build: convert HAS_SCIF " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 22/28] build: convert HAS_EHCI " Doug Goldstein
2015-11-30 15:13   ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 23/28] build: convert HAS_MEM_ACCESS " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 24/28] build: convert HAS_MEM_PAGING " Doug Goldstein
2015-11-30 15:16   ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 25/28] build: convert HAS_MEM_SHARING " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 26/28] build: convert HAS_GICV3 " Doug Goldstein
2015-11-24 17:52 ` [PATCHv6] 27/28] build: convert CONFIG_COMPAT " Doug Goldstein
2015-11-30 15:18   ` Jan Beulich
2015-12-03 12:52     ` Doug Goldstein
2015-12-03 12:54       ` Jan Beulich
2015-11-24 17:52 ` [PATCHv6] 28/28] build: convert kexec options to CONFIG_KEXEC Doug Goldstein
2015-11-30 15:51 ` [PATCHv6] 00/28] Kconfig conversion Julien Grall
2015-11-30 17:05   ` Doug Goldstein
2015-11-30 17:13     ` Julien Grall
2015-12-03  3:02 ` Doug Goldstein
2015-12-03  8:29   ` Jan Beulich
2015-12-03  9:50     ` Ian Campbell
2015-12-03 11:00       ` Jan Beulich
2015-12-03 11:10         ` Ian Campbell

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=1448387538-12208-14-git-send-email-cardoe@cardoe.com \
    --to=cardoe@cardoe.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xen.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.