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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1AC69C001DE for ; Tue, 15 Aug 2023 17:02:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc: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=x/AJ+9Vqw9GCUuHRcxN7PJZt2P1raa5yvjnD5vkLv94=; b=HjE4N7MdR578wV Po346BWa9iMb/CyylA4coRtyOD92zgkgC9YXk70RwcoTY7YLIpDmwkrHP3tUrOOykvc4L2nqL8WnN dLpyoCyQmbvH87UNvFchknsKrCskAzoxIFfeiX9ygsFOlO2Gisj7DTfX5Ih/ocdneCkN9wrtfKckV QQT3xHbf9Q7fK4TGw6AqIFNUrl1aYrFTgMDCx6pF+npp74+upCPYYTP70xOb+6nzprwbLET7d0i34 LiZ7IHGDPOX0f8wJf/Bxamytl/DCZdT00JIbeFBInBxoBBcX0vnSP9RHdnhUtGwUzetLhPXsow3cV e5AzX2LdZDgZuYhb64/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVxQm-00229z-2U; Tue, 15 Aug 2023 17:02:09 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVxQk-00229Y-1c for linux-arm-kernel@lists.infradead.org; Tue, 15 Aug 2023 17:02:07 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0CEA961646; Tue, 15 Aug 2023 17:02:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDA68C433C7; Tue, 15 Aug 2023 17:02:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692118924; bh=r9KZfoAmpLHh60UciV5nylVVLkX7ks9J5Cw/wgBs6bw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ow3YXSqMksDmaueAVNUM5WBG5xKeQfFxfA2pH0oD3F3PvzxmMy6ICbHq6ZzgWRWGK aWiZcvJDavt+UHR9txOSRokZGJD9qnwxvM+4LGry273QbcF13RARMuqN/EpldDPYDz i0ZsYWxjZmeSzflU80014K/dHCmsJDX9fy9KMyTwcG/Vjl3cE75GCUZbpKO87T62yC 3Bi7Za/j8N56fcVheaxGJPTdawjHf/fmoUf7FcSiHoSNE7yeJUf+tSLIC53h/zBXV4 9qetQIWqiAAyj3tjag/Z1MIK3/yq837XwlBfjKN5VylEFFKiQduQPdj5489SdaCf8g k6H7+xF9YjAsQ== Date: Tue, 15 Aug 2023 10:02:03 -0700 From: Jakub Kicinski To: Jiri Pirko Cc: Vadim Fedorenko , Arkadiusz Kubalewski , Jonathan Lemon , Paolo Abeni , Milena Olech , Michal Michalik , linux-arm-kernel@lists.infradead.org, poros@redhat.com, mschmidt@redhat.com, netdev@vger.kernel.org, linux-clk@vger.kernel.org, Bart Van Assche , intel-wired-lan@lists.osuosl.org Subject: Re: [PATCH net-next v4 0/9] Create common DPLL configuration API Message-ID: <20230815100203.4e45fc7e@kernel.org> In-Reply-To: References: <20230811200340.577359-1-vadim.fedorenko@linux.dev> <20230814194528.00baec23@kernel.org> <43395307-9d11-7905-0eec-0a4c1b1fc62a@linux.dev> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230815_100206_584144_CC4FADF1 X-CRM114-Status: GOOD ( 16.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Tue, 15 Aug 2023 13:52:10 +0200 Jiri Pirko wrote: > >> Feels like we're lacking tests here. Is there a common subset of > >> stuff we can expect reasonable devices to support? > >> Anything you used in development that can be turned into tests? > > > >Well, we were playing with the tool ynl/cli.py and it's stated in > >the cover letter. But needs proper hardware to run. I'm not sure > >we can easily create emulation device to run tests. > > Well, something like "dpllsim", similar to netdevsim would be certainly > possible, then you can use it to write selftests for the uapi testing. > But why don't we do that as a follow-up patchset? I was thinking about a test that can be run against real HW. Something that a new vendor implementing DPLL can run and validate that their implementation behaves as expected. And something that distributors and stable kernels could potentially use to validate the code still works. We don't have any well established user space to make use of this new functionality, there's high risk that drivers will invent their own ways of interpreting the API. Perhaps something that Red Hat could help with? I'm guessing you'd be writing test to validate this for RHEL, anyway? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel