From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by kanga.kvack.org (Postfix) with ESMTP id B40E46B00A3 for ; Thu, 18 Sep 2014 12:59:44 -0400 (EDT) Received: by mail-pd0-f172.google.com with SMTP id v10so1794304pde.17 for ; Thu, 18 Sep 2014 09:59:44 -0700 (PDT) Received: from aserp1040.oracle.com (aserp1040.oracle.com. [141.146.126.69]) by mx.google.com with ESMTPS id dl9si13557957pdb.66.2014.09.18.09.59.43 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 18 Sep 2014 09:59:43 -0700 (PDT) Message-ID: <541B0E35.4090302@oracle.com> Date: Thu, 18 Sep 2014 12:54:13 -0400 From: Sasha Levin MIME-Version: 1.0 Subject: Re: [RFC/PATCH v2 02/10] x86_64: add KASan support References: <1404905415-9046-1-git-send-email-a.ryabinin@samsung.com> <1410359487-31938-1-git-send-email-a.ryabinin@samsung.com> <1410359487-31938-3-git-send-email-a.ryabinin@samsung.com> <5410724B.8000803@intel.com> <5410D486.4060200@intel.com> <9E98939B-E2C6-4530-A822-ED550FC3B9D2@zytor.com> <54112512.6040409@oracle.com> <54118CC9.8070405@samsung.com> In-Reply-To: <54118CC9.8070405@samsung.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrey Ryabinin Cc: "H. Peter Anvin" , Dave Hansen , Andrey Ryabinin , LKML , Dmitry Vyukov , Konstantin Serebryany , Dmitry Chernenkov , Andrey Konovalov , Yuri Gribov , Konstantin Khlebnikov , Christoph Lameter , Joonsoo Kim , Andrew Morton , Andi Kleen , Vegard Nossum , "x86@kernel.org" , "linux-mm@kvack.org" , Thomas Gleixner , Ingo Molnar On 09/11/2014 07:51 AM, Andrey Ryabinin wrote: > On 09/11/2014 08:29 AM, Sasha Levin wrote: >> > On 09/11/2014 12:26 AM, H. Peter Anvin wrote: >>> >> Except you just broke PVop kernels. >> > >> > So is this why v2 refuses to boot on my KVM guest? (was digging >> > into that before I send a mail out). >> > > Maybe this will help? > > > From: Andrey Ryabinin > Subject: [PATCH] x86_64: kasan: fix kernel boot with CONFIG_DEBUG_VIRTUAL=y > > Use __pa_nodebug instead of __pa before shadow initialized. > __pa with CONFIG_DEBUG_VIRTUAL=y may result in __asan_load > call before shadow area initialized. Woops, I got sidetracked and forgot to reply. Yes, this patch fixed the issue, KASan is running properly now. Thanks, Sasha -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org