Re: [PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-16 Thread Alejandro Jimenez
On 5/16/25 1:02 AM, Ankit Soni wrote: On Wed, May 14, 2025 at 04:08:09PM -0400, Alejandro Jimenez wrote: On 5/14/25 11:54 AM, Jason Gunthorpe wrote: On Wed, May 14, 2025 at 09:23:49AM +, Ankit Soni wrote: I am experiencing a system hang with a 5-level v2 page table mode, on boot. The

Re: [PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-15 Thread Ankit Soni
On Wed, May 14, 2025 at 04:08:09PM -0400, Alejandro Jimenez wrote: > > > On 5/14/25 11:54 AM, Jason Gunthorpe wrote: > > On Wed, May 14, 2025 at 09:23:49AM +, Ankit Soni wrote: > > > I am experiencing a system hang with a 5-level v2 page table mode, on > > > boot. > > > The NVMe boot drive i

Re: [PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-15 Thread Jason Gunthorpe
On Wed, May 14, 2025 at 04:08:09PM -0400, Alejandro Jimenez wrote: > > > On 5/14/25 11:54 AM, Jason Gunthorpe wrote: > > On Wed, May 14, 2025 at 09:23:49AM +, Ankit Soni wrote: > > > I am experiencing a system hang with a 5-level v2 page table mode, on > > > boot. > > > The NVMe boot drive i

Re: [PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-14 Thread Alejandro Jimenez
On 5/14/25 11:54 AM, Jason Gunthorpe wrote: On Wed, May 14, 2025 at 09:23:49AM +, Ankit Soni wrote: I am experiencing a system hang with a 5-level v2 page table mode, on boot. The NVMe boot drive is not initializing. Below are the relevant dmesg logs with some prints i had added: [6.

Re: [PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-14 Thread Jason Gunthorpe
On Wed, May 14, 2025 at 09:23:49AM +, Ankit Soni wrote: > I am experiencing a system hang with a 5-level v2 page table mode, on boot. > The NVMe boot drive is not initializing. > Below are the relevant dmesg logs with some prints i had added: > > [6.386439] AMD-Vi v2 domain init > [6.3

Re: [PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-14 Thread Ankit Soni
Hi Jason, On Mon, May 05, 2025 at 11:18:33AM -0300, Jason Gunthorpe wrote: > +static int pt_iommu_init_domain(struct pt_iommu *iommu_table, > + struct iommu_domain *domain) > +{ > + struct pt_common *common = common_from_iommu(iommu_table); > + struct pt_iommu_i

[PATCH v2 03/15] iommupt: Add the basic structure of the iommu implementation

2025-05-05 Thread Jason Gunthorpe
The existing IOMMU page table implementations duplicate all of the working algorithms for each format. By using the generic page table API a single C version of the IOMMU algorithms can be created and re-used for all of the different formats used in the drivers. The implementation will provide a si