Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2592885lqo; Tue, 14 May 2024 03:39:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbGOkGccQoOT0J0b+zaq4TeesuU0EX+Ubmu8avsLblfNvcl6o3CMqopyRU8Rn6dPTxtNvi09Qvv+s6xjZ7vC2Q4OtgOSrbqC/vyBEE/w== X-Google-Smtp-Source: AGHT+IGQ8WU2rmidvt8F6ofyWD+hNhfkzUN15spgiFcqJeQIza9U0mqhV7QZsycoNOK7W4NKh14A X-Received: by 2002:a05:6808:343:b0:3c8:6223:c7bc with SMTP id 5614622812f47-3c997025c9emr15505953b6e.7.1715683196000; Tue, 14 May 2024 03:39:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715683195; cv=pass; d=google.com; s=arc-20160816; b=R3dbL/eNZhllwHs2qPBzjywIenAaLOLJJhzlnkgxZoFnr1PwRIZeiKNiapDBJtQA/d DTHdhoK84T4N8ZrGpia089yjjtslOzjTjp3JyZeJRexQMFdfhuRu0Lwzphge7ay+QZzl MfX9PVEJT06Ng0bomj3P/CP1vJZKy/BXNU6Z/LvGRjblg5H/AR+9vRtucpVef/HuN9BR fmQp5CnXx4ZqSIfmm/LgBc1v57z+U1idx9DzEpf9gBqsg5nneE4H5czq5temylozf0Ic zOfTcZR9TgvphnkQcEcjQjrscycpEMUCTGYWagDD6m6gl5xs+gI/7oUt4IXAnGo7lbAJ hncw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:mail-followup-to:message-id:subject:cc:to:from :date:feedback-id:dkim-signature:dkim-signature; bh=BVpwueAcvJAsCC2GVmhfSyVrFXijg21zaPEOzVgT+Pk=; fh=NGqrwDOP4gx6ezYS0wvppA7VqN2ezrPJVOabGCdWOO8=; b=iUaOFCXnfPOhYDNZaCLfKNCNvN+PZRzd8ZMwX8chbczI5BWcVZSoghqPW5s1Gtjt6f BhEL/erNomnX6+/0UR0gtl4pPEbdmyDBN69ykNZXCGhYCxkeXwt/nRg7e//sRab8kY5A t231aDwTT3/MLNIkIcyD0XOoA6rQOVImY1NadxnorbcDYbHndyxWSUl/fBHPie89XQgr o8/ZM6tH2xQC/L2mbklknnbp5A6ZGi42SEc+Vag7EYjOp0P/bowUpT1KRqL8nJ+oPVG5 WaJzp9+4pmv13DnWZyWvmdux76dwsUZ2Ektv7xfm7HS/xrySiboOcmu4A+xBHUQaWZFf FPYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm3 header.b=bxMfk41b; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dyWZne+p; 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-178540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf27785bsi1130345085a.131.2024.05.14.03.39.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 03:39:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm3 header.b=bxMfk41b; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dyWZne+p; 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-178540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178540-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A657F1C20E5A for ; Tue, 14 May 2024 10:39:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C00613D28D; Tue, 14 May 2024 10:04:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="bxMfk41b"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="dyWZne+p" Received: from fhigh5-smtp.messagingengine.com (fhigh5-smtp.messagingengine.com [103.168.172.156]) (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 C0FB45CDF0 for ; Tue, 14 May 2024 10:04:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.156 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715681066; cv=none; b=CEBuI3RpggW7q4DDwDpRXcDE0ewU+y/84YMxnWWYGHZqoMgAaGzHuylQ1CqAaNJ1WhxuqzL3u79CKsMs4ImRWuOjxVOw1z0rFNFTkRj99U+EMhTdF/AufcWtUt4BI+KAU3PXCTmwjK4oB5Ije0RKLYwIurmbwqw6KTdRVizqr4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715681066; c=relaxed/simple; bh=6OJIOyMTfIXgBoq0fS6wbecGUkAEW6z+MnJbYsQDwWA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=lp7Vxn/2Ylr3ygB5SQP6L+DyIXP3IPK0avnEbS6NezKL3vCy1HN8jwomkYdEzw0k5GVgxXQmKDGd1rN4m8kpbInnV1U23ptbM5AWJilnZL40hjhC3wkRwauii5oFYKT9yENs4hGD7E74Z2q36OJ77LHic5H7ORUsONDXGUPWjs0= 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=bxMfk41b; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=dyWZne+p; arc=none smtp.client-ip=103.168.172.156 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.nyi.internal (Postfix) with ESMTP id D2C8A1140183; Tue, 14 May 2024 06:04:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 14 May 2024 06:04:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1715681062; x=1715767462; bh=BVpwueAcvJAsCC2GVmhfS yVrFXijg21zaPEOzVgT+Pk=; b=bxMfk41bTjA8GQ/X4aLL9gKfd71TkusavooNK DaajTMkPECc048g8xqaKkwqDOMqxJ9xC19Y7Sra+hzPnlAXwVwMcLcN+/eNElknJ vkv08yfWxmdAG2VLQeD6L97n3BZMy0LvbYRbxDATmNsP6y+4H96Uo7lUHZakLY4a xni8IslkUonEWfogpydPlQa0k+44YUS/fhvadxAZ/R4OAF1f3TkoDfX5nVHTXyf5 jKHd4bgaX7mN1dLki764JGfiJGcLyK5pFQw6ItIfha0+7RfEhTWdn0zUPXpzRTeN X7jZ8BVl7YLPrJOEVkgAsg5ci2F4HdRs/tci6oXGbDEopuV5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type: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=fm3; t= 1715681062; x=1715767462; bh=BVpwueAcvJAsCC2GVmhfSyVrFXijg21zaPE OzVgT+Pk=; b=dyWZne+pFA0d8/PaQ14J+HpZ4LcWmxCQchZfXWsigEPT/kWh9Pb WwsWAyAVYQgdXHK9C157SebIDNPGT5w4g7Nwtc7zTkFXZZ5c1wSmOquHLJWczomD us14kw7SRB9jZRnWg32CviWtR3Abb4p05d8zuySNbWVnr/pqUAYRuM+9YjAJEvxa CqCGz45W77RrEIplDklwU0Di7iJHFj+tydmAwWZfOmmglAymcktc7Qm6XDb2y09X lHUKl0GuPhMYwD1QDhAJ6vmC19bNiHUfdYmSHO8GnxFLQzux6USEMxMTv6jwObG4 vd/FPSIcfqudKwjGloMDbG1DnVsQmHZ+4pg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdegiedgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfggtggusehttdertd dttddvnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghkrghs hhhisehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpeetfeeiteefve egvdfggeffheetleejkeekleeugeffffdtgfdtteetkeevvddvgfenucffohhmrghinhep khgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhirdhjph X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 May 2024 06:04:21 -0400 (EDT) Date: Tue, 14 May 2024 19:04:18 +0900 From: Takashi Sakamoto To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net Subject: [GIT PULL] firewire updates for v6.10 Message-ID: <20240514100418.GA198864@workstation.local> Mail-Followup-To: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net 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 Hi Linus, Please pull the updates for firewire subsystem to your tree. The following changes since commit dd5a440a31fae6e459c0d6271dddd62825505361: Linux 6.9-rc7 (2024-05-05 14:06:01 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-updates-6.10 for you to fetch changes up to 21151fd8f0ea5dcff27e8db25b65bf892d408bdc: firewire: obsolete usage of *-objs in Makefile for KUnit test (2024-05-09 08:06:22 +0900) ---------------------------------------------------------------- firewire updates for v6.10 During the development period of v6.8 kernel, it became evident that there was a lack of helper utilities to trace the initial state of bus, while investigating certain PHYs compliant with different versions of IEEE 1394 specification. This series of changes includes the addition of tracepoints events, provided by 'firewire' subsystem. These events enable tracing of how firewire core functions during bus reset and asynchronous communication over IEEE 1394 bus. When implementing the tracepoints events, it was found that the existing serialization and deserialization helpers for several types of asynchronous packets are scattered across both firewire-core and firewire-ohci kernel modules. A set of inline functions is newly added to address it, along with some KUnit tests, serving as the foundation for the tracepoints events. This renders the dispersed code obsolete. The remaining changes constitute the final steps in phasing out the usage of deprecated PCI MSI APIs, in continuation from the previous version. ---------------------------------------------------------------- Adam Goldman (1): firewire: core: option to log bus reset initiation Gustavo A. R. Silva (1): firewire: Annotate struct fw_iso_packet with __counted_by() Takashi Sakamoto (27): Revert "firewire: ohci: use devres for requested IRQ" firewire: ohci: replace request_irq() with request_threaded_irq() firewire: ohci: obsolete usage of deprecated API for MSI firewire: ohci: use pci_irq_vector() to retrieve allocated interrupt line firewire: core: add common inline functions to serialize/deserialize asynchronous packet header firewire: core: replace local macros with common inline functions for asynchronous packet header firewire: ohci: replace local macros with common inline functions for asynchronous packet header firewire: ohci: replace hard-coded values with inline functions for asynchronous packet header firewire: ohci: replace hard-coded values with common macros firewire: core: obsolete tcode check macros with inline functions firewire: core: add common macro to serialize/deserialize isochronous packet header firewire: core: replace local macros with common inline functions for isochronous packet header firewire: core: add support for Linux kernel tracepoints firewire: core: add tracepoints events for asynchronous outbound request firewire: core: add tracepoints event for asynchronous inbound response firewire: core: add tracepoint event for asynchronous inbound request firewire: core: add tracepoints events for asynchronous outbound response firewire: core/cdev: add tracepoints events for asynchronous phy packet firewire: core: add tracepoints event for asynchronous inbound phy packet firewire: ohci: add bus-reset event for initial set of handled irq firewire: ohci: obsolete OHCI_PARAM_DEBUG_BUSRESETS from debug module parameter firewire: core: add tracepoints events for initiating bus reset Revert "firewire: core: option to log bus reset initiation" firewire: core: add tracepoint event for handling bus reset firewire: core: fix type of timestamp for async_inbound_template tracepoints events firewire: core: remove flag and width from u64 formats of tracepoints events firewire: obsolete usage of *-objs in Makefile for KUnit test drivers/firewire/.kunitconfig | 1 + drivers/firewire/Kconfig | 16 ++++++ drivers/firewire/Makefile | 6 +- drivers/firewire/core-card.c | 7 +++ drivers/firewire/core-cdev.c | 7 +++ drivers/firewire/core-topology.c | 3 + drivers/firewire/core-trace.c | 5 ++ drivers/firewire/core-transaction.c | 251 ++++++++++++++++++++++++++++++++++++++++++---------------------------------------- drivers/firewire/core.h | 21 ++++--- drivers/firewire/ohci.c | 131 +++++++++++++++++++++++-------------------- drivers/firewire/packet-header-definitions.h | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/firewire/packet-serdes-test.c | 582 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/linux/firewire.h | 3 +- include/trace/events/firewire.h | 348 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 14 files changed, 1420 insertions(+), 195 deletions(-) create mode 100644 drivers/firewire/core-trace.c create mode 100644 drivers/firewire/packet-header-definitions.h create mode 100644 drivers/firewire/packet-serdes-test.c create mode 100644 include/trace/events/firewire.h Regards Takashi Sakamoto