Method and system for quarantine during bus topology configuration
First Claim
1. A method of allowing reuse of a bus id while preventing stale address translations, the method comprisingreceiving an indication of a possible change in a topology of a net;
- establishing node ids consistent with the possible change;
quarantining a set of devices coupled to the net, the quarantining causing the use of stale address translations to result in rejected transactions; and
allowing reuse of identifiers of devices of the set of devices after a predetermined interval of time elapses following the quarantining.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for quarantine during bus topology configuration are described. In one embodiment, the invention is a method. The method includes quarantining a set of devices coupled to a bus. The method further includes establishing a topology of the bus. The method may also include receiving a reset signal and quarantining in response to the reset signal. In an alternate embodiment, the invention is a system. The system includes a bus having a reset signal and a plurality of data signals. The system also includes a set of devices, with each device of the set of devices coupled to the bus. The system further includes a controller. The controller having a memory configured to store device identifiers corresponding to the devices of the set of devices. The memory further configured to store quarantine information relating to the devices of the set of devices.
111 Citations
38 Claims
-
1. A method of allowing reuse of a bus id while preventing stale address translations, the method comprising
receiving an indication of a possible change in a topology of a net; -
establishing node ids consistent with the possible change;
quarantining a set of devices coupled to the net, the quarantining causing the use of stale address translations to result in rejected transactions; and
allowing reuse of identifiers of devices of the set of devices after a predetermined interval of time elapses following the quarantining. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
the indication is a bus reset; and
the quarantining occurs in response to the bus reset.
-
-
3. The method of claim 1 wherein:
the quarantining includes setting a quarantine bit corresponding to each device of the set of devices.
-
4. The method of claim 1 wherein:
the establishing includes testing whether previously established identifiers of each device of the set of devices continue to refer to the same devices of the set of devices.
-
5. The method of claim 1 wherein:
the establishing includes testing whether a previously established identifier of a first device of the set of devices still refers to the first device, the identifier included in a transaction request, the first device quarantined.
-
6. The method of claim 1 wherein:
the set of devices includes legacy devices having no capability for quarantine and controllers corresponding to the legacy devices, the controllers maintaining quarantine information related to the legacy devices, the controllers establishing whether previously established identifiers of the legacy devices still refer to the same legacy devices.
-
7. The method of claim 1 wherein:
the establishing includes assigning a new device identifier to a first device which does not respond to a previously established device identifier corresponding to the first device.
-
8. The method of claim 7 wherein:
the establishing includes assigning a device identifier to a second device, no previously established device identifier corresponding to the second device.
-
9. The method of claim 1 wherein:
the bus is comprises an IEEE 1394 standard serial bus.
-
10. The method of claim 1 wherein:
the quarantining occurs when it appears advantageous to recycle node ids.
-
11. The method of claim 1 wherein:
the quarantining occurs when free node ids are below an acceptable quantity.
-
12. The method of claim 1 wherein:
the establishing includes maintaining a set of free device identifiers, a set of used device identifiers and a set of dirty device identifiers, the set of used device identifiers corresponding to device identifiers currently assigned to devices, the set of dirty device identifiers corresponding to device identifiers recently assigned to device identifiers and unassignable to other devices, the set of free device identifiers corresponding to device identifiers assignable to other devices.
-
13. The method of claim 12 wherein:
the establishing includes determining whether dirty device identifiers may be reused.
-
14. The method of claim 13 wherein:
determining whether dirty device identifiers may be reused includes determining whether a predetermined amount of time has elapsed and after the predetermined amount of time has elapsed, redefining the dirty device identifiers as free device identifiers.
-
15. The method of claim 14 wherein:
the predetermined amount of time is a transaction time limit of the bus.
-
16. A method of allowing reuse of a bus id while preventing stale address translations, the method comprising:
-
receiving an indication of a possible change in a topology of a net;
establishing node ids consistent with the possible change by maintaining a set of free device identifiers, a set of used device identifiers and a set of dirty device identifiers, the set of used device identifiers corresponding to device identifiers currently assigned to devices, the set of dirty device identifiers corresponding to device identifiers recently assigned to device identifiers and unassignable to other devices, the set of free device identifiers corresponding to device identifiers assignable to other devices, and quarantining a set of devices coupled to the net, the quarantining causing the use of stale address translations to result in rejected transactions. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
the establishing includes determining whether dirty device identifiers may be reused.
-
-
18. The method of claim 17 wherein:
determining whether dirty device identifiers may be reused includes determining whether a predetermined amount of time has elapsed and after the predetermined amount of time has elapsed, redefining the dirty device identifiers as free device identifiers.
-
19. The method of claim 18 wherein:
the predetermined amount of time is a transaction time limit of the bus.
-
20. The method of claim 16 wherein:
-
the indication is a bus reset; and
the quarantining occurs in response to the bus reset.
-
-
21. The method of claim 16 wherein:
the quarantining includes setting a quarantine bit corresponding to each device of the set of devices.
-
22. The method of claim 16 wherein:
the establishing includes testing whether previously established identifiers of each device of the set of devices continue to refer to the same devices of the set of devices.
-
23. The method of claim 16 wherein:
the establishing includes testing whether a previously established identifier of a first device of the set of devices still refers to the first device, the identifier included in a transaction request, the first device quarantined.
-
24. The method of claim 16 wherein:
the set of devices includes legacy devices having no capability for quarantine and controllers corresponding to the legacy devices, the controllers maintaining quarantine information related to the legacy devices, the controllers establishing whether previously established identifiers of the legacy devices still refer to the same legacy devices.
-
25. The method of claim 16 wherein:
the establishing includes assigning a new device identifier to a first device which does not respond to a previously established device identifier corresponding to the first device.
-
26. The method of claim 25 wherein:
the establishing includes assigning a device identifier to a second device, no previously established device identifier corresponding to the second device.
-
27. The method of claim 16 wherein:
the bus comprises an IEEE 1394 standard serial bus.
-
28. The method of claim 16 wherein:
the quarantining occurs when it appears advantageous to recycle node ids.
-
29. The method of claim 16 wherein:
the quarantining occurs when free node ids are below an acceptable quantity.
-
30. A system comprising:
-
a bus having a reset signal and having a plurality of data signals;
a set of devices, each device of the set of devices coupled to the bus; and
a controller, the controller having a memory configured to store device identifiers corresponding to the devices of the set of devices, the memory further configured to store quarantine information relating to the devices of the set of devices. - View Dependent Claims (31, 32, 33, 34)
the controller further having logic configured to determine whether a first device identifier of the memory corresponding to a first device addresses the first device when the quarantine information related to the first device indicates the reset signal has been active.
-
-
32. The system of claim 31 wherein:
the devices of the set of devices have logic configured to receive the reset signal and to halt activity of the devices.
-
33. The system of claim 31 wherein:
a subset of the devices of the set of devices having no logic configured to halt activity of the devices of the subset of devices in response to reception of the reset signal.
-
34. The system of claim 33 wherein:
the controller further having logic configured to restart activity of the devices of the subset of devices in response to reception of the reset signal.
-
35. An apparatus comprising:
-
means for storing device identifiers corresponding to a set of devices coupled to a bus, the means for storing further storing quarantine information relating to the devices; and
means for receiving data signals on the bus. - View Dependent Claims (36, 37, 38)
means for determining whether a device identifier corresponding to a first device addresses the first device when the quarantine information related to the first device indicates a reset signal has been active on the bus.
-
-
37. The apparatus of claim 36 wherein each of the devices further comprises:
-
means for receiving the reset signal; and
means for halting activity of the device.
-
-
38. The apparatus of claim 36 further comprising:
means for restarting activity of a subset of the set of devices in response to receiving the reset signal, wherein the subset of devices cannot halt activity in response to receiving the reset signal.
Specification