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 D95B8C761A6 for ; Sat, 18 Mar 2023 05:02:53 +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=mGOXQJQNqnexRN/VRuJEURO1QFp2TzExwea15eKOXDw=; b=uMG3qPut5PY43s YJsvdbu/FV6RltBZHltS34PmgSskNUO16nZQXuM7PLy+B94WIAyJPK15Y1Icv46cQ4ic/91yHq8sv mKc3z3Ina3u6iM7JRsWO36qE+97RSow11qcvciOcvE8ixvrLAbLVpKzWjzVLkoAtyLssLLFJqXsLE UCqycxPJoI+j+n0FG2ARWDYKK57Reo8KhU4ka93+ddkGVZWm+uV4B+FvtggE2pjuxirqdkaQ9xWfg vwV19H4RvRc4+Qsy6nkcS2wXJkfhse8BhAbYBoH6x+i1An1ltx+pqQFIBT4Y/Wb2fAjOaT2izBEBz H2z0jlAvBFNoCUL3nCwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pdOhY-0048mH-0S; Sat, 18 Mar 2023 05:01:56 +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 1pdOhV-0048ki-0D for linux-arm-kernel@lists.infradead.org; Sat, 18 Mar 2023 05:01:54 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D914760A47; Sat, 18 Mar 2023 05:01:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB78EC433EF; Sat, 18 Mar 2023 05:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679115711; bh=PxRIo0A7tcGbDa1aanq/YotvsdvguxNkjmPcdBjdkOg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=owddyFk0m4sPaEwZF9bUd2HEbdOWAOuY2XplpNs8Q/BMOdQjDMkA+WbQptYuTucWE vvPQIbuFUtw6d2ulFT6brKULK/8IrybBLiblYipz6PY3zroDHybU11580QRrFdyy5R 67ik/Pi8eiJH1lN0Rs6L6G8l13iPOrRNRpCvscCpaYuYmA69a0CeaZmii3HWSpnL24 sAfqVOfcoh4Mt1O0K9ZAvd7ZvMHTvD1SVWBd8z7vIv7yjhc3ntYzzAe/BbBvVLUW+z dg6iJgfv/pEMaXAWyNQsu0A4SiSD6UiOcgAsxZgEQkoJcpDlQCFH8kwtp3bBfP1ol6 swGv3j/psGing== Date: Fri, 17 Mar 2023 22:01:49 -0700 From: Jakub Kicinski To: Jiri Pirko Cc: Vadim Fedorenko , Vadim Fedorenko , Arkadiusz Kubalewski , Jonathan Lemon , Paolo Abeni , poros@redhat.com, mschmidt@redhat.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH RFC v6 0/6] Create common DPLL/clock configuration API Message-ID: <20230317220149.643b6d8f@kernel.org> In-Reply-To: References: <20230312022807.278528-1-vadfed@meta.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230317_220153_165466_662D1DCD X-CRM114-Status: GOOD ( 11.58 ) 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 Fri, 17 Mar 2023 17:10:04 +0100 Jiri Pirko wrote: > Interesting, is this working for you? > I'm experiencing some issue with cmd value. Example: > ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/dpll.yaml --do device-get --json '{"id": 0}' > this should send DPLL_CMD_DEVICE_GET which is 1. > In kernel genl_family_rcv_msg() the hdr->cmd is 2 > Any idea what might be wrong? I changed the default value for the first element of an attribute set from 0 to 1 to avoid having to add all those (pointless?) + - + name: unspec + doc: unspecified value at the start. So delete those or explicitly set them to value: 0. See commit ad4fafcde5bc ("tools: ynl: use 1 as the default for first entry in attrs/ops"). _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel