Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1125221ybl; Sun, 1 Dec 2019 21:09:16 -0800 (PST) X-Google-Smtp-Source: APXvYqy4gz810dKovToGWand+yFFHzYw4h4FwZAzebhFtaedgBMtek+p7d6tD6W/SO7595lNXMA9 X-Received: by 2002:a50:eb95:: with SMTP id y21mr31492245edr.212.1575263356038; Sun, 01 Dec 2019 21:09:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575263356; cv=none; d=google.com; s=arc-20160816; b=jEsFe+leEwnAqEiwbMKtW2gaK2qiGgdR3LawbqnX5SdbpcOoBA9hf1S0YsybNMw2md zWsGgLM9Mos61/APQ8v9Nph0G+FLMIW/rOtyWAqwCz/HP+sEkilaqV3DJLJsUOjB48QJ rRi2HeY6ywECb60WTvSesH+fWGAMgGJTmTG2Vis0Hi4OHWVsTWz4LeqpjBL1WN64lEZH vR1dIT4bjUusrlrxxbqyMcsaEhHxnnd07loE+Sbitqca/JaPZ8H08/pjdaE3qxkQnHNH FWE88BhVDj5lz0JcP9emdf358bCeqKHbcZ2lYPCh6yrPFjp4HAWKsqvjqheT9qp2tnA7 8zsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=rMxOBw3aWlogGDBT6R+kAoQRRttCZ1c1uAUUr62RFII=; b=J8smXSx4T6Z28crQGqF2wwD8XLTSHe1sQJToPa4lOVdIqmijDaGiTYPBMllWIA17SG mF4KQQR8IggioXA+wk+KHwGLCtsfLd8JwspkYVddqiQACzQ/f0nePL5atGJe6GIBHqWO nZWxpbCSaczJ4AxSs18EqMu9pd8Jmavcj1oH/QSEgZkk468RxrL6Wds3TspT2xLrkXbo yXe++SstdT2lQ4fA745uHNmgRqEuhDxxsWOL1noswR1EeSNw/cj7yV4M8OXY/KkJuRPK wxZSuEZOsDsSxOgYzDJeZfDsfMJbFn834GNka02DL3H1iyuomenTYO4CR7Pr6eXZ6Wwr daow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=Zr90MDkW; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b="G6Qx7h/j"; 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 y18si8467436edt.294.2019.12.01.21.08.50; Sun, 01 Dec 2019 21:09:16 -0800 (PST) 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; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=Zr90MDkW; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b="G6Qx7h/j"; 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 S1725914AbfLBFH1 (ORCPT + 99 others); Mon, 2 Dec 2019 00:07:27 -0500 Received: from a27-186.smtp-out.us-west-2.amazonses.com ([54.240.27.186]:55286 "EHLO a27-186.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbfLBFH1 (ORCPT ); Mon, 2 Dec 2019 00:07:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1575263246; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=rMxOBw3aWlogGDBT6R+kAoQRRttCZ1c1uAUUr62RFII=; b=Zr90MDkWKgarPyvpUaLv5w7irNxJ6XjyrlR1maynIYyg49fnCNAU4uQFfdHG0J0j C/edjTb97VsgtdKuzhXLN8hRN3IB1vsRszcVPvONYmmy3Vugba8dTkRu0+JLCwz4f7R Q/g7azXsJwO+sV8tnRsGT6mhP1Qq3Iv+iy4V2wrE= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1575263246; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=rMxOBw3aWlogGDBT6R+kAoQRRttCZ1c1uAUUr62RFII=; b=G6Qx7h/jdDEwK15NRDJ/+4tlpGRMkgRD1LcF0zjVybR7WjB7hXUUkF+1ARNIqTaV JJsdUb8UT7vR1Ni1Vw2Xy8ow4A/eoiaylZVy4Fz16jm8S+dB17XzryneO/H26WKXiSC KL5ljcjEU7I2PfbgzxFv5N0X1muttOCiBKdMvhQo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E8C0FC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=sgrover@codeaurora.org From: To: "'Mark Rutland'" , "'Marco Elver'" Cc: "'Dmitry Vyukov'" , "'kasan-dev'" , "'LKML'" , "'Paul E. McKenney'" , "'Will Deacon'" , "'Andrea Parri'" , "'Alan Stern'" References: <000001d5824d$c8b2a060$5a17e120$@codeaurora.org> <20191014101938.GB41626@lakrids.cambridge.arm.com> In-Reply-To: <20191014101938.GB41626@lakrids.cambridge.arm.com> Subject: RE: KCSAN Support on ARM64 Kernel Date: Mon, 2 Dec 2019 05:07:26 +0000 Message-ID: <0101016ec501966f-4b89bcda-49ba-45d3-b226-62538b901b04-000000@us-west-2.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIkPOdSLH2Qcxx8ygFmLWl3/QxVtgJ871EyAngelYcCVg8vwqbOydmw Content-Language: en-us X-SES-Outgoing: 2019.12.02-54.240.27.186 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Is there any update in Arm64 support of KCSAN. Regards, Sachin Grover -----Original Message----- From: Mark Rutland =20 Sent: Monday, 14 October, 2019 3:50 PM To: Marco Elver Cc: Dmitry Vyukov ; sgrover@codeaurora.org; = kasan-dev ; LKML = ; Paul E. McKenney = ; Will Deacon ; Andrea = Parri ; Alan Stern Subject: Re: KCSAN Support on ARM64 Kernel On Mon, Oct 14, 2019 at 11:09:40AM +0200, Marco Elver wrote: > On Mon, 14 Oct 2019 at 10:40, Dmitry Vyukov = wrote: > > > > On Mon, Oct 14, 2019 at 7:11 AM wrote: > > > > > > Hi Dmitry, > > > > > > I am from Qualcomm Linux Security Team, just going through KCSAN=20 > > > and found that there was a thread for arm64 support=20 > > > (https://lkml.org/lkml/2019/9/20/804). > > > > > > Can you please tell me if KCSAN is supported on ARM64 now? Can I=20 > > > just rebase the KCSAN branch on top of our let=E2=80=99s say = android=20 > > > mainline kernel, enable the config and run syzkaller on that for=20 > > > finding race conditions? > > > > > > It would be very helpful if you reply, we want to setup this for=20 > > > finding issues on our proprietary modules that are not part of=20 > > > kernel mainline. > > > > > > Regards, > > > > > > Sachin Grover > > > > +more people re KCSAN on ARM64 >=20 > KCSAN does not yet have ARM64 support. Once it's upstream, I would=20 > expect that Mark's patches (from repo linked in LKML thread) will just = > cleanly apply to enable ARM64 support. Once the core kcsan bits are ready, I'll rebase the arm64 patch atop. I'm expecting some things to change as part of review, so it'd be great = to see that posted ASAP. For arm64 I'm not expecting major changes (other than those necessary to = handle the arm64 atomic rework that went in to v5.4-rc1) FWIW, I was able to run Syzkaller atop of my arm64/kcsan branch, but = it's very noisy as it has none of the core fixes. Thanks, Mark.