diff for duplicates of <55530C4F.5000605@huawei.com> diff --git a/a/1.txt b/N1/1.txt index fb60294..0cec39b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -235,8 +235,8 @@ Yes, maybe attach_dev. But we should allocated the whole Lv1 table base on SMMU_ Yes, because I don't think SMMU_IDR1.SIDSIZE = 32 really exist, so I said use PAGE_SIZE first. -But now, this patch only support SMMU_IDR1.SIDSIZE <= 16. Suppose SMMU_IDR1.SIDSIZE = 25,Lv2 -table size at 4K, then Lv1 table need 2^(25 - 6 + 3) = 2^22 = 4M. If we pre-allocated all Lv2 table, +But now, this patch only support SMMU_IDR1.SIDSIZE <= 16. Suppose SMMU_IDR1.SIDSIZE = 25?Lv2 +table size@4K, then Lv1 table need 2^(25 - 6 + 3) = 2^22 = 4M. If we pre-allocated all Lv2 table, we need 2^25 * 64 = 2^31 = 2G, that's too big. So we must only allocate Lv2 table when we needed. If SMMU_IDR1.SIDSIZE = 32 really exist(or too big), we need dynamic choose Lv2 table size(4K,16K,64K). @@ -384,16 +384,10 @@ OK. But it should be controled by SMMU_IDR0.Hyp. I means: if (SMMU_IDR0.Hyp) execute command CMDQ_OP_TLBI_EL2_ALL -When SMMU_IDR0.Hyp=’0’, this command causes CERROR_ILL +When SMMU_IDR0.Hyp=?0?, this command causes CERROR_ILL > > Will > > . -> - - -_______________________________________________ -iommu mailing list -iommu@lists.linux-foundation.org -https://lists.linuxfoundation.org/mailman/listinfo/iommu +> diff --git a/a/content_digest b/N1/content_digest index facd584..fca1773 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,17 +2,10 @@ "ref\01431108046-9675-3-git-send-email-will.deacon@arm.com\0" "ref\05551AE56.6050906@huawei.com\0" "ref\020150512165500.GE2062@arm.com\0" - "ref\020150512165500.GE2062-5wv7dgnIgG8@public.gmane.org\0" - "From\0leizhen <thunder.leizhen-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>\0" - "Subject\0Re: [PATCH 2/3] iommu/arm-smmu: Add initial driver support for ARM SMMUv3 devices\0" + "From\0thunder.leizhen@huawei.com (leizhen)\0" + "Subject\0[PATCH 2/3] iommu/arm-smmu: Add initial driver support for ARM SMMUv3 devices\0" "Date\0Wed, 13 May 2015 16:33:19 +0800\0" - "To\0Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>\0" - "Cc\0huxinwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org <huxinwei-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>" - iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org <iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org> - Sanil kumar <sanil.kumar-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org> - Gaojianbo <gaojianbo-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org> - Dingtianhong <dingtianhong-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> - " linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org <linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On 2015/5/13 0:55, Will Deacon wrote:\n" @@ -252,8 +245,8 @@ "\n" "Yes, because I don't think SMMU_IDR1.SIDSIZE = 32 really exist, so I said use PAGE_SIZE first.\n" "\n" - "But now, this patch only support SMMU_IDR1.SIDSIZE <= 16. Suppose SMMU_IDR1.SIDSIZE = 25\357\274\214Lv2\n" - "table size at 4K, then Lv1 table need 2^(25 - 6 + 3) = 2^22 = 4M. If we pre-allocated all Lv2 table,\n" + "But now, this patch only support SMMU_IDR1.SIDSIZE <= 16. Suppose SMMU_IDR1.SIDSIZE = 25?Lv2\n" + "table size@4K, then Lv1 table need 2^(25 - 6 + 3) = 2^22 = 4M. If we pre-allocated all Lv2 table,\n" "we need 2^25 * 64 = 2^31 = 2G, that's too big. So we must only allocate Lv2 table when we needed.\n" "\n" "If SMMU_IDR1.SIDSIZE = 32 really exist(or too big), we need dynamic choose Lv2 table size(4K,16K,64K).\n" @@ -401,18 +394,12 @@ "if (SMMU_IDR0.Hyp)\n" "\texecute command CMDQ_OP_TLBI_EL2_ALL\n" "\t\n" - "When SMMU_IDR0.Hyp=\342\200\2310\342\200\231, this command causes CERROR_ILL\n" + "When SMMU_IDR0.Hyp=?0?, this command causes CERROR_ILL\n" "\n" "> \n" "> Will\n" "> \n" "> .\n" - "> \n" - "\n" - "\n" - "_______________________________________________\n" - "iommu mailing list\n" - "iommu@lists.linux-foundation.org\n" - https://lists.linuxfoundation.org/mailman/listinfo/iommu + > -2d958ed1a187434098fcb33417ead99ab6fe14082cdde69c1cf78329ffaaa95f +9571d261d19ddbea620a7a8a5a118d5c81c317c0c8957173d69c8a047a556719
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.