EP2248025B1

Dynamic address translation with translation exception qualifier

Abstract

An enhanced dynamic address translation facility product is created such that, in one embodiment, a virtual address to be translated and an initial origin address of a translation table of the hierarchy of translation tables are obtained. Dynamic address translation of the virtual address proceeds. In response to a translation interruption having occurred during dynamic address translation, bits are stored in a translation exception qualifier (TXQ) field to indicate that the exception was either a host DAT exception having occurred while running a host program or a host DAT exception having occurred while running a guest program. The TXQ is further capable of indicating that the exception was associated with a host virtual address derived from a guest page frame real address or a guest segment frame absolute address. The TXQ is further capable of indicating that a larger or smaller host frame size is preferred to back a guest frame.

EP2248025B1, drawing sheet 1
Sheet 1 of 18

Term

2.4 yearsleft in the term

Expires 17 February 2029.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

7 claims: 3 independent, 4 dependent

  1. 1
    A method for qualifying a translation exception in a dynamic address translation facility capable of translating a virtual address into a translated address of a block of data in main storage (208) in a computer system (200), the method comprising:obtaining a virtual address to be translated;dynamically translating the virtual address into a real or absolute address of a desired block of data in main storage;and in response to a translation exception interruption event having occurred during dynamic address translation of the virtual address, storing in a translation exception qualifier, bits to indicate that said translation exception was one of a host DAT exception having occurred while running a host program, and a host DAT exception having occurred while running a guest program;and characterised by storing in said translation exception qualifier bits to indicate any of a size of a guest frame to which said host DAT exception pertains, and a size of a host frame to be allocated to back said guest frame.
  2. 2
    The method according to Claim 1, further comprising storing in said translation exception qualifier bits to indicate that said translation exception was a guest DAT exception having occurred while running said guest program.
  3. 3
    The method according to Claim 1 or 2, further comprising storing in said translation exception qualifier bits to indicate that said host DAT exception pertained to an address derived from a guest leaf table entry.
  4. 4
    The method according to Claim 1, 2 or 3, further comprising storing in said translation exception qualifier bits to indicate that said host DAT exception pertained to an address derived from a guest page frame real address.
  5. 5
    The method according to Claim 1, 2, 3 or 4, further comprising storing in said translation exception qualifier bits to indicate that said host DAT exception pertained to an address derived from a guest segment frame absolute address.
  6. 6
    A system comprising means adapted for carrying out all the steps of the method according to any preceding method claim.
  7. 7
    A computer program comprising instructions for carrying out all the steps of the method according to any preceding method claim, when said computer program is executed on a computer system.