From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (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 CFFD92FF161 for ; Wed, 31 Dec 2025 18:17:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767205042; cv=none; b=PuLy/puDgxV6ZHhOquBFF42BM67pgL1k+raep3wFqxNMJu6ExINK7RWquXbheJdbLvxcnu81CuW+w51Gpm+nCnmR49IdwrCUD7XMk5cb03Qj8bxg4Han7RjKimlKI3vu1C3JD8Qg9hYUMQgZ/32OTNKQVeoMyJqFFOT2V1Y7Hec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767205042; c=relaxed/simple; bh=DtW9jydX6kRSz+VzrOTs9HRP1q8pSatXePBnRhDvGcc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=pCPw73xwbpBeSJaZPJ0h/Mz8m2SbCfUthZJqziV0InlLXWywLPCzxHfpoyF/i1BXyqp/Ar52cOWmwlE1OXDwTL/Vp3psFYAaF0kCA7uDwEH+pBHXgOmh49beE6diyTXSQN/KRTFxY+zFcwhkrvprMFrKMKu01ZeKOlu9jjB9MW4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cYs6QRd5; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cYs6QRd5" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2a0c09bb78cso78928405ad.0 for ; Wed, 31 Dec 2025 10:17:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767205040; x=1767809840; 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=SXoQb1Iho9s/aJU4/V83jmA8EbXo7twbK1X6eOXoFDE=; b=cYs6QRd54KTn7COi8TcmhfReUlgtg00ULE4Q4t3IoGT/xUALXfkF/OKgh7lzTOtdkQ qhYvgkXY6DD+znP7OO7SfBMBIyPj4T6LRbnMvC129+5NoPHUJpHzs93EVshJ7T6woIGg 4n9XFkg6WBuyDK4IPXKpVquOUUmm/YFCUnSkZNvNSr8Oh0aeYnouA5iH09kMiR+sX7CB IjExd+zO3nwBgUR90wuEkSZOpvilM61HcP4+e3NsXBc9/IWLLTiL/hWakn/Nwn/bDbK1 2CWu1Yn8MsPud0bBQds7u0B81ICEf2OhnluR5vXovSV4rRxgjOVlvujiDPRMCKTgYYvx 09cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767205040; x=1767809840; 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=SXoQb1Iho9s/aJU4/V83jmA8EbXo7twbK1X6eOXoFDE=; b=GoWqGSWpqoAhTqE4FSLg7HHx97ajM0sFKaZyiFs9JUNIb6cYbA1mz2pPz1RO0NkPEX 9iS2unlm8sc6KSbcMalnxn8mw0kVNuD9cx5MEcxeBfm1WcZO7RRR7Ji/YOZMJ1mq2cEJ IqIEo8a+98u22a2L+Wgk2RTswtg1gX9mwwiHsAqDm/hp0BMHgTV0Ldfoi9a2vVmqwqL6 wJyT89GFN1Bl0n0vB2/RROJxqNsdr2WZZ8hL6LsVWSf2rRZ7UblWfqbtlFP+oTwZAhfL PKgum4Uxw8K09b9WC9qK6m/c1U1L0E0orzhEA4sBobmV/Ll668ffpGAu6MAR696KxMaD 8QRQ== X-Forwarded-Encrypted: i=1; AJvYcCV991aBY8ktnxE1rYdp7SvJb2Q4iLQO8OxuhOJd3UIfqRpBtjA84PViwEa+UgguzE87F3K8697l8XX9sqA=@vger.kernel.org X-Gm-Message-State: AOJu0Yy0gNw70IrEgUBg7RsNBg6NUZb6sJkHbgx6asVMLVVaiyg+f0vQ Lio5biTKyt3Mfclixdpe2lmiUwUMCJPy8ykHgXyn23gMvM7J1TkFympx X-Gm-Gg: AY/fxX7SS5deodUqjbZH+/x/WsZG5P8cy8CNMDOuidf4e+PKd+sNqI2kP7MlAnTtTu2 z0zq9am0O/z9llnCS0mvyU/0k28m/tX1rZpfFyE5fzXPbVdb5PcZlDgOBsEmFd4jXA57/0KaY/t MOEqFzRtRUPkT+sTubXcyLF3DDOp8Fo4gB/7tBdFNLRWW+Qu7JCz7A3Wv1pOANQ/DzbScUGrr+D 933nr/PCcsA6++cnldBDJ9DcMKWK1k23w4/mddPNQmvNU7W9qzPQngQMe2DaeiS7AqSZr4TRK/k I+nwkO9gDnT2ukaB1vLfX1niTmD/OtyFb3g4uxmTlZ54X7ujnyPX21cZG0VDTB+b0W06PhT6AyD 3o82027wRpglF9ASy4EPv9UL9krR4P+m/qceSv1bc8ZZHZXMkcBHQcDIuPd2Wd8MiVijyBq2Rmu 0A4NXLgfSP+hAnRWUO X-Google-Smtp-Source: AGHT+IFt+YYUuQnJIjJqsNxOfFi0ONI4ZVIqnGrLeLLNJzP5CtQl3rVTd4nmjmgrcpUv1MsNBMmBaA== X-Received: by 2002:a17:903:41c7:b0:294:8c99:f318 with SMTP id d9443c01a7336-2a2f0caa8eemr448221945ad.3.1767205039865; Wed, 31 Dec 2025 10:17:19 -0800 (PST) Received: from rakuram-MSI ([2401:4900:93ef:93d6:a0f7:dedb:d261:86b]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a2f3c66473sm310787225ad.13.2025.12.31.10.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Dec 2025 10:17:19 -0800 (PST) From: Rakuram Eswaran To: rakuram.e96@gmail.com, Marc Kleine-Budde , Vincent Mailhol , Oliver Hartkopp , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Jonathan Corbet Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 0/2] can: add dummy_can termination and update SocketCAN docs Date: Wed, 31 Dec 2025 23:43:14 +0530 Message-ID: <20251231-can_doc_update_v1-v1-0-97aac5c20a35@gmail.com> X-Mailer: git-send-email 2.51.0 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-Change-ID: 20251228-can_doc_update_v1-33b15a48aff7 X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1767203695; l=1574; i=rakuram.e96@gmail.com; s=20251022; h=from:subject:message-id; bh=c2Ukyvmu3x+ZNm/g42TZwi6hwotnurZ3OlsKNTQ8zxQ=; b=4+zCI5bRXSp0OszcugSJ5zY1CIOEsIwO5aVMoNPNxZeR7cbFHZ23mqJw9rOT5QeZSyqBic/dV WUaTO54DYpPAnwr4U3ONOj7FQWwsNBr0fDhkzuBKah6Dfx9O5frez/I X-Developer-Key: i=rakuram.e96@gmail.com; a=ed25519; pk=swrXGNLB3jH+d6pqdVOCwq0slsYH5rn9IkMak1fIfgA= Content-Transfer-Encoding: 8bit This patch series introduces two changes related to CAN XL support: 1. Add termination configuration support to the dummy_can driver, enabling termination testing with iproute2. 2. Update the SocketCAN documentation to describe CAN XL operation, including MTU changes, bittiming/XBTR settings, mixed-mode behaviour, error signalling, and example iproute2 usage. The goal of this patch series is to improve dummy_can support for termination and update documentation to match the recent addition of CAN XL upstream support. Feedback from the maintainers is highly appreciated. Base commit: commit d26143bb38e2 ("Merge tag 'spi-fix-v6.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi") Testing was performed using the iproute2 master tree, which contains the required CAN XL netlink support for validating these changes. --- Changes since RFC: 1. Maintain dummy_can structures assignment as is 2. Update the examples with latest iproute2 tool (v6.18.0) --- Rakuram Eswaran (2): can: dummy_can: add CAN termination support docs: can: update SocketCAN documentation for CAN XL Documentation/networking/can.rst | 615 +++++++++++++++++++++++++++++++++------ drivers/net/can/dummy_can.c | 25 +- 2 files changed, 541 insertions(+), 99 deletions(-) --- base-commit: d26143bb38e2546fe6f8c9860c13a88146ce5dd6 change-id: 20251228-can_doc_update_v1-33b15a48aff7 Best regards, -- Rakuram Eswaran