Re: [PATCH 06/10] iommu/amd: Add functions copy_command_buffer/copy_event_buffer

From: Joerg Roedel
Date: Tue Sep 29 2015 - 12:04:52 EST


On Thu, Sep 24, 2015 at 02:37:32PM +0800, Baoquan He wrote:
> Copy command buffer and event buffer from the old to kdump kernel.
>
> Still there are 2 problems:
> 1) Not very sure if this is necessary. If do not copy the old command buffer, and
> only set the newly allocated command buffer, is there anything wrong?

No, there is no need to copy command and event buffers. Just make sure
they get re-initialized and flush all iommu caches after setting the new
device table.


Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/