Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp829354imm; Thu, 5 Jul 2018 09:34:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcxMyWBjRRi/Xlizut/CTBODGVCce15HjKH+5UdO3e0eRIiZSFB4I8w3wJFoPj9uE0+EvSf X-Received: by 2002:a65:6292:: with SMTP id f18-v6mr1646879pgv.85.1530808449303; Thu, 05 Jul 2018 09:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530808449; cv=none; d=google.com; s=arc-20160816; b=TgqMIAyl3AuvF36ttGCpStz8rUFiEeyEjhCNmpZU7MnOe34JAEijRhO00cc6zSFSYx V5i/k30jDkPyXzdElCuij6aXT1XQokFnXx6hGbgVB5DdMgjA7CUIyfvbu9HUbF7zEZOZ GQHI13agUl0+/rLDhfQQhqRijirYIqVFLukZahkxbi3P1MoJWI6bIlkReSpCgW+RR8YO yJ2bf53oPSMAUMurySJxu74xWMac1ckR47vzpDQsaMZ2/00Vp40drnPhQeJ6zdC41cAW 0QyrDAiSOzdWFf7lvH2z9PLccbfFA/yEwFbHU8aqb6+SZRYiPtNXe0jxPR0NQyTGTlK9 6rvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=ohQVh+wON4/TY/wnIl/VOQ/lvfAikcmOFGGm1FREmEk=; b=hikA8V+6zXD6QLamosPsgtoiuJ3imvS1+nDWZt44mOBqN+6jkPhc12EJL9jE8fvpbH ZDs/vqRtOWFB50yAbrHtRQRb5JXO0YLTNygXmzP6/RIcLaAPJSslLB3i3sFys38BOnY6 SAPWsK+pr4+Od3BnqWI0RAVwTkgprhaeGozwnGhOgg5oOSXKS9QCT6fsKGFEVLmWf1Jn DWXwwvFmnem+2hJx8WZzV1HD5h29SCbl6K/8pUlxcOP3v8g5cLNYLli/c9ryvOnRnfrh wU21k/9wb9UitjBpsjnsuTqeGm+5jDjvBWZ1wRNUyArq3BSGJJoCqvHietiOotC6x6Jt 5SZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x66-v6si6641843pfx.67.2018.07.05.09.33.53; Thu, 05 Jul 2018 09:34:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753999AbeGEQdL (ORCPT + 99 others); Thu, 5 Jul 2018 12:33:11 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:59906 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753347AbeGEQdK (ORCPT ); Thu, 5 Jul 2018 12:33:10 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 41M3Lq5fwVz9tvS6; Thu, 5 Jul 2018 18:33:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id ZrTaBBYIVzDw; Thu, 5 Jul 2018 18:33:07 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 41M3Lq55qlz9tvS5; Thu, 5 Jul 2018 18:33:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8A3EC8B8CF; Thu, 5 Jul 2018 18:33:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id ov2dSAwXfnNS; Thu, 5 Jul 2018 18:33:09 +0200 (CEST) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.4]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 6584A8B8BC; Thu, 5 Jul 2018 18:33:09 +0200 (CEST) Subject: Re: [PATCH V2 00/10] KASan ppc64 support To: "Aneesh Kumar K.V" , Andrey Ryabinin Cc: paulus@samba.org, linuxppc-dev@lists.ozlabs.org, LKML References: <1440577578-15813-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <87k2sic6pw.fsf@linux.vnet.ibm.com> From: Christophe LEROY Message-ID: <7d459964-ce68-db1c-3d28-ae206d5ebdb0@c-s.fr> Date: Thu, 5 Jul 2018 18:33:08 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <87k2sic6pw.fsf@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Aneesh, Are you still working on support for KASan for ppc64 ? Thanks, Christophe Le 26/08/2015 à 19:14, Aneesh Kumar K.V a écrit : > Andrey Ryabinin writes: > >> 2015-08-26 11:26 GMT+03:00 Aneesh Kumar K.V : >>> Hi, >>> >>> This patchset implements kernel address sanitizer for ppc64. >>> Since ppc64 virtual address range is divided into different regions, >>> we can't have one contigous area for the kasan shadow range. Hence >>> we don't support the INLINE kasan instrumentation. With Outline >>> instrumentation, we override the shadow_to_mem and mem_to_shadow >>> callbacks, so that we map only the kernel linear range (ie, >>> region with ID 0xc). For region with ID 0xd and 0xf (vmalloc >>> and vmemmap ) we return the address of the zero page. This >>> works because kasan doesn't track both vmemmap and vmalloc address. >>> >>> Known issues: >>> * Kasan is not yet enabled for arch/powerpc/kvm >>> * kexec hang >>> * outline stack and global support >>> >> >> Is there any problem with globals or you just didn't try it yet? >> I think it should just work. You need only to add --param >> asan-globals=0 to KBUILD_CFLAGS_MODULE >> to disable it for modules. > > I am hitting BUG_ON in early vmalloc code. I still haven't got time to > debug it further. Should get to that soon. > > -aneesh > > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev >