<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - IGT: Couldn't map MMIO region"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93199#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - IGT: Couldn't map MMIO region"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93199">bug 93199</a>
              from <span class="vcard"><a class="email" href="mailto:seandarcy2@gmail.com" title="sean darcy <seandarcy2@gmail.com>"> <span class="fn">sean darcy</span></a>
</span></b>
        <pre>set selinux to permissive , and ran igt as root:

# setenforce 0
# intel_gpu_top
(intel_gpu_top:18404) intel-mmio-CRITICAL: Test assertion failure function
intel_mmio_use_pci_bar, file intel_mmio.c:144:
Failed assertion: !(error != 0)
Last errno: 1, Operation not permitted
Couldn't map MMIO region
Stack trace:
  #0 [_init+0x7eb9]
  #1 [_init+0x5d96]
  #2 [_init+0x1291]
  #3 [__libc_start_main+0xf0]
  #4 [_init+0x2d11]
  #5 [<unknown>+0x2d11]
Test (null) failed.
**** DEBUG ****
(intel_gpu_top:18404) intel-mmio-CRITICAL: Test assertion failure function
intel_mmio_use_pci_bar, file intel_mmio.c:144:
Failed assertion: !(error != 0)
Last errno: 1, Operation not permitted
Couldn't map MMIO region
****  END  ****

# ls -l /sys/bus/pci/devices/0000:00:02.0/resource*
-r--r--r--. 1 root root      4096 Dec  2 15:09
/sys/bus/pci/devices/0000:00:02.0/resource
-rw-------. 1 root root   4194304 Dec  2 15:09
/sys/bus/pci/devices/0000:00:02.0/resource0
-rw-------. 1 root root 268435456 Dec  2 15:09
/sys/bus/pci/devices/0000:00:02.0/resource2
-rw-------. 1 root root 268435456 Dec  2 15:09
/sys/bus/pci/devices/0000:00:02.0/resource2_wc
-rw-------. 1 root root        64 Dec  2 15:09
/sys/bus/pci/devices/0000:00:02.0/resource4</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>