×

Techniques for indicating a preferred virtual processor thread to service an interrupt in a data processing system

  • US 9,678,901 B2
  • Filed: 10/26/2016
  • Issued: 06/13/2017
  • Est. Priority Date: 11/16/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method of handling interrupts in a data processing system, the method comprising:

  • receiving, at an interrupt presentation controller (IPC), an event notification message (ENM), wherein the ENM specifies an event target number and a number of bits to ignore;

    determining, by the IPC, a group of virtual processor threads that may be potentially interrupted based on the event target number and the number of bits to ignore, wherein the event target number identifies a specific virtual processor thread and the number of bits to ignore identifies the number of lower-order bits to ignore with respect to the specific virtual processor thread when determining the group of virtual processor threads that may be potentially interrupted;

    in response to two or more virtual processor threads within the group of virtual processor threads being dispatched and operating on an associated physical processor, determining, by the IPC, whether multiple of the two or more virtual processor threads do not have a pending interrupt; and

    in response to determining that multiple of the two or more virtual processor threads do not have a pending interrupt, selecting, by the IPC, one of the two or more virtual processor threads to service an interrupt associated with the ENM based, at least in part, on respective preferred bits for the two or more virtual processor threads.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×