Re: [PATCH 5/5] Documentation/DMA-API-HOWTO: update dma_mask sections

2019-02-17 Thread Yang, Shunyong
Hi, Christoph, On 2019/2/15 22:46, Christoph Hellwig wrote: > We don't require drivers to guess a DMA mask that might actually > match the system capabilities any more, so fix up the documentation > to clear this up. > > Signed-off-by: Christoph Hellwig > --- > Documentation/DMA-API-HOWTO.txt

Re: [PATCH v3 4/6] iommu/io-pgtable-arm: add support for non-strict mode

2018-08-15 Thread Yang, Shunyong
Hi, Will and Robin, Many thanks for your explanations. Thanks. Shunyong. On 2018/8/15 15:35, Will Deacon wrote: > On Wed, Aug 15, 2018 at 08:33:01AM +0100, Will Deacon wrote: >> On Wed, Aug 15, 2018 at 01:43:37AM +0000, Yang, Shunyong wrote: >>> On Tue, 2018-08-14 at 11:02 +

Re: [PATCH v3 4/6] iommu/io-pgtable-arm: add support for non-strict mode

2018-08-14 Thread Yang, Shunyong
Hi, Robin, On Tue, 2018-08-14 at 11:02 +0100, Robin Murphy wrote: > On 14/08/18 09:35, Will Deacon wrote: > > On Tue, Aug 14, 2018 at 04:33:41PM +0800, Leizhen (ThunderTown) > > wrote: > > > On 2018/8/6 9:32, Yang, Shunyong wrote: > > > > On 2018/7/26 22:37, R

Re: [PATCH v3 4/6] iommu/io-pgtable-arm: add support for non-strict mode

2018-08-05 Thread Yang, Shunyong
Hi, Robin, On 2018/7/26 22:37, Robin Murphy wrote: > On 2018-07-26 8:20 AM, Leizhen (ThunderTown) wrote: >> On 2018/7/25 6:25, Robin Murphy wrote: >>> On 2018-07-12 7:18 AM, Zhen Lei wrote: To support the non-strict mode, now we only tlbi and sync for the strict mode. But for the

Re: [PATCH 1/2] iommu: Add config option to set passthrough as default

2018-07-11 Thread Yang, Shunyong
Hi, Olof, Tired of changing command line. I like this patch. Thanks. Shunyong.  On Wed, 2018-07-11 at 13:59 -0700, Olof Johansson wrote: > This allows the default behavior to be controlled by a kernel config > option instead of changing the commandline for the kernel to include >

Re: [PATCH v3 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU

2018-04-18 Thread Yang, Shunyong
Hi, Gary, On Wed, 2018-04-18 at 16:51 -0400, Hook, Gary wrote: > On 4/18/2018 4:16 PM, Mehta, Sohil wrote: > > > > On Wed, 2018-04-18 at 08:31 +, Yang, Shunyong wrote: > > > > > > Maybe the original design is to call debugfs_initialized() before > > &

Re: [PATCH v3 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU

2018-04-18 Thread Yang, Shunyong
Hi, Sohil On Wed, 2018-04-18 at 07:27 +, Mehta, Sohil wrote: > On Wed, 2018-04-18 at 05:58 +0000, Yang, Shunyong wrote: > > > > Hi, Gary and Sohil, > > > > On Tue, 2018-04-17 at 13:38 -0400, Hook, Gary wrote: > > > > >

Re: [PATCH v3 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU

2018-04-18 Thread Yang, Shunyong
Hi, Gary and Sohil, On Tue, 2018-04-17 at 13:38 -0400, Hook, Gary wrote: > On 4/13/2018 8:08 PM, Mehta, Sohil wrote: > > > > On Fri, 2018-04-06 at 08:17 -0500, Gary R Hook wrote: > > > > > >    > > > + > > > +void amd_iommu_debugfs_setup(struct amd_iommu *iommu) > > > +{ > > > + char