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=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 6E3ACC433E0 for ; Fri, 26 Jun 2020 21:21:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B38D20B80 for ; Fri, 26 Jun 2020 21:21:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Nvb+ggfc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726093AbgFZVU7 (ORCPT ); Fri, 26 Jun 2020 17:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbgFZVU5 (ORCPT ); Fri, 26 Jun 2020 17:20:57 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4121C03E97E for ; Fri, 26 Jun 2020 14:20:57 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id b5so5147481pfp.9 for ; Fri, 26 Jun 2020 14:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3v+OF208XUrXXCW8iavBboKmEzUrVOLh/1qRIFYBNoU=; b=Nvb+ggfcnASyU5yhjpLMt6peljFaQfiHoHtcJLghh8SOevSBFghSaqeuZcJueBgfGg WZgC5DlW9UptaHMBha2Yi+d7BZxdIdIsRVIxr6sT/EGiBCa7riY2jk+3OoPm9Dm2cBgE Oe16AFCAHqXoIwIvcpbOh0WaehkQSk4CbVyto= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3v+OF208XUrXXCW8iavBboKmEzUrVOLh/1qRIFYBNoU=; b=n7jGEMPkNl6r9ktiZ8GginkaM6hcGTveU0GWxcG3A7lUn74cHOHpbNng5Vm6kwiQNH sswH4Hcjq24QEQbqLSSpO0SIVerYF1umEFTcJp5HU7/xOrrZPrLQRmKpxIz3EURY8Veu e1yVvVObHS0pR44ZTW3KzjL37aby6gIU1C1/gAx/6dYSdybDNHFZaxvRKRWAr3wx0S0H A/D4VfkT+UlVH5Rj7KvR8dRB67BEcELe0myXNUiEQ25phYy9A2aOl83s551c7ibKvDzA mA5wuW6f2IgYnOs2AD+OMhQyYMx1TCCs3uC6bb3a54SwjqjIOsanCLNhy9XHLKTZt6w0 Lalg== X-Gm-Message-State: AOAM530QGUYjtgk8PjRNiVPYKt4BMoHkgXxHcv3diJr5Y9VT8IVtcRQP ezlB16fIWlAK6n0GU3UdSs1L6g== X-Google-Smtp-Source: ABdhPJwbIChL+NPgK/ZZynTiHBVtRn0Pm3+yrJJiDfCLTGOFZovkou+N1wtQIeNq/GeuCZhx4HWPUQ== X-Received: by 2002:aa7:9e09:: with SMTP id y9mr4461464pfq.314.1593206457324; Fri, 26 Jun 2020 14:20:57 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id b71sm17221453pfb.125.2020.06.26.14.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 14:20:56 -0700 (PDT) Date: Fri, 26 Jun 2020 14:20:55 -0700 From: Kees Cook To: Brendan Higgins Cc: jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com, arnd@arndb.de, skhan@linuxfoundation.org, alan.maguire@oracle.com, yzaikin@google.com, davidgow@google.com, akpm@linux-foundation.org, rppt@linux.ibm.com, frowand.list@gmail.com, catalin.marinas@arm.com, will@kernel.org, monstr@monstr.eu, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, chris@zankel.net, jcmvbkbc@gmail.com, gregkh@linuxfoundation.org, sboyd@kernel.org, logang@deltatee.com, mcgrof@kernel.org, linux-um@lists.infradead.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-xtensa@linux-xtensa.org Subject: Re: [PATCH v5 02/12] arch: arm64: add linker section for KUnit test suites Message-ID: <202006261420.02E8E62@keescook> References: <20200626210917.358969-1-brendanhiggins@google.com> <20200626210917.358969-3-brendanhiggins@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626210917.358969-3-brendanhiggins@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. :) > .exit.data : { > EXIT_DATA > } > -- > 2.27.0.212.ge8ba1cc988-goog > -- Kees Cook 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_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS 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 6EF32C433DF for ; Fri, 26 Jun 2020 21:42:24 +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 1E74F2088E for ; Fri, 26 Jun 2020 21:42:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Nvb+ggfc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E74F2088E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org 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 49tr2Q1JxSzDqsm for ; Sat, 27 Jun 2020 07:42:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=chromium.org (client-ip=2607:f8b0:4864:20::442; helo=mail-pf1-x442.google.com; envelope-from=keescook@chromium.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Nvb+ggfc; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 49tqYl2GHHzDqkS for ; Sat, 27 Jun 2020 07:20:59 +1000 (AEST) Received: by mail-pf1-x442.google.com with SMTP id d66so5154664pfd.6 for ; Fri, 26 Jun 2020 14:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3v+OF208XUrXXCW8iavBboKmEzUrVOLh/1qRIFYBNoU=; b=Nvb+ggfcnASyU5yhjpLMt6peljFaQfiHoHtcJLghh8SOevSBFghSaqeuZcJueBgfGg WZgC5DlW9UptaHMBha2Yi+d7BZxdIdIsRVIxr6sT/EGiBCa7riY2jk+3OoPm9Dm2cBgE Oe16AFCAHqXoIwIvcpbOh0WaehkQSk4CbVyto= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3v+OF208XUrXXCW8iavBboKmEzUrVOLh/1qRIFYBNoU=; b=I3A4gi8OqGXmolxlZEp3QvAh1GPIOa2pNEME7VxvVznuQquY4nYaFxRMuvIAsIhaTK 6JJwx5lxbTxAR1UkI3vyxj3ZNGSf1RkUMIK98tiO8bBHnKiaRbadaiWA0b57x0ze+56n CVaI/66M4ftlj28pjLEBa8wDAG7IzgJbokbucTNl3qJaxnlyUY7ga5+I7DDEcPw28PvV jph914s9spEM9rJu+apjWFwz/eTwOvlGIT6MbdpMrASIlqeEoy+AhuTMPiW2SXkmC8Y+ GuNlQgtCuH2s9JaWtlhD564R2VUxwrsublxDLDtwEGBvjFqeHn1+2xwlYn4sekSPuAWB j1pQ== X-Gm-Message-State: AOAM533sYIXYeecW0MHTqA4CZFF0qivri890ITJJ65aA8nRY09cpqILq UTjAMq2nGqax0/c3a9RU5PMrwg== X-Google-Smtp-Source: ABdhPJwbIChL+NPgK/ZZynTiHBVtRn0Pm3+yrJJiDfCLTGOFZovkou+N1wtQIeNq/GeuCZhx4HWPUQ== X-Received: by 2002:aa7:9e09:: with SMTP id y9mr4461464pfq.314.1593206457324; Fri, 26 Jun 2020 14:20:57 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id b71sm17221453pfb.125.2020.06.26.14.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 14:20:56 -0700 (PDT) Date: Fri, 26 Jun 2020 14:20:55 -0700 From: Kees Cook To: Brendan Higgins Subject: Re: [PATCH v5 02/12] arch: arm64: add linker section for KUnit test suites Message-ID: <202006261420.02E8E62@keescook> References: <20200626210917.358969-1-brendanhiggins@google.com> <20200626210917.358969-3-brendanhiggins@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626210917.358969-3-brendanhiggins@google.com> 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: linux-doc@vger.kernel.org, catalin.marinas@arm.com, jcmvbkbc@gmail.com, will@kernel.org, paulus@samba.org, linux-kselftest@vger.kernel.org, frowand.list@gmail.com, anton.ivanov@cambridgegreys.com, linux-arch@vger.kernel.org, richard@nod.at, rppt@linux.ibm.com, yzaikin@google.com, linux-xtensa@linux-xtensa.org, arnd@arndb.de, jdike@addtoit.com, linux-um@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, davidgow@google.com, skhan@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, kunit-dev@googlegroups.com, chris@zankel.net, monstr@monstr.eu, sboyd@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, mcgrof@kernel.org, alan.maguire@oracle.com, akpm@linux-foundation.org, logang@deltatee.com Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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. :) > .exit.data : { > EXIT_DATA > } > -- > 2.27.0.212.ge8ba1cc988-goog > -- Kees Cook 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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 E6174C433E0 for ; Fri, 26 Jun 2020 21:22:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 B20C7206C3 for ; Fri, 26 Jun 2020 21:22:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ryBm61i5"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Nvb+ggfc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B20C7206C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xAVzmM2YyQxMaeNzQ5aqA80/VxyC+0fpwz0TFl19nz8=; b=ryBm61i5vrFHA7EvYQ/s5chA+ CftfTEeT9eI2/95/jJOzXpceH1P3P5w0e5eV/CF2gmQxseZXzqQnlU44CjwvCVESBwonToUeXb/OJ klsQ/+MlIS1I9d+OymNWvzfv4FCMC4OwKYWW+S6Q2N+c6JVE8T1ltvoXFvcynkJhBuGTEq8u+hvbl +rG8O9IpSu3LaThtDuR3aP6wipynOV+oFJF1TFGoYAVjH7WP5C1UWNCbqza95fFBF5EsAO7g/Ugvy Y7d5uQ/pO/awVKPpKSEfB7VfCZOPqkhZbHiH7mzK11KDZic0mNuKTQirkmR3DsZdH2WgBYXuMPhDa R52vaR0NA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jovmQ-00012E-3C; Fri, 26 Jun 2020 21:21:02 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jovmN-00011S-KA for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 21:21:00 +0000 Received: by mail-pf1-x444.google.com with SMTP id a127so5134991pfa.12 for ; Fri, 26 Jun 2020 14:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3v+OF208XUrXXCW8iavBboKmEzUrVOLh/1qRIFYBNoU=; b=Nvb+ggfcnASyU5yhjpLMt6peljFaQfiHoHtcJLghh8SOevSBFghSaqeuZcJueBgfGg WZgC5DlW9UptaHMBha2Yi+d7BZxdIdIsRVIxr6sT/EGiBCa7riY2jk+3OoPm9Dm2cBgE Oe16AFCAHqXoIwIvcpbOh0WaehkQSk4CbVyto= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3v+OF208XUrXXCW8iavBboKmEzUrVOLh/1qRIFYBNoU=; b=LmUU6zMeUcCEdaNFtmwAbve+qUuKMHqqspSFLrrBdM/lM2VJ1nN1TFgMw9+Nw/wLNN HPdSH6qOBArQKz5jQkXSdu793Y7PU9hqkyrxjg+PQMcby4co/Cv+sZSjynR4MNmWFdKa 1pfjfkYP3zPNrYeEx46P2DOBR8eao0hecWPKecYkWvL63xVqzb+r65+B2LSadpG1rLVA D/0dS+BKtbKL4wxz0I5hpInk3X/9pOX7ZfR2u/pPuof86GajFSqBYGSQSe8zlDtV0R// TfYOClvVfn9Okv8yxVO27vFQK43NOsl5ut0fsXTbGyMhJX8/TqMI3UrlEPVKiL2ztx63 4Myg== X-Gm-Message-State: AOAM532OzSxpjTapLbbu5NQ4SMOj+YdAuc2S0nhgX7onrTnptzyBb8RS /KFmPTxW4G1WM9CpJlwUP3V9Ww== X-Google-Smtp-Source: ABdhPJwbIChL+NPgK/ZZynTiHBVtRn0Pm3+yrJJiDfCLTGOFZovkou+N1wtQIeNq/GeuCZhx4HWPUQ== X-Received: by 2002:aa7:9e09:: with SMTP id y9mr4461464pfq.314.1593206457324; Fri, 26 Jun 2020 14:20:57 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id b71sm17221453pfb.125.2020.06.26.14.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 14:20:56 -0700 (PDT) Date: Fri, 26 Jun 2020 14:20:55 -0700 From: Kees Cook To: Brendan Higgins Subject: Re: [PATCH v5 02/12] arch: arm64: add linker section for KUnit test suites Message-ID: <202006261420.02E8E62@keescook> References: <20200626210917.358969-1-brendanhiggins@google.com> <20200626210917.358969-3-brendanhiggins@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200626210917.358969-3-brendanhiggins@google.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-doc@vger.kernel.org, catalin.marinas@arm.com, jcmvbkbc@gmail.com, will@kernel.org, paulus@samba.org, linux-kselftest@vger.kernel.org, frowand.list@gmail.com, anton.ivanov@cambridgegreys.com, linux-arch@vger.kernel.org, richard@nod.at, rppt@linux.ibm.com, benh@kernel.crashing.org, yzaikin@google.com, linux-xtensa@linux-xtensa.org, arnd@arndb.de, jdike@addtoit.com, linux-um@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, davidgow@google.com, skhan@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, kunit-dev@googlegroups.com, chris@zankel.net, monstr@monstr.eu, sboyd@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, mcgrof@kernel.org, alan.maguire@oracle.com, mpe@ellerman.id.au, akpm@linux-foundation.org, logang@deltatee.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. :) > .exit.data : { > EXIT_DATA > } > -- > 2.27.0.212.ge8ba1cc988-goog > -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel