Commit f6681ab
iommu/arm-smmu-v3: Expose the arm_smmu_attach interface
The arm-smmuv3-iommufd.c file will need to call these functions too.
Remove statics and put them in the header file. Remove the kunit
visibility protections from arm_smmu_make_abort_ste() and
arm_smmu_make_s2_domain_ste().
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Donald Dutile <ddutile@redhat.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/7-v4-9e99b76f3518+3a8-smmuv3_nesting_jgg@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>1 parent 874b87c commit f6681ab
2 files changed
+27
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1549 | 1549 | | |
1550 | 1550 | | |
1551 | 1551 | | |
1552 | | - | |
1553 | 1552 | | |
1554 | 1553 | | |
1555 | 1554 | | |
| |||
1632 | 1631 | | |
1633 | 1632 | | |
1634 | 1633 | | |
1635 | | - | |
1636 | 1634 | | |
1637 | 1635 | | |
1638 | 1636 | | |
| |||
2505 | 2503 | | |
2506 | 2504 | | |
2507 | 2505 | | |
2508 | | - | |
2509 | | - | |
| 2506 | + | |
| 2507 | + | |
2510 | 2508 | | |
2511 | 2509 | | |
2512 | 2510 | | |
| |||
2671 | 2669 | | |
2672 | 2670 | | |
2673 | 2671 | | |
2674 | | - | |
2675 | | - | |
2676 | | - | |
2677 | | - | |
2678 | | - | |
2679 | | - | |
2680 | | - | |
2681 | | - | |
2682 | | - | |
2683 | | - | |
2684 | 2672 | | |
2685 | 2673 | | |
2686 | 2674 | | |
| |||
2701 | 2689 | | |
2702 | 2690 | | |
2703 | 2691 | | |
2704 | | - | |
2705 | | - | |
| 2692 | + | |
| 2693 | + | |
2706 | 2694 | | |
2707 | 2695 | | |
2708 | 2696 | | |
| |||
2784 | 2772 | | |
2785 | 2773 | | |
2786 | 2774 | | |
2787 | | - | |
| 2775 | + | |
2788 | 2776 | | |
2789 | 2777 | | |
2790 | 2778 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
833 | 839 | | |
834 | 840 | | |
835 | 841 | | |
836 | 842 | | |
837 | 843 | | |
838 | | - | |
839 | 844 | | |
840 | 845 | | |
841 | 846 | | |
842 | 847 | | |
843 | 848 | | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
| |||
902 | 903 | | |
903 | 904 | | |
904 | 905 | | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
905 | 922 | | |
906 | 923 | | |
907 | 924 | | |
| |||
0 commit comments