Claims
- 1. A method in a logical partitioned data processing system for managing slots, the method comprising:
responsive to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system, disabling resources used for accessing the slot when slot is unused, wherein a state of the slot changes to an isolated state when the resources are deallocated; and unassigning the resources and ownership of the slot from the partition when the slot is in the isolated state to place the slot in an unallocated state.
- 2. The method of claim 1 further comprising:
responsive to a request to allocate the slot to a selected partition, changing ownership of the slot to the selected partititon; responsive to a request to allocate the slot to the selected partition, allocating resources for accessing the slot to the partition, wherein the resources are invalidated; and changing the resources such that the resources are validated for use by the partition to access the slot.
- 3. The method of claim 1, wherein the resources include at least one of interrupts, memory mapped input/output addresses, and direct memory access addresses.
- 4. The method of claim 1, wherein the slot is an input/output peripheral component interconnect slot.
- 5. The method of claim 1 further comprising:
sending a message, indicating the unallocated state, to a console.
- 6. The method of claim 2 further comprising:
sending a message, indicating a running state, to a console.
- 7. A method in a logical partitioned data processing system for managing slots, the method comprising:
responsive to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system, isolating the slot from the partition; and deallocating the slot after the slot has been isolated from the partition.
- 8. The method of claim 7, wherein the isolating step comprises:
invalidating resources used by the partition to access the slot to form invalidated resources; and changing a state of the slot to an isolated state.
- 9. The method of claim 8, wherein the deallocating step comprises:
unallocating the invalidated resources from the partition; and changing the state of the slot to an unallocated state.
- 10. The method of claim 7, futher comprising:
responsive to a request to allocate a slot to the partition, allocating resources for accessing the slot to the partition in a disabled state; and changing the resources to an enabled state such that the slot may be accessed by the partition.
- 11. The logical partitioned data processing system for managing slots, the logical partitioned data processing system comprising:
a bus system; a communications unit connected to the bus system; a memory connected to the bus system, wherein the memory includes a set of instructions; and a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to disable resources used for accessing the slot when slot is unused in which a state of the slot changes to an isolated state when the resources are deallocated in response to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system; and unassign the resources and ownership of the slot from the partition when the slot is in the isolated state to place the slot in an unallocated state.
- 12. The logical partitioned data processing system of claim 11, wherein the processing unit further executes the set of instructions to change ownership of the slot to the selected partititon in response to a request to allocate the slot to a selected partition; allocate resources for accessing the slot to the partition in which the resources are invalidated in response to a request to allocate the slot to the selected partition; and change the resources such that the resources are validated for use by the partition to access the slot
- 13. A data processing system in a logical partitioned data processing system for managing slots, the logical partitioned data processing system comprising:
a bus system; a communications unit connected to the bus system; a memory connected to the bus system, wherein the memory includes a set of instructions; and a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to isolate the slot from the partition in response to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system; and deallocate the slot after the slot has been isolated from the partition.
- 14. The logical partitioned data processing sytem of claim 13, wherein the processing unit further executes the set of instructions to invalidate resources used by the partition to access the slot to form invalidated resources; and change a state of the slot to an isolated state.
- 15. A logical partitioned data processing system for managing slots, the data processing system comprising:
disabling means, responsive to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system, for disabling resources used for accessing the slot when slot is unused, wherein a state of the slot changes to an isolated state when the resources are deallocated; and unassigning means for unassigning the resources and ownership of the slot from the partition when the slot is in the isolated state to place the slot in an unallocated state.
- 16. The data processing system of claim 15 further comprising:
first changing means, responsive to a request to allocate the slot to a selected partition, for changing ownership of the slot to the selected partititon; allocating means, responsive to a request to allocate the slot to the selected partition, for allocating resources for accessing the slot to the partition, wherein the resources are invalidated; and second changing means for changing the resources such that the resources are validated for use by the partition to access the slot.
- 17. The data processing system of claim 15, wherein the resources include at least one of interrupts, memory mapped input/output addresses, and direct memory access addresses.
- 18. The data processing system of claim 15, wherein the slot is an input/output peripheral component interconnect slot.
- 19. The data processing system of claim 15 further comprising:
sending means for sending a message, indicating the unallocated state, to a console.
- 20. The data processing system of claim 16 further comprising:
sending means for sending a message, indicating the running state, to a console.
- 21. A data processing system in a logical partitioned data processing system for managing slots, the data processing system comprising:
isolating means, responsive to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system, for isolating the slot from the partition; and deallocating means for deallocating the slot after the slot has been isolated from the partition.
- 22. The data processing system of claim 21, wherein the isolating means comprises:
invalidating means for invalidating resources used by the partition to access the slot to form invalidated resources; and changing means for changing a state of the slot to an isolated state.
- 23. The data processing system of claim 22, wherein the deallocating means comprises:
unallocating means for unallocating the invalidated resources from the partition; and changing means for changing the state of the slot to an unallocated state.
- 24. The data processing system of claim 21, futher comprising:
allocating means, responsive to a request to allocate a slot to the partition, for allocating resources for accessing the slot to the partition in a disabled state; and changing means for changing the resources to an enabled state such that the slot may be accessed by the partition.
- 25. A computer program product in a computer readable medium for managing slots, the computer program product comprising:
first instructions, responsive to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system, for disabling resources used for accessing the slot when slot is unused, wherein a state of the slot changes to an isolated state when the resources are deallocated; and second instructions for unassigning the resources and ownership of the slot from the partition when the slot is in the isolated state to place the slot in an unallocated state.
- 26. The computer program product of claim 25 further comprising:
third instructions, responsive to a request to allocate the slot to a selected partition, for changing ownership of the slot to the selected partititon; fourth instructions, responsive to a request to allocate the slot to the selected partition, for allocating resources for accessing the slot to the partition, wherein the resources are invalidated; and fifth instructions for changing the resources such that the resources are validated for use by the partition to access the slot.
- 27. A computer program product in a computer readable medium for managing slots, the computer program product comprising:
first instructions, responsive to a request to deallocate a slot assigned to a partition within the logical partitioned data processing system, for isolating the slot from the partition; and second instructions for deallocating the slot after the slot has been isolated from the partition.
- 28. The computer program product of claim 27, wherein the first instructions comprises:
first sub-instructions for invalidating resources used by the partition to access the slot to form invalidated resources; and second sub-instructions for changing a state of the slot to an isolated state.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present invention is related to the following applications entitled: “Method and Apparatus for Managing Memory Blocks in a Logical Partitioned Data Processing System”, Ser. No. ______, attorney docket no. AUS920020264US1; and “Method and Apparatus for Dynamically Allocating and Deallocating Processors in a Logical Partitioned Data Processing System, Ser. No. ______, attorney docket no. AUS920020265US1, all filed even date hereof, assigned to the same assignee, and incorporated herein by reference.