From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 06/10] iommu/amd: Add functions copy_command_buffer/copy_event_buffer Date: Tue, 29 Sep 2015 18:04:39 +0200 Message-ID: <20150929160439.GN3036@8bytes.org> References: <1443076656-31776-1-git-send-email-bhe@redhat.com> <1443076656-31776-7-git-send-email-bhe@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1443076656-31776-7-git-send-email-bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Baoquan He Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: iommu@lists.linux-foundation.org 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