Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1753183ybt; Mon, 15 Jun 2020 08:32:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjsjF0bESROETaKiUvqhoK279sUhkx9jk+8b7eYWzjbTRtG9DQFWUFNNtftKecWwXqlG7d X-Received: by 2002:aa7:d9c6:: with SMTP id v6mr13498374eds.29.1592235176585; Mon, 15 Jun 2020 08:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592235176; cv=none; d=google.com; s=arc-20160816; b=SyRlGN/SUTfGWkmVP6EyvPq9XOt2GKZoL4v/QvUp3fenJvQ8WS5mdXMoh5oV1gAZUq BFXecZqw0GlO6HvAUqDuyHRC6xA5nccG9HTuPlTWhO0y/LG38bS84nnQ4n7hSaEHRIE5 X0KGG5krDs+g1UjS9PtOSQxY///r5txywW2B6ttc8eB3LHuYQQpap4qbDzY/BziNdm+H 5Y3Xj/ijfP0Z3zmjh4wKTgmsF+tmU+SxuyzNbAiq3tPimI77DBiS8rBmMKS+zV7yLeqr DoUKm0Nak87SZpGlrpjAQrgfp4TFcg4reiCxpaLXFkVv640rxw1JlUXby2ewOfn+lqSg dYbA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tWSA5FVA8bXyBwXd6vhDmVX7eTx9jTJK5LgJxK7Wee0=; b=T7qOG85fGlJGNJoGZfqRw9IXVvR4gLHsSkn3SSkOETKOII06WTcS6J4ayO27XwrVUS ScFdEtEesyEcppVmBwEK/9UJHfk2z6WsG20tKrxqWEwTxbxKZra9a2xY+0KgEsgUkOR3 ycYIcsrvTVU2Nq904fqtI/E0uKvW6rbct/aBs3RyTprajp15p/wv/ZQU6RaZAobH4jk4 4joaxIQkMClh/qCrBoPBo/LJzvidNghbImcGaH8YCXjdIzFcUNDaks2wy/TUtcAqdHAz BON2DBZldSFON7esX7fMHRpBdFG1AbFBIaL9yvnQT8tipHpXG3klPP9eHnK4XOmpoYxj Nv2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JPDq6iHl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si2868808eda.275.2020.06.15.08.32.33; Mon, 15 Jun 2020 08:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JPDq6iHl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729380AbgFOMaf (ORCPT + 99 others); Mon, 15 Jun 2020 08:30:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728285AbgFOMae (ORCPT ); Mon, 15 Jun 2020 08:30:34 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 905CCC061A0E for ; Mon, 15 Jun 2020 05:30:33 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id c194so15710622oig.5 for ; Mon, 15 Jun 2020 05:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=tWSA5FVA8bXyBwXd6vhDmVX7eTx9jTJK5LgJxK7Wee0=; b=JPDq6iHlIfTHgfcHNpDQZ4UfTO9p3TJfgidxLHwezLec/fXvvr8IdHp2qAkLjWUHMP 0F5gUcC6DrJAxt9prx3YsZA4gr2RWyWUGsqsm/0zBJWmtmpNphXrjvNKDe2QpvqbtDhG 9faYity0ydP/4dDaDPUYyqruFpsyKprCY3mKanf3nQD8um3anQnhfg/MhdAdOxMEBCYa STAQ4vFKBEhSl99H7sIi26naWIIfsf7+8tm45KeF1I4lApcuVJeYSRuG0GFuQTXi9cKj MCsv2maRiLZXaooQX1xbqUtyShfCso4xLrQ79wsPDBHTXKczBTDiGH+Y/Kw+DCLRGY+5 YY3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=tWSA5FVA8bXyBwXd6vhDmVX7eTx9jTJK5LgJxK7Wee0=; b=QRwME9welzxeCP2HBmSxnmNOJ++XS9PbJ1T6d/+hL8p96RPJ4qSz+G4Ff/qUTnQOXz WDXYT9Dxa0bgLsPF+gnYvLiYz2UwAUtW4VPOWQjINJ07dXZNkj6jUhqJwCHrtUzWzXpS 6I2g0Ejc/92evuND3Jpa6Yt36QOixI8VpfTVy3RvD1fpP+AnvvXCy48ijc1vYSk7EWXf 8GCseDAQRQcXdKTWog5+NSHFTRidqSs4N/tDyN3/EYC/01wM0rwRjGdYqOEcTJFZsLnc a6T3FMVf81edvdz7rzO3JEzobCdPRynb7qU8aGEIT1AHRbSQXyg+47kKDVbQ1uLTPQPB ySLg== X-Gm-Message-State: AOAM533RuuqsUmGqTjrIZXZMhkMINAEKHppo/gy2KkUacxXmd4+wANE6 DlBnCCy/nCt+sWL/jHYmMQgOExSlVur3sy8obPPRDQ== X-Received: by 2002:a05:6808:34f:: with SMTP id j15mr8820767oie.121.1592224232767; Mon, 15 Jun 2020 05:30:32 -0700 (PDT) MIME-Version: 1.0 References: <000001d5824d$c8b2a060$5a17e120$@codeaurora.org> <002801d58271$f5d01db0$e1705910$@codeaurora.org> In-Reply-To: From: Marco Elver Date: Mon, 15 Jun 2020 14:30:20 +0200 Message-ID: Subject: Re: KCSAN Support on ARM64 Kernel To: sgrover@codeaurora.org Cc: Dmitry Vyukov , kasan-dev , LKML , "Paul E. McKenney" , Andrea Parri , Alan Stern , Mark Rutland , Will Deacon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Oct 2019 at 11:31, Marco Elver wrote: > My plan was to send patches upstream within the month. [...] > On Mon, 14 Oct 2019 at 11:30, wrote: [...] > > When can we expect upstream of KCSAN on kernel mainline. Any timeline? [...] > > > > Can you please tell me if KCSAN is supported on ARM64 now? Can I ju= st rebase the KCSAN branch on top of our let=E2=80=99s say android mainline= kernel, enable the config and run syzkaller on that for finding race condi= tions? [...] > > KCSAN does not yet have ARM64 support. Once it's upstream, I would expe= ct that Mark's patches (from repo linked in LKML thread) will just cleanly = apply to enable ARM64 support. Just FYI, KCSAN is in mainline now. I believe porting it to other architectures has also become much simpler due to its reworked ONCE/atomic support relying on proper compiler instrumentation instead of other tricks. Thanks, -- Marco