Re: [PATCHv7 06/12] ARM: tegra: create a DT header defining SWGROUP ID

2013-12-18 Thread Stephen Warren
On 12/18/2013 01:02 AM, Mark Zhang wrote: > On 12/12/2013 03:57 PM, Hiroshi Doyu wrote: >> Create a header file to define the swgroup IDs used by the IOMMU(SMMU) >> binding. "swgroup" is a group of H/W clients which a Tegra SoC >> supports. This unique ID can be used to calculate MC_SMMU_> name>_AS

Re: [PATCH 1/2] iommu/shmobile: Allocate archdata with kzalloc()

2013-12-18 Thread Laurent Pinchart
On Wednesday 18 December 2013 10:15:21 Simon Horman wrote: > On Tue, Dec 17, 2013 at 06:18:49PM +0100, Laurent Pinchart wrote: > > The archdata attached_list field isn't initialized, leading to random > > crashes when accessed. Use kzalloc() to allocate the whole structure and > > make sure all fie

Re: [PATCHv7 06/12] ARM: tegra: create a DT header defining SWGROUP ID

2013-12-18 Thread Mark Zhang
On 12/12/2013 03:57 PM, Hiroshi Doyu wrote: > Create a header file to define the swgroup IDs used by the IOMMU(SMMU) > binding. "swgroup" is a group of H/W clients which a Tegra SoC > supports. This unique ID can be used to calculate MC_SMMU_ name>_ASID_0 register offset and MC__HOTRESET_*_0 > regi