Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631564 > unrolled thread
| Started by | Joerg Roedel <joro@8bytes.org> |
|---|---|
| First post | 2017-04-26 18:00 +0200 |
| Last post | 2017-04-26 18:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] iommu: Print a message with the default domain type created Joerg Roedel <joro@8bytes.org> - 2017-04-26 18:00 +0200
| From | Joerg Roedel <joro@8bytes.org> |
|---|---|
| Date | 2017-04-26 18:00 +0200 |
| Subject | Re: [PATCH] iommu: Print a message with the default domain type created |
| Message-ID | <tAxwe-4hS-25@gated-at.bofh.it> |
Hi Robert,
On Wed, Apr 26, 2017 at 04:38:13PM +0200, Robert Richter wrote:
> - pr_info("Adding device %s to group %d\n", dev_name(dev), group->id);
> + pr_info("Adding device %s to group %d, default domain type %d\n",
> + dev_name(dev), group->id,
> + group->default_domain ? group->default_domain->type : -1);
Printing just a number is not very user-friendly. We have only two
default domain-types right now, so it is sufficient to just print
additional information if a device is identity-mapped. Something like
"Adding device %s to group %d - using identity mapping"
Regards,
Joerg
Back to top | Article view | linux.kernel
csiph-web