Hi Andy,
On Wed, Aug 19, 2020 at 2:16 PM Andy Shevchenko
wrote:
> - unsigned long bytes = io_tlb_nslabs << IO_TLB_SHIFT;
> + unsigned long mb = (io_tlb_nslabs << IO_TLB_SHIFT) >> 20;
Looks like an unrelated change.
___
iommu mailing list
On Wed, Aug 19, 2020 at 02:24:10PM -0300, Fabio Estevam wrote:
> On Wed, Aug 19, 2020 at 2:16 PM Andy Shevchenko
> wrote:
>
> > - unsigned long bytes = io_tlb_nslabs << IO_TLB_SHIFT;
> > + unsigned long mb = (io_tlb_nslabs << IO_TLB_SHIFT) >> 20;
>
> Looks like an unrelated change.
There is an extension to a %p to print phys_addr_t type of variables.
Use it here.
Signed-off-by: Andy Shevchenko
---
kernel/dma/swiotlb.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index c19379fabd20..676ccf0e49d3