From: h-kanigeri2@ti.com (Kanigeri, Hari)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] OMAP: mailbox and iommu changes: for-next for v2.6.38
Date: Mon, 6 Dec 2010 09:16:23 -0600 [thread overview]
Message-ID: <AANLkTim641hqqyCczMPN_rDvVH_dqV0voQLFhQsrQLY3@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=01qGO6pX15n_w-W4RaaXsK3u697UQ9pD_DuvW@mail.gmail.com>
Ruseell,
On Thu, Dec 2, 2010 at 9:43 AM, Guzman Lugo, Fernando
<fernando.lugo@ti.com> wrote:
> On Thu, Dec 2, 2010 at 9:20 AM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
>> On Thu, Dec 02, 2010 at 08:50:07AM -0600, Guzman Lugo, Fernando wrote:
>>> On Thu, Dec 2, 2010 at 6:33 AM, Russell King - ARM Linux
>>> <linux@arm.linux.org.uk> wrote:
>>> > On Thu, Dec 02, 2010 at 06:07:23AM -0600, Kanigeri, Hari wrote:
>>> >> Hi Tony,
>>> >>
>>> >> The following changes since commit e8a7e48bb248a1196484d3f8afa53bded2b24e71:
>>> >> ? Linus Torvalds (1):
>>> >> ? ? ? ? Linux 2.6.37-rc4
>>> >>
>>> >> are available in the git repository at:
>>> >>
>>> >> ? git://gitorious.org/iommu_mailbox/iommu_mailbox.git for_2.6.38
>>> >>
>>> >> Fernando Guzman Lugo (5):
>>> >> ? ? ? OMAP: mailbox: change full flag per mailbox queue instead of global
>>> >> ? ? ? omap: iovmm - no gap checking for fixed address
>>> >> ? ? ? omap: iovmm - add superpages support to fixed da address
>>> >> ? ? ? omap: iovmm - replace __iounmap with omap_iounmap
>>> >
>>> > This change is wrong. ?Nothing should be directly referencing omap_iounmap
>>> > nor for that matter omap_ioremap. ?Both are implementation details of the
>>> > standard ioremap/iounmap APIs.
>>> >
>>> > Use the official APIs rather than the implementation details behind them.
>>>
>>> if you see where the function is used, you will see that it is not
>>> calling the function, it is use as a parameter in unmap_vm_area(), if
>>> I used iounmap which is a macro there I will get a compilation error.
>>
>> Hmm, yes, because iounmap() is defined as a macro rather than iounmap.
>>
>> The solution to this is to fix iounmap and __arch_iounmap macros so
>> they aren't macros which take arguments. ?That will then allow them
>> to be used in the way you desire.
>
> yes, that way it can be used in the function parameter. what is the
> right thing to do?
> 1) You send your patch and then I send the new version of the patches.
> 2) I make a new series of the patches with the change to iounmap and I
> include your patch in the series.
>
Can you please suggest the approach we take here ? So, either you send
your suggested change as a patch and Fernando's patch will be based on
it, or he can take a TODO action item to patch again if you plan to
send this change later.
Thank you,
Best regards,
Hari Kanigeri
next prev parent reply other threads:[~2010-12-06 15:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-02 12:07 [GIT PULL] OMAP: mailbox and iommu changes: for-next for v2.6.38 Kanigeri, Hari
2010-12-02 12:33 ` Russell King - ARM Linux
2010-12-02 14:50 ` Guzman Lugo, Fernando
2010-12-02 15:20 ` Russell King - ARM Linux
2010-12-02 15:43 ` Guzman Lugo, Fernando
2010-12-06 15:16 ` Kanigeri, Hari [this message]
2010-12-06 15:26 ` Russell King - ARM Linux
2010-12-12 11:20 ` Russell King - ARM Linux
2010-12-13 17:31 ` Kanigeri, Hari
2010-12-13 23:02 ` Guzman Lugo, Fernando
2010-12-14 0:02 ` Russell King - ARM Linux
2010-12-14 1:37 ` Guzman Lugo, Fernando
-- strict thread matches above, loose matches on Subject: below --
2010-12-15 22:49 Kanigeri, Hari
2010-12-18 3:30 ` Tony Lindgren
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=AANLkTim641hqqyCczMPN_rDvVH_dqV0voQLFhQsrQLY3@mail.gmail.com \
--to=h-kanigeri2@ti.com \
--cc=linux-arm-kernel@lists.infradead.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).