Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3011335lqt; Tue, 23 Apr 2024 08:07:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUPIJ3dk6/GJumQCjFLCGupdAj7LFupIEj1CXE3ArB1FZUDP9SWcxnRYTUnBf6vH7j2/6sL0Zay4BfBDokkXRN2weKRhlT6hZ6btvf3Lg== X-Google-Smtp-Source: AGHT+IFBPmbAzvKYLiLBdFfyV+Jo2UFqjfAyl5ca2k0XKtmpVXj98R2h9DWsYIaOz/TpjTaBm+SE X-Received: by 2002:a05:6102:236a:b0:47b:bae8:8388 with SMTP id o10-20020a056102236a00b0047bbae88388mr10400209vsa.19.1713884861844; Tue, 23 Apr 2024 08:07:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713884861; cv=pass; d=google.com; s=arc-20160816; b=hC+cdwQHQyabJnYLjwrhXWWRt09/YuP9UyEr8F+wlk002QDa3D7yuzzzYmu1wq3rs2 LzlFFNQUc6gHsQ34JmWhyIHrJ7aongX3dlQw9dkG97fvnGZ1Rpq5okAHr/cLU1YMigly dHZTQm4CipEt/QMD6KFLFaOdot8WOEFuIpaXGqRxR5Ph1vEhtvVoZjwGFY4IXO3gLXMq MXwfutku36GIqfGEe0jlfO+6QoWy7OFsQVzHrWtspgy1ANQNPpC9iyxX2hFBrAQKd5DT Tj0x/DM/E0+JYI/cOrT7W+GhV4sFXsgDOnKQ428DTzDMjYpOxtBTXR77g+7xQQAoi0lD GBJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m7mrew85X+gUF22mKoFi/6b29w6ctYTJilNUMBm7vdY=; fh=I9lq4DznLWxUZgQHB9njfxKQ6r5JLIuVyh3fTPjMGuY=; b=tbDOB6L3A8OROkOstFrNo/fS5Q+8v+zF2sZNW3gLgZcXQmxy2YRqP5RercyvaKxupU yJtHvS+0IKote8h4DrWx9vem7EWHEnD3DM8+UwXRyFec+TAe69/XcokVURpzWHjxwYEQ B0lJX3PbEweTtWJl6XFIapWLtn6FkPVHjSVSb0miYd9OyRokc9WgYkOlJRfb+JDbZM9I ybOXQxrSAhU9yPMsIYGNKZpNE4S+9iaDC91zJ6hf44/fuyJf+gmSgQ47o3grobd1GRV+ zU0o3jAyavtAnpAkRnyw3c50ybj1P16ao34wnAAxTnlxFBgbl1DsLmAvJfMdAyoXNsI1 d9/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kQBQOBcU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-155426-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g8-20020a67fd48000000b0047830f1e6b6si1911855vsr.592.2024.04.23.08.07.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 08:07:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155426-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kQBQOBcU; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-155426-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C9411C223C8 for ; Tue, 23 Apr 2024 15:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B3D713BAEE; Tue, 23 Apr 2024 15:07:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kQBQOBcU" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65F8419BBA; Tue, 23 Apr 2024 15:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713884852; cv=none; b=aPHKOXAyU7YqbeSz8xD0f6Mqi7uGY1DRY9GGYWJ7TvpbsK/F/PitkrZ4eFNqRY4lEUKFPSTFP/BZ4wM/01bTuS90maQD1mc9kw39nIVqGzZhbv06b5v739VOJ5ZjG+jX4T99LnwmgAggs0bhWs6YOhlmu6rEWp/a+PAcfmTmsf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713884852; c=relaxed/simple; bh=AKBMobjYQ6x2TD8CDoee3DGcDXyOQQFoITtQ9pcukvM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H3JPs/I4dVDuIk1SXkIWbB+D+bEd+sBDylWj+taQY1OBcB54jzv0ohAHY7CF5K6i1Xp+K3Lzxd79+cO+qxLf4/J9O9cAqeyrHl12ElTw0cpgskJHYgyUEA6uxGlf6+qQPqjsCFaT/nMWZIwhDoWAyLildsgVNPqyJCBrZafeNYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kQBQOBcU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B495EC116B1; Tue, 23 Apr 2024 15:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713884850; bh=AKBMobjYQ6x2TD8CDoee3DGcDXyOQQFoITtQ9pcukvM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kQBQOBcUB6DxFRkYRr4oNjwNyRODpE0Md48n7Zb5oTuNNRbDZF1TEs9RIkhLA6W1l DSgBijpsweTdM2j/Dfr+WbeASNgDWuKI+e02uweWMyuuokfPMtmRWSNCJvydqf2WB7 eOIS0r7XygtdDHoNheYn+zXRtQLN+k9acEerv0Zu8DoXhV+BZbMJS7RrOcCblXz+ED N5KIIWqVP65av1QQnC2YMgPNcHG5Un82QZ7hF1amdgrDpC7Djd95mFyTridA8TUi0X 2sXEs3ag78ZSlhgUTRma6tbt7t/BuuBmUa3OBQiOisRU1iGBpa8Cvzux/5OwEmX2nR TFnYqAXwI1BfQ== Date: Tue, 23 Apr 2024 10:07:28 -0500 From: Rob Herring To: Stephen Boyd Cc: Michael Turquette , devicetree@vger.kernel.org, Rae Moar , patches@lists.linux.dev, kunit-dev@googlegroups.com, Brendan Higgins , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, David Gow , Greg Kroah-Hartman , linux-clk@vger.kernel.org, Daniel Latypov , Christian Marangi , linux-kselftest@vger.kernel.org, Krzysztof Kozlowski , Conor Dooley , Maxime Ripard , Saravana Kannan Subject: Re: [PATCH v4 04/10] of: Add a KUnit test for overlays and test managed APIs Message-ID: <171388483531.238610.10285255210612947227.robh@kernel.org> References: <20240422232404.213174-1-sboyd@kernel.org> <20240422232404.213174-5-sboyd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240422232404.213174-5-sboyd@kernel.org> On Mon, 22 Apr 2024 16:23:57 -0700, Stephen Boyd wrote: > Test the KUnit test managed overlay APIs. Confirm that platform devices > are created and destroyed properly. This provides us confidence that the > test managed APIs work correctly and can be relied upon to provide tests > with fake platform devices and device nodes via overlays compiled into > the kernel image. > > Cc: Rob Herring > Cc: Saravana Kannan > Cc: Daniel Latypov > Cc: Brendan Higgins > Cc: David Gow > Cc: Rae Moar > Signed-off-by: Stephen Boyd > --- > drivers/of/.kunitconfig | 1 + > drivers/of/Kconfig | 10 +++ > drivers/of/Makefile | 1 + > drivers/of/kunit_overlay_test.dtso | 9 +++ > drivers/of/overlay_test.c | 115 +++++++++++++++++++++++++++++ > 5 files changed, 136 insertions(+) > create mode 100644 drivers/of/kunit_overlay_test.dtso > create mode 100644 drivers/of/overlay_test.c > Reviewed-by: Rob Herring (Arm)