IP Library Granted Patent US 6,892,260
Granted Patent B2
US 6,892,260 · App. 09/998,506 · Granted May 10, 2005

Interrupt processing in a data processing system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,892,260
App. No.
09/998,506
Granted
May 10, 2005
Kind
B2
Abstract

The present invention relates generally to interrupt processing. One embodiment relates to a method for executing an interrupt in a data processing system including fetching a conditional store instruction that is conditional upon a reservation, receiving notice that an interrupt is pending, invalidating a reservation in response to receiving the notice, and processing the interrupt. Invalidating the reservation allows the conditional store instruction to finish in a predetermined amount of time and properly update an architectural state of the processor. Therefore, interrupt latencies (the amount of time between receiving and processing an interrupt) corresponding to the conditional store instruction can be bounded. The method may be used in a single processor or multi-processor data processing system, wherein each processor includes a reservation register. Furthermore, each processor may include both a completion unit for storing instructions in the order they are issued and a store queue within a load/store unit.

Claims (48)

1. A method for executing an interrupt in a data processing system comprising the steps of:

fetching a conditional store instruction that is conditional upon a reservation;

receiving notice that an interrupt is pending in the data processing system, wherein the receiving the notice that an interrupt is pending further comprises starting a counter in response to receiving the notice;

invalidating the reservation in response to receiving the notice, wherein invalidating the reservation causes the conditional store instruction to finish; and

processing the interrupt.

2. The method of claim 1 , further comprising the steps of:

determining that the conditional store instruction is non-speculative and the oldest entry of a store queue; and

reporting completion of the conditional store instruction before the counter reaches a predetermined count value.

3. The method of claim 2 , further comprising the step of flushing a completion unit queue and beginning the processing of the interrupt.

4. The method of claim 1 , further comprising the steps of:

determining that the conditional store instruction is not the oldest entry of a store queue;

converting the conditional store instruction to a nop instruction; and

removing the conditional store instruction from a completion unit queue when the counter reaches a predetermined count value.

5. The method of claim 4 , further comprising the step of flushing a completion unit queue and beginning the processing of the interrupt.

6. The method of claim 1 , wherein the data processing system has one or more processors.

7. The method of claim 1 , wherein the conditional store instruction is an instruction that requires a corresponding reservation of a memory location, wherein the corresponding reservation was established by a previously executed load and reserve instruction.

8. The method of claim 1 , wherein the step of setting a reservation related to the conditional store instruction comprises setting an address and a valid bit in a reservation register corresponding to a location in a memory for the conditional store instruction.

9. A data processing system, comprising:

a processor for executing instructions, the processor comprising:

a memory unit;

an instruction dispatch unit for fetching, decoding, and issuing a conditional store instruction;

a reservation register for storing a reservation corresponding to a location in the memory unit to be used as a target for the conditional store instruction, wherein in response to the data processing system receiving an interrupt, the reservation is cancelled; and

a completion unit having a counter and an instruction queue, wherein the counter is started in response to receiving the interrupt, and wherein the instruction queue is flushed when the counter reaches a predetermined count value allowing processing of the interrupt to begin.

10. The data processing system of claim 9 , further comprising:

a store queue having an oldest entry, the store queue for temporarily storing the conditional store instruction until the conditional store instruction is no longer speculative and any store instructions ahead of the conditional store instruction are performed, wherein when the conditional store instruction is the oldest entry of the store queue when the interrupt is pending, completion of the conditional store instruction is reported before the counter reaches a predetermined count value.

11. The data processing system of claim 10 , further comprising a condition code register for storing a slate of the processor, wherein the state of the processor is updated with the success/failure of the conditional store instruction.

12. The data processing system of claim 9 , further comprising:

a store queue having an oldest entry, the store queue for temporarily storing the conditional store instruction until the conditional store instruction is no longer speculative and any store instructions ahead of the conditional store instruction are performed, wherein when the conditional store instruction is not the oldest entry of the store queue when the interrupt is pending, the conditional store instruction is converted to a nop instruction.

13. The data processing system of claim 9 , wherein the data processing system further comprises:

a second processor for executing instructions, the second processor comprising:

a second memory unit;

a second instruction dispatch unit for fetching, decoding, and issuing a second conditional store instruction; and

a second reservation register for storing a second reservation corresponding to a location in the second memory unit to be used as a target for the second conditional score instruction, wherein in response to the second processor receiving a second interrupt, the second reservation is cancelled.

14. A data processing system comprising:

a system bus;

a memory coupled to the system bus;

a first processor, coupled to the system bus, for executing instructions, the first processor comprising:

a first instruction dispatch unit for fetching, decoding, and issuing a first conditional store instruction;

a first reservation register for storing a first reservation corresponding to a location in the memory to be used as a target for the first conditional store instruction, wherein in response to the first processor receiving an interrupt, the first reservation is cancelled; and

a completion unit having a counter and an instruction queue, wherein the counter is started in response to receiving the interrupt, and wherein the instruction queue is flushed when the counter reaches a predetermined count value allowing processing of the interrupt to begin; and

a second processor, coupled to the system bus, for executing instructions.

15. The data processing system of claim 14 , wherein the first processor further comprising:

a store queue having an oldest entry, the store queue for temporarily storing the first conditional store instruction until the first conditional store instruction is not speculative and any store instructions ahead of the first conditional store instruction are performed, wherein when the first conditional store instruction is the oldest entry of the store queue and the interrupt is pending, completion of the first conditional store instruction is reported before the counter reaches a predetermined count value.

16. The data processing system of claim 14 , further comprising:

a store queue having an oldest entry, the store queue for temporarily storing the conditional store instruction until the conditional store instruction is no longer speculative and any store instructions ahead of the conditional store instruction are performed, wherein when the conditional store instruction is not the oldest entry of the store queue and the interrupt is pending, the conditional store instruction is converted to a nop instruction.

17. The data processing system of claim 14 , wherein the second processor further comprising:

a second instruction dispatch unit for fetching, decoding, and issuing a second conditional store instruction; and

a second reservation register for storing a second reservation corresponding to a location in the memory to be used as a target for the second conditional store instruction, wherein in response to the second processor receiving an interrupt, the second reservation is cancelled.

Assignments (22)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE LISTED CHANGE OF NAME SHOULD BE MERGER AND CHANGE PREVIOUSLY RECORDED AT REEL: 040652 FRAME: 0180. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Jan 12, 2017
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 041354/0148 →
CHANGE OF NAME Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 040652/0180 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037354/0225 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0143 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0553 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded May 13, 2010
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 024397/0001 →
SECURITY AGREEMENT Recorded Feb 2, 2007
From: FREESCALE SEMICONDUCTOR, INC.; FREESCALE ACQUISITION CORPORATION; FREESCALE ACQUISITION HOLDINGS CORP.; FREESCALE HOLDINGS (BERMUDA) III, LTD.
To: CITIBANK, N.A. AS COLLATERAL AGENT
Reel/Frame 018855/0129 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2004
From: MOTOROLA, INC
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 015360/0718 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2003
From: BURGESS, DAVID P.
To: MOTOROLA, INC.
Reel/Frame 013568/0920 →