Message ID | 20210206083552.24394-1-lecopzer.chen@mediatek.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: kasan: support CONFIG_KASAN_VMALLOC | expand |
Hi Lecopzer, On Sat, Feb 06, 2021 at 04:35:47PM +0800, Lecopzer Chen wrote: > Linux supports KAsan for VMALLOC since commit 3c5c3cfb9ef4da9 > ("kasan: support backing vmalloc space with real shadow memory") > > Acroding to how x86 ported it [1], they early allocated p4d and pgd, > but in arm64 I just simulate how KAsan supports MODULES_VADDR in arm64 > by not to populate the vmalloc area except for kimg address. Do you plan an update to a newer kernel like 5.12-rc3? > Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com> > Acked-by: Andrey Konovalov <andreyknvl@google.com> > Tested-by: Andrey Konovalov <andreyknvl@google.com> > Tested-by: Ard Biesheuvel <ardb@kernel.org> You could move these to individual patches rather than the cover letter, assuming that they still stand after the changes you've made. Also note that Andrey K no longer has the @google.com email address if you cc him on future patches (replace it with @gmail.com). Thanks.
On Sat, Mar 20, 2021 at 1:41 AM Catalin Marinas <catalin.marinas@arm.com> wrote: > > Hi Lecopzer, > > On Sat, Feb 06, 2021 at 04:35:47PM +0800, Lecopzer Chen wrote: > > Linux supports KAsan for VMALLOC since commit 3c5c3cfb9ef4da9 > > ("kasan: support backing vmalloc space with real shadow memory") > > > > Acroding to how x86 ported it [1], they early allocated p4d and pgd, > > but in arm64 I just simulate how KAsan supports MODULES_VADDR in arm64 > > by not to populate the vmalloc area except for kimg address. > > Do you plan an update to a newer kernel like 5.12-rc3? > Yes, of course. I dealt with some personal matters so didn't update these series last month. > > Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com> > > Acked-by: Andrey Konovalov <andreyknvl@google.com> > > Tested-by: Andrey Konovalov <andreyknvl@google.com> > > Tested-by: Ard Biesheuvel <ardb@kernel.org> > > You could move these to individual patches rather than the cover letter, > assuming that they still stand after the changes you've made. Also note > that Andrey K no longer has the @google.com email address if you cc him > on future patches (replace it with @gmail.com). > Ok thanks for the suggestion. I will move them to each patch and correct the email address. Thanks, Lecopzer