Author: markj
Date: Sat May 19 19:53:23 2018
New Revision: 333890
URL: https://svnweb.freebsd.org/changeset/base/333890

Log:
  Enable kernel dump features in GENERIC for most platforms.
  
  This turns on support for kernel dump encryption and compression, and
  netdump. arm and mips platforms are omitted for now, since they are more
  constrained and don't benefit as much from these features.
  
  Reviewed by:  cem, manu, rgrimes
  Tested by:    manu (arm64)
  Relnotes:     yes
  Differential Revision:        https://reviews.freebsd.org/D15465

Modified:
  head/sys/amd64/conf/GENERIC
  head/sys/arm64/conf/GENERIC
  head/sys/i386/conf/GENERIC
  head/sys/powerpc/conf/GENERIC
  head/sys/powerpc/conf/GENERIC64
  head/sys/sparc64/conf/GENERIC

Modified: head/sys/amd64/conf/GENERIC
==============================================================================
--- head/sys/amd64/conf/GENERIC Sat May 19 19:46:57 2018        (r333889)
+++ head/sys/amd64/conf/GENERIC Sat May 19 19:53:23 2018        (r333890)
@@ -99,6 +99,12 @@ options      WITNESS                 # Enable checks to 
detect deadlocks
 options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
 
+# Kernel dump features.
+options        EKCD                    # Support for encrypted kernel dumps
+options        GZIO                    # gzip-compressed kernel and user dumps
+options        ZSTDIO                  # zstd-compressed kernel and user dumps
+options        NETDUMP                 # netdump(4) client support
+
 # Make an SMP-capable kernel by default
 options        SMP                     # Symmetric MultiProcessor Kernel
 options        EARLY_AP_STARTUP

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC Sat May 19 19:46:57 2018        (r333889)
+++ head/sys/arm64/conf/GENERIC Sat May 19 19:53:23 2018        (r333890)
@@ -93,6 +93,12 @@ options      MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) 
 options        ALT_BREAK_TO_DEBUGGER   # Enter debugger on keyboard escape 
sequence
 options        USB_DEBUG               # enable debug msgs
 
+# Kernel dump features.
+options        EKCD                    # Support for encrypted kernel dumps
+options        GZIO                    # gzip-compressed kernel and user dumps
+options        ZSTDIO                  # zstd-compressed kernel and user dumps
+options        NETDUMP                 # netdump(4) client support
+
 # SoC support
 options        SOC_ALLWINNER_A64
 options        SOC_ALLWINNER_H5

Modified: head/sys/i386/conf/GENERIC
==============================================================================
--- head/sys/i386/conf/GENERIC  Sat May 19 19:46:57 2018        (r333889)
+++ head/sys/i386/conf/GENERIC  Sat May 19 19:53:23 2018        (r333890)
@@ -95,6 +95,12 @@ options      WITNESS                 # Enable checks to 
detect deadlocks
 options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
 
+# Kernel dump features.
+options        EKCD                    # Support for encrypted kernel dumps
+options        GZIO                    # gzip-compressed kernel and user dumps
+options        ZSTDIO                  # zstd-compressed kernel and user dumps
+options        NETDUMP                 # netdump(4) client support
+
 # To make an SMP kernel, the next two lines are needed
 options        SMP                     # Symmetric MultiProcessor Kernel
 device         apic                    # I/O APIC

Modified: head/sys/powerpc/conf/GENERIC
==============================================================================
--- head/sys/powerpc/conf/GENERIC       Sat May 19 19:46:57 2018        
(r333889)
+++ head/sys/powerpc/conf/GENERIC       Sat May 19 19:53:23 2018        
(r333890)
@@ -98,6 +98,12 @@ options      WITNESS                 #Enable checks to 
detect deadlocks 
 options        WITNESS_SKIPSPIN        #Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
 
+# Kernel dump features.
+options        EKCD                    # Support for encrypted kernel dumps
+options        GZIO                    # gzip-compressed kernel and user dumps
+options        ZSTDIO                  # zstd-compressed kernel and user dumps
+options        NETDUMP                 # netdump(4) client support
+
 # Make an SMP-capable kernel by default
 options        SMP                     # Symmetric MultiProcessor Kernel
 

Modified: head/sys/powerpc/conf/GENERIC64
==============================================================================
--- head/sys/powerpc/conf/GENERIC64     Sat May 19 19:46:57 2018        
(r333889)
+++ head/sys/powerpc/conf/GENERIC64     Sat May 19 19:53:23 2018        
(r333890)
@@ -95,6 +95,12 @@ options      WITNESS                 #Enable checks to 
detect deadlocks 
 options        WITNESS_SKIPSPIN        #Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
 
+# Kernel dump features.
+options        EKCD                    # Support for encrypted kernel dumps
+options        GZIO                    # gzip-compressed kernel and user dumps
+options        ZSTDIO                  # zstd-compressed kernel and user dumps
+options        NETDUMP                 # netdump(4) client support
+
 # Make an SMP-capable kernel by default
 options        SMP                     # Symmetric MultiProcessor Kernel
 

Modified: head/sys/sparc64/conf/GENERIC
==============================================================================
--- head/sys/sparc64/conf/GENERIC       Sat May 19 19:46:57 2018        
(r333889)
+++ head/sys/sparc64/conf/GENERIC       Sat May 19 19:53:23 2018        
(r333890)
@@ -89,6 +89,12 @@ options      WITNESS                 # Enable checks to 
detect deadlocks
 options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
 
+# Kernel dump features.
+options        EKCD                    # Support for encrypted kernel dumps
+options        GZIO                    # gzip-compressed kernel and user dumps
+options        ZSTDIO                  # zstd-compressed kernel and user dumps
+options        NETDUMP                 # netdump(4) client support
+
 # Make an SMP-capable kernel by default
 options        SMP                     # Symmetric MultiProcessor Kernel
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to