External email: Use caution opening links or attachments
On 22/11/2022 06:31, Ashish Mhetre wrote:
On newer Tegra releases, early boot SID override programming and SIDI could not get from commit msg what is the bug being fixed. You just
override programming during resume is handled by bootloader.
Also, SID override is programmed on-demand during probe_finalize() call
of IOMMU which is done in tegra186_mc_client_sid_override() in this same
file. This function does it more correctly by checking if write is
permitted on SID override register. It also checks if SID override
register is already written with correct value and skips re-writing it
in that case.
Hence, removing the SID override programming of all clients.
Fixes: 393d66fd2cac ("memory: tegra: Implement SID override programming")
said "more correctly", but usually things are either correct or not.
What are visible effects of the bug?
Otherwise it sounds more like optimization or a bit better approach, but
not a bugfix.
Best regards,
Krzysztof