Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp698240ybm; Thu, 28 May 2020 12:55:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4SCu4R2lvIDqyQxAubVFHBKjMX5GE0AooZz8iiKV6QGag45uJm6q1ARLiePiKN5PSs2AN X-Received: by 2002:a17:906:9243:: with SMTP id c3mr4583444ejx.400.1590695705831; Thu, 28 May 2020 12:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590695705; cv=none; d=google.com; s=arc-20160816; b=SRvpagjwQzCtm9CPyGjYGVXK408hxl8aD6GZlBNS6M7to+rwA50S9nDwm3YZ2TEOVT t5Qu/f1thjzvPOKbS3vwhLF7TQHKVh80409agJDkeEDbwZJWtz+C7iUBCjC/chEaimnQ MNI68p9jP6oPu/3Y8S5hn5TYf322Wtg+/cHSNNgZmnw6ire1qVhCf3jLSccszhAKuSPp YiwmMppnhwFGZOizKmHXFEHmYkTGqAxPpqLzo3bIruu69z7rwu1r9IIV7J8yhADsqFJm i6ebc50HvSVqasLAtAB19x8rZl5xAKsd/JDPflh8rduqUtgIGIvMowFqR8tJYYcJSNdP +K2w== 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=WYeCBR8WcHvQvd56ESdKiIjSS5Wn/icLWSDDTkY8XKE=; b=ZB9Lq5XCSsNQ3DB73bejWCfiRR1m7e2MAfAECj1yPnWRxf3174scuc0nArmtyizM4z rT+cF64BEEnEdJhTpDaVlIZTNkD1pnlQPgR0ack/sYycTwTJ9soJlUhzeA4Yjdskx/j6 v+kUzOXF24f2s6ZzPuqh6PphLm426vcaPKzjmQItApfHHA+lvAetVgAVZrR9h49/QC8g y3DD1Hn4s6zFh49S35NUpiU2srSG5amx32oDuk4XhtFs4rbzhMVfxBvRCBFHI36pAnqL n9VcIenQJeAryAluww7PlpfHKLzDuagnhPiAUGuuDxvTomVpSBBxhD/73dHRoNWdLnDi +VXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="ijypAQ4/"; 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 p23si4448862edm.278.2020.05.28.12.54.41; Thu, 28 May 2020 12:55:05 -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="ijypAQ4/"; 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 S2406811AbgE1Twc (ORCPT + 99 others); Thu, 28 May 2020 15:52:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406777AbgE1Twa (ORCPT ); Thu, 28 May 2020 15:52:30 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3619C08C5C6 for ; Thu, 28 May 2020 12:52:29 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id z26so14090037pfk.12 for ; Thu, 28 May 2020 12:52:29 -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=WYeCBR8WcHvQvd56ESdKiIjSS5Wn/icLWSDDTkY8XKE=; b=ijypAQ4/yyd1YirR5cHvOXLAjtgHARrUwzdEYMBVk/zH9yyhDrXNxt/299kmAjJvgy SJ07l+qlPgfprRo2yjMg4EpIOKlrVaXPIce4XXSXuCYrSTJxudxY7HalbqjLWvJOzthb XQbf2Nd3AtptJKIwZnyE+Xjl5ujg3RfXFNGfWh3n577xAWG4fD2HjUxzUCEnDQy6BBya yyY8vJjW5rpVoCfCDunVQxFmwiuKQ5dtZIAjCU4rFhMPFAR0gJU+sFWO3YM1hjk4u89B VOREz8CxXA/efyohLyhBHxuUEJ6zYdcxW3Gjv1StwI0TyrA4QlqklUP7F6L4HDtLfFMH wFDA== 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=WYeCBR8WcHvQvd56ESdKiIjSS5Wn/icLWSDDTkY8XKE=; b=eTulfLKhhrgR+UndbX7GfRNnWJ1273GwoRzX1Pd3TH73ZkYfO4V+grZ220OtMcPjO0 T8EnUpBafoKtf3h8ZfRSoV22OHlqIP65ZRX2Vq7yWQs7Z4o0rxZmdFbKg0/8f45ubVzc MFkkWvgCkrEcL4NSINpyq/gGrJyjNPmsyt0r6vMLtNk4H+5gcCoFhv5Ur4PQwvXynVWM BdaVn8CyBNviVn/ef+1gVWzz/fie808HO08lkkuazOJGBT2b1WGtriob6Ed0JD+D40bX 9uYdy9a2Q/denob6NSXtzLmSoY62gy3iKZ7XmWUtjF58XNBr25EZ7qtFpwyyCDbYrK8i rwuQ== X-Gm-Message-State: AOAM532u45cMhz7Lt/yL4M9TdhSoLsk49wAleAtpSktOFr+uBqI/E/VK pmJ3CmilHXjd21ckeBNYY0vZh1cdxV8GuUSsv5lIUg== X-Received: by 2002:a63:d04b:: with SMTP id s11mr4435032pgi.384.1590695548943; Thu, 28 May 2020 12:52:28 -0700 (PDT) MIME-Version: 1.0 References: <20200424061342.212535-1-davidgow@google.com> <26d96fb9-392b-3b20-b689-7bc2c6819e7b@kernel.org> In-Reply-To: From: Brendan Higgins Date: Thu, 28 May 2020 12:52:17 -0700 Message-ID: Subject: Re: [PATCH v7 0/5] KUnit-KASAN Integration To: David Gow Cc: shuah , Alan Maguire , 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 Tue, May 26, 2020 at 7:51 PM David Gow wrote: > > 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 As David pointed out, this series is waiting on its dependencies. Sorry, I thought the "extend KUnit resources API" patchset was ready to go, but I realized I only gave a reviewed-by to one of the patches. Both have been reviewed now, but one patch needs a minor fix. As for other patches, the patches from David, Vitor, and Anders should cover everything. Thanks!