[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHQjnOOGvwo6P1SJXVwzUJDFiUN-QxCxHOWoOMd1+QjubJ2u-A@mail.gmail.com>
Date: Tue, 27 Sep 2011 18:01:00 +0900
From: KyongHo Cho <pullip.cho@...sung.com>
To: Ohad Ben-Cohen <ohad@...ery.com>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>,
"iommu@...ts.linux-foundation.org" <iommu@...ts.linux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"joerg.roedel@....com" <joerg.roedel@....com>,
이상현 <sanghyun75.lee@...sung.com>,
김국진 <kgene.kim@...sung.com>,
김영락 <younglak1004.kim@...sung.com>
Subject: Re: [PATCH 3/4] iommu/exynos: Add iommu driver for Exynos4 Platforms
On Tue, Sep 27, 2011 at 5:48 PM, Ohad Ben-Cohen <ohad@...ery.com> wrote:
> diff --git a/include/linux/iommu.h b/include/linux/iommu.h
> index d084e87..2987199 100644
> --- a/include/linux/iommu.h
> +++ b/include/linux/iommu.h
> @@ -98,11 +98,12 @@ extern void iommu_set_fault_handler(struct
> iommu_domain *domain,
> * Returns 0 on success and an appropriate error code otherwise (if dynamic
> * PTE/TLB loading will one day be supported, implementations will be able
> * to tell whether it succeeded or not according to this return value).
> + * If a fault handler isn't installed, -ENOSYS is returned.
> */
> static inline int report_iommu_fault(struct iommu_domain *domain,
> struct device *dev, unsigned long iova, int flags)
> {
> - int ret = 0;
> + int ret = -ENOSYS;
>
> /*
> * if upper layers showed interest and installed a fault handler,
It looks good for me.
I will prepare new patches with the changed API.
Thank you.
Cho KyongHo.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists