From: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Marcin Bernatowicz" <marcin.bernatowicz@linux.intel.com>,
"Piotr Piórkowski" <piotr.piorkowski@intel.com>,
"Lukasz Laguna" <lukasz.laguna@intel.com>,
"Adam Miszczak" <adam.miszczak@linux.intel.com>,
"Jakub Kolakowski" <jakub1.kolakowski@intel.com>,
"K V P Satyanarayana" <satyanarayana.k.v.p@intel.com>,
"C V Narasimha" <narasimha.c.v@intel.com>
Subject: [PATCH i-g-t 3/3] lib/xe/xe_mmio: Remove redundant PCI system cleanup
Date: Wed, 4 Sep 2024 10:47:01 +0200 [thread overview]
Message-ID: <20240904084701.186664-4-marcin.bernatowicz@linux.intel.com> (raw)
In-Reply-To: <20240904084701.186664-1-marcin.bernatowicz@linux.intel.com>
Remove igt_pci_system_cleanup from xe_mmio_access_fini as it cleans up
all libpciaccess state and invalidates all handles, not just single
xe_mmio. It should be used at the end of libpciaccess usage.
Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz@linux.intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Adam Miszczak <adam.miszczak@linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com>
Cc: K V P Satyanarayana <satyanarayana.k.v.p@intel.com>
Cc: C V Narasimha <narasimha.c.v@intel.com>
---
lib/xe/xe_mmio.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/xe/xe_mmio.c b/lib/xe/xe_mmio.c
index 3e42b2e1c..0817c12f6 100644
--- a/lib/xe/xe_mmio.c
+++ b/lib/xe/xe_mmio.c
@@ -55,7 +55,6 @@ void xe_mmio_access_fini(struct xe_mmio *mmio)
{
mmio->intel_mmio.pci_device_id = 0;
intel_mmio_unmap_pci_bar(&mmio->intel_mmio);
- igt_pci_system_cleanup();
}
/**
--
2.31.1
next prev parent reply other threads:[~2024-09-04 8:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 8:46 [PATCH i-g-t 0/3] Introduce VF MMIO register tests and xe_mmio fixes Marcin Bernatowicz
2024-09-04 8:46 ` [PATCH i-g-t 1/3] tests/intel/xe_sriov_mmio_regs: Add tests to verify registers on VFs Marcin Bernatowicz
2024-09-11 14:33 ` Bernatowicz, Marcin
2024-09-04 8:47 ` [PATCH i-g-t 2/3] lib/xe/xe_mmio: Fix assertion logic in xe_mmio_vf_access_init Marcin Bernatowicz
2024-09-09 15:48 ` Kamil Konieczny
2024-09-11 14:50 ` Bernatowicz, Marcin
2024-09-04 8:47 ` Marcin Bernatowicz [this message]
2024-09-09 15:52 ` [PATCH i-g-t 3/3] lib/xe/xe_mmio: Remove redundant PCI system cleanup Kamil Konieczny
2024-09-04 18:58 ` ✓ Fi.CI.BAT: success for Introduce VF MMIO register tests and xe_mmio fixes Patchwork
2024-09-04 18:58 ` ✓ CI.xeBAT: " Patchwork
2024-09-06 2:49 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-09-06 21:25 ` ✗ CI.xeFULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240904084701.186664-4-marcin.bernatowicz@linux.intel.com \
--to=marcin.bernatowicz@linux.intel.com \
--cc=adam.miszczak@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jakub1.kolakowski@intel.com \
--cc=lukasz.laguna@intel.com \
--cc=narasimha.c.v@intel.com \
--cc=piotr.piorkowski@intel.com \
--cc=satyanarayana.k.v.p@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox