Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp434029ybm; Tue, 26 May 2020 22:10:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT7qz6zX4vHB5jgeHXjPqvwfaq6QI49BO2XoQWmVWhZd3B6XplFvFSnxFbhnX++4EGY44K X-Received: by 2002:a17:906:7d91:: with SMTP id v17mr4260216ejo.463.1590556225534; Tue, 26 May 2020 22:10:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590556225; cv=none; d=google.com; s=arc-20160816; b=RDR/gzI+Yiawqwgisvg6ff5MJ6vNjQH1RPULCLmzbXEL5mtmsKlSMVgOHK/+Y0jdaQ p2SqWcSBDLqyblPF2hCTN9aGC+XS6PWoxjwyeVO3m3tK5igo4I8Q+0C50USKTdUQN3M0 /qkZUNU/GsYzI9ZuOLunXYSzwj/0tBvSYlf+GrrBxVUbru4opvcFa7r265ayO+XJejcG BEtNgAg/EiYQTzFUj6KSeWrXRIvI+KSWRDgdcza7LBXyfIav1+FV2YVbZ9zDDl0YGgxz HJYa3989aMgoxw5yn5k7lCY3EcyHikG81t7bJtqkW6A+a9AiTHct6ZCse0MlB87flyPc rPfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LaRXr+sBaHv3EXaCNPBVevZdSo0W53kZX/a6MHQcNAw=; b=fMWNlQ7RLMeTPwzgOu1ZBHKUsARMaUaQG72Frhc4kQvPEgOw9ylEhk7UdnChr18Q3s Gu+ulEXjb01cYIiKZHrJSC6P/9R2V+D5/ElJfE/GipnuvSBTHe1WOMRMm9n/iOWWTH/i GSkY5Sd81eDZ6nhtvI2b993mq3dqVBtugucJX/azurz8MUBpwQcaDOcOkTXxZfabdxHj rHbkVTjtHHq093ZvdPcSayF89Z2VUZmIG+V/QJ5UlOXnXUxe5JIj5ueBQd8FKwBa8Fuk GQkw9KTGuIRumBRnFdMPgeOdJLLIBxlWlajNEtfExZYQKTjoQITjq9UPGA2GhdhovDGj KJPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="taXQRZ/f"; 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 i11si1137844ejr.28.2020.05.26.22.10.02; Tue, 26 May 2020 22:10:25 -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="taXQRZ/f"; 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 S1728239AbgE0CvH (ORCPT + 99 others); Tue, 26 May 2020 22:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgE0CvH (ORCPT ); Tue, 26 May 2020 22:51:07 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04783C061A0F for ; Tue, 26 May 2020 19:51:07 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id k26so1112487wmi.4 for ; Tue, 26 May 2020 19:51:06 -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; bh=LaRXr+sBaHv3EXaCNPBVevZdSo0W53kZX/a6MHQcNAw=; b=taXQRZ/fukL/Xp/nEBmp4FkEAWeFNEOYvkZ+XKF6Qw1gcNsYrGoEOuQ4Dc7A5FiVx4 uQYP8l3qhuuPlz09vw9kALkhk6K6btuipVqh6XSp8GqCsHKX71CAN8BBhrNG5SFhV9ZY 2kwBiEVk4aMd4yVi7VXSOsTIYofB1HMvrXLd4oHLxX8IQayIfoA61G5c8czFEKTIBoUB ESZMWBCGXuxpKQKHYqYcox+TcvoTVK7/dZrO6Gb7AODIrS+nIPwskZMWr8in+Mva4Pz8 ToXXxJxO99AB7mbbBl2YhDOgBadREX9QBSqy+fl1ZbwOG2M+OVEHopnOaEMxlCDgRpTE /Dwg== 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; bh=LaRXr+sBaHv3EXaCNPBVevZdSo0W53kZX/a6MHQcNAw=; b=pIqw03M9s3OKPFdMG0pkF5dZZskRC1yVmQU1+DLdKSLh0rs4JuhoVRBtggveYTZDO9 d4jsCHYHorFIPq0ZTb6enY6kmDkFqr17MbZ5c6EcC0gR5p2vK1qXwoP4b8fsDyT9oyUU XLZ8Ygi4EfAO8f2ut72f7IdKG0pQEbRFNogZmtAHnglC/Ctf1syszNIpmu9wWnlp30/k 1lIfkRX0R2fSS8p5O18na9priOhI91K5+0/gBU9iAi8mcZYUuYSfG1Jzw8dUoz3gsI7f PmCHvbAZbWxVBBS2woSshjbJMN9RNzdT98yJiR9FN9jsDLbathZWNdEVX0SbN+Qu/qzP FOBQ== X-Gm-Message-State: AOAM531OBFZ857ajy0IkRJ+zg2C6Gwg4aLrHQMWobu1wrFByF31vhaY9 NwCakqvoj7pH2wQzvdIAP/+pn4NcLWZWbihB1rl7SA== X-Received: by 2002:a05:600c:34e:: with SMTP id u14mr2056425wmd.16.1590547865534; Tue, 26 May 2020 19:51:05 -0700 (PDT) MIME-Version: 1.0 References: <20200424061342.212535-1-davidgow@google.com> <26d96fb9-392b-3b20-b689-7bc2c6819e7b@kernel.org> In-Reply-To: <26d96fb9-392b-3b20-b689-7bc2c6819e7b@kernel.org> From: David Gow Date: Wed, 27 May 2020 10:50:53 +0800 Message-ID: Subject: Re: [PATCH v7 0/5] KUnit-KASAN Integration To: shuah Cc: Alan Maguire , Brendan Higgins , Patricia Alfonso , Andrey Ryabinin , Dmitry Vyukov , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Linux Kernel Mailing List , kasan-dev , KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 23, 2020 at 6:30 AM shuah wrote: > > On 5/3/20 4:09 AM, Alan Maguire wrote: > > On Thu, 23 Apr 2020, David Gow wrote: > > > >> This patchset contains everything needed to integrate KASAN and KUnit. > >> > >> KUnit will be able to: > >> (1) Fail tests when an unexpected KASAN error occurs > >> (2) Pass tests when an expected KASAN error occurs > >> > >> Convert KASAN tests to KUnit with the exception of copy_user_test > >> because KUnit is unable to test those. > >> > >> Add documentation on how to run the KASAN tests with KUnit and what to > >> expect when running these tests. > >> > >> This patchset depends on: > >> - "[PATCH v3 kunit-next 0/2] kunit: extend kunit resources API" [1] > >> - "[PATCH v3 0/3] Fix some incompatibilites between KASAN and > >> FORTIFY_SOURCE" [2] > >> > >> Changes from v6: > >> - Rebased on top of kselftest/kunit > >> - Rebased on top of Daniel Axtens' fix for FORTIFY_SOURCE > >> incompatibilites [2] > >> - Removed a redundant report_enabled() check. > >> - Fixed some places with out of date Kconfig names in the > >> documentation. > >> > > > > Sorry for the delay in getting to this; I retested the > > series with the above patchsets pre-applied; all looks > > good now, thanks! Looks like Daniel's patchset has a v4 > > so I'm not sure if that will have implications for applying > > your changes on top of it (haven't tested it yet myself). > > > > For the series feel free to add > > > > Tested-by: Alan Maguire > > > > I'll try and take some time to review v7 shortly, but I wanted > > to confirm the issues I saw went away first in case you're > > blocked. The only remaining issue I see is that we'd need the > > named resource patchset to land first; it would be good > > to ensure the API it provides is solid so you won't need to > > respin. > > > > Thanks! > > > > Alan > > > >> Changes from v5: > >> - Split out the panic_on_warn changes to a separate patch. > >> - Fix documentation to fewer to the new Kconfig names. > >> - Fix some changes which were in the wrong patch. > >> - Rebase on top of kselftest/kunit (currently identical to 5.7-rc1) > >> > > > > Hi Brendan, > > Is this series ready to go inot Linux 5.8-rc1? Let me know. > Probably needs rebase on top of kselftest/kunit. I applied > patches from David and Vitor > > thanks, > -- Shuah > Hi Shuah, I think the only things holding this up are the missing dependencies: the "extend kunit resources API" patches[1] for KUnit (which look ready to me), and the "Fix some incompatibilities between KASAN and FORTIFY_SOURCE" changes[2] on the KASAN side (which also seem ready). This patchset may need a (likely rather trivial) rebase on top of whatever versions of those end up merged: I'm happy to do that if necessary. Cheers, -- David [1]: https://lore.kernel.org/linux-kselftest/1585313122-26441-1-git-send-email-alan.maguire@oracle.com/T/#t [2]: http://lkml.iu.edu/hypermail/linux/kernel/2004.3/00735.html