From: David Cohen <dacohen@gmail.com> To: Ohad Ben-Cohen <ohad@wizery.com> Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>, arnd@arndb.de, tony@atomide.com, Joerg.Roedel@amd.com, iommu@lists.linux-foundation.org, laurent.pinchart@ideasonboard.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/7] omap: iommu: remove unused exported API Date: Thu, 18 Aug 2011 16:40:38 +0300 [thread overview] Message-ID: <CAPqfFkAvk92oK-7jhbVZk9zSR7Q1w1CiPLO1PL8xq3E0n1rz-g@mail.gmail.com> (raw) In-Reply-To: <CAK=Wgba0_4W=vODss4+ZKE=PQL266+W0+vb3MiwsTqQH4_1_LQ@mail.gmail.com> Hi Ohad, On Thu, Aug 18, 2011 at 2:01 PM, Ohad Ben-Cohen <ohad@wizery.com> wrote: > Hi Hiroshi, > > On Thu, Aug 18, 2011 at 1:49 PM, Hiroshi DOYU <Hiroshi.DOYU@nokia.com> wrote: >>> -extern void iommu_set_twl(struct iommu *obj, bool on); >> >> This function was introduced by "Hari Kanigeri" for some OMAP4 case, >> which is only using TLB, not H/W table walk. > > We discussed that internally, and concluded it's not needed anymore. I > still kept the underlying plumbing mechanism, just in case it'd still > be needed for some hw quirks in the future, but removed the interface > (in case a future hw revision will seem to need it, it would probably > make more sense to invoke the relevant mechanism from the underlying > layers rather than from a higher layer). > >>> -extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end); >> >> This function was introduced by "David Cohen" to specify the available >> ISP virtual address range. This function wasn't actually introduced by me, but I remember to refer it when I was discussing to not define address 0x0 as valid in da range by default (unless intentionally specified by client). > > Not sure if David or anyone is using this, but if someone is, it must > be out-of-tree. I am fine to remove it. Br, David > > In that case, even if it is needed, adding a mainline user for this > function at this point will most likely not be accepted anymore, and > instead, one will be suggested to use (and extend as necessary) the > DMA-API. > > Thanks, > Ohad. > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: dacohen@gmail.com (David Cohen) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/7] omap: iommu: remove unused exported API Date: Thu, 18 Aug 2011 16:40:38 +0300 [thread overview] Message-ID: <CAPqfFkAvk92oK-7jhbVZk9zSR7Q1w1CiPLO1PL8xq3E0n1rz-g@mail.gmail.com> (raw) In-Reply-To: <CAK=Wgba0_4W=vODss4+ZKE=PQL266+W0+vb3MiwsTqQH4_1_LQ@mail.gmail.com> Hi Ohad, On Thu, Aug 18, 2011 at 2:01 PM, Ohad Ben-Cohen <ohad@wizery.com> wrote: > Hi Hiroshi, > > On Thu, Aug 18, 2011 at 1:49 PM, Hiroshi DOYU <Hiroshi.DOYU@nokia.com> wrote: >>> -extern void iommu_set_twl(struct iommu *obj, bool on); >> >> This function was introduced by "Hari Kanigeri" for some OMAP4 case, >> which is only using TLB, not H/W table walk. > > We discussed that internally, and concluded it's not needed anymore. I > still kept the underlying plumbing mechanism, just in case it'd still > be needed for some hw quirks in the future, but removed the interface > (in case a future hw revision will seem to need it, it would probably > make more sense to invoke the relevant mechanism from the underlying > layers rather than from a higher layer). > >>> -extern int iommu_set_da_range(struct iommu *obj, u32 start, u32 end); >> >> This function was introduced by "David Cohen" to specify the available >> ISP virtual address range. This function wasn't actually introduced by me, but I remember to refer it when I was discussing to not define address 0x0 as valid in da range by default (unless intentionally specified by client). > > Not sure if David or anyone is using this, but if someone is, it must > be out-of-tree. I am fine to remove it. Br, David > > In that case, even if it is needed, adding a mainline user for this > function at this point will most likely not be accepted anymore, and > instead, one will be suggested to use (and extend as necessary) the > DMA-API. > > Thanks, > Ohad. > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at ?http://vger.kernel.org/majordomo-info.html >
next prev parent reply other threads:[~2011-08-18 13:40 UTC|newest] Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-17 23:10 [PATCH 0/7] omap: iommu migration, relocation and cleanups Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-17 23:10 ` [PATCH 1/7] omap: iommu: migrate to the generic IOMMU API Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-18 9:01 ` Laurent Pinchart 2011-08-18 9:01 ` Laurent Pinchart 2011-08-18 9:05 ` Ohad Ben-Cohen 2011-08-18 9:05 ` Ohad Ben-Cohen 2011-08-18 13:35 ` Arnd Bergmann 2011-08-18 13:35 ` Arnd Bergmann 2011-08-23 14:07 ` Roedel, Joerg 2011-08-23 14:07 ` Roedel, Joerg 2011-08-23 14:59 ` Ohad Ben-Cohen 2011-08-23 14:59 ` Ohad Ben-Cohen 2011-08-24 12:46 ` Ohad Ben-Cohen 2011-08-24 12:46 ` Ohad Ben-Cohen 2011-08-24 13:15 ` Roedel, Joerg 2011-08-24 13:15 ` Roedel, Joerg 2011-08-24 14:46 ` Ohad Ben-Cohen 2011-08-24 14:46 ` Ohad Ben-Cohen 2011-08-17 23:10 ` [PATCH 2/7] omap: iommu/iovmm: move to dedicated iommu folder Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-18 13:38 ` Arnd Bergmann 2011-08-18 13:38 ` Arnd Bergmann 2011-08-18 13:53 ` Ohad Ben-Cohen 2011-08-18 13:53 ` Ohad Ben-Cohen 2011-08-17 23:10 ` [PATCH 3/7] omap: iommu: stop exporting local functions Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-17 23:10 ` [PATCH 4/7] omap: iommu: PREFETCH_IOTLB cleanup Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-18 5:27 ` Hiroshi DOYU 2011-08-18 5:27 ` Hiroshi DOYU 2011-08-18 6:33 ` Ohad Ben-Cohen 2011-08-18 6:33 ` Ohad Ben-Cohen 2011-08-17 23:10 ` [PATCH 5/7] omap: iovmm: remove unused functionality Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-18 10:19 ` Hiroshi DOYU 2011-08-18 10:19 ` Hiroshi DOYU 2011-08-18 10:23 ` Ohad Ben-Cohen 2011-08-18 10:23 ` Ohad Ben-Cohen 2011-08-18 12:45 ` Hiroshi DOYU 2011-08-18 12:45 ` Hiroshi DOYU 2011-08-17 23:10 ` [PATCH 6/7] omap: iommu: remove unused exported API Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-18 10:49 ` Hiroshi DOYU 2011-08-18 10:49 ` Hiroshi DOYU 2011-08-18 11:01 ` Ohad Ben-Cohen 2011-08-18 11:01 ` Ohad Ben-Cohen 2011-08-18 13:40 ` David Cohen [this message] 2011-08-18 13:40 ` David Cohen 2011-08-18 13:45 ` Ohad Ben-Cohen 2011-08-18 13:45 ` Ohad Ben-Cohen 2011-08-17 23:10 ` [PATCH 7/7] omap: iommu: omapify 'struct iommu' and exposed API Ohad Ben-Cohen 2011-08-17 23:10 ` Ohad Ben-Cohen 2011-08-18 9:12 ` [PATCH 0/7] omap: iommu migration, relocation and cleanups Laurent Pinchart 2011-08-18 9:12 ` Laurent Pinchart 2011-08-18 10:50 ` Hiroshi DOYU 2011-08-18 10:50 ` Hiroshi DOYU 2011-08-23 14:26 ` Roedel, Joerg 2011-08-23 14:26 ` Roedel, Joerg 2011-08-23 15:15 ` Ohad Ben-Cohen 2011-08-23 15:15 ` Ohad Ben-Cohen
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=CAPqfFkAvk92oK-7jhbVZk9zSR7Q1w1CiPLO1PL8xq3E0n1rz-g@mail.gmail.com \ --to=dacohen@gmail.com \ --cc=Hiroshi.DOYU@nokia.com \ --cc=Joerg.Roedel@amd.com \ --cc=arnd@arndb.de \ --cc=iommu@lists.linux-foundation.org \ --cc=laurent.pinchart@ideasonboard.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=ohad@wizery.com \ --cc=tony@atomide.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: linkBe 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.