Re: [PATCH] ia64: fix barrier placement for write* / dma mapping

2018-07-31 Thread okaya
+ my new email On 2018-07-31 10:20, Christoph Hellwig wrote: memory-barriers.txt has been updated with the following requirement. "When using writel(), a prior wmb() is not needed to guarantee that the cache coherent memory writes have completed before writing to the MMIO region." The current

Re: [PATCH 07/37] iommu: Add a page fault handler

2018-03-06 Thread okaya
On 2018-03-06 05:46, Jean-Philippe Brucker wrote: On 05/03/18 21:53, Sinan Kaya wrote: On 2/12/2018 1:33 PM, Jean-Philippe Brucker wrote: +static struct workqueue_struct *iommu_fault_queue; Is there anyway we can make this fault queue per struct device? Since this is common code, I think it n

Re: [RFCv2 PATCH 05/36] iommu/process: Bind and unbind process to and from devices

2018-01-19 Thread okaya
On 2018-01-19 05:27, Jean-Philippe Brucker wrote: Hi Sinan, On 19/01/18 04:52, Sinan Kaya wrote: Hi Jean-Philippe, On 10/6/2017 9:31 AM, Jean-Philippe Brucker wrote: /** + * iommu_process_bind_device - Bind a process address space to a device + * @dev: the device + * @task: the process to

Re: [RFC PATCH 04/30] iommu/arm-smmu-v3: Add support for PCI ATS

2017-03-02 Thread okaya
On 2017-03-02 05:51, Jean-Philippe Brucker wrote: Hi Sinan, On 01/03/17 19:24, Sinan Kaya wrote: On 2/27/2017 2:54 PM, Jean-Philippe Brucker wrote: /* Initialise command lazily */ + if (!cmd.opcode) + arm_smmu_atc_invalidate_to_cmd(smmu, iova, size, &cmd); +

Re: [PATCH 2/2] iommu: add warning when sharing groups

2017-02-14 Thread okaya
On 2017-02-14 18:51, Alex Williamson wrote: On Tue, 14 Feb 2017 16:25:22 -0500 Sinan Kaya wrote: The ACS requirement has been obscured in the current code and is only known by certain individuals who happen to read the code. Print out a warning with ACS path failure when ACS requirement is not