Re: [PATCH v3 18/19] iommu/amd: Print access/dirty bits if supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/10/2023 04:48, Suthikulpanit, Suravee wrote:
> On 9/23/2023 8:25 AM, Joao Martins wrote:
>> Print the feature, much like other kernel-supported features.
>>
>> One can still probe its actual hw support via sysfs, regardless
>> of what the kernel does.
>>
>> Signed-off-by: Joao Martins <joao.m.martins@xxxxxxxxxx>
>> ---
>>   drivers/iommu/amd/init.c | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/iommu/amd/init.c b/drivers/iommu/amd/init.c
>> index 45efb7e5d725..b091a3d10819 100644
>> --- a/drivers/iommu/amd/init.c
>> +++ b/drivers/iommu/amd/init.c
>> @@ -2208,6 +2208,10 @@ static void print_iommu_info(void)
>>                 if (iommu->features & FEATURE_GAM_VAPIC)
>>                   pr_cont(" GA_vAPIC");
>> +            if (iommu->features & FEATURE_HASUP)
>> +                pr_cont(" HASup");
>> +            if (iommu->features & FEATURE_HDSUP)
>> +                pr_cont(" HDSup");
>>                 if (iommu->features & FEATURE_SNP)
>>                   pr_cont(" SNP");
> 
> Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
> 
Thanks!



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux