From mboxrd@z Thu Jan 1 00:00:00 1970 From: toshi.kani@hpe.com (Kani, Toshi) Date: Thu, 15 Mar 2018 14:38:27 +0000 Subject: [PATCH v1 0/4] Fix issues with huge mapping in ioremap In-Reply-To: <9954bd28-0457-b80e-8af7-6259b63533f2@codeaurora.org> References: <1521017305-28518-1-git-send-email-cpandya@codeaurora.org> <1521038277.2693.131.camel@hpe.com> <9954bd28-0457-b80e-8af7-6259b63533f2@codeaurora.org> Message-ID: <1521124702.2693.145.camel@hpe.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 2018-03-15 at 12:47 +0530, Chintan Pandya wrote: > > On 3/14/2018 8:08 PM, Kani, Toshi wrote: > > On Wed, 2018-03-14 at 14:18 +0530, Chintan Pandya wrote: > > > Note: I was working on these patches for quite sometime > > > and realized that Toshi Kani has shared some patches > > > addressing the same isssue with subject > > > "[PATCH 0/2] fix memory leak / panic in ioremap huge pages". > > > I've taken slightly different approach here, so sending > > > to the list, finally. > > > > Hi Chintan, > > Hi Toshi > > > > Do you have any issue in my patchset? If so, can you please comment on > > Not functional issues. But I didn't see issues you mentioned in your > commit text being solved for ARM64 in your patches. It is just being > masked which they were already by Will's patch. In my approach, end > goal was to get benefits of huge mapping back for ARM64. Right, my patchset does not implement the fix for arm64. The stub version is only a workaround and is meant to be replaced by the fix. > > them? It complicates the thing when you send a different approach > > without telling why a different approach is needed. Your approach > > See my reply above. I just had my original patches and I sent it. > > > purges TLB after updating pmd/pud, which I think is broken. Can you > > Yes, they are broken. I understood the issues after Mark and Marc's > review comments. > > > work on top of my patchset and properly implement pXd_free_pte_page() > > I have realized that if I address Mark's comments, my new patch will > look similar to what you have done. So, I will work on top of your > patches. Sounds great. Thanks, -Toshi