Commit c5ebd09
iommu/amd: Introduce per device DTE update function
Consolidate per device update and flush logic into separate function.
Also make it as global function as it will be used in subsequent series
to update the DTE.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240418103400.6229-3-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 9433d5b commit c5ebd09
2 files changed
Lines changed: 19 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2002 | 2002 | | |
2003 | 2003 | | |
2004 | 2004 | | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
2005 | 2020 | | |
2006 | 2021 | | |
2007 | 2022 | | |
| |||
2036 | 2051 | | |
2037 | 2052 | | |
2038 | 2053 | | |
2039 | | - | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
| 2054 | + | |
2043 | 2055 | | |
2044 | 2056 | | |
2045 | 2057 | | |
| |||
2058 | 2070 | | |
2059 | 2071 | | |
2060 | 2072 | | |
2061 | | - | |
2062 | | - | |
2063 | 2073 | | |
2064 | | - | |
2065 | | - | |
| 2074 | + | |
| 2075 | + | |
2066 | 2076 | | |
2067 | 2077 | | |
2068 | 2078 | | |
| |||
0 commit comments