Re: [PATCH 7/9] swiotlb: Make bounce buffer bounds non-static.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/26/2010 10:20 PM, FUJITA Tomonori wrote:
On Thu, 23 Sep 2010 15:47:31 -0700
David Daney<ddaney@xxxxxxxxxxxxxxxxxx>  wrote:

Octeon PCI mapping has to be established to cover the bounce buffers,
so it has to have access to the bounds.

Why can't you use swiotlb_init_with_tbl() instead?


Yes, as pointed out be several people, that would be better.

The swiotlb_init_with_tbl() didn't exist in earlier kernel versions and this simplification was missed when I forward ported the patch set.

By using this function, I think the entire patch set will be MIPS specific, making it unnecessary to touch the generic swiotlb code.

Thanks,
David Daney



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux