From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Magnus Damm <magnus.damm@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>
Cc: iommu@lists.linux-foundation.org,
SH-Linux <linux-sh@vger.kernel.org>, joro <joro@8bytes.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Simon Horman <horms+renesas@verge.net.au>
Subject: Re: [PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency
Date: Tue, 20 Oct 2015 13:28:17 +0300 [thread overview]
Message-ID: <1853633.usacnlzPRA@avalon> (raw)
In-Reply-To: <CANqRtoTuK4gcc7WMTcMQ4REtRL8oGtT_hLpo7UHgPiQ8e6L+9A@mail.gmail.com>
Hi Magnus,
On Tuesday 20 October 2015 17:54:59 Magnus Damm wrote:
> On Mon, Oct 19, 2015 at 3:42 PM, Laurent Pinchart wrote:
> > On Monday 19 October 2015 12:02:53 Magnus Damm wrote:
> >> From: Magnus Damm <damm+renesas@opensource.se>
> >>
> >> Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE
> >> nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get
> >> rid of the dependency.
> >>
> >> Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using:
> >> # CONFIG_ARM_LPAE is not set
> >
> > The driver only supports the 40-bits page table format for now, hence the
> > dependency on LPAE, but it indeed seems that the dependency is bogus. As
> > long as the 8 MSBs of the translated address are all 0 I assume the
> > output 40-bit address is usable on a 32-bit physical address system.
> >
> > How have you tested the patch ?
>
> Modetest with local IPMMUMX enablement on r8a7794 ALT.
Then,
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Magnus Damm <magnus.damm@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>
Cc: iommu@lists.linux-foundation.org,
SH-Linux <linux-sh@vger.kernel.org>, joro <joro@8bytes.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Simon Horman <horms+renesas@verge.net.au>
Subject: Re: [PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency
Date: Tue, 20 Oct 2015 10:28:17 +0000 [thread overview]
Message-ID: <1853633.usacnlzPRA@avalon> (raw)
In-Reply-To: <CANqRtoTuK4gcc7WMTcMQ4REtRL8oGtT_hLpo7UHgPiQ8e6L+9A@mail.gmail.com>
Hi Magnus,
On Tuesday 20 October 2015 17:54:59 Magnus Damm wrote:
> On Mon, Oct 19, 2015 at 3:42 PM, Laurent Pinchart wrote:
> > On Monday 19 October 2015 12:02:53 Magnus Damm wrote:
> >> From: Magnus Damm <damm+renesas@opensource.se>
> >>
> >> Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE
> >> nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get
> >> rid of the dependency.
> >>
> >> Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using:
> >> # CONFIG_ARM_LPAE is not set
> >
> > The driver only supports the 40-bits page table format for now, hence the
> > dependency on LPAE, but it indeed seems that the dependency is bogus. As
> > long as the 8 MSBs of the translated address are all 0 I assume the
> > output 40-bit address is usable on a 32-bit physical address system.
> >
> > How have you tested the patch ?
>
> Modetest with local IPMMUMX enablement on r8a7794 ALT.
Then,
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2015-10-20 10:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 3:02 [PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency Magnus Damm
2015-10-19 3:02 ` Magnus Damm
2015-10-19 6:42 ` Laurent Pinchart
2015-10-19 6:42 ` Laurent Pinchart
2015-10-20 8:54 ` Magnus Damm
2015-10-20 8:54 ` Magnus Damm
2015-10-20 8:54 ` Magnus Damm
2015-10-20 10:28 ` Laurent Pinchart [this message]
2015-10-20 10:28 ` Laurent Pinchart
2015-10-23 9:49 ` Joerg Roedel
2015-10-23 9:49 ` Joerg Roedel
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=1853633.usacnlzPRA@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=geert+renesas@glider.be \
--cc=horms+renesas@verge.net.au \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.