Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-19738

Enable properties allowing to disable high memory regions

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • None
    • qemu-kvm
    • qemu-kvm-8.2.0-3.el9
    • FutureFeature
    • rhel-sst-virtualization
    • ssg_virtualization
    • 22
    • 24
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • aarch64
    • None

      ..This feature comes from Gavin shan’s contribution in the upstream community:
      This feature is expected to be enabled in RHEL9.4

      There are three high memory regions, which are VIRT_HIGH_REDIST2,
      VIRT_HIGH_PCIE_ECAM and VIRT_HIGH_PCIE_MMIO. Their base addresses
      are floating on highest RAM address. However, they can be disabled
      in several cases.

      (1) One specific high memory region is disabled by developer by
          toggling vms->highmem_{redists, ecam, mmio}.

      (2) VIRT_HIGH_PCIE_ECAM region is disabled on machine, which is
          'virt-2.12' or ealier than it.

      (3) VIRT_HIGH_PCIE_ECAM region is disabled when firmware is loaded
          on 32-bits system.

      (4) One specific high memory region is disabled when it breaks the
          PA space limit.

      The current implementation of virt_set_memmap() isn't comprehensive
      because the space for one specific high memory region is always
      reserved from the PA space for case (1), (2) and (3). In the code,
      'base' and 'vms->highest_gpa' are always increased for those three
      cases. It's unnecessary since the assigned space of the disabled
      high memory region won't be used afterwards.

      The series intends to improve the address assignment for these
      high memory regions and introduces new properties for user to
      selectively disable those 3 high memory regions.

              rh-ee-gshan Guowen Shan
              zhenyzha@redhat.com Zhenyu Zhang
              virt-maint virt-maint
              Zhenyu Zhang Zhenyu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: