Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235348
| From | Joerg Roedel <joro@8bytes.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 07/10] iommu/amd: copy old dev tables and do not touch dev tables |
| Date | 2015-09-29 18:10 +0200 |
| Message-ID | <qe5DB-2XB-25@gated-at.bofh.it> (permalink) |
| References | <qc8md-3vB-3@gated-at.bofh.it> <qc8me-3vB-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Sep 24, 2015 at 02:37:33PM +0800, Baoquan He wrote:
> + if ( !translation_pre_enabled() ) {
> + iommu_disable(iommu);
> + iommu_init_flags(iommu);
> + iommu_set_device_table(iommu);
> + iommu_enable_command_buffer(iommu);
> + iommu_enable_event_buffer(iommu);
> + iommu_set_exclusion_range(iommu);
> + iommu_enable(iommu);
> + iommu_flush_all_caches(iommu);
> + } else {
> + copy_dev_tables();
> + copy_command_buffer();
> + copy_event_buffer();
> + }
Hmm, this leaves the old device-table in place and removes flushing the
iommu-caches in kdump kernel, right?
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 07/10] iommu/amd: copy old dev tables and do not touch dev tables Baoquan He <bhe@redhat.com> - 2015-09-24 08:40 +0200 Re: [PATCH 07/10] iommu/amd: copy old dev tables and do not touch dev tables Joerg Roedel <joro@8bytes.org> - 2015-09-29 18:10 +0200
csiph-web