Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp135978lqs; Thu, 13 Jun 2024 06:14:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVVcft2ItGxXZfUQQKmFhOjyKhbjBm5r6R84XAvGUKO/jmpxvqqr72XucmJvUrNoBOrb91WF2hPR41sbc/ILGoBXDEx9Ps2PjAN/SAhhA== X-Google-Smtp-Source: AGHT+IF+dbRPM9ZsJV920SHQ8zu9IPam/Dw+GqanXw6TaT1xZ3QbnwLLwI7Qt+dkFShtN04JzZTz X-Received: by 2002:a17:906:3688:b0:a6f:5a47:a59f with SMTP id a640c23a62f3a-a6f5a47a6b6mr79707966b.61.1718284494161; Thu, 13 Jun 2024 06:14:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718284494; cv=pass; d=google.com; s=arc-20160816; b=JkMqWCewgUdAU6Sbu9jUdBz0H3hsK0rHBwogUrsmZdJjkEiNxe6Cv8ycDMa+5pzVk3 TMf88DKGCNcslLfNWhke8ZU6ntsTJvNdsks7czA/I9WaT4FUsHga2XzQ5fzw+WFSrHCc bPpoXo6Bps1X/Q8Y61ESxSKFk01GcRaOT1/TYRi4koWKhyUZBC5jau0x7Z8wau1pGoCP fOsyqq4LCTCXeZ+NBdYWbl1ejgWat7I8ealM06gA0oXKLfsIcpCVKI5/fgge3H1HDrvw K9u72Y2xJTVvFrrtrlhQHxuSVPcalTcUJOwC0CYVK5qpRlsJ4jymdjPFss0idKENuVOQ h4Kg== 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=P1562d71NK6Q3gwSAvpUv5imcbgap8NODNrDu/VOPAc=; fh=5EQyDiYgg+kua2A2AF9eJME8jasrrRA/Pgg86y+lzvY=; b=H5Nec74YZXutoYbFxuqYona0wx08lyTzgZCs1zJ2ElCb0JuvcQ0dDkfEbZYrlForPo 5FXYU38eEGAry4phBhexKlTKg1GLw4p5JS/VCalV4RGPKzSy8yXhirxZwg0WCawt+bLb Xp2tJESB6QFUqGLWf8BRKgZWTKprtFdy+bCPnAxMaHEtBsS3mDN23UFB/RWSML/qndyZ zQ2tqw4siloS/7aAAwH0idYbFnUGdu5fA+65j0ATB4NLxwtSftH99YVKhGJkeEz/XZ/v t/OQPKmVHAWRl2MPdn8uZjonjXlsOBT8AsqvR4/4W9b9CViV9/uvNdOslQZGk3V6LJmU 0ddA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm1 header.b=nr8Heike; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=AZU3OYwm; 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-213264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56dd6890si71002266b.437.2024.06.13.06.14.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 06:14:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm1 header.b=nr8Heike; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=AZU3OYwm; 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-213264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213264-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D788B1F21A48 for ; Thu, 13 Jun 2024 13:14:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D502142E80; Thu, 13 Jun 2024 13:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="nr8Heike"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="AZU3OYwm" 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 484EA143C46 for ; Thu, 13 Jun 2024 13:14:45 +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=1718284486; cv=none; b=gbM4QZ/g0Ink2ehjBaCL6KSm1ThVUGefmM+G/05/yoUNs4HRHBPoyLe41f53JBRDuCDkCnXpZGpibm0k3rw4D85eFpvHDUdmVMfU/xySPQxLEdRAK+kJSKrxGnDOpibEowEMP3aU0YeU7by/k6NM89/2geX3mVhSrUgvbZO6JMw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718284486; c=relaxed/simple; bh=fUbjzeTWfb/eILkE1v3hYNjfcAhaVAv9dJj5NuPanpY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JXXZa+/9B9F5+79UQoP9jQ0uUNpkNDERMjkkanvdTdw35Rks2DHvWvs8TjSkTGk6eh7IEcJN33W/vILkFe+t3sCm071epBoo0YzHrhdIPQyPbAkcoR0ViCBW/R2AL/SEhuMgVKr/ya2cmy1VOhEZkHLsd6KuBV4IaWxIuebdO/s= 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=nr8Heike; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=AZU3OYwm; 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 compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 66F0711401D2; Thu, 13 Jun 2024 09:14:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 13 Jun 2024 09:14:44 -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=1718284484; x=1718370884; bh=P1562d71NK 6Q3gwSAvpUv5imcbgap8NODNrDu/VOPAc=; b=nr8HeikeoDJplTeazpG0Af3UM8 /SXrM5StOrgF5+jW6Tt9nR9WQNx7grZzSShB40sXhz8ZXmBZfPbYb6VKtS1AJOin dk+zBOxG3qR+1q724OghcaSyagV21kf55uEyimZQUWsK+kxbyEuSrh1nFYyy5GpN urGoStEv6kCMG9pe/gO8SFw42wYoBxwKogtmoMYGxMDHVEysaUwGUdEkrzz31v5m +XDMn6NDggewaHp6eSZEN2Vxph8QMhlePQH01iJep+EcWl7cGr0aFdKRqSxvYWRb 2q/2VaSh5kZ7XLbM94n8jAXz3iXV28Kj2/MKQjFH8jr+UvmL0QRmVeXJcV1w== 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=1718284484; x=1718370884; bh=P1562d71NK6Q3gwSAvpUv5imcbga p8NODNrDu/VOPAc=; b=AZU3OYwmXiG2ym7qIZjZTP1n7QzHpklfveFFSya7ABeZ UVP3U/OXulooEVkiQJu0OUZ1mVBQGsEKjxXo2CG4/3IUyV6gQQZZEls3KnjoGOTk tIF2i8SoGMC4zyatsYxg0mDAymFtVBllkQQuDgCGY2r9S+BmTUOFdfA5eCJixc2S 0M/J706X1lReQKl4kbdRyjtSSJPzsEU2WNBZD/KfT+Cwa4oZfe9pNq1huMXnWnkT wJLUeK9ZJ2t38Is71m41VDH6DoBqa896bKiuLsfgt+/+YPf8oW68T2bX+JIguXc9 ycP5yxochGD3cc9aQtm+lCHlUYejcaYBo9lChXUKjA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedujedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefvrghkrghshhhiucfurghkrghmohhtohcuoehoqdhtrghkrghs hhhisehsrghkrghmohgttghhihdrjhhpqeenucggtffrrghtthgvrhhnpeffvdeuleffve ekudfhteejudffgefhtedtgfeutdfgvdfgueefudehveehveekkeenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrghkrghshhhisehsrg hkrghmohgttghhihdrjhhp X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 Jun 2024 09:14:43 -0400 (EDT) From: Takashi Sakamoto To: linux1394-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/8] firewire: store the numeric identifier of card in data structure for tracepoint events Date: Thu, 13 Jun 2024 22:14:32 +0900 Message-ID: <20240613131440.431766-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 v6.10 kernel, some tracepoints events are added to record IEEE 1394 asynchronous communication. In the case that multiple 1394 OHCI controllers are available in Linux system, it is hard to distinguish the controller used for the communication, since these events have no member in their data structure to express the used controller. It is a bit inconvenient to diagnose things. This series of patches is an attempt to solve the issue. In Linux FireWire core, the available controllers are maintained in list, and each of them has its own numeric identifier (=card_index). In this series, the index value is added to the data structure. I would like to put the change to v6.10-rc4 (or later) as the part of fixes if receiving no objections. Takashi Sakamoto (8): firewire: core: record card index in tracepoinrts events derived from async_outbound_complete_template firewire: core: record card index in tracepoinrts events derived from async_outbound_initiate_template firewire: core: record card index in tracepoinrts events derived from async_inbound_template firewire: core: record card index in async_phy_outbound_initiate tracepoints event firewire: core: record card index in async_phy_outbound_complete tracepoints event firewire: core: record card index in async_phy_inbound tracepoints event firewire: core: record card index in tracepoinrts events derived from bus_reset_arrange_template firewire: core: record card index in bus_reset_handle tracepoints event drivers/firewire/core-card.c | 6 +- drivers/firewire/core-cdev.c | 6 +- drivers/firewire/core-topology.c | 2 +- drivers/firewire/core-transaction.c | 30 ++++---- include/trace/events/firewire.h | 113 +++++++++++++++++----------- 5 files changed, 92 insertions(+), 65 deletions(-) -- 2.43.0