Processing unit reset by virtual functionality

By introducing virtual functions into the processing system, the virtual machine is allowed to directly reset its processing part, bypassing the host driver, solving the problems of low virtualization hardware resource reset efficiency and security risks, and improving the overall efficiency and security of the system. sex.

CN118575164APending Publication Date: 2024-08-30ATI TECHNOLOGIES ULC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280086755.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-12-28
Filing Date
2022-12-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The process of resetting virtualized hardware resources presents inefficiencies and security risks in multi-virtual function environments, especially due to the need to cooperate with the host driver, causing the operation of other virtual machines to be affected.

Method used

By introducing virtual functions (VF) into the processing system, the virtual machine is allowed to directly reset its assigned processing part, bypassing the host device driver and communicating directly with the local system management unit (SMU) to achieve independent reset of the processing unit. .

Benefits of technology

It reduces the overhead of the reset process, enhances system security and isolation between virtual machines, and prevents malicious programs from affecting the service quality of other virtual machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118575164A
    Figure CN118575164A
Patent Text Reader

Abstract

The virtual function (VF) [111] of the virtual machine [110] can directly reset the processing portion [106] of the processing unit [104]. The VF directly initiates a reset of the processing portion and a host driver [116] associated with the processing unit is bypassed during the reset process. By allowing direct reset of the processing portion, the processing system [100] reduces overhead associated with the reset process, enhances system security, and improves overall VM and hardware isolation at the processing system.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] In order to support the efficient use of processing resources, some processing systems support virtualization, wherein a plurality of independent processing environments referred to as virtual machines (VMs) use the processing resources of the processing system. In some cases, the processing system adopts one or more virtualization layers of the hardware resources of the abstract processing system, thereby allowing VM to use device drivers, application program interfaces (APIs), operating systems, and other software designed and implemented for non-virtualized environments. For example, in some cases, the processing system includes a management program that provides the hardware resources of the processing system and the interface between the execution VM. The management program adopts the host device driver with the hardware resource interface, and the communication between the local device driver and the host driver of the management program conversion VM. Therefore, the management program allows the hardware resources of the processing system to be shown as special local hardware resources to the VM, thereby allowing VM to use standard device drivers and other software designed for local special hardware. However, for some operations, in some processing environments, the additional processing required for the virtualized hardware resources causes processing inefficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0002] The present disclosure may be better understood, and its numerous features and advantages made apparent to those skilled in the art by referencing the accompanying drawings.The use of the same reference numbers in different drawings indicates similar or identical items.

[0003] Figure 1 is a block diagram of a processing system that supports directly resetting a processing portion of a processing unit through a virtual function, according to some embodiments.

[0004] Figure 2 According to some embodiments Figure 1 A block diagram of a processing system in which a virtual function directly resets a processing portion of a processing unit.

[0005] Figure 3 is a block diagram illustrating an example of a virtual function resetting a rendering engine at a graphics processing unit chiplet according to some embodiments.

[0006] Figure 4 is a flow chart of a method for a virtual function to directly reset a processing portion of a processing unit according to some embodiments. DETAILED DESCRIPTION

[0007] Figures 1 to 4Techniques for enabling a virtual function (VF) of a virtual machine to directly reset a processing portion of a processing unit are shown. The VF directly initiates a reset of the processing portion, and a host driver associated with the processing unit is bypassed during the reset process. By allowing direct reset of the processing portion, the processing system reduces overhead associated with the reset process, enhances system security, and improves overall VM and hardware isolation at the processing system.

[0008] To illustrate, in some cases, a processing system supports virtualizing hardware resources via partitioning of hardware resources, such as a graphics processing unit (GPU). The hardware resources are assigned a physical function (PF) that manages operations at the hardware resources. Each VM executed at the processing system is assigned a different VF, and the PF and other virtualization entities at the processing system manage the provision of hardware resources to the VM via the corresponding VF. That is, the VF provides a way for the corresponding VM to interface with the PF and control the portion of the hardware resources assigned to the VM.

[0009] In some conventional processing systems, hardware resources are divided in time between different VFs. Therefore, each VF is assigned a portion of a given time unit (also referred to as a "time slot"), and each VF is allowed to control the hardware resources during its assigned time slot. In some cases, an error of a specific VF will occur at the hardware resource, such as when the hardware resource is paused (or "hanged") when performing an operation on behalf of the VF. In response to such an error, the VF usually seeks to reset the hardware resource. However, in many cases, such a reset affects the operations performed by the hardware resource on behalf of other VFs. Therefore, for hardware resources that are divided in time, the VF is required to work with the host driver to reset the hardware resources. Specifically, the client driver that is interfaced with the VF is required to send an interrupt to the host driver to request a reset, and the host driver identifies which VF sent the request and which time partition is associated with the VF. The host driver then communicates with the hypervisor or firmware of the system management unit (SMU) of the host device to reset the hardware resources (this communication process is called a "handshake" between the host driver and the SMU firmware). During the reset, other VFs will not be able to run on the host device. After the hardware resource reset is completed, the host driver notifies the guest driver associated with the VF that the reset is complete.

[0010] In contrast to hardware resources that are partitioned in time, in some embodiments, hardware resources are partitioned in space so that different processing portions of the hardware resources are assigned to different VFs (and therefore to different corresponding VMs). For example, in some embodiments, a GPU includes multiple rendering engines, and each rendering engine is implemented by different, independent hardware, such as a different GPU chiplet. When hardware resources are partitioned in space, in at least some cases, resetting one processing portion of the resource does not affect operations at other processing portions. Therefore, using the techniques herein, a VF that controls a portion of a spatially partitioned hardware resource is able to directly reset its assigned processing portion, thereby bypassing the host device driver and simplifying the reset process.

[0011] In addition, because the host device driver is bypassed, security at the processing system is enhanced. To illustrate, in a conventional system that sends all reset requests of a VF to the host driver, a malicious driver or application can send many reset requests. Servicing these multiple requests consumes bandwidth of the corresponding hardware resources, thus affecting the quality of service of all VMs executing at the processing system. Using the techniques described herein, the VF resets its portion of the assigned hardware resources and bypasses the host driver. Therefore, the VF issuing multiple reset requests only affects the VM associated with the VF and does not affect the quality of service of other VMs.

[0012] Figure 1 A block diagram of a processing system 100 is shown according to some embodiments, the processing system being configured to support direct resetting of a processing portion of a processing unit via a virtual function. Figure 1 However, it should be understood that in other embodiments, the techniques described herein are applicable to other types of processing units, such as vector processing units, parallel processing units, machine learning processing units, artificial intelligence processing units, etc.

[0013] Processing system 100 is generally configured to execute instruction sets, such as virtual machines (VMs), operating systems, applications, etc. The processing system thus represents electronic devices to perform specified tasks as indicated by instruction sets. Therefore, in different embodiments, processing system 100 is incorporated into an electronic device in a variety of electronic devices, such as servers, desktop computers, laptop computers, game consoles, tablet computers, smart phones, etc. In order to support the execution of instruction sets, processing system 100 includes processor 102 and processing unit 104. It should be understood that although processor 102 and processing unit 104 are shown as independent blocks, in some embodiments, one or more of processor 102 and processing unit 104 are combined into a single integrated circuit or integrated circuit package. For example, in some embodiments, processor 102 and processing unit 104 are formed by different semiconductor dies, and all dies are combined into a multi-chip integrated circuit.

[0014] Processor 102 is a general purpose processor and is typically configured to execute a general purpose instruction set. Thus, in some embodiments, processor 102 is a central processing unit (CPU) having one or more processor cores (not shown), each processor core including one or more instruction pipelines configured to execute program threads (representing portions of an instruction set) in a pipelined manner. In the course of executing a program thread, the instruction pipeline generates graphics commands (e.g., drawing commands) that represent requests for specified graphics operations.

[0015] Processing unit 104 is a processing unit that is configured to receive commands to perform a particular class or type of operation and is further configured to perform the corresponding operation indicated by the command. For example, in some embodiments, processing unit 104 is a GPU configured to perform drawing operations, texture operations, shader operations, pattern mosaic operations, vector processing operations, etc. Processing unit 104 includes multiple processing sections, including processing section 106 and processing section 108. In some embodiments, processing unit 104 includes Figure 1 As used herein, a processing portion of a processing unit is a group of circuits that together perform processing operations, independent of or substantially independent of other processing portions. For example, in some embodiments, processing unit 104 is a GPU, and each of processing portions 106 and 108 implements a rendering engine, wherein each rendering engine operates substantially independently of the other rendering engines to perform graphics operations based on received commands.

[0016] The processing unit 104 also includes one or more local system management units (SMUs), such as SMU 122. SMU 122 is a hardware module, a software module, or a combination thereof, and is generally configured to manage some operations of the processing unit 104, and specifically some operations (including reset operations) of the processing portions 106 and 108. In some embodiments, when the processing unit 104 has multiple SMUs 122, each SMU 122 controls one processing portion 106 or 108.

[0017] exist Figure 1 In the example of , processing system 100 implements a virtualized computing environment in which virtual machines (e.g., VMs 110, 112) are executed at the processor, and processing system 100 exposes the physical resources of the system to different VMs as if the physical resources were dedicated physical devices accessed at the VMs. For example, in some embodiments, processor 102 is typically configured to virtualize processing unit 104, so that the physical resources of processing unit 104 are simultaneously employed by multiple VMs, but the physical resources appear to be a physical processing unit dedicated to the VM for each of the multiple VMs. In addition, in at least some embodiments, processor 102 implements virtualization by spatially dividing the hardware resources of processing unit 104. Specifically, the processing unit assigns processing portions 106 and 108 to different virtual machines, so that each VM employs the hardware resources of the assigned processing portion independently of other VMs.

[0018] To support virtualization, processor 102 includes host device driver 116 and hypervisor 117. As understood by those skilled in the art, a host entity (e.g., a host device driver or hypervisor) refers to an entity controlled by processor 102 to perform operations on behalf of multiple virtual machines. In contrast, a local entity (e.g., a local device driver 118) refers to an entity executed and controlled by a single VM. The host entity thus directly controls the hardware resources of processing system 100 and, at least in some cases, controls those hardware resources in response to requests from multiple VMs.

[0019] Hypervisor 117 is a hardware unit, software module, or a combination thereof, configured to control different hardware resources of processing system 100 and to provide interfaces between those hardware resources and other modules of processor 102. Specifically, hypervisor 117 is configured to control some reset operations at the hardware resources of processing system 100, including some reset operations that reset processing unit 104. For example, in some embodiments, hypervisor 117 is configured to trigger a full reset of processing unit 104 in response to detecting a specified system condition, such as a reset of a VM.

[0020] Host device driver 116 is a device driver that executes at processor 102 to provide an interface between modules (hardware or software) of processor 102 and processing unit 104. Thus, in at least some embodiments, host device driver 116 is generally configured to receive communications (e.g., requests for specified operations) from modules of processor 102, such as native device driver 118 received from VM 110. Host device driver 116 manages the supply of those communications to processing unit 104, including by converting those communications into a specific format expected by processing unit 104, ensuring that the communications meet any timing or other communication requirements of processing unit 104, etc. Host device driver 116 also manages communications received from processing unit 104 in response to communications from host device driver 116, including converting the received communications into a format expected by modules of processor 102.

[0021] To further support access to the hardware resources of processing unit 104, processor 102 implements a set of VFs, including VF 111 and VF 113. In response to starting the execution of a VM, processor 102 assigns the corresponding VF to the VM, such that each VF is uniquely assigned to a different VM. Figure 1 In the example of , VF 111 is assigned to VM 110 , and VF 113 is assigned to VM 112 .

[0022] Each VM uses a corresponding VF to access the hardware resources of processing unit 104. Specifically, as described above, processing system 100 virtualizes the hardware resources of processing unit 104 so that each of processing portions 106 and 108 is assigned to a different VM and is therefore spatially divided between the VMs. To support this spatial division, processor 102 assigns the VF for the VM to the corresponding processing portion, and the VM uses its assigned VF to interact with the corresponding processing portion. Figure 1 , processor 102 assigns VM 110 to processing portion 106, and also assigns VF 111 to VM 110. Thus, VM 110 uses VF 111 to interact with processing portion 106, and specifically sends graphics operations to processing portion 106, and receives any response data or control information. Similarly, processor 102 assigns VM 112 to processing portion 108, and also assigns VF 113 to VM 112. Thus, VM 112 uses VF 113 to interact with processing portion 108.

[0023] Because the processing portions 106 and 108 are spatially partitioned relative to the VMs 110 and 112, each processing portion can be reset without affecting operations at other portions. Therefore, each of the VFs 111 and 113 is configured to send a reset request directly to the processing portions 106 and 108, respectively, in response to detecting one or more specified reset conditions. That is, when sending the reset request, the VFs 111 and 113 bypass the host device driver 116 and the hypervisor 117, and thus omit sending any interrupt or other communication to the host device driver 116 or the hypervisor 117 to indicate the requested reset, nor do the VFs 111 and 113 rely on the host device driver 116 or the hypervisor 117 to trigger or control the requested reset. Because the host device driver 116 and the hypervisor 117 are bypassed, the overhead associated with the reset process is reduced, and the isolation between the VMs 110 and 112 is enhanced. This increased isolation also improves security between VFs 111 and 113 because, for example, a malicious VM cannot employ a reset request to affect the performance of another VM.

[0024] To illustrate the reset sequence, in some embodiments, the VF 111 detects a stall at the processing portion 106 because, for example, the processing portion 106 has not sent an expected message or response to the local device driver 118 within a specified amount of time. In response to detecting that the processing portion 106 has stalled, the local device driver 118 prepares the VM 110 for a device reset and, upon completion of the preparation (e.g., by notifying any software at the VM 110 of the reset), sends a message instructing the VF 111 to proceed with the reset. In response to the message, the local device driver 118 sends a reset request to the local SMU 122, which performs a specified reset sequence on the processing portion 106 in response to the reset request. Upon completion of the reset sequence, the local SMU 122 sends a completion message to the local device driver 118. In response to the completion message, the local device driver notifies the OS running in the VM 110 that the reset is complete. Thus, the VF 111 directly handles the reset of the processing portion and bypasses the host device driver 116 and the hypervisor 117.

[0025] Figure 22 is a block diagram of an example of directly resetting a processing portion 106 of a processing unit 104 according to some embodiments. In the illustrated example, the processing portion 106 is in a stalled state, or in other words, the processing portion 106 is suspended. In response to detecting the stalled state, the local device driver 118 seeks to reset the processing portion 106. Therefore, the local device driver 118 performs a handshake 220 with the local SMU 122. For example, during the handshake 220, the local device driver 118 notifies the SMU 122 that the processing portion 106 needs to be reset. In response, the SMU 122 prepares the processing portion 106 for the reset.

[0026] When preparations are complete (e.g., by notifying any hardware at the processing portion 106 of the reset), the local SMU 122 sends a reset request 221 directly to the processing portion 106, thereby bypassing the host device driver 116. In response to the reset request 221, the processing portion 106 performs a reset sequence indicated by the reset request 221. The reset sequence clears the stall condition at the processing portion 106 so that the processing portion 106 is no longer suspended, and prepares the processing portion 106 to perform additional operations. After the reset is complete, the local SMU 122 sends a message back to the local device driver 118 to indicate that the reset is complete. Thus, the handshake 220 ends. Thus, in Figure 2 In the example of FIG. 1 , the processing portion 106 is directly reset by the local SMU 122. That is, the local SMU 122 does not employ virtualized resources of the processor 102 (such as the host device driver 116 or the hypervisor 117) as an intermediary to perform the reset of the processing portion 106 and bypasses the host device driver 116 and the hypervisor 117, thereby reducing the overhead associated with the reset process and improving the overall processing efficiency at the processing system 100.

[0027] As described above, in some embodiments, processing unit 104 is a GPU and processing portions 106 and 108 implement different rendering engines. Figure 3 Examples according to some embodiments are shown. Specifically, Figure 3 Shows the corresponding Figure 1 1. The GPU 304 of the processing unit 104 includes GPU 304 of the processing unit 104. The GPU 304 includes GPU chiplets 306 and 308 corresponding to the processing portions 106 and 108, respectively.

[0028] In some embodiments, GPU 304 is formed as a multi-chip module (e.g., a semiconductor die package) that includes two or more base integrated circuit dies communicatively coupled together with a bridge chip so that GPU 304 is usable (e.g., addressable) like a single semiconductor integrated circuit. Those skilled in the art will recognize that conventional (e.g., non-multi-chip) semiconductor integrated circuits are manufactured as wafers, or as dies (e.g., single-chip ICs) that are formed in a wafer and later separated from the wafer (e.g., when the wafer is cut); multiple ICs are typically manufactured simultaneously in a wafer. The ICs and possible discrete circuits and possible other components (such as non-semiconductor package substrates, including printed circuit boards, interposers, and possible other components) are assembled in a multi-die processor.

