US 12,367,032 B1
Hot loadable programmable state machine
Siddharth K. Shah, Santa Clara, CA (US); and Viswanath Mohan, Santa Clara, CA (US)
Assigned to Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed by Advanced Micro Devices, Inc., Santa Clara, CA (US)
Filed on Feb. 17, 2023, as Appl. No. 18/171,325.
Int. Cl. G06F 8/656 (2018.01)
CPC G06F 8/656 (2018.02) 20 Claims
OG exemplary drawing
 
1. A device comprising:
a controller configured to:
load a hot loadable patch for updating a processor firmware of one or more processors, wherein the one or more processors includes a debug circuit configured as a programmable state machine to respond to processor hardware events of the one or more processors, and wherein the hot loadable patch includes an indicator for a patch data block that includes one or more instructions to update at least one register storing a program for the debug circuit;
reprogram, using the one or more instructions in the patch data block indicated by the hot loadable patch to update the at least one register, the programmable state machine; and
operate the debug circuit to monitor the processor hardware events by running the reprogrammed programmable state machine.