From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 416AD3DA5AE for ; Mon, 11 May 2026 10:45:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778496327; cv=none; b=Va6Mo6ceQU5c/Lv4EpvJuSHJODD393ajmaQlL68WN8Lbp1pCH9GnbCAC19R33dpvyBaVVpcY9Hyfrunu0vmC4bm17FWiVa2fxVXSDiyAKtcqZHYmH4otuvtgOXzpJIIQLiKdvB1YsxCW9AeooP6qoSphol5jLLWbe8Hf8X1kbWU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778496327; c=relaxed/simple; bh=7x1TqayG/2++eQSlPW5R3QUNdJcDCcG0pfAFx+4Iue0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=m8KxCvYxskAQK6nA74BjdgaYl1JchLSqyR+MGx9atzqo9o26O5ygGQGc8wIZoXLH4hWAfYkdrNNI28k0QtDDzjwF0h5Kcv5mSbEsZFIy9ntv+CCdRAaBQAskRTT/RyrmHgtQAlN8qr1FA3+8ImtdGr4wny4BPMQZPVva+fbG13E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b=zYoZ/V0c; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20251104.gappssmtp.com header.i=@baylibre-com.20251104.gappssmtp.com header.b="zYoZ/V0c" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4891c00e7aeso34787285e9.2 for ; Mon, 11 May 2026 03:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1778496322; x=1779101122; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wOVlaLbxyWEmDAGsS4rP7zIxUVqa6gm43xH+775xGEk=; b=zYoZ/V0cJfTTatQytEkBdkGIaMooMLLwXstGzmVb2nfC3dbqSKDYDyeY747lC853fz ghiGd34wLok1V0NLhZluoGFXQtFYDdb8z/jZpLyVWI6JApnCuBLXdqVHOOOXG+0raRf6 3EGLdgRettH7RqNl/8WaBQXyGCi0fF2InYbKJZNhI1AF5tevzt8kXON6BNfxyeEI6Kvt bFMHA2kV77gMGVBl5s+9AI4U0Q/oj79RebgjQZa3nm8bk3VVZ2NZAurrGNL3xOz8liMw DNW2rF7WBe6tXos+RNNqLGz5GPTOIqMZfk9cPp2VBq8M9HBOQYgl2J3Wr+I/dJh6t5rA pOgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778496322; x=1779101122; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wOVlaLbxyWEmDAGsS4rP7zIxUVqa6gm43xH+775xGEk=; b=DllyuiR9NDMlzoOzErUR6uL+a1MpxGrmanFcbAYW6kmZEmrlysi5UeTUKrRK8jtWq6 IMIPR66YPIO0pEYAfc+GCNGjA5WIhRL/vDFuJnRTT1H+fCrNK9ltjV+WCsBkGiBxxcFT hMlgyEPdNu6qluhjnWwy5bgKGyd63Ppo+5GapofIUnLxGwLGhbhSxeI66dxSSTSlZCBL 8uPzrwDLK0WBMa+CJSZptIogagH8qxGgny2LH1xFwsbxRoH2AndAnma+HMFl2/HR/rw6 /wyeM/8YY3udPQY9kU2eYL2Gp+RML0w5H2Zot4IZ8CVnFlzSKIeXpOA5yYIypMzSm7A8 TWcg== X-Forwarded-Encrypted: i=1; AFNElJ/Vex1C4Q+tc6D/na3IYM8dCfT4YBxydhasGHBjQh2M9EMitfLZAlynLUyQhh4yQGma63hFp0GJNSDbDgQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yyz/AqvtvI7nP3b5nxj7TQG9omLiLMkXJ0nppVmiiXTR/NjTGnh KjywH025lzXUSWAb/gUeOLTBiMvf1Nhd7AO5GV4q7tl3jYf0wsFp7hTwTsd+W3P7B0Q= X-Gm-Gg: Acq92OGEVBXNdQZdxO6WknYgDxKfNXd42m9vN+MdhLwJJwA9QPN9QbT1zLLl2hm30uT iSCcXPWxzpCtznVRxNif3V2DBlAzhFrOnr8N5tOixOOCH5BOMDyt6Yxa910jP0mDCxErlH94aKZ E5FTDixibomJEnSiAzlAh0NOCDTQjuTA4py4vY9icbvUnENkviE6+OJyJAuvYBAOdM/jeOnVBdT +CuRfyEnv8QTyM5DZHmEwgr/7k8px1R1CTtDAzdD66bLSwMYh24yu1N5SWVoeOzcH/W0BmF4/pk iaROnLx2Bkk/F6Kfw4UjjCEcM3gfUPBTT7HUp2PJi7foyf80B6KPDie22+EH9Fu4MGb8D4OT5LG as1aRR9WkZaMxaP0mIU/Hh3s3XpYTTFMTGrEaOLiAGIDSdCOlRW+pi7GGP3oaKXAr4sXPH450sS kbFCQUfGN2IzXxF/yBj42GhaJUDYW0n87d1k/xy1pcmdWr3IyRZDZHJWMpm9MVPM1GmWD7C/RgO PG8hQY/Y9APfRY= X-Received: by 2002:a05:600d:1:b0:48e:7f1c:8760 with SMTP id 5b1f17b1804b1-48e7f1c87bdmr73299395e9.27.1778496322187; Mon, 11 May 2026 03:45:22 -0700 (PDT) Received: from localhost (p200300f65f114e0841c796eda31a14b3.dip0.t-ipconnect.de. [2003:f6:5f11:4e08:41c7:96ed:a31a:14b3]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-48e701e9585sm173619515e9.5.2026.05.11.03.45.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2026 03:45:21 -0700 (PDT) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= To: Clemens Ladisch , Takashi Sakamoto , Jaroslav Kysela , Takashi Iwai Cc: "Christian A. Ehrhardt" , linux1394-devel@lists.sourceforge.net, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Wolfram Sang , Andy Shevchenko , "Christian A. Ehrhardt" Subject: [PATCH v2 0/2] firewire: Simplify storing pointers in device id struct Date: Mon, 11 May 2026 12:45:01 +0200 Message-ID: X-Mailer: git-send-email 2.47.3 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=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1867; i=u.kleine-koenig@baylibre.com; h=from:subject:message-id; bh=7x1TqayG/2++eQSlPW5R3QUNdJcDCcG0pfAFx+4Iue0=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBqAbMtSfQJB+urLDepKUOwM3XGsGi4ClkgxuWT4 2Wr3Hym83mJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCagGzLQAKCRCPgPtYfRL+ ThuQB/4wOy1YCl/M/aHwWWEuL8QM3jQGotj7NpV+8wO+U+ai0N0cIfdgg9JAvL5oqGN71mlXM55 J0J60e4XZDlWwg4WVhuKSnnUkwAmUE9lYhfUR5oQxjXsu1WFTFB8w0qcRhSRFiLcD5rupeVQvg/ FErN96K2QNBFdDLNCy7ZnWOQXFR06+0pku101huDNXH1WWoCMn6UT0X8RhbUjrxI5ivQMKV5XMM GLUc1e4OyKRHATsD42BdEssQHQTjHjRYuWGGchGvwWhayOUYvDYL+QGesoziRxmv1LAMJkv+cFt 4CLoxcvo1u/1+9d1Pm1Vz02mQqiaFePn2Y5cXja+w/ZLJHpr X-Developer-Key: i=u.kleine-koenig@baylibre.com; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit Hello, v1 of this series can be found at https://lore.kernel.org/all/cover.1776579304.git.u.kleine-koenig@baylibre.com . The changes introduced here are the same as before, but the commit log of the first patch is (hopefully) improved to better point out the advantage of the approach for mainline. The second patch demonstrates the explicit casts can be dropped after the first patch. The patch series intends to not change the runtime behaviour, however the 2nd patch introduces a few changes to the generated code. Looking at these for an arm64 build they only affected register allocation (so where x0 was used before it's x1 after the patch). I'm not proficient in x86 assembly enough to understand the changes there, but I guess they also don't affect the runtime behaviour. My motivation for this patch set is to reduce the patch stack for Linux CHERI support. This affects firewire because with CHERI you cannot store a pointer in an unsigned long variable. But I hope these changes qualify as cleanup worth to be applied even without considering CHERI. For merging I suggest to take the whole series via the ALSA tree during the next merge window, as there are no modified files that are specific to firewire only and the second patch depends on the first. Best regards Uwe Uwe Kleine-König (The Capable Hub) (2): firewire: Simplify storing pointers in device id struct ALSA: firewire: Make use of ieee1394's .driver_data_ptr include/linux/mod_devicetable.h | 5 ++++- sound/firewire/dice/dice.c | 34 ++++++++++++++++----------------- sound/firewire/fireface/ff.c | 12 ++++++------ sound/firewire/motu/motu.c | 6 +++--- sound/firewire/oxfw/oxfw.c | 4 ++-- 5 files changed, 32 insertions(+), 29 deletions(-) base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731 -- 2.47.3