[0029] In various embodiments, GPU 304 includes one or more base IC dies that employ processing stacked die chiplets according to some embodiments. The base die is formed as a single semiconductor chip package including N communicatively coupled stacked die chiplets. For example, in the illustrated embodiment, GPU 304 includes two chiplets, named chiplets 306 and 308. It should be recognized that although various embodiments are described below in the specific context of GPU chiplets for ease of illustration and description, the concepts described herein are also similarly applicable to other processors including accelerated processing units (APUs), discrete GPUs (dGPUs), artificial intelligence (AI) accelerators, other parallel processors, etc. In addition, in some embodiments, GPU 304 is incorporated into the same semiconductor chip package as processor 102, so that processing system 100 is incorporated into a single semiconductor chip package.

[0030] In various embodiments, and as used herein, the term "chiplet" refers to any device including, but not limited to, the following characteristics: 1) the chiplet includes an active silicon die that includes at least a portion of the computational logic used to solve a complete problem (i.e., the computational workload is distributed across multiple of the active silicon dies); 2) the chiplets are packaged together as a monolithic unit on the same substrate; and 3) the programming model used to control a particular group of chipsets retains the concept of the combination of the individual computational dies (e.g., the set of graphics processing stacked die chiplets) as a single monolithic unit. That is, each chiplet of a particular group is not exposed as a separate device to an application that uses the group of chiplets to process a computational workload, but rather the group of chiplets is exposed to the application such that they collectively appear as a unified processing unit (such as a graphics processing unit (GPU) or a central processing unit (CPU)). In various embodiments, the GPU 304 includes an inter-chip data structure (not shown) that operates as a high-bandwidth die-to-die interconnect between the chiplets. Additionally, in various embodiments, each of chiplets 306 and 308 includes one or more levels of cache memory and one or more memory PHYs (not shown) for communicating with external system memory modules, such as dynamic random access memory (DRAM) modules.

[0031] Each of the chiplets 306 and 308 implements a different rendering engine, respectively named rendering engines 325 and 324. Each of the rendering engines 324 and 325 is configured to execute received graphics commands (e.g., drawing commands 322). In addition, each of the rendering engines 324 and 325 is configured to operate independently or substantially independently of the other rendering engines, and each of the rendering engines 324 and 325 is capable of performing a reset sequence that does not affect operations at the other rendering engines. This allows each of the rendering engines 324 and 325 to be assigned to a different VF and execute graphics commands on behalf of the corresponding VM. The rendering engines 324 and 325 are therefore spatially divided relative to the VMs 110 and 112, and are therefore capable of being independently operated and reset by the VMs 110 and 112.

[0032] To illustrate, in Figure 3 In the example of FIG. 1 , VF 111 is assigned to rendering engine 324, and VF 113 is assigned to rendering engine 325. In response to a pause at rendering engine 324, VF 111 is assigned to rendering engine 325 in a manner similar to that described above. Figure 2The described approach directly resets the rendering engine 324. Specifically, in response to detecting a stall at the rendering engine 324, the local device driver 118 performs a handshake 220 with the local SMU 122 and, upon completing the handshake 220, sends a reset request 221 to the rendering engine 324. In response to the reset request 221, the rendering engine 324 performs a specified reset sequence, thereby clearing the stall state and preparing the rendering engine 324 to execute additional graphics commands.

[0033] While VF 111 is directly resetting rendering engine 324, VF 113 sends drawing commands 322 generated by VM 112 to rendering engine 325. In response to drawing commands 322, rendering engine 325 performs a set of operations indicated by the commands. In at least some embodiments, rendering engine 325 executes these commands in response to reset request 221 while rendering engine 324 is performing a reset sequence. Figure 3 In the example of , drawing commands 322 are executed independently of rendering engine 325 and at the same time, rendering engine 324 is reset.

[0034] Figure 4 A flowchart of a method 400 for directly resetting a processing portion of a processing unit using a virtual function according to some embodiments is shown. The method 400 is related to Figure 1 However, it should be understood that in other embodiments, method 400 is implemented at a processing system having a configuration different from that of processing system 100.

