Thread (24 messages) 24 messages, 7 authors, 2021-07-26

Re: [PATCH v4 3/3] iommu: dart: Add DART iommu driver

From: Alyssa Rosenzweig <hidden>
Date: 2021-07-12 13:53:26
Also in: linux-devicetree, linux-iommu, lkml

quoted
Should we be checking alignment here? Something like

    BUG_ON(paddr & ((1 << DART_TTBR_SHIFT) - 1));
Sure, right now paddr will always be aligned but adding that
BUG_ON doesn't hurt :)
Probably should have suggested WARN_ON instead of BUG_ON but yes.

_______________________________________________
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