Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'iommu-fixes-v6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux

Pull iommu fix from Joerg Roedel:

- Fix PTE size calculation for NVidia Tegra

* tag 'iommu-fixes-v6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux:
iommu/tegra: Fix incorrect size calculation

+2 -2
+2 -2
drivers/iommu/tegra-smmu.c
··· 559 559 { 560 560 unsigned int pd_index = iova_pd_index(iova); 561 561 struct tegra_smmu *smmu = as->smmu; 562 - struct tegra_pd *pd = as->pd; 562 + u32 *pd = &as->pd->val[pd_index]; 563 563 unsigned long offset = pd_index * sizeof(*pd); 564 564 565 565 /* Set the page directory entry first */ 566 - pd->val[pd_index] = value; 566 + *pd = value; 567 567 568 568 /* The flush the page directory entry from caches */ 569 569 dma_sync_single_range_for_device(smmu->dev, as->pd_dma, offset,