From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 A0463413D69 for ; Tue, 21 Jul 2026 22:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784672882; cv=none; b=k4VXnnw0p92tDPkHDTSKwyXDISuisKfgtbBy9a3aWE2agOQeANVxZ7ciu5JqghcF4Jx97xM06EZ96EBlzwBV93AfA+1YpCCb44Ocrt766wh2BPY1BDS/oxRKQyDT6aXLFKn1NGVVo9uwO+9m/Uy8gwUSQAZYgMnV3qLLnuDlCVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784672882; c=relaxed/simple; bh=AiL273mSE4gg9a3rOKpInyl33G7+dlhsLzpFmrnkztE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YvGfGhKCtycGYeRaCt0+o5oF7jqtOlx+E1r6EtXegG9zg4d4X80xCDsc7xIOJCgdhxku3wHZ/dgtEX3tD6VOcXLgMB4DpR0QO6mTHfITRp4TplqsqC9uT7fiaYLwGEXD4B9w8tsvjiEj1rHFIyScZxdcaDEgirDIxRDgrY0/ZYA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=CVciH6m9; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=CIF8Qka3; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CVciH6m9"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="CIF8Qka3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1784672879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yt36Kd3pJoDwA98nx3FwkXQgd23O8Obc951fqCUv4hA=; b=CVciH6m9NmAUUU2bArxVG3Z1UWv/2K9XHheEaTWfYC0hiI8Beybqb+GYl9pDa86F0dL0fe zmrYTyANfY5KGmxt+vzAYcrhAVd5SiIKjxtYOujD/S0XzOu3G5lCDFuB7Ql/d4fqhZi4RG +gsgH/Gs3DlQ6AZA59PclGLeXAsQLxE= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-629-qP8udH37M6m5CzWrBMiRAw-1; Tue, 21 Jul 2026 18:27:58 -0400 X-MC-Unique: qP8udH37M6m5CzWrBMiRAw-1 X-Mimecast-MFC-AGG-ID: qP8udH37M6m5CzWrBMiRAw_1784672878 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-51c0e702df8so175866801cf.2 for ; Tue, 21 Jul 2026 15:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1784672878; x=1785277678; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Yt36Kd3pJoDwA98nx3FwkXQgd23O8Obc951fqCUv4hA=; b=CIF8Qka3NL53C4uMfi62eYlWFmp9gPVWV/UaBV7z3I55PDtxwVVMU42+T8lJcBUXvb Re4uptBFBttMq/1BhoT7EBFtW3icg4UmckYbDzUvpGAxkIgF2FZfoVtncDfKakhK3Zr8 7GHKoOLmYbpKEHKPn3H6c1OH7ZlFsyYSzITjiqlnoho0iUVqtU6sWDlkTCcPdFjpgqGS b60q0pgFJUNsDQL9fEfZAsXyCsyNWwbhcuLBZNCzr7pLIeWwqjBCxsg9lWgOWuInS5x1 Mqh9xXiunUQMo13dTzGlMh36UWrb0Nqd/jFXWkMY0mkJ+MbC6QxltoWblJufwqdh+CO5 CXoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784672878; x=1785277678; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Yt36Kd3pJoDwA98nx3FwkXQgd23O8Obc951fqCUv4hA=; b=YYrifKNuOHtL27RBtVtg/AXwbmg4dohoCEGYTZPxEqC5S9QfE4yx0stF1HdzWV0yM1 bKDYxzN8YDVhXuxdKBN87mAkTKMf4J7CCIjwyuadO9yUfgo766HFHV6LBvHc55kciTTz VAAx/DQx7vbkUP1k0WCr7PSi59BIQNzO4wJu1em2wVS3+P8fuqIPB50H7wSB/rIsVfmN aPBVTc5ekinlKv0UJzBvYehzhyD8UNABz0AVTsq9ZaRJoZlL83K89tEVysXJuIf0mlkr 6ldIXE8+3Oy+CdAkY3aoRxDGQG8XwwbBohdmn3/P3cmcUDLfeaS2R0RyhYKbb6SE7xSH FCLg== X-Forwarded-Encrypted: i=1; AHgh+RpVV3u6GvCGjcWJGI4Kuozagfhz7uN25H4wEVv70xtkhMH62oKrKqdl3eKP1ywzCeHFYvzEdHXuX/cDjl8=@vger.kernel.org X-Gm-Message-State: AOJu0Yyac9SE4+6y7+Vp3bNDVocG4110BesEqZW5pPrPoc7fR7p/S6Bu OfSpoZ2fTDVC3iECTfn2EcdWupurmBbS6l3k248ukHSzhptOpe3RXFzTKkyDqpd3J7styiwpy21 DNfVpaS9HQ4ZL/uXMAYo1Zhw1xuKfTaRejcvPnm8cr6s6GBklO4BUzgGg73GzNPiREA== X-Gm-Gg: AfdE7cnOcQ5/7/CWW6n6YOXKSKh+WJTDJpyTrvkrdUSli1zfKlzJ1AHEYng8jDCPtcA dZ+PW4hkUTuBVEDfSaTuXBp+p5PPkccw3/ay9kOxNaEVte58y+LvJavl1bw7d3Ez7MJQcnJA5FS 2OhkaEpYKwh6rF5v6Xqq4bpglADOYW5MUn7mE0VAlhYv92N45uetJsiMuiFglM3w6/E48N3TfH7 O6I2gJh2sf2zKGf8sLAzCBt5elZvqA4fprkz2NtsucHZlU0a68QyevxXjAx94NIaUyJGcYigXpq 8lmJoxoIHq6HE68QngflZrsyZiBgQGaS8SwiNpm0GxsnRYF1UE7QbfDo/vPgfLZN4iO101QMu2D CatSuyF7K6gyVTlKl61BJdORXicN7DYySDKM= X-Received: by 2002:a05:622a:110c:b0:51c:167d:b346 with SMTP id d75a77b69052e-5213c5f3a9emr187338731cf.23.1784672877816; Tue, 21 Jul 2026 15:27:57 -0700 (PDT) X-Received: by 2002:a05:622a:110c:b0:51c:167d:b346 with SMTP id d75a77b69052e-5213c5f3a9emr187338451cf.23.1784672877293; Tue, 21 Jul 2026 15:27:57 -0700 (PDT) Received: from redhat.com (c-73-183-53-213.hsd1.pa.comcast.net. [73.183.53.213]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-527d3a47ee2sm3811811cf.26.2026.07.21.15.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2026 15:27:56 -0700 (PDT) Date: Tue, 21 Jul 2026 18:27:54 -0400 From: Brian Masney To: "Miquel Raynal (Schneider Electric)" Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Brendan Higgins , David Gow , Rae Moar , Thomas Petazzoni , Pascal EBERHARD , Wolfram Sang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com Subject: Re: [PATCH v4 2/7] clk: tests: Add clk_parse_clkspec() Kunit testing Message-ID: References: <20260717-schneider-v7-2-rc1-eip201-upstream-v4-0-751547e160e5@bootlin.com> <20260717-schneider-v7-2-rc1-eip201-upstream-v4-2-751547e160e5@bootlin.com> 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: <20260717-schneider-v7-2-rc1-eip201-upstream-v4-2-751547e160e5@bootlin.com> User-Agent: Mutt/2.4.0 (2026-06-19) On Fri, Jul 17, 2026 at 05:59:18PM +0200, Miquel Raynal (Schneider Electric) wrote: > Create a new set of kunit tests to make sure clk_parse_clkspec() is > working as expected. We currently verify if we get a proper device when > using indexes and names. If we make an out of bounds request we expect > an error. > > For testing purposes, we must ensure of_clk_get_hw()'s symbol is > exported. > > Suggested-by: Stephen Boyd > Signed-off-by: Miquel Raynal (Schneider Electric) Reviewed-by: Brian Masney