Skip to content

Commit c3528fa

Browse files
committed
Revert "ARC: [nsimosci] Add workaround for inaccuracy host timers with nSIM"
This reverts commit 05ee2ab. No longer needed after nSIM fixes
1 parent c2454ac commit c3528fa

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

arch/arc/Kconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -410,15 +410,6 @@ config ARC_DBG_TLB_MISS_COUNT
410410
Counts number of I and D TLB Misses and exports them via Debugfs
411411
The counters can be cleared via Debugfs as well
412412

413-
config ARC_DISABLE_SLEEP_ISN
414-
bool "Disable sleep instruction"
415-
default n
416-
depends on ARC_DBG
417-
help
418-
Disables the sleep instruction in the idle loop, and burn cycles
419-
instead. This is required to (partially) work around a timing
420-
inconsistency issue with nSIM
421-
422413
config CMDLINE_UBOOT
423414
bool "Support U-boot kernel command line passing"
424415
default n

arch/arc/kernel/process.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,8 @@ SYSCALL_DEFINE0(arc_gettls)
4343

4444
void arch_cpu_idle(void)
4545
{
46-
#ifndef CONFIG_ARC_DISABLE_SLEEP_ISN
4746
/* sleep, but enable all interrupts before committing */
4847
__asm__("sleep 0x3");
49-
#else
50-
local_irq_enable();
51-
#endif
5248
}
5349

5450
asmlinkage void ret_from_fork(void);

0 commit comments

Comments
 (0)