From 7f650baf100e0385c3cc5af9f9f731198fce57bc Mon Sep 17 00:00:00 2001 From: "Herton R. Krzesinski" Date: Thu, 18 Nov 2021 22:21:04 +0000 Subject: [PATCH] kernel-5.14.0-18.el9 * Thu Nov 18 2021 Herton R. Krzesinski [5.14.0-18.el9] - CI: Add template for baseline gcov build (c9s repos) (Michael Hofmann) - PCI: vmd: depend on !UML (Myron Stowe) [1994932] - PCI: vmd: Do not disable MSI-X remapping if interrupt remapping is enabled by IOMMU (Myron Stowe) [1994932] - PCI: vmd: Assign a number to each VMD controller (Myron Stowe) [1994932] - PCI: VMD: ACPI: Make ACPI companion lookup work for VMD bus (Myron Stowe) [1994932] - swiotlb-xen: drop DEFAULT_NSLABS (Jerry Snitselaar) [2004348] - swiotlb-xen: arrange to have buffer info logged (Jerry Snitselaar) [2004348] - swiotlb-xen: drop leftover __ref (Jerry Snitselaar) [2004348] - swiotlb-xen: limit init retries (Jerry Snitselaar) [2004348] - swiotlb-xen: suppress certain init retries (Jerry Snitselaar) [2004348] - swiotlb-xen: maintain slab count properly (Jerry Snitselaar) [2004348] - swiotlb-xen: fix late init retry (Jerry Snitselaar) [2004348] - swiotlb-xen: avoid double free (Jerry Snitselaar) [2004348] - dma-debug: teach add_dma_entry() about DMA_ATTR_SKIP_CPU_SYNC (Jerry Snitselaar) [2004348] - dma-debug: fix sg checks in debug_dma_map_sg() (Jerry Snitselaar) [2004348] - dma-mapping: fix the kerneldoc for dma_map_sgtable() (Jerry Snitselaar) [2004348] - dma-debug: prevent an error message from causing runtime problems (Jerry Snitselaar) [2004348] - dma-mapping: fix the kerneldoc for dma_map_sg_attrs (Jerry Snitselaar) [2004348] - iommu/vt-d: Drop "0x" prefix from PCI bus & device addresses (Jerry Snitselaar) [2004348] - iommu: Clarify default domain Kconfig (Jerry Snitselaar) [2004348] - iommu/vt-d: Fix a deadlock in intel_svm_drain_prq() (Jerry Snitselaar) [2004348] - iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm() (Jerry Snitselaar) [2004348] - iommu/amd: Remove iommu_init_ga() (Jerry Snitselaar) [2004348] - iommu/amd: Relocate GAMSup check to early_enable_iommus (Jerry Snitselaar) [2004348] - iommu/io-pgtable: Abstract iommu_iotlb_gather access (Jerry Snitselaar) [2004348] - iommu/vt-d: Add present bit check in pasid entry setup helpers (Jerry Snitselaar) [2004348] - iommu/vt-d: Use pasid_pte_is_present() helper function (Jerry Snitselaar) [2004348] - iommu/vt-d: Drop the kernel doc annotation (Jerry Snitselaar) [2004348] - iommu/vt-d: Allow devices to have more than 32 outstanding PRs (Jerry Snitselaar) [1921363] - iommu/vt-d: Preset A/D bits for user space DMA usage (Jerry Snitselaar) [2004348] - iomm/vt-d: Enable Intel IOMMU scalable mode by default (Jerry Snitselaar) [2004348] - iommu/vt-d: Refactor Kconfig a bit (Jerry Snitselaar) [2004348] - iommu/vt-d: Remove unnecessary oom message (Jerry Snitselaar) [2004348] - iommu/vt-d: Update the virtual command related registers (Jerry Snitselaar) [2004348] - iommu: Allow enabling non-strict mode dynamically (Jerry Snitselaar) [2004348] - iommu: Merge strictness and domain type configs (Jerry Snitselaar) [2004348] - iommu: Only log strictness for DMA domains (Jerry Snitselaar) [2004348] - iommu: Expose DMA domain strictness via sysfs (Jerry Snitselaar) [2004348] - iommu: Express DMA strictness via the domain type (Jerry Snitselaar) [2004348] - iommu/vt-d: Prepare for multiple DMA domain types (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Prepare for multiple DMA domain types (Jerry Snitselaar) [2004348] - iommu/amd: Prepare for multiple DMA domain types (Jerry Snitselaar) [2004348] - iommu: Introduce explicit type for non-strict DMA domains (Jerry Snitselaar) [2004348] - iommu/io-pgtable: Remove non-strict quirk (Jerry Snitselaar) [2004348] - iommu: Indicate queued flushes via gather data (Jerry Snitselaar) [2004348] - iommu/dma: Remove redundant "!dev" checks (Jerry Snitselaar) [2004348] - iommu/virtio: Drop IOVA cookie management (Jerry Snitselaar) [2004348] - iommu/vt-d: Drop IOVA cookie management (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Drop IOVA cookie management (Jerry Snitselaar) [2004348] - iommu/amd: Drop IOVA cookie management (Jerry Snitselaar) [2004348] - iommu: Pull IOVA cookie management into the core (Jerry Snitselaar) [2004348] - iommu/amd: Remove stale amd_iommu_unmap_flush usage (Jerry Snitselaar) [2004348] - iommu/amd: Use only natural aligned flushes in a VM (Jerry Snitselaar) [2004348] - iommu/amd: Sync once for scatter-gather operations (Jerry Snitselaar) [2004348] - iommu/amd: Tailored gather logic for AMD (Jerry Snitselaar) [2004348] - iommu: Factor iommu_iotlb_gather_is_disjoint() out (Jerry Snitselaar) [2004348] - iommu: Improve iommu_iotlb_gather helpers (Jerry Snitselaar) [2004348] - iommu/amd: Do not use flush-queue when NpCache is on (Jerry Snitselaar) [2004348] - iommu/amd: Selective flush on unmap (Jerry Snitselaar) [2004348] - iommu/amd: Fix printing of IOMMU events when rate limiting kicks in (Jerry Snitselaar) [2004348] - iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Fix missing unlock on error in arm_smmu_device_group() (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Stop pre-zeroing batch commands (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Extract reusable function __arm_smmu_cmdq_skip_err() (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Add and use static helper function arm_smmu_get_cmdq() (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Add and use static helper function arm_smmu_cmdq_issue_cmd_with_sync() (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Use command queue batching helpers to improve performance (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Optimize ->tlb_flush_walk() for qcom implementation (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Fix race condition during iommu_group creation (Jerry Snitselaar) [2004348] - iommu: Fix race condition during default domain allocation (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Add clk_bulk_{prepare/unprepare} to system pm callbacks (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Remove some unneeded init in arm_smmu_cmdq_issue_cmdlist() (Jerry Snitselaar) [2004348] - iommu/arm-smmu-v3: Implement the map_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] - iommu/arm-smmu-v3: Implement the unmap_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] - iommu/vt-d: Move clflush'es from iotlb_sync_map() to map_pages() (Jerry Snitselaar) [1971978] - iommu/vt-d: Implement map/unmap_pages() iommu_ops callback (Jerry Snitselaar) [1971978] - iommu/vt-d: Report real pgsize bitmap to iommu core (Jerry Snitselaar) [1971978] - iommu: Streamline iommu_iova_to_phys() (Jerry Snitselaar) [2004348] - iommu: Remove mode argument from iommu_set_dma_strict() (Jerry Snitselaar) [2004348] - redhat/configs: Use new iommu default dma config options (Jerry Snitselaar) [2004348] - iommu/amd: Add support for IOMMU default DMA mode build options (Jerry Snitselaar) [2004348] - iommu/vt-d: Add support for IOMMU default DMA mode build options (Jerry Snitselaar) [2004348] - iommu: Enhance IOMMU default DMA mode build options (Jerry Snitselaar) [2004348] - iommu: Print strict or lazy mode at init time (Jerry Snitselaar) [2004348] - iommu: Deprecate Intel and AMD cmdline methods to enable strict mode (Jerry Snitselaar) [2004348] - iommu/arm-smmu: Implement the map_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] - iommu/arm-smmu: Implement the unmap_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] - iommu/io-pgtable-arm-v7s: Implement arm_v7s_map_pages() (Jerry Snitselaar) [1971978] - iommu/io-pgtable-arm-v7s: Implement arm_v7s_unmap_pages() (Jerry Snitselaar) [1971978] - iommu/io-pgtable-arm: Implement arm_lpae_map_pages() (Jerry Snitselaar) [1971978] - iommu/io-pgtable-arm: Implement arm_lpae_unmap_pages() (Jerry Snitselaar) [1971978] - iommu/io-pgtable-arm: Prepare PTE methods for handling multiple entries (Jerry Snitselaar) [1971978] - iommu/io-pgtable: Introduce map_pages() as a page table op (Jerry Snitselaar) [1971978] - iommu/io-pgtable: Introduce unmap_pages() as a page table op (Jerry Snitselaar) [1971978] - iommu: Add support for the map_pages() callback (Jerry Snitselaar) [1971978] - iommu: Hook up '->unmap_pages' driver callback (Jerry Snitselaar) [1971978] - iommu: Split 'addr_merge' argument to iommu_pgsize() into separate parts (Jerry Snitselaar) [1971978] - iommu: Use bitmap to calculate page size in iommu_pgsize() (Jerry Snitselaar) [1971978] - iommu: Add a map_pages() op for IOMMU drivers (Jerry Snitselaar) [1971978] - iommu: Add an unmap_pages() op for IOMMU drivers (Jerry Snitselaar) [1971978] - swiotlb: use depends on for DMA_RESTRICTED_POOL (Jerry Snitselaar) [2004348] - swiotlb: Free tbl memory in swiotlb_exit() (Jerry Snitselaar) [2004348] - swiotlb: Emit diagnostic in swiotlb_exit() (Jerry Snitselaar) [2004348] - swiotlb: Convert io_default_tlb_mem to static allocation (Jerry Snitselaar) [2004348] - swiotlb: add overflow checks to swiotlb_bounce (Jerry Snitselaar) [2004348] - swiotlb: fix implicit debugfs declarations (Jerry Snitselaar) [2004348] - swiotlb: Add restricted DMA pool initialization (Jerry Snitselaar) [2004348] - redhat/configs: Add CONFIG_DMA_RESTRICTED_POOL (Jerry Snitselaar) [2004348] - swiotlb: Add restricted DMA alloc/free support (Jerry Snitselaar) [2004348] - swiotlb: Refactor swiotlb_tbl_unmap_single (Jerry Snitselaar) [2004348] - swiotlb: Move alloc_size to swiotlb_find_slots (Jerry Snitselaar) [2004348] - swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing (Jerry Snitselaar) [2004348] - swiotlb: Update is_swiotlb_active to add a struct device argument (Jerry Snitselaar) [2004348] - swiotlb: Update is_swiotlb_buffer to add a struct device argument (Jerry Snitselaar) [2004348] - swiotlb: Set dev->dma_io_tlb_mem to the swiotlb pool used (Jerry Snitselaar) [2004348] - swiotlb: Refactor swiotlb_create_debugfs (Jerry Snitselaar) [2004348] - swiotlb: Refactor swiotlb init functions (Jerry Snitselaar) [2004348] - dma-mapping: make the global coherent pool conditional (Jerry Snitselaar) [2004348] - dma-mapping: add a dma_init_global_coherent helper (Jerry Snitselaar) [2004348] - dma-mapping: simplify dma_init_coherent_memory (Jerry Snitselaar) [2004348] - dma-mapping: allow using the global coherent pool for !ARM (Jerry Snitselaar) [2004348] - dma-direct: add support for dma_coherent_default_memory (Jerry Snitselaar) [2004348] - dma-mapping: return an unsigned int from dma_map_sg{,_attrs} (Jerry Snitselaar) [2004348] - dma-mapping: disallow .map_sg operations from returning zero on error (Jerry Snitselaar) [2004348] - dma-mapping: return error code from dma_dummy_map_sg() (Jerry Snitselaar) [2004348] - xen: swiotlb: return error code from xen_swiotlb_map_sg() (Jerry Snitselaar) [2004348] - s390/pci: don't set failed sg dma_address to DMA_MAPPING_ERROR (Jerry Snitselaar) [2004348] - s390/pci: return error code from s390_dma_map_sg() (Jerry Snitselaar) [2004348] - powerpc/iommu: don't set failed sg dma_address to DMA_MAPPING_ERROR (Jerry Snitselaar) [2004348] - powerpc/iommu: return error code from .map_sg() ops (Jerry Snitselaar) [2004348] - iommu/dma: return error code from iommu_dma_map_sg() (Jerry Snitselaar) [2004348] - iommu: return full error code from iommu_map_sg[_atomic]() (Jerry Snitselaar) [2004348] - dma-direct: return appropriate error code from dma_direct_map_sg() (Jerry Snitselaar) [2004348] - dma-mapping: allow map_sg() ops to return negative error codes (Jerry Snitselaar) [2004348] - dma-debug: fix debugfs initialization order (Jerry Snitselaar) [2004348] - dma-debug: use memory_intersects() directly (Jerry Snitselaar) [2004348] Resolves: rhbz#1921363, rhbz#1971978, rhbz#1994932, rhbz#2004348 Signed-off-by: Herton R. Krzesinski --- Makefile.rhelver | 2 +- kernel-aarch64-debug-rhel.config | 3 + kernel-aarch64-rhel.config | 3 + kernel-ppc64le-debug-rhel.config | 3 + kernel-ppc64le-rhel.config | 3 + kernel-s390x-debug-rhel.config | 3 + kernel-s390x-rhel.config | 3 + kernel-s390x-zfcpdump-rhel.config | 3 + kernel-x86_64-debug-rhel.config | 5 +- kernel-x86_64-rhel.config | 5 +- kernel.spec | 150 ++++++++++++++++++++++++++++-- sources | 6 +- 12 files changed, 177 insertions(+), 12 deletions(-) diff --git a/Makefile.rhelver b/Makefile.rhelver index 0bc1e42a9..ff9da9b47 100644 --- a/Makefile.rhelver +++ b/Makefile.rhelver @@ -12,7 +12,7 @@ RHEL_MINOR = 0 # # Use this spot to avoid future merge conflicts. # Do not trim this comment. -RHEL_RELEASE = 17 +RHEL_RELEASE = 18 # # Early y+1 numbering diff --git a/kernel-aarch64-debug-rhel.config b/kernel-aarch64-debug-rhel.config index a8c51038d..4eb6c3b2d 100644 --- a/kernel-aarch64-debug-rhel.config +++ b/kernel-aarch64-debug-rhel.config @@ -1243,6 +1243,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2458,6 +2459,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set CONFIG_IOMMU_DEBUGFS=y +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-aarch64-rhel.config b/kernel-aarch64-rhel.config index 3b18a2879..19b6ea4c6 100644 --- a/kernel-aarch64-rhel.config +++ b/kernel-aarch64-rhel.config @@ -1235,6 +1235,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2442,6 +2443,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-ppc64le-debug-rhel.config b/kernel-ppc64le-debug-rhel.config index 83388f895..14975e46c 100644 --- a/kernel-ppc64le-debug-rhel.config +++ b/kernel-ppc64le-debug-rhel.config @@ -1094,6 +1094,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2282,6 +2283,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_UDELAY is not set CONFIG_IO_EVENT_IRQ=y CONFIG_IOMMU_DEBUGFS=y +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-ppc64le-rhel.config b/kernel-ppc64le-rhel.config index 3dcd2e9be..32e043729 100644 --- a/kernel-ppc64le-rhel.config +++ b/kernel-ppc64le-rhel.config @@ -1086,6 +1086,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2266,6 +2267,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_UDELAY is not set CONFIG_IO_EVENT_IRQ=y # CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-s390x-debug-rhel.config b/kernel-s390x-debug-rhel.config index 02cdd921a..3b9e7b42c 100644 --- a/kernel-s390x-debug-rhel.config +++ b/kernel-s390x-debug-rhel.config @@ -1098,6 +1098,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2264,6 +2265,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set CONFIG_IOMMU_DEBUGFS=y +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-s390x-rhel.config b/kernel-s390x-rhel.config index 3c46b9bfb..3b04f1f6f 100644 --- a/kernel-s390x-rhel.config +++ b/kernel-s390x-rhel.config @@ -1090,6 +1090,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2248,6 +2249,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-s390x-zfcpdump-rhel.config b/kernel-s390x-zfcpdump-rhel.config index 1aec1dd60..3a995e810 100644 --- a/kernel-s390x-zfcpdump-rhel.config +++ b/kernel-s390x-zfcpdump-rhel.config @@ -1099,6 +1099,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2266,6 +2267,8 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IOMMU_DEBUGFS is not set +# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y # CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set diff --git a/kernel-x86_64-debug-rhel.config b/kernel-x86_64-debug-rhel.config index ff28d51d8..3f7db66ae 100644 --- a/kernel-x86_64-debug-rhel.config +++ b/kernel-x86_64-debug-rhel.config @@ -1171,6 +1171,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2453,7 +2454,9 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set CONFIG_IOMMU_DEBUGFS=y -CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y +CONFIG_IOMMU_DEFAULT_DMA_LAZY=y +# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set CONFIG_IOMMU_SUPPORT=y diff --git a/kernel-x86_64-rhel.config b/kernel-x86_64-rhel.config index 48ed0c3f3..b9c1de0b2 100644 --- a/kernel-x86_64-rhel.config +++ b/kernel-x86_64-rhel.config @@ -1163,6 +1163,7 @@ CONFIG_DMA_ENGINE=y # CONFIG_DMA_PERNUMA_CMA is not set # CONFIG_DMARD09 is not set # CONFIG_DMARD10 is not set +# CONFIG_DMA_RESTRICTED_POOL is not set CONFIG_DMATEST=m CONFIG_DM_CACHE=m CONFIG_DM_CACHE_SMQ=m @@ -2437,7 +2438,9 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_NONE is not set # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IOMMU_DEBUGFS is not set -CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y +CONFIG_IOMMU_DEFAULT_DMA_LAZY=y +# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set # CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set # CONFIG_IOMMU_IO_PGTABLE_LPAE_SELFTEST is not set CONFIG_IOMMU_SUPPORT=y diff --git a/kernel.spec b/kernel.spec index 69748f56e..5f72bc86e 100755 --- a/kernel.spec +++ b/kernel.spec @@ -85,7 +85,7 @@ Summary: The Linux kernel # the --with-release option overrides this setting.) %define debugbuildsenabled 1 -%global distro_build 17 +%global distro_build 18 %if 0%{?fedora} %define secure_boot_arch x86_64 @@ -129,13 +129,13 @@ Summary: The Linux kernel %define kversion 5.14 %define rpmversion 5.14.0 -%define pkgrelease 17.el9 +%define pkgrelease 18.el9 # This is needed to do merge window version magic %define patchlevel 14 # allow pkg_release to have configurable %%{?dist} tag -%define specrelease 17%{?buildid}%{?dist} +%define specrelease 18%{?buildid}%{?dist} %define pkg_release %{specrelease} @@ -676,7 +676,7 @@ BuildRequires: lld # exact git commit you can run # # xzcat -qq ${TARBALL} | git get-tar-commit-id -Source0: linux-5.14.0-17.el9.tar.xz +Source0: linux-5.14.0-18.el9.tar.xz Source1: Makefile.rhelver @@ -1361,8 +1361,8 @@ ApplyOptionalPatch() fi } -%setup -q -n kernel-5.14.0-17.el9 -c -mv linux-5.14.0-17.el9 linux-%{KVERREL} +%setup -q -n kernel-5.14.0-18.el9 -c +mv linux-5.14.0-18.el9 linux-%{KVERREL} cd linux-%{KVERREL} cp -a %{SOURCE1} . @@ -2951,6 +2951,144 @@ fi # # %changelog +* Thu Nov 18 2021 Herton R. Krzesinski [5.14.0-18.el9] +- CI: Add template for baseline gcov build (c9s repos) (Michael Hofmann) +- PCI: vmd: depend on !UML (Myron Stowe) [1994932] +- PCI: vmd: Do not disable MSI-X remapping if interrupt remapping is enabled by IOMMU (Myron Stowe) [1994932] +- PCI: vmd: Assign a number to each VMD controller (Myron Stowe) [1994932] +- PCI: VMD: ACPI: Make ACPI companion lookup work for VMD bus (Myron Stowe) [1994932] +- swiotlb-xen: drop DEFAULT_NSLABS (Jerry Snitselaar) [2004348] +- swiotlb-xen: arrange to have buffer info logged (Jerry Snitselaar) [2004348] +- swiotlb-xen: drop leftover __ref (Jerry Snitselaar) [2004348] +- swiotlb-xen: limit init retries (Jerry Snitselaar) [2004348] +- swiotlb-xen: suppress certain init retries (Jerry Snitselaar) [2004348] +- swiotlb-xen: maintain slab count properly (Jerry Snitselaar) [2004348] +- swiotlb-xen: fix late init retry (Jerry Snitselaar) [2004348] +- swiotlb-xen: avoid double free (Jerry Snitselaar) [2004348] +- dma-debug: teach add_dma_entry() about DMA_ATTR_SKIP_CPU_SYNC (Jerry Snitselaar) [2004348] +- dma-debug: fix sg checks in debug_dma_map_sg() (Jerry Snitselaar) [2004348] +- dma-mapping: fix the kerneldoc for dma_map_sgtable() (Jerry Snitselaar) [2004348] +- dma-debug: prevent an error message from causing runtime problems (Jerry Snitselaar) [2004348] +- dma-mapping: fix the kerneldoc for dma_map_sg_attrs (Jerry Snitselaar) [2004348] +- iommu/vt-d: Drop "0x" prefix from PCI bus & device addresses (Jerry Snitselaar) [2004348] +- iommu: Clarify default domain Kconfig (Jerry Snitselaar) [2004348] +- iommu/vt-d: Fix a deadlock in intel_svm_drain_prq() (Jerry Snitselaar) [2004348] +- iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm() (Jerry Snitselaar) [2004348] +- iommu/amd: Remove iommu_init_ga() (Jerry Snitselaar) [2004348] +- iommu/amd: Relocate GAMSup check to early_enable_iommus (Jerry Snitselaar) [2004348] +- iommu/io-pgtable: Abstract iommu_iotlb_gather access (Jerry Snitselaar) [2004348] +- iommu/vt-d: Add present bit check in pasid entry setup helpers (Jerry Snitselaar) [2004348] +- iommu/vt-d: Use pasid_pte_is_present() helper function (Jerry Snitselaar) [2004348] +- iommu/vt-d: Drop the kernel doc annotation (Jerry Snitselaar) [2004348] +- iommu/vt-d: Allow devices to have more than 32 outstanding PRs (Jerry Snitselaar) [1921363] +- iommu/vt-d: Preset A/D bits for user space DMA usage (Jerry Snitselaar) [2004348] +- iomm/vt-d: Enable Intel IOMMU scalable mode by default (Jerry Snitselaar) [2004348] +- iommu/vt-d: Refactor Kconfig a bit (Jerry Snitselaar) [2004348] +- iommu/vt-d: Remove unnecessary oom message (Jerry Snitselaar) [2004348] +- iommu/vt-d: Update the virtual command related registers (Jerry Snitselaar) [2004348] +- iommu: Allow enabling non-strict mode dynamically (Jerry Snitselaar) [2004348] +- iommu: Merge strictness and domain type configs (Jerry Snitselaar) [2004348] +- iommu: Only log strictness for DMA domains (Jerry Snitselaar) [2004348] +- iommu: Expose DMA domain strictness via sysfs (Jerry Snitselaar) [2004348] +- iommu: Express DMA strictness via the domain type (Jerry Snitselaar) [2004348] +- iommu/vt-d: Prepare for multiple DMA domain types (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Prepare for multiple DMA domain types (Jerry Snitselaar) [2004348] +- iommu/amd: Prepare for multiple DMA domain types (Jerry Snitselaar) [2004348] +- iommu: Introduce explicit type for non-strict DMA domains (Jerry Snitselaar) [2004348] +- iommu/io-pgtable: Remove non-strict quirk (Jerry Snitselaar) [2004348] +- iommu: Indicate queued flushes via gather data (Jerry Snitselaar) [2004348] +- iommu/dma: Remove redundant "!dev" checks (Jerry Snitselaar) [2004348] +- iommu/virtio: Drop IOVA cookie management (Jerry Snitselaar) [2004348] +- iommu/vt-d: Drop IOVA cookie management (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Drop IOVA cookie management (Jerry Snitselaar) [2004348] +- iommu/amd: Drop IOVA cookie management (Jerry Snitselaar) [2004348] +- iommu: Pull IOVA cookie management into the core (Jerry Snitselaar) [2004348] +- iommu/amd: Remove stale amd_iommu_unmap_flush usage (Jerry Snitselaar) [2004348] +- iommu/amd: Use only natural aligned flushes in a VM (Jerry Snitselaar) [2004348] +- iommu/amd: Sync once for scatter-gather operations (Jerry Snitselaar) [2004348] +- iommu/amd: Tailored gather logic for AMD (Jerry Snitselaar) [2004348] +- iommu: Factor iommu_iotlb_gather_is_disjoint() out (Jerry Snitselaar) [2004348] +- iommu: Improve iommu_iotlb_gather helpers (Jerry Snitselaar) [2004348] +- iommu/amd: Do not use flush-queue when NpCache is on (Jerry Snitselaar) [2004348] +- iommu/amd: Selective flush on unmap (Jerry Snitselaar) [2004348] +- iommu/amd: Fix printing of IOMMU events when rate limiting kicks in (Jerry Snitselaar) [2004348] +- iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Fix missing unlock on error in arm_smmu_device_group() (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Stop pre-zeroing batch commands (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Extract reusable function __arm_smmu_cmdq_skip_err() (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Add and use static helper function arm_smmu_get_cmdq() (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Add and use static helper function arm_smmu_cmdq_issue_cmd_with_sync() (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Use command queue batching helpers to improve performance (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Optimize ->tlb_flush_walk() for qcom implementation (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Fix race condition during iommu_group creation (Jerry Snitselaar) [2004348] +- iommu: Fix race condition during default domain allocation (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Add clk_bulk_{prepare/unprepare} to system pm callbacks (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Remove some unneeded init in arm_smmu_cmdq_issue_cmdlist() (Jerry Snitselaar) [2004348] +- iommu/arm-smmu-v3: Implement the map_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] +- iommu/arm-smmu-v3: Implement the unmap_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] +- iommu/vt-d: Move clflush'es from iotlb_sync_map() to map_pages() (Jerry Snitselaar) [1971978] +- iommu/vt-d: Implement map/unmap_pages() iommu_ops callback (Jerry Snitselaar) [1971978] +- iommu/vt-d: Report real pgsize bitmap to iommu core (Jerry Snitselaar) [1971978] +- iommu: Streamline iommu_iova_to_phys() (Jerry Snitselaar) [2004348] +- iommu: Remove mode argument from iommu_set_dma_strict() (Jerry Snitselaar) [2004348] +- redhat/configs: Use new iommu default dma config options (Jerry Snitselaar) [2004348] +- iommu/amd: Add support for IOMMU default DMA mode build options (Jerry Snitselaar) [2004348] +- iommu/vt-d: Add support for IOMMU default DMA mode build options (Jerry Snitselaar) [2004348] +- iommu: Enhance IOMMU default DMA mode build options (Jerry Snitselaar) [2004348] +- iommu: Print strict or lazy mode at init time (Jerry Snitselaar) [2004348] +- iommu: Deprecate Intel and AMD cmdline methods to enable strict mode (Jerry Snitselaar) [2004348] +- iommu/arm-smmu: Implement the map_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] +- iommu/arm-smmu: Implement the unmap_pages() IOMMU driver callback (Jerry Snitselaar) [1971978] +- iommu/io-pgtable-arm-v7s: Implement arm_v7s_map_pages() (Jerry Snitselaar) [1971978] +- iommu/io-pgtable-arm-v7s: Implement arm_v7s_unmap_pages() (Jerry Snitselaar) [1971978] +- iommu/io-pgtable-arm: Implement arm_lpae_map_pages() (Jerry Snitselaar) [1971978] +- iommu/io-pgtable-arm: Implement arm_lpae_unmap_pages() (Jerry Snitselaar) [1971978] +- iommu/io-pgtable-arm: Prepare PTE methods for handling multiple entries (Jerry Snitselaar) [1971978] +- iommu/io-pgtable: Introduce map_pages() as a page table op (Jerry Snitselaar) [1971978] +- iommu/io-pgtable: Introduce unmap_pages() as a page table op (Jerry Snitselaar) [1971978] +- iommu: Add support for the map_pages() callback (Jerry Snitselaar) [1971978] +- iommu: Hook up '->unmap_pages' driver callback (Jerry Snitselaar) [1971978] +- iommu: Split 'addr_merge' argument to iommu_pgsize() into separate parts (Jerry Snitselaar) [1971978] +- iommu: Use bitmap to calculate page size in iommu_pgsize() (Jerry Snitselaar) [1971978] +- iommu: Add a map_pages() op for IOMMU drivers (Jerry Snitselaar) [1971978] +- iommu: Add an unmap_pages() op for IOMMU drivers (Jerry Snitselaar) [1971978] +- swiotlb: use depends on for DMA_RESTRICTED_POOL (Jerry Snitselaar) [2004348] +- swiotlb: Free tbl memory in swiotlb_exit() (Jerry Snitselaar) [2004348] +- swiotlb: Emit diagnostic in swiotlb_exit() (Jerry Snitselaar) [2004348] +- swiotlb: Convert io_default_tlb_mem to static allocation (Jerry Snitselaar) [2004348] +- swiotlb: add overflow checks to swiotlb_bounce (Jerry Snitselaar) [2004348] +- swiotlb: fix implicit debugfs declarations (Jerry Snitselaar) [2004348] +- swiotlb: Add restricted DMA pool initialization (Jerry Snitselaar) [2004348] +- redhat/configs: Add CONFIG_DMA_RESTRICTED_POOL (Jerry Snitselaar) [2004348] +- swiotlb: Add restricted DMA alloc/free support (Jerry Snitselaar) [2004348] +- swiotlb: Refactor swiotlb_tbl_unmap_single (Jerry Snitselaar) [2004348] +- swiotlb: Move alloc_size to swiotlb_find_slots (Jerry Snitselaar) [2004348] +- swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing (Jerry Snitselaar) [2004348] +- swiotlb: Update is_swiotlb_active to add a struct device argument (Jerry Snitselaar) [2004348] +- swiotlb: Update is_swiotlb_buffer to add a struct device argument (Jerry Snitselaar) [2004348] +- swiotlb: Set dev->dma_io_tlb_mem to the swiotlb pool used (Jerry Snitselaar) [2004348] +- swiotlb: Refactor swiotlb_create_debugfs (Jerry Snitselaar) [2004348] +- swiotlb: Refactor swiotlb init functions (Jerry Snitselaar) [2004348] +- dma-mapping: make the global coherent pool conditional (Jerry Snitselaar) [2004348] +- dma-mapping: add a dma_init_global_coherent helper (Jerry Snitselaar) [2004348] +- dma-mapping: simplify dma_init_coherent_memory (Jerry Snitselaar) [2004348] +- dma-mapping: allow using the global coherent pool for !ARM (Jerry Snitselaar) [2004348] +- dma-direct: add support for dma_coherent_default_memory (Jerry Snitselaar) [2004348] +- dma-mapping: return an unsigned int from dma_map_sg{,_attrs} (Jerry Snitselaar) [2004348] +- dma-mapping: disallow .map_sg operations from returning zero on error (Jerry Snitselaar) [2004348] +- dma-mapping: return error code from dma_dummy_map_sg() (Jerry Snitselaar) [2004348] +- xen: swiotlb: return error code from xen_swiotlb_map_sg() (Jerry Snitselaar) [2004348] +- s390/pci: don't set failed sg dma_address to DMA_MAPPING_ERROR (Jerry Snitselaar) [2004348] +- s390/pci: return error code from s390_dma_map_sg() (Jerry Snitselaar) [2004348] +- powerpc/iommu: don't set failed sg dma_address to DMA_MAPPING_ERROR (Jerry Snitselaar) [2004348] +- powerpc/iommu: return error code from .map_sg() ops (Jerry Snitselaar) [2004348] +- iommu/dma: return error code from iommu_dma_map_sg() (Jerry Snitselaar) [2004348] +- iommu: return full error code from iommu_map_sg[_atomic]() (Jerry Snitselaar) [2004348] +- dma-direct: return appropriate error code from dma_direct_map_sg() (Jerry Snitselaar) [2004348] +- dma-mapping: allow map_sg() ops to return negative error codes (Jerry Snitselaar) [2004348] +- dma-debug: fix debugfs initialization order (Jerry Snitselaar) [2004348] +- dma-debug: use memory_intersects() directly (Jerry Snitselaar) [2004348] + * Tue Nov 16 2021 Herton R. Krzesinski [5.14.0-17.el9] - net: mana: Support hibernation and kexec (Mohammed Gamal) [2011883] - net: mana: Improve the HWC error handling (Mohammed Gamal) [2011883] diff --git a/sources b/sources index 6f52610c8..f297639f3 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.14.0-17.el9.tar.xz) = 85ca754922556df7a60d7a77517c822ea08875819e7cc36af0757e75bd0d344522db4b73ac9a453b3686491096c144203974f89d3ea4ad561b3d47b84f550828 -SHA512 (kernel-abi-stablelists-5.14.0-17.tar.bz2) = 922fcd2dac02ce3b6ba76b65bfe86b08c166117f8b534285cbf254de40bfc7cc4c7539cb796a87f7a80ad776e058d9ce5bb0c885e143c5fa86f9483960617d72 -SHA512 (kernel-kabi-dw-5.14.0-17.tar.bz2) = 038b6c1c3d520ef9a1e053c016058ef2cb223f603f2c780bc865d3402cfece2062442128e4fd213a8a668c998eb525aefefe7cdb851c8c6d94d4ce7b2277f9d4 +SHA512 (linux-5.14.0-18.el9.tar.xz) = 43e7d7d4f79cce749b2c7c043f61b346a699eaeb720034af431f23bb429c8420d7d81855817f1a408f33280a4c572653058ce801bddb55f40c8151f16fb36d18 +SHA512 (kernel-abi-stablelists-5.14.0-18.tar.bz2) = ef242798c10259d840898d56c45b073aa54ab0ce7a28eca6d826d5c3500f18e4a6d5568b61049c029fdc3f02f112b2ab706fef92a6d0c1e9a2a2872676181457 +SHA512 (kernel-kabi-dw-5.14.0-18.tar.bz2) = da7dc1ba60a8cef6b0a9e18072253f8493c5d6110047538d2aa72a9f5e00d361f74403a20d7153c233d49bbbfbd6d6258cc90149d9c1aa3e7d3fb22d95a05daa