iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Fenghua Yu <fenghua.yu@intel.com>
Cc: Jean-Philippe Brucker <jean-philippe@linaro.org>,
	Tony Luck <tony.luck@intel.com>,
	Dave Jiang <dave.jiang@intel.com>,
	Ashok Raj <ashok.raj@intel.com>,
	Ravi V Shankar <ravi.v.shankar@intel.com>,
	Peter Zijlstra <peterz@infradead.org>, x86 <x86@kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Dave Hansen <dave.hansen@intel.com>,
	iommu@lists.linux-foundation.org, Ingo Molnar <mingo@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	Jacob Jun Pan <jacob.jun.pan@intel.com>,
	H Peter Anvin <hpa@zytor.com>,
	Christoph Hellwig <hch@infradeed.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH v3 01/13] iommu: Change type of pasid to unsigned int
Date: Thu, 18 Jun 2020 00:12:06 -0700	[thread overview]
Message-ID: <20200618071206.GA7294@infradead.org> (raw)
In-Reply-To: <1592418233-17762-2-git-send-email-fenghua.yu@intel.com>

On Wed, Jun 17, 2020 at 11:23:41AM -0700, Fenghua Yu wrote:
> PASID is defined as a few different types in iommu including "int",
> "u32", and "unsigned int". To be consistent and to match with ioasid's
> type, define PASID and its variations (e.g. max PASID) as "unsigned int".

Wouldn't u32 be a little more explicit (besides being shorter and
matching the uapi definitions)?
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

  parent reply	other threads:[~2020-06-18  7:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17 18:23 [PATCH v3 00/13] x86: tag application address space for devices Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 01/13] iommu: Change type of pasid to unsigned int Fenghua Yu
2020-06-17 19:35   ` Andy Lutomirski
2020-06-17 19:39     ` Luck, Tony
2020-06-17 20:04       ` Andy Lutomirski
2020-06-18  7:12   ` Christoph Hellwig [this message]
2020-06-18 15:22     ` Fenghua Yu
2020-06-22 18:09     ` Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 02/13] ocxl: " Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 03/13] iommu/vt-d: Change flags type to unsigned int in binding mm Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 04/13] docs: x86: Add documentation for SVA (Shared Virtual Addressing) Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 05/13] x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 06/13] x86/fpu/xstate: Add supervisor PASID state for ENQCMD feature Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 07/13] x86/msr-index: Define IA32_PASID MSR Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 08/13] mm: Define pasid in mm Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 09/13] fork: Clear PASID for new mm Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 10/13] x86/process: Clear PASID state for a newly forked/cloned thread Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 11/13] x86/mmu: Allocate/free PASID Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 12/13] sched: Define and initialize a flag to identify valid PASID in the task Fenghua Yu
2020-06-17 18:23 ` [PATCH v3 13/13] x86/traps: Fix up invalid PASID Fenghua Yu

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=20200618071206.GA7294@infradead.org \
    --to=hch@infradead.org \
    --cc=ashok.raj@intel.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dwmw2@infradead.org \
    --cc=fenghua.yu@intel.com \
    --cc=hch@infradeed.org \
    --cc=hpa@zytor.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jacob.jun.pan@intel.com \
    --cc=jean-philippe@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=ravi.v.shankar@intel.com \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).