From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6721AC433E0 for ; Fri, 26 Jun 2020 21:45:54 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA0302088E for ; Fri, 26 Jun 2020 21:45:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="V4+waQO8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA0302088E Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49tr6S0BPSzDr7N for ; Sat, 27 Jun 2020 07:45:52 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=google.com (client-ip=2607:f8b0:4864:20::644; helo=mail-pl1-x644.google.com; envelope-from=brendanhiggins@google.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=V4+waQO8; dkim-atps=neutral Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49tqcL3f01zDr4M for ; Sat, 27 Jun 2020 07:23:14 +1000 (AEST) Received: by mail-pl1-x644.google.com with SMTP id bh7so4703234plb.11 for ; Fri, 26 Jun 2020 14:23:14 -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=CvJoXjPb3PppSXrTvZvJe33y7yc/YsOEYDjM/f5h460=; b=V4+waQO8b0iUP2RZw/9wwuSg1yJTxiHT0OF4g7SF9fKIzoFlXU6ot0auFw3DJDBR0p MbiGN8aOp87G0zacaSAFT7QrcUII1OlL5ZJdBCNbrfDgLWo8Xo07JOjx5OykYTd3bbuF qDCxZQPmgDAryI5UWavy9oWaqjeoKgoMhzprLtGpkwY4B7WeL/Z145HYp+Rdd1SoD8c6 3BJH7MM784WaQY5yKAj70FP0deHmf6UKu+Ay4aV4LdsxdfEIupTDZoN+0XY1PELwlMmu hhn1UVkn6JRYANDcsLxYRtknIt/x4emnPr4cN4nzAKmjLtv5/apaBUms8FL3Yc4BwsJs H47A== 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=CvJoXjPb3PppSXrTvZvJe33y7yc/YsOEYDjM/f5h460=; b=jZaADU3vktxeo2T0YSi3k45dVS5hrQaoLIXkZdU1ul7rpHAGJJ/4Tf6t06EoLPF8lP CXIYHVm55UONdGzf3+3k2/SQNz0EbaJzB+DSPaXhDTfzg03MwjR2XAPWL7MamJAAEi+Y pj9l8hcFkoXDefTjilhq4yACd5Z13EigD+ZT/KOxk4lE/M7sq9Ilnonrxc3yy/5Rkp6j UJPrnA9hELq/SrnM4Rrg8Hn9kLeJ84AAaSj+63V1Z6If0DDLBf4ufy7uuyfInb9PLDjM HsJLhVrfPrbW8YJ9fUEvpUj2Y2cWXRNdfSEPsR51FystzpDV7UIIPqrWPDS5vFhZpX07 1xEg== X-Gm-Message-State: AOAM532OOqArGL2ADGkix4X8Klr6WrFSEPTWCUda1wUZk1B9JZ4mCAwJ gGXZIhUSc68MJIqpIpgB248Q5eydkTF0qcDEF/Gltg== X-Google-Smtp-Source: ABdhPJwAirQYhcHGLt1+JjXg5NVX+m/8Nr12fmbDVwUgoHtdJsK/GnGlRIvrgvOirMw8ViXfV6UFbIIy77mdcmwl2RU= X-Received: by 2002:a17:90a:6ac8:: with SMTP id b8mr5607777pjm.217.1593206591785; Fri, 26 Jun 2020 14:23:11 -0700 (PDT) MIME-Version: 1.0 References: <20200626210917.358969-1-brendanhiggins@google.com> <20200626210917.358969-3-brendanhiggins@google.com> <202006261420.02E8E62@keescook> In-Reply-To: <202006261420.02E8E62@keescook> From: Brendan Higgins Date: Fri, 26 Jun 2020 14:23:00 -0700 Message-ID: Subject: Re: [PATCH v5 02/12] arch: arm64: add linker section for KUnit test suites To: Kees Cook Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:DOCUMENTATION" , catalin.marinas@arm.com, jcmvbkbc@gmail.com, will@kernel.org, paulus@samba.org, "open list:KERNEL SELFTEST FRAMEWORK" , Frank Rowand , Anton Ivanov , linux-arch@vger.kernel.org, Richard Weinberger , rppt@linux.ibm.com, Iurii Zaikin , linux-xtensa@linux-xtensa.org, Arnd Bergmann , Jeff Dike , linux-um , linuxppc-dev@lists.ozlabs.org, David Gow , Shuah Khan , Linux ARM , KUnit Development , chris@zankel.net, monstr@monstr.eu, Stephen Boyd , Greg KH , Linux Kernel Mailing List , Luis Chamberlain , Alan Maguire , Andrew Morton , Logan Gunthorpe Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Jun 26, 2020 at 2:20 PM Kees Cook wrote: > > On Fri, Jun 26, 2020 at 02:09:07PM -0700, Brendan Higgins wrote: > > Add a linker section to arm64 where KUnit can put references to its test > > suites. This patch is an early step in transitioning to dispatching all > > KUnit tests from a centralized executor rather than having each as its > > own separate late_initcall. > > > > Signed-off-by: Brendan Higgins > > --- > > arch/arm64/kernel/vmlinux.lds.S | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S > > index 6827da7f3aa54..a1cae9cc655d7 100644 > > --- a/arch/arm64/kernel/vmlinux.lds.S > > +++ b/arch/arm64/kernel/vmlinux.lds.S > > @@ -181,6 +181,9 @@ SECTIONS > > INIT_RAM_FS > > *(.init.rodata.* .init.bss) /* from the EFI stub */ > > } > > + .kunit_test_suites : { > > + KUNIT_TEST_SUITES > > + } > > See my reply to 01/12. Then this patch can be dropped. :) Sweet, presumably this one and others. > > .exit.data : { > > EXIT_DATA > > } > > -- > > 2.27.0.212.ge8ba1cc988-goog > > > > -- > Kees Cook