lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c2d11568-6417-418e-a468-6db953643918@leemhuis.info>
Date: Fri, 7 Nov 2025 12:29:44 +0100
From: Thorsten Leemhuis <linux@...mhuis.info>
To: Joerg Roedel <joro@...tes.org>, iommu@...ts.linux.dev,
 linux-kernel@...r.kernel.org
Cc: Jason Gunthorpe <jgg@...pe.ca>, Lu Baolu <baolu.lu@...ux.intel.com>,
 Kevin Tian <kevin.tian@...el.com>, Robin Murphy <robin.murphy@....com>,
 Will Deacon <will@...nel.org>, Joerg Roedel <joerg.roedel@....com>,
 "Longia, Amandeep Kaur" <amandeepkaur.longia@....com>
Subject: Re: [PATCH] iommu/iommupt: Fix build error in genericpt unit-tests

Adding Amandeep Kaur

On 11/7/25 11:47, Joerg Roedel wrote:
> From: Joerg Roedel <joerg.roedel@....com>
> 
> Fix the include of iommu-pages.h in the KUnit tests for the IOMMU
> generic page-table code to make the tests compile again.
> 
> Reported-by: Thorsten Leemhuis <linux@...mhuis.info>
> Closes: https://lore.kernel.org/all/9844d4cb-f517-478b-9911-b6dc1a963b8e@leemhuis.info/

Thx Joerg! I did test a equivalent change, so I guess this will be fine:

Tested-by: Thorsten Leemhuis <linux@...mhuis.info>

Maybe also add these:

Reported-by: "Longia, Amandeep Kaur" <amandeepkaur.longia@....com>
Closes:
https://lore.kernel.org/all/e641c955-25ad-4eae-b3fe-4392966cf768@amd.com/

Ciao, Thorsten

> Fixes: 1dd4187f53c3 ("iommupt: Add a kunit test for Generic Page Table")
> Signed-off-by: Joerg Roedel <joerg.roedel@....com>
> ---
>  drivers/iommu/generic_pt/kunit_iommu.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iommu/generic_pt/kunit_iommu.h b/drivers/iommu/generic_pt/kunit_iommu.h
> index 5d4f269627d5..22c9e4c4dd97 100644
> --- a/drivers/iommu/generic_pt/kunit_iommu.h
> +++ b/drivers/iommu/generic_pt/kunit_iommu.h
> @@ -8,7 +8,7 @@
>  #define GENERIC_PT_KUNIT 1
>  #include <kunit/device.h>
>  #include <kunit/test.h>
> -#include <../../iommu-pages.h>
> +#include "../iommu-pages.h"
>  #include "pt_iter.h"
>  
>  #define pt_iommu_table_cfg CONCATENATE(pt_iommu_table, _cfg)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