From f8020dffbd991c27921adfed50239554d97d77ca Mon Sep 17 00:00:00 2001 From: spashabk-in Date: Mon, 15 May 2017 01:32:10 -0500 Subject: Remove context switch in ppe program exception handler Change-Id: Iaed6207f1838e3a77fde9eeb945fc1fd1c5c0a91 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40485 Tested-by: Jenkins Server Tested-by: PPE CI Reviewed-by: Sachin Gupta Reviewed-by: Soma Bhanutej Reviewed-by: Douglas R. Gilbert Reviewed-by: Jennifer A. Stofer --- import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S b/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S index 4e8b8460..66fc83c7 100644 --- a/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S +++ b/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S @@ -111,12 +111,8 @@ __alignment_exception: .org __vectors + 0x00E0 - ### Program exceptions are utilized for emulating the system call - ### instruction (0x44000002) which is used for doing context - ### switches between threads. They can also be used by the code - ### to signal an exception in an error scenario. __program_exception: - _pk_ctx_push_as_needed program_exception_handler + _pk_panic PPE42_ILLEGAL_INSTRUCTION ############################################################ @@ -219,9 +215,6 @@ dec_handler: bl __pk_timer_handler b check_for_ext_interrupt -program_exception_handler: - _pk_panic PPE42_ILLEGAL_INSTRUCTION - .global __pk_next_thread_resume __pk_next_thread_resume: -- cgit v1.2.3