Thread (45 messages) 45 messages, 3 authors, 2023-08-15

Re: [PATCH v5 2/9] iommu/arm-smmu-v3: Replace s1_cfg with cdtab_cfg

From: Will Deacon <will@kernel.org>
Date: 2023-08-10 09:43:46
Also in: linux-iommu, lkml

On Thu, Aug 10, 2023 at 05:33:53PM +0800, Michael Shavit wrote:
quoted
quoted
quoted
Sounds a lot like the existing s1fmt field. Can we keep it?
If you are OK with the dead code, I don't object. But let's put it in
the struct arm_smmu_ctx_desc_cfg.
Ok, we have a deal!
What dead code? Is the deal here that we keep the field, but still
infer the value to write from (cd_table->l1_desc == null) in
arm_smmu_write_strtab_ent??
Keep the field and write it directly when populating the ste (i.e. don't
infer anything), but the field moves into 'struct arm_smmu_ctx_desc_cfg'.

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help