[<prev] [next>] [day] [month] [year] [list]
Message-ID:
<TYZPR04MB5973A5633B25CA29FC81AAE1AD7E2@TYZPR04MB5973.apcprd04.prod.outlook.com>
Date: Tue, 8 Oct 2024 07:48:52 +0000
From: xiebo bo <xiebohao1234@...il.com>
To: "tjeznach@...osinc.com" <tjeznach@...osinc.com>
CC: "aou@...s.berkeley.edu" <aou@...s.berkeley.edu>, "apatel@...tanamicro.com"
<apatel@...tanamicro.com>, "conor+dt@...nel.org" <conor+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"iommu@...ts.linux.dev" <iommu@...ts.linux.dev>, "joro@...tes.org"
<joro@...tes.org>, "krzk+dt@...nel.org" <krzk+dt@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux@...osinc.com" <linux@...osinc.com>, "mick@....forth.gr"
<mick@....forth.gr>, "palmer@...belt.com" <palmer@...belt.com>,
"paul.walmsley@...ive.com" <paul.walmsley@...ive.com>, "robh+dt@...nel.org"
<robh+dt@...nel.org>, "robin.murphy@....com" <robin.murphy@....com>,
"seb@...osinc.com" <seb@...osinc.com>, "sunilvl@...tanamicro.com"
<sunilvl@...tanamicro.com>, "will@...nel.org" <will@...nel.org>
Subject: Re: [PATCH v7 0/7] Linux RISC-V IOMMU Support
Hi all,
I hope this email finds you well.
I have a question regarding the process of updating page table entries (PTE) in the system. Specifically, if there are ongoing accesses to a PTE that is not yet present in the IOTLB, and the PTE is updated while these accesses are still in progress, there could be a scenario where the system expects to retrieve the old PTE value but instead retrieves the new one, potentially leading to translation errors.
However, I have not seen any memory barriers or lock operations in the code to ensure proper synchronization during PTE updates. Could this cause any issues with the translation process?
Thank you for your time, and I look forward to your insights on this matter.
Best regards
Powered by blists - more mailing lists