Re: [PATCH 02/12] intel-ipu3: mmu: implement driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans,

On Tue, Jun 06, 2017 at 10:07:45AM +0200, Hans Verkuil wrote:
> On 05/06/17 22:39, Yong Zhi wrote:
> > From: Tuukka Toivonen <tuukka.toivonen@xxxxxxxxx>
> > 
> > This driver translates Intel IPU3 internal virtual
> > address to physical address.
> > 
> > Signed-off-by: Yong Zhi <yong.zhi@xxxxxxxxx>
> > ---
> >  drivers/media/pci/intel/ipu3/Kconfig    |  11 +
> >  drivers/media/pci/intel/ipu3/Makefile   |   1 +
> >  drivers/media/pci/intel/ipu3/ipu3-mmu.c | 423 ++++++++++++++++++++++++++++++++
> >  drivers/media/pci/intel/ipu3/ipu3-mmu.h |  73 ++++++
> >  4 files changed, 508 insertions(+)
> >  create mode 100644 drivers/media/pci/intel/ipu3/ipu3-mmu.c
> >  create mode 100644 drivers/media/pci/intel/ipu3/ipu3-mmu.h
> > 
> 
> Why is this patch and the next patch (03/12) in drivers/media? I wonder
> what the reasoning is behind that since it doesn't seem very media
> specific.

The MMU is specific to the IPU3 (and possibly to some other IPUs).

Device specific MMUs must be a rarity anyway, there doesn't seem to be any
under drivers/iommu either.

-- 
Regards,

Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux