diff --git a/soc/sensry/ganymed/sy1xx/Kconfig.defconfig b/soc/sensry/ganymed/sy1xx/Kconfig.defconfig index 3c60c5ce3294..0f8b7e18cd24 100644 --- a/soc/sensry/ganymed/sy1xx/Kconfig.defconfig +++ b/soc/sensry/ganymed/sy1xx/Kconfig.defconfig @@ -61,9 +61,6 @@ config USE_DT_CODE_PARTITION config RISCV_SOC_HAS_CUSTOM_IRQ_LOCK_OPS default n -config RISCV_SOC_EXCEPTION_FROM_IRQ - default y - config INIT_STACKS default y diff --git a/soc/sensry/ganymed/sy1xx/common/crt0.S b/soc/sensry/ganymed/sy1xx/common/crt0.S index bbffbec92589..7f2eb85d3894 100644 --- a/soc/sensry/ganymed/sy1xx/common/crt0.S +++ b/soc/sensry/ganymed/sy1xx/common/crt0.S @@ -26,12 +26,6 @@ __prestart_routine: /* Call into Zephyr initialization. */ jal x0, __start -GTEXT(__soc_is_irq) -SECTION_FUNC(exception.other, __soc_is_irq) - csrr a0, mcause - srli a0, a0, 31 - ret - GTEXT(__soc_handle_irq) SECTION_FUNC(exception.other, __soc_handle_irq) ## clear pending interrupt diff --git a/soc/wch/ch32v/ch32v00x/soc_irq.S b/soc/wch/ch32v/ch32v00x/soc_irq.S index 04f1407e2ad3..648c5bf9c8bd 100644 --- a/soc/wch/ch32v/ch32v00x/soc_irq.S +++ b/soc/wch/ch32v/ch32v00x/soc_irq.S @@ -8,13 +8,7 @@ #include /* Exports */ -GTEXT(__soc_is_irq) GTEXT(__soc_handle_irq) -SECTION_FUNC(exception.other, __soc_is_irq) - csrr a0, mcause - srli a0, a0, 31 - ret - SECTION_FUNC(exception.other, __soc_handle_irq) ret diff --git a/soc/wch/ch32v/qingke_v2a/soc_irq.S b/soc/wch/ch32v/qingke_v2a/soc_irq.S index fcb0daea51d0..c31e1cfea6a6 100644 --- a/soc/wch/ch32v/qingke_v2a/soc_irq.S +++ b/soc/wch/ch32v/qingke_v2a/soc_irq.S @@ -7,13 +7,7 @@ #include /* Exports */ -GTEXT(__soc_is_irq) GTEXT(__soc_handle_irq) -SECTION_FUNC(exception.other, __soc_is_irq) - csrr a0, mcause - srli a0, a0, 31 - ret - SECTION_FUNC(exception.other, __soc_handle_irq) ret diff --git a/soc/wch/ch32v/qingke_v4b/soc_irq.S b/soc/wch/ch32v/qingke_v4b/soc_irq.S index fcb0daea51d0..c31e1cfea6a6 100644 --- a/soc/wch/ch32v/qingke_v4b/soc_irq.S +++ b/soc/wch/ch32v/qingke_v4b/soc_irq.S @@ -7,13 +7,7 @@ #include /* Exports */ -GTEXT(__soc_is_irq) GTEXT(__soc_handle_irq) -SECTION_FUNC(exception.other, __soc_is_irq) - csrr a0, mcause - srli a0, a0, 31 - ret - SECTION_FUNC(exception.other, __soc_handle_irq) ret diff --git a/soc/wch/ch32v/qingke_v4c/soc_irq.S b/soc/wch/ch32v/qingke_v4c/soc_irq.S index fcb0daea51d0..c31e1cfea6a6 100644 --- a/soc/wch/ch32v/qingke_v4c/soc_irq.S +++ b/soc/wch/ch32v/qingke_v4c/soc_irq.S @@ -7,13 +7,7 @@ #include /* Exports */ -GTEXT(__soc_is_irq) GTEXT(__soc_handle_irq) -SECTION_FUNC(exception.other, __soc_is_irq) - csrr a0, mcause - srli a0, a0, 31 - ret - SECTION_FUNC(exception.other, __soc_handle_irq) ret diff --git a/soc/wch/ch32v/qingke_v4f/soc_irq.S b/soc/wch/ch32v/qingke_v4f/soc_irq.S index fcb0daea51d0..c31e1cfea6a6 100644 --- a/soc/wch/ch32v/qingke_v4f/soc_irq.S +++ b/soc/wch/ch32v/qingke_v4f/soc_irq.S @@ -7,13 +7,7 @@ #include /* Exports */ -GTEXT(__soc_is_irq) GTEXT(__soc_handle_irq) -SECTION_FUNC(exception.other, __soc_is_irq) - csrr a0, mcause - srli a0, a0, 31 - ret - SECTION_FUNC(exception.other, __soc_handle_irq) ret