All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Hailong liu <carver4lio@163.com>
Cc: Russell King <linux@armlinux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Mike Rapoport <rppt@kernel.org>,
	Andrey Ryabinin <aryabinin@virtuozzo.com>,
	Alexander Potapenko <glider@google.com>,
	Dmitry Vyukov <dvyukov@google.com>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	kasan-dev <kasan-dev@googlegroups.com>,
	Hailong Liu <liu.hailong6@zte.com.cn>
Subject: Re: [RESEND PATCH v2] arm/mm/ptdump:Add address markers for KASAN regions
Date: Thu, 21 Jan 2021 09:36:32 +0100	[thread overview]
Message-ID: <CACRpkda5VXyg5F7r4RaHrSh303KZ3FjxnLEsQ1tFNXjMhxDqLw@mail.gmail.com> (raw)
In-Reply-To: <20210120125010.10896-1-carver4lio@163.com>

On Wed, Jan 20, 2021 at 1:54 PM Hailong liu <carver4lio@163.com> wrote:

> From: Hailong Liu <liu.hailong6@zte.com.cn>
>
> ARM has recently supported KASAN, so I think that it's time to add KASAN
> regions for PTDUMP on ARM.
>
> I have tested this patch with QEMU + vexpress-a15. Both CONFIG_ARM_LPAE
> and no CONFIG_ARM_LPAE.
>
> The result after patching looks like this:
>  ---[ Kasan shadow start ]---
>  0x6ee00000-0x7af00000         193M     RW NX SHD MEM/CACHED/WBWA
>  0x7b000000-0x7f000000          64M     ro NX SHD MEM/CACHED/WBWA
>  ---[ Kasan shadow end ]---
>  ---[ Modules ]---
>  ---[ Kernel Mapping ]---
>         ......
>  ---[ vmalloc() Area ]---
>         ......
>  ---[ vmalloc() End ]---
>  ---[ Fixmap Area ]---
>  ---[ Vectors ]---
>         ......
>  ---[ Vectors End ]---
>
> v2:
> - fix the puzzling subject and the description due to my
> carelessness.
>
> Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>

Looks correct!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please put this into Russell's patch tracker.

Yours,
Linus Walleij

WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org>
To: Hailong liu <carver4lio@163.com>
Cc: Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Hailong Liu <liu.hailong6@zte.com.cn>,
	Russell King <linux@armlinux.org.uk>,
	kasan-dev <kasan-dev@googlegroups.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Alexander Potapenko <glider@google.com>,
	Mike Rapoport <rppt@kernel.org>,
	Andrey Ryabinin <aryabinin@virtuozzo.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Dmitry Vyukov <dvyukov@google.com>
Subject: Re: [RESEND PATCH v2] arm/mm/ptdump:Add address markers for KASAN regions
Date: Thu, 21 Jan 2021 09:36:32 +0100	[thread overview]
Message-ID: <CACRpkda5VXyg5F7r4RaHrSh303KZ3FjxnLEsQ1tFNXjMhxDqLw@mail.gmail.com> (raw)
In-Reply-To: <20210120125010.10896-1-carver4lio@163.com>

On Wed, Jan 20, 2021 at 1:54 PM Hailong liu <carver4lio@163.com> wrote:

> From: Hailong Liu <liu.hailong6@zte.com.cn>
>
> ARM has recently supported KASAN, so I think that it's time to add KASAN
> regions for PTDUMP on ARM.
>
> I have tested this patch with QEMU + vexpress-a15. Both CONFIG_ARM_LPAE
> and no CONFIG_ARM_LPAE.
>
> The result after patching looks like this:
>  ---[ Kasan shadow start ]---
>  0x6ee00000-0x7af00000         193M     RW NX SHD MEM/CACHED/WBWA
>  0x7b000000-0x7f000000          64M     ro NX SHD MEM/CACHED/WBWA
>  ---[ Kasan shadow end ]---
>  ---[ Modules ]---
>  ---[ Kernel Mapping ]---
>         ......
>  ---[ vmalloc() Area ]---
>         ......
>  ---[ vmalloc() End ]---
>  ---[ Fixmap Area ]---
>  ---[ Vectors ]---
>         ......
>  ---[ Vectors End ]---
>
> v2:
> - fix the puzzling subject and the description due to my
> carelessness.
>
> Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>

Looks correct!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please put this into Russell's patch tracker.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-01-21  8:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 12:50 [RESEND PATCH v2] arm/mm/ptdump:Add address markers for KASAN regions Hailong liu
2021-01-20 12:50 ` Hailong liu
2021-01-21  8:36 ` Linus Walleij [this message]
2021-01-21  8:36   ` Linus Walleij
2021-01-26 14:38   ` carver4lio
2021-01-26 14:38     ` carver4lio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACRpkda5VXyg5F7r4RaHrSh303KZ3FjxnLEsQ1tFNXjMhxDqLw@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=akpm@linux-foundation.org \
    --cc=aryabinin@virtuozzo.com \
    --cc=carver4lio@163.com \
    --cc=dvyukov@google.com \
    --cc=glider@google.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=liu.hailong6@zte.com.cn \
    --cc=rppt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.