DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1 07/11] MIPS: kernel: malta: enable PREEMPT support
Date: Sat,  4 Apr 2020 10:03:53 +0200	[thread overview]
Message-ID: <20200404080357.4377-7-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20200404080357.4377-1-o.rempel@pengutronix.de>

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mips/kernelconfig-malta      | 16 +++++++++-------
 configs/platform-mips/kernelconfig-malta.diff | 14 --------------
 2 files changed, 9 insertions(+), 21 deletions(-)

diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta
index 39b39f9..03fadc2 100644
--- a/configs/platform-mips/kernelconfig-malta
+++ b/configs/platform-mips/kernelconfig-malta
@@ -76,9 +76,11 @@ CONFIG_NO_HZ=y
 CONFIG_HIGH_RES_TIMERS=y
 # end of Timers subsystem
 
-CONFIG_PREEMPT_NONE=y
+# CONFIG_PREEMPT_NONE is not set
 # CONFIG_PREEMPT_VOLUNTARY is not set
-# CONFIG_PREEMPT is not set
+CONFIG_PREEMPT=y
+CONFIG_PREEMPT_COUNT=y
+CONFIG_PREEMPTION=y
 
 #
 # CPU/Task time and stats accounting
@@ -96,9 +98,11 @@ CONFIG_CPU_ISOLATION=y
 # RCU Subsystem
 #
 CONFIG_TREE_RCU=y
+CONFIG_PREEMPT_RCU=y
 # CONFIG_RCU_EXPERT is not set
 CONFIG_SRCU=y
 CONFIG_TREE_SRCU=y
+CONFIG_TASKS_RCU=y
 CONFIG_RCU_STALL_COMMON=y
 CONFIG_RCU_NEED_SEGCBLIST=y
 # end of RCU Subsystem
@@ -571,11 +575,7 @@ CONFIG_MQ_IOSCHED_KYBER=y
 # end of IO Schedulers
 
 CONFIG_ASN1=y
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
+CONFIG_UNINLINE_SPIN_UNLOCK=y
 CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 CONFIG_QUEUED_SPINLOCKS=y
 CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
@@ -3599,6 +3599,7 @@ CONFIG_SCHED_DEBUG=y
 # end of Scheduler Debugging
 
 # CONFIG_DEBUG_TIMEKEEPING is not set
+CONFIG_DEBUG_PREEMPT=y
 
 #
 # Lock Debugging (spinlocks, mutexes, etc...)
@@ -3670,6 +3671,7 @@ CONFIG_DYNAMIC_FTRACE=y
 # CONFIG_STACK_TRACER is not set
 # CONFIG_PREEMPTIRQ_EVENTS is not set
 # CONFIG_IRQSOFF_TRACER is not set
+# CONFIG_PREEMPT_TRACER is not set
 # CONFIG_SCHED_TRACER is not set
 # CONFIG_HWLAT_TRACER is not set
 # CONFIG_FTRACE_SYSCALLS is not set
diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff
index a7096da..858f897 100644
--- a/configs/platform-mips/kernelconfig-malta.diff
+++ b/configs/platform-mips/kernelconfig-malta.diff
@@ -301,7 +301,6 @@ CONFIG_DAVICOM_PHY=m
 # CONFIG_DEBUG_GPIO is undefined
 # CONFIG_DEBUG_PER_CPU_MAPS is not set
 # CONFIG_DEBUG_PINCTRL is undefined
-# CONFIG_DEBUG_PREEMPT is undefined
 # CONFIG_DEFAULT_CUBIC is undefined
 # CONFIG_DEFAULT_RENO is undefined
 # CONFIG_DEFAULT_SFQ is not set
@@ -596,11 +595,6 @@ CONFIG_INET_TCP_DIAG=y
 CONFIG_INET_TUNNEL=y
 # CONFIG_INET_UDP_DIAG is not set
 CONFIG_INET_XFRM_TUNNEL=m
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
 CONFIG_INPUT=y
 # CONFIG_INPUT_EVBUG is not set
 # CONFIG_INPUT_EVDEV is not set
@@ -1330,12 +1324,6 @@ CONFIG_POWER_RESET_SYSCON=y
 # CONFIG_PPP_MPPE is undefined
 # CONFIG_PPP_MULTILINK is undefined
 # CONFIG_PPP_SYNC_TTY is undefined
-# CONFIG_PREEMPT is not set
-# CONFIG_PREEMPTION is undefined
-# CONFIG_PREEMPT_COUNT is undefined
-CONFIG_PREEMPT_NONE=y
-# CONFIG_PREEMPT_RCU is undefined
-# CONFIG_PREEMPT_TRACER is undefined
 CONFIG_PRISM54=m
 CONFIG_PROC_KCORE=y
 CONFIG_PROC_PAGE_MONITOR=y
@@ -1687,7 +1675,6 @@ CONFIG_SYS_SUPPORTS_SMARTMIPS=y
 CONFIG_SYS_SUPPORTS_SMP=y
 CONFIG_SYS_SUPPORTS_VPE_LOADER=y
 # CONFIG_SYS_SUPPORTS_ZBOOT_UART_PROM is undefined
-# CONFIG_TASKS_RCU is undefined
 CONFIG_TC35815=m
 # CONFIG_TCP_CONG_ADVANCED is not set
 # CONFIG_TCP_CONG_BBR is undefined
@@ -1736,7 +1723,6 @@ CONFIG_UIO_CIF=m
 # CONFIG_UIO_PRUSS is not set
 # CONFIG_UIO_SERCOS3 is not set
 # CONFIG_ULTRIX_PARTITION is undefined
-# CONFIG_UNINLINE_SPIN_UNLOCK is undefined
 # CONFIG_UNISYSSPAR is undefined
 # CONFIG_UNIXWARE_DISKLABEL is undefined
 # CONFIG_USBPCWATCHDOG is undefined
-- 
2.26.0.rc2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  parent reply	other threads:[~2020-04-04  8:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-04  8:03 [DistroKit] [PATCH v1 01/11] MIPS: kernel: enable i2c support Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 02/11] MIPS: kernel: enable USB support Oleksij Rempel
2020-04-05 16:59   ` Robert Schwebel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 03/11] MIPS: kernel: enable CPU_IDLE support Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 04/11] MIPS: kernel: enable EXT4 and VFAT FS support Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 05/11] MIPS: kernel: malta: disable dummy driver Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 06/11] MIPS: kernel: malta: disable devmem support Oleksij Rempel
2020-04-04  8:03 ` Oleksij Rempel [this message]
2020-04-05 17:10   ` [DistroKit] [PATCH v1 07/11] MIPS: kernel: malta: enable PREEMPT support Robert Schwebel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 08/11] MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOR Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 09/11] MIPS: kernel: malta: disable unused name spaces Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 10/11] MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI support Oleksij Rempel
2020-04-04  8:03 ` [DistroKit] [PATCH v1 11/11] MIPS: malta: fix qemu run script Oleksij Rempel
2020-04-05 16:57 ` [DistroKit] [PATCH v1 01/11] MIPS: kernel: enable i2c support Robert Schwebel
2020-04-05 16:58   ` Robert Schwebel

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=20200404080357.4377-7-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox