From patchwork Sun Nov 22 22:07:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 29068 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 97D18C3304 for ; Sun, 22 Nov 2026 22:07:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 66F566A985; Sun, 22 Nov 2026 23:07:27 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="VUEKDQzP"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5029C6A932 for ; Sun, 22 Nov 2026 23:07:26 +0100 (CET) Received: from killaraus.ideasonboard.com (2001-14ba-7086-3000--a06.rev.dnainternet.fi [IPv6:2001:14ba:7086:3000::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5F1C1177; Sun, 22 Nov 2026 23:04:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1795385094; bh=BcQSfR03RggBXYWkFA+kkLljN7rAEmsrpCUeD78s9oU=; h=From:To:Cc:Subject:Date:From; b=VUEKDQzP2l/yVzDwfCmBf9X8w8KZn2MwJPKmP0MZDlNJUfAm4Lh6+9fgyS8sZwYOY 88FYxQm/xAXfMzWiUgC8S+rIyHGaJGMEhFxbrDTgGAt7hTGY5H0e2FtQUstdQ0oJ4E 9Z8USZvuhfwCHHu/H3M4jKCL83OV8Y0i6atlyDMw= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Cc: Prasanth R Subject: [PATCH v4 0/2] v4l2_compat: Support 64-bit time_t on 32-bit systems Date: Mon, 23 Nov 2026 00:07:22 +0200 Message-ID: <20261122220724.2951625-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.56.1 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, This patch series follows on https://patchwork.libcamera.org/project/libcamera/list/?series=6286 to fix support for 64-bit time_t on 32-bit systems. It takes a different and simpler approach to support the common use cases, without closing the door to a more complex solution for hybrid time_t cases if needed later. See individual patches for detailed changelog compared to v3. Laurent Pinchart (1): v4l2: v4l2_compat: Compile compat layer core with native time_t Paul Elder (1): v4l2: v4l2_compat: Handle __ioctl_time64 src/v4l2/meson.build | 25 +++++++++++++++++++------ src/v4l2/v4l2_compat.cpp | 21 +++++++++++++++++++++ src/v4l2/v4l2_compat_manager.cpp | 10 ++++++++++ src/v4l2/v4l2_compat_manager.h | 2 ++ 4 files changed, 52 insertions(+), 6 deletions(-) base-commit: adfa719f8ed67d18fd8a0739fc088a1f8b9e7252