mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Easwar Hariharan <easwar.hariharan@linux.microsoft.com>
To: Mukesh R <mrathor@linux.microsoft.com>
Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev,
	easwar.hariharan@linux.microsoft.com, mhklinux@outlook.com,
	wei.liu@kernel.org, zhangyu1@linux.microsoft.com,
	jacob.pan@linux.microsoft.com, schakrabarti@linux.microsoft.com
Subject: Re: [PATCH V2] iommu/hyperv: Create hyperv subdirectory under drivers/iommu
Date: Fri, 12 Jun 2026 08:49:03 -0700	[thread overview]
Message-ID: <4d7fee09-a71c-4158-820b-54d0ab5a5fa8@linux.microsoft.com> (raw)
In-Reply-To: <20260603225010.1347623-1-mrathor@linux.microsoft.com>

On 6/3/2026 15:50, Mukesh R wrote:
> Create hyperv subdirectory under drivers/iommu in anticipation of more
> hyperv related files from upcoming PCI passthru and pv-IOMMU patches.
> Also, the current file hyperv-iommu.c actually implements irq remapping on
> x86, so rename to more appropriate hv-irq-remap-x86.c and move it under
> the new hyperv subdirectory. Since this file implements irq_remap_ops
> exposed by drivers/iommu/irq_remapping.h, it cannot be relocated to the
> irq directory. This is in sync with other backend directories like amd
> and intel there.
> 
> Lastly, this file should not be tied to CONFIG_HYPERV_IOMMU, but to
> CONFIG_HYPERV and CONFIG_IRQ_REMAP.
> 
> Signed-off-by: Mukesh R <mrathor@linux.microsoft.com>
> ---
> V2: rename hv-irq-remap.c to hv-irq-remap-x86.c
> ---
>  MAINTAINERS                                              | 2 +-
>  drivers/iommu/Kconfig                                    | 9 ---------
>  drivers/iommu/Makefile                                   | 2 +-
>  drivers/iommu/hyperv/Makefile                            | 2 ++
>  .../iommu/{hyperv-iommu.c => hyperv/hv-irq-remap-x86.c}  | 8 +-------
>  drivers/iommu/irq_remapping.c                            | 2 +-
>  6 files changed, 6 insertions(+), 19 deletions(-)
>  create mode 100644 drivers/iommu/hyperv/Makefile
>  rename drivers/iommu/{hyperv-iommu.c => hyperv/hv-irq-remap-x86.c} (99%)
Reviewed-by: Easwar Hariharan <easwar.hariharan@linux.microsoft.com>

      parent reply	other threads:[~2026-06-12 15:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03 22:50 Mukesh R
2026-06-03 23:56 ` Jacob Pan
2026-06-08  5:58   ` Wei Liu
2026-06-12 15:49 ` Easwar Hariharan [this message]

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=4d7fee09-a71c-4158-820b-54d0ab5a5fa8@linux.microsoft.com \
    --to=easwar.hariharan@linux.microsoft.com \
    --cc=iommu@lists.linux.dev \
    --cc=jacob.pan@linux.microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhklinux@outlook.com \
    --cc=mrathor@linux.microsoft.com \
    --cc=schakrabarti@linux.microsoft.com \
    --cc=wei.liu@kernel.org \
    --cc=zhangyu1@linux.microsoft.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

Powered by JetHome