)]}'
{
  "commit": "d4cfbcde0de577d315841618d65fcc4311fff885",
  "tree": "10729e37a136c2d00e60052d0e2c95629ca8b563",
  "parents": [
    "eb3ca7c16237a7e8f6906ca6749dc42ee9dbf6c6"
  ],
  "author": {
    "name": "Leon Romanovsky",
    "email": "leonro@nvidia.com",
    "time": "Wed Jun 18 09:16:31 2025 -0400"
  },
  "committer": {
    "name": "Leon Romanovsky",
    "email": "leonro@nvidia.com",
    "time": "Thu Jun 19 08:56:23 2025 -0400"
  },
  "message": "dma-mapping: refactor resource mapping to use dma_*map_phys() API\n\nReplace the separate dma_map_resource() and dma_unmap_resource()\nimplementations with wrappers around dma_map_phys() and dma_unmap_phys()\nusing the DMA_ATTR_MMIO flag.\n\nThe change removes the standalone resource mapping logic and instead\nleverages the existing physical address-based mapping infrastructure\nthat already supports MMIO regions through the DMA_ATTR_MMIO attribute.\nThis consolidation reduces the codebase complexity while maintaining\nthe same functionality for resource mapping operations.\n\nThe refactoring also removes the corresponding debug and trace events\nfor resource mapping since they are now handled by the unified phys\nmapping infrastructure, further reducing the maintenance burden.\n\nSigned-off-by: Leon Romanovsky \u003cleonro@nvidia.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c77d478b6deb10f516fcbfe4449304f81d49459f",
      "old_mode": 33188,
      "old_path": "include/trace/events/dma.h",
      "new_id": "45c4603447aea9fb1f23b98c1439b9b2211d7042",
      "new_mode": 33188,
      "new_path": "include/trace/events/dma.h"
    },
    {
      "type": "modify",
      "old_id": "517dc58329e0b21ca45bf15a908a708d50aee344",
      "old_mode": 33188,
      "old_path": "kernel/dma/debug.c",
      "new_id": "06171fee74b7f64921cb034e042fdc708f4255f8",
      "new_mode": 33188,
      "new_path": "kernel/dma/debug.c"
    },
    {
      "type": "modify",
      "old_id": "76adb42bffd5f17d6653570ae17fc0df5cfe6356",
      "old_mode": 33188,
      "old_path": "kernel/dma/debug.h",
      "new_id": "424b8f912adedccd8ff8090062df25e39a1a0aa0",
      "new_mode": 33188,
      "new_path": "kernel/dma/debug.h"
    },
    {
      "type": "modify",
      "old_id": "b58286a757ffa0383e023256a73295a619cb0162",
      "old_mode": 33188,
      "old_path": "kernel/dma/mapping.c",
      "new_id": "902e78f80cb908caf0978b3be4ad6a7961d0e812",
      "new_mode": 33188,
      "new_path": "kernel/dma/mapping.c"
    }
  ]
}