[0035] At block 402, the host device driver 116 assigns VFs 111 and 113 for VMs 110 and 112, respectively, to processing portions 106 and 108. At block 404, the local device driver 118 detects an error at processing portion 106, such as an indication that processing portion 106 has stalled. In response, at block 406, the local device driver 118 performs a handshake 220 with the local SMU 122. At block 408, upon completion of the handshake 220, the local SMU 122 sends a reset request 221 to the processing portion 106, thereby directly resetting the processing portion 106 independently of the processing portion 108 and bypassing the device driver 116.

[0036] As disclosed herein, in some embodiments, a method includes: detecting a reset condition at a virtual function of a virtual machine executing at a processing system; and in response to detecting the reset condition, a local system management unit (SMU) of the processing unit initiates a reset sequence for a processing portion of the processing unit associated with the virtual function, initiating a host driver that bypasses the processing system. In one aspect, the reset sequence includes a handshake between the local SMU and a device driver of the virtual machine. In another aspect, the host driver that bypasses the processing system is initiated. In yet another aspect, the processing unit includes a plurality of semiconductor dies, and the portion of the processing unit includes one of the plurality of dies.

[0037] In one aspect, the reset sequence includes a reset sequence to reset the one of the plurality of dies independently of resetting other dies of the plurality of dies. In another aspect, the processing unit is spatially divided into a plurality of processing portions. In yet another aspect, each of the plurality of processing portions is assigned to a different one of the plurality of virtual functions.

[0038] In some embodiments, a non-transitory computer-readable medium tangibly embodies an instruction set for manipulating a processor, the instructions comprising instructions for: in response to detecting a reset condition at a virtual function of a virtual machine, initiating a reset sequence for a processing portion of a processing unit; in response to initiating the reset sequence, performing a handshake between a local system management unit (SMU) of the processing unit and a local device driver of the virtual machine. In one aspect, the reset sequence omits a handshake between the virtual function and a host driver of the processing system. In another aspect, the processing unit comprises a graphics processing unit (GPU). In yet another aspect, the GPU comprises a plurality of GPU chiplets, and wherein the processing portion corresponds to a GPU chiplet of the plurality of GPU chiplets.

[0039] In one aspect, the processing portion includes a rendering engine assigned to the virtual machine. In another aspect, the reset condition includes a detected error at the processing portion of the processing unit.

[0040] In some embodiments, a processing system includes: a processing unit; and a processor to execute a virtual machine and a virtual function associated with the virtual machine, wherein in response to detecting a reset condition, a local system management unit (SMU) of the processing unit initiates a reset sequence for a processing portion of the processing unit associated with the virtual function, the reset sequence bypassing a host driver of the processing system. In one aspect, the reset sequence includes a handshake between the local SMU and a device driver of the virtual machine. In another aspect, the reset sequence bypasses a hypervisor of the processing system.

[0041] In one aspect, the processing unit includes a plurality of semiconductor dies, and wherein the portion of the processing unit includes one of the plurality of dies. In another aspect, the reset sequence includes a reset sequence to reset the one of the plurality of dies independently of other dies of the plurality of dies. In yet another aspect, the processing unit is spatially divided into a plurality of processing portions. In one aspect, each of the plurality of processing portions is assigned to a different one of a plurality of virtual functions.

[0042] In some embodiments, certain aspects of the above-mentioned technology can be implemented by one or more processors of a processing system that executes software. Software includes one or more sets of executable instructions, which are stored in or otherwise tangibly embodied on a non-transient computer-readable storage medium. Software may include instructions and certain data, which manipulate one or more processors to perform one or more aspects of the above-mentioned technology when executed by one or more processors. Non-transient computer-readable storage media may include, for example, magnetic or optical disk storage devices, solid-state storage devices such as flash memory, cache, random access memory (RAM) or other one or more non-volatile memory devices, etc. The executable instructions stored on the non-transient computer-readable storage medium may be source code, assembly language code, object code, or other instruction formats interpreted or otherwise executed by one or more processors.

[0043] It should be noted that not all activities or elements described above in the general description are required, a portion of a particular activity or device may not be required, and one or more additional activities may be performed, or elements may be included in addition to those described. Furthermore, the order in which the activities are listed is not necessarily the order in which they are performed. In addition, these concepts have been described with reference to specific embodiments. However, it is understood by those of ordinary skill in the art that various modifications and changes may be made without departing from the scope of the present disclosure as set forth in the following claims. Therefore, the specification and drawings are to be regarded as illustrative rather than restrictive, and all such modifications are intended to be included within the scope of the present disclosure.

[0044] Benefits, other advantages and solutions to problems have been described above with respect to specific embodiments. However, benefits, advantages, solutions to problems, and any features that may cause any benefit, advantage or solution to appear or become more significant should not be interpreted as key, essential or basic features of any or all claims. In addition, the specific embodiments disclosed above are merely illustrative, as the disclosed subject matter may be modified and practiced in different but equivalent ways that are obvious to those skilled in the art who benefit from the teachings herein. Except as described in the following claims, it is not intended to limit the details of the construction or design shown herein. Therefore, it is apparent that the specific embodiments disclosed above may be changed or modified, and all such changes are considered to be within the scope of the disclosed subject matter. Therefore, the protection sought herein is as set forth in the following claims.

Claims

1. A method, comprising: detecting a reset condition at a virtual function of a virtual machine executing at the processing system; as well as In response to detecting the reset condition, a local system management unit (SMU) of a processing unit initiates a reset sequence for a processing portion of the processing unit associated with a virtual function, the initiation bypassing a host driver of the processing system. 2 . The method of claim 1 , wherein the reset sequence includes a handshake between the local SMU and a device driver of the virtual machine.

3. The method of claim 1 or claim 2, wherein the launching bypasses a host driver of the processing system. 4 . The method of claim 1 , wherein the processing unit comprises a plurality of semiconductor dies, and wherein the portion of the processing unit comprises one die of the plurality of dies. 5 . The method of claim 1 , wherein the reset sequence comprises a reset sequence to reset the one of the plurality of dies independently of resetting other of the plurality of dies.

6. The method according to any one of claims 1 to 5, wherein the processing unit is spatially divided into a plurality of processing parts.

7. The method of claim 6, wherein each of the plurality of processing portions is assigned to a different one of a plurality of virtual functions.

8. A non-transitory computer readable medium tangibly embodying a set of instructions for operating a processor, the instructions comprising instructions for: In response to detecting a reset condition at a virtual function of the virtual machine, initiating a reset sequence for a processing portion of the processing unit; In response to initiating the reset sequence, a handshake is performed between a local system management unit (SMU) of the processing unit and a local device driver of the virtual machine.

9. The computer-readable medium of claim 8, wherein the reset sequence omits a handshake between the virtual function and a host driver of a processing system.

10. The computer-readable medium of claim 8 or claim 9, wherein the processing unit comprises a graphics processing unit (GPU).

11. The computer-readable medium of claim 10, wherein the GPU comprises a plurality of GPU chiplets, and wherein the processing portion corresponds to one GPU chiplet among the plurality of GPU chiplets.

12. The computer-readable medium of claim 11, wherein the processing portion comprises a rendering engine assigned to the virtual machine.

13. The computer readable medium of any one of claims 8 to 12, wherein the reset condition comprises a detected error at the processing portion of the processing unit.

14. A processing system, comprising: Processing unit; as well as A processor configured to execute a virtual machine and a virtual function associated with the virtual machine, wherein in response to detecting a reset condition, a local system management unit (SMU) of the processing unit initiates a reset sequence for a processing portion of the processing unit associated with the virtual function, the reset sequence bypassing a host driver of the processing system.

15. The processing system of claim 14, wherein the reset sequence includes a handshake between the local SMU and a device driver of the virtual machine.

16. The processing system of claim 15, wherein the reset sequence bypasses a hypervisor of the processing system.

17. The processing system of any one of claims 14 to 16, wherein the processing unit comprises a plurality of semiconductor dies, and wherein the portion of the processing unit comprises one die of the plurality of dies.

18. The processing system of any one of claims 14 to 17, wherein the reset sequence comprises a reset sequence to reset the one of the plurality of dies independently of other dies of the plurality of dies.

19. The processing system according to any one of claims 14 to 18, wherein the processing unit is spatially divided into a plurality of processing parts.

20. The processing system of claim 19, wherein each of the plurality of processing portions is assigned to a different one of a plurality of virtual functions.