Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp710761lqt; Thu, 6 Jun 2024 16:52:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU/3ByPTUX5ab2Lk1+J6CMEK0wz5TKzo4d3ui5Tw4ATi+S2QDlOqSMn5t1c5PiglJRZOttDbu3jxVX2rXqWPjiA+whI4jQZWjlpdLjqeQ== X-Google-Smtp-Source: AGHT+IGxPA5PxOPgQ+Yg/Vb8aCL8GUJv61LfNt5y+COdqIYEIjbnjOOB0tiI82maF11eqLOMOUOv X-Received: by 2002:a17:902:e842:b0:1f3:2f9c:bb72 with SMTP id d9443c01a7336-1f6d010ac6dmr16785455ad.5.1717717950381; Thu, 06 Jun 2024 16:52:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717717950; cv=pass; d=google.com; s=arc-20160816; b=LGVUB7cxr9lDMNFGranrPJU3GYJp2GjrL+AnPN5eeW4HOoNfcW8Z627hsGnH9zcPt+ 3oso/tcIB7gvgniG/VXxQKZ2fgOGApvJR5V7r9UUdoX8PpuHjmVqEdNfcMzmoWtnmgPK MmY74RoENH2Qh5go9HXFVwNW9M/lp7K7eChIWC17z0EzA/ubFh32+tO165v/8zQUFkaX 19fLiQMo5VKg3OvBinKUUieyvY0cz4L8vAucjKFuAcRUqONDGUVsblJhfcz8N/CM4iT0 /708U/7lRIOKaqyX6iwUt+t8tiD1Hjc+2DxeNwFwWYS6QatueuiL51e9tUGLIUqKBaY8 PXnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:feedback-id:dkim-signature:dkim-signature; bh=sbGYsNm3EAX9zOM5lpa8OVKFNwjt6nSlwmTErxltP9E=; fh=5EQyDiYgg+kua2A2AF9eJME8jasrrRA/Pgg86y+lzvY=; b=zCEt8Chxq/Zv0nGwyl/KhA/BZUgScpOKtJRovgThb9kl++/ZmS3APe79bYpw6/D3LZ /O7JeYWNDLYnAU38b6Gy8ck3NufBCoyBEU/CFfyhPdfbCZcGJG6NWyIJCmT8u2jWBxWT fQXgcqcyy4AABhYSRaidTLrluxzo4Az1850ywCMlnxcr/2en1Nb49j9HMngtLnnVrmwH Fk0ijnVaR39M+inAbbM28Yyy9nXT2uOGYiqzFal4kzNXkaMb7jotHGzibN/Dmmf+alPP sgSklCnBhPSnz6lEEichmuE1KVGnjNFkLKqDL0QsrIaXYXJ33M3JbWqk+/Nel0vq2K5l +CoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm1 header.b=Ozhe14ne; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RvRJ654r; arc=pass (i=1 spf=pass spfdomain=sakamocchi.jp dkim=pass dkdomain=sakamocchi.jp dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=sakamocchi.jp); spf=pass (google.com: domain of linux-kernel+bounces-205169-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205169-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7d5de6si18675475ad.226.2024.06.06.16.52.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 16:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205169-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm1 header.b=Ozhe14ne; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RvRJ654r; arc=pass (i=1 spf=pass spfdomain=sakamocchi.jp dkim=pass dkdomain=sakamocchi.jp dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=sakamocchi.jp); spf=pass (google.com: domain of linux-kernel+bounces-205169-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205169-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B2CF1286A18 for ; Thu, 6 Jun 2024 23:51:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E945313F439; Thu, 6 Jun 2024 23:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="Ozhe14ne"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="RvRJ654r" Received: from wfhigh4-smtp.messagingengine.com (wfhigh4-smtp.messagingengine.com [64.147.123.155]) (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 03D1113DDCD for ; Thu, 6 Jun 2024 23:51:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717717901; cv=none; b=PIEuU//m2sLy2buvGNir1PGTXgx6czfg5+5W1dhE1LgpG2PMHWlMfMGgh+NQZ6rpMb9xxJA5pbhKLNQoUOFzDb/jZqswn49SM+nSEtDbB3gqilvhU+rUSSs5EUAIc10suUkEeDjP+KSLwf2MlC6crUHN2PtXogGvj14y1gVNci8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717717901; c=relaxed/simple; bh=ABohHHYnFGCHQQ0QDcs3l3ntJWi1Qy/K6W1Ae0bUfnA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lowSTWa8pJB9warlKWQNYAz7O3dKgNF8Iz+nXmg9Fe1BKlO8UzYDUprg+t08hGpOBiN6gyhyMAcYyWBb2ryNCsAIKOb6GfnZE88MOd1kHt6MaLvd/glOg8zbQ93LGIDMpADBDRQ1AIh7n+KYJNoPsdDHHdmkD8psRK68UJXLnZQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp; spf=pass smtp.mailfrom=sakamocchi.jp; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b=Ozhe14ne; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=RvRJ654r; arc=none smtp.client-ip=64.147.123.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 16A3E18000BD; Thu, 6 Jun 2024 19:51:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 06 Jun 2024 19:51:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1717717898; x=1717804298; bh=sbGYsNm3EA X9zOM5lpa8OVKFNwjt6nSlwmTErxltP9E=; b=Ozhe14neVtqdfE6HxMlDBpme2t UspFX9oV4hSNMM0iQQSFkP3I45hz/GoFbe/L06h7uA361EtLf3YvYQKY2kadm/hH mnY9gG0/jkpy41NIpyTJYfSp9AfoCTIEE8VbeoumvMO397LVooDXFiAiJX9Ju1Rz DyJ6l+XxcZWuDZKNn8RDoHHnI3mR7qQMQWp5FpKMhreHwwOzEXKax7YFZEqtfy7H b7xr4oq2/5MwCe2RmRL826COYtiHU8PFJeOzPFV0aR/3i80C0SiGwwaFcMKbbq32 OOxtk5FdH1lZfJsalpF5hQ9h2QwcJNPH8Cfgi0H8H6TwQUC4/CSWn+UAQl/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1717717898; x=1717804298; bh=sbGYsNm3EAX9zOM5lpa8OVKFNwjt 6nSlwmTErxltP9E=; b=RvRJ654rPuK4cXr1gcIE9Bpf7/rmZ0CqUfL+mnVxSwQQ DfWi1pj/2P7d7BRmkqWvtHkx0LejkYXUVSUcYIKQMNjjUqIbyA23FUhfB257/ui3 pG+FBiCjewuDM4skM91/hP1JqHCmZ6NuDnvZPDlt8a5ilG4YiQMrX87VYkGSfy12 sWfZiMacavcE2IX2LO7IYIdMzH/+G8VFKhBtoHE0FFgKkxApE/WmU82TWEI/cvw5 jyZe4NVVzMJZTnoD6y+3d83uadXkJNqhVZWzgQGvMkTgX5ueDliUxuxFSuiU8w3R Ax92SLexaIuT9jtdqrdD00WNRf2fWBBrglwvzwCb2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelledgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghkrghs hhhisehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpeffvdeuleffve ekudfhteejudffgefhtedtgfeutdfgvdfgueefudehveehveekkeenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrghkrghshhhisehsrg hkrghmohgttghhihdrjhhp X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Jun 2024 19:51:37 -0400 (EDT) From: Takashi Sakamoto To: linux1394-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/2] firewire: add helper functions for phy configuration packet Date: Fri, 7 Jun 2024 08:51:31 +0900 Message-ID: <20240606235133.231543-1-o-takashi@sakamocchi.jp> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, In recent months, the batch of helper functions was added to serialize and deserialize content of packet in IEEE 1394 protocol. This series of changes includes some helper functions for phy configuration packet as well as some KUnit tests for them. Takashi Sakamoto (2): firewire: core: add tests for serialization/deserialization of phy config packet firewire: core: use inline helper functions to serialize phy config packet drivers/firewire/core-transaction.c | 22 +++---- drivers/firewire/packet-serdes-test.c | 79 +++++++++++++++++++++++ drivers/firewire/phy-packet-definitions.h | 55 ++++++++++++++++ 3 files changed, 144 insertions(+), 12 deletions(-) -- 2.43.0