Linux IOMMU Development
 help / color / mirror / Atom feed
From: Baolu Lu <baolu.lu@linux.intel.com>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: "iommu@lists.linux.dev" <iommu@lists.linux.dev>,
	Kevin Tian <kevin.tian@intel.com>, Yi Liu <yi.l.liu@intel.com>,
	Nicolin Chen <nicolinc@nvidia.com>
Subject: an iommufd selftest issue with 6.4-rc1
Date: Wed, 17 May 2023 21:56:47 +0800	[thread overview]
Message-ID: <2e437fe7-59ef-be3c-1b94-c92adaf2e8eb@linux.intel.com> (raw)

Hi Jason,

I compiled a 6.4-rc1 kernel and ran the iommufd selftest. The test hung,
and I had to break it with Ctrl+C. Is this a known issue, or there is
something wrong with my test setup?

Best regards,
baolu

PS: the test log:

TAP version 13
1..1
# selftests: iommu: iommufd
# TAP version 13
# 1..129
# # Starting 129 tests from 11 test cases.
# #  RUN           iommufd.simple_close ...
# #            OK  iommufd.simple_close
# ok 1 iommufd.simple_close
# #  RUN           iommufd.cmd_fail ...
# #            OK  iommufd.cmd_fail
# ok 2 iommufd.cmd_fail
# #  RUN           iommufd.cmd_length ...
# #            OK  iommufd.cmd_length
# ok 3 iommufd.cmd_length
# #  RUN           iommufd.cmd_ex_fail ...
# #            OK  iommufd.cmd_ex_fail
# ok 4 iommufd.cmd_ex_fail
# #  RUN           iommufd.global_options ...
# #            OK  iommufd.global_options
# ok 5 iommufd.global_options
# #  RUN           iommufd.simple_ioctls ...
# #            OK  iommufd.simple_ioctls
# ok 6 iommufd.simple_ioctls
# #  RUN           iommufd.unmap_cmd ...
# #            OK  iommufd.unmap_cmd
# ok 7 iommufd.unmap_cmd
# #  RUN           iommufd.map_cmd ...
# #            OK  iommufd.map_cmd
# ok 8 iommufd.map_cmd
# #  RUN           iommufd.info_cmd ...
# #            OK  iommufd.info_cmd
# ok 9 iommufd.info_cmd
# #  RUN           iommufd.set_iommu_cmd ...
# #            OK  iommufd.set_iommu_cmd
# ok 10 iommufd.set_iommu_cmd
# #  RUN           iommufd.vfio_ioas ...
# #            OK  iommufd.vfio_ioas
# ok 11 iommufd.vfio_ioas
# #  RUN           iommufd_ioas.no_domain.ioas_auto_destroy ...
# #            OK  iommufd_ioas.no_domain.ioas_auto_destroy
# ok 12 iommufd_ioas.no_domain.ioas_auto_destroy
# #  RUN           iommufd_ioas.no_domain.ioas_destroy ...
# #            OK  iommufd_ioas.no_domain.ioas_destroy
# ok 13 iommufd_ioas.no_domain.ioas_destroy
# #  RUN           iommufd_ioas.no_domain.hwpt_attach ...
# # hwpt_attach: Test terminated unexpectedly by signal 9
# #          FAIL  iommufd_ioas.no_domain.hwpt_attach
# not ok 14 iommufd_ioas.no_domain.hwpt_attach
# #  RUN           iommufd_ioas.no_domain.ioas_area_destroy ...
# #            OK  iommufd_ioas.no_domain.ioas_area_destroy
# ok 15 iommufd_ioas.no_domain.ioas_area_destroy
# #  RUN           iommufd_ioas.no_domain.ioas_area_auto_destroy ...
# #            OK  iommufd_ioas.no_domain.ioas_area_auto_destroy
# ok 16 iommufd_ioas.no_domain.ioas_area_auto_destroy
# #  RUN           iommufd_ioas.no_domain.area ...
# #            OK  iommufd_ioas.no_domain.area
# ok 17 iommufd_ioas.no_domain.area
# #  RUN           iommufd_ioas.no_domain.unmap_fully_contained_areas ...
# #            OK  iommufd_ioas.no_domain.unmap_fully_contained_areas
# ok 18 iommufd_ioas.no_domain.unmap_fully_contained_areas
# #  RUN           iommufd_ioas.no_domain.area_auto_iova ...
# #            OK  iommufd_ioas.no_domain.area_auto_iova
# ok 19 iommufd_ioas.no_domain.area_auto_iova
# #  RUN           iommufd_ioas.no_domain.area_allowed ...
# #            OK  iommufd_ioas.no_domain.area_allowed
# ok 20 iommufd_ioas.no_domain.area_allowed
# #  RUN           iommufd_ioas.no_domain.copy_area ...
# #            OK  iommufd_ioas.no_domain.copy_area
# ok 21 iommufd_ioas.no_domain.copy_area
# #  RUN           iommufd_ioas.no_domain.iova_ranges ...
# #            OK  iommufd_ioas.no_domain.iova_ranges
# ok 22 iommufd_ioas.no_domain.iova_ranges
# #  RUN           iommufd_ioas.no_domain.access_domain_destory ...
# # iommufd.c:611:access_domain_destory:Expected MAP_FAILED 
(18446744073709551615) != buf (18446744073709551615)

             reply	other threads:[~2023-05-17 13:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17 13:56 Baolu Lu [this message]
2023-05-17 14:02 ` an iommufd selftest issue with 6.4-rc1 Jason Gunthorpe
2023-05-18  7:22   ` Baolu Lu

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=2e437fe7-59ef-be3c-1b94-c92adaf2e8eb@linux.intel.com \
    --to=baolu.lu@linux.intel.com \
    --cc=iommu@lists.linux.dev \
    --cc=jgg@nvidia.com \
    --cc=kevin.tian@intel.com \
    --cc=nicolinc@nvidia.com \
    --cc=yi.l.liu@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