From nobody Sun Feb 8 06:55:42 2026 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11021119.outbound.protection.outlook.com [52.101.65.119]) (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 BCA8A396B89 for ; Wed, 14 Jan 2026 10:52:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.119 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768388100; cv=fail; b=jdL/dnXuC1geuPQQnrWbhgmIv0Zpvmf2DX3iH/zx1dqBFC7A+uyULcRzHK2RLgbq3piu/KrQKLvfNGVpqGRKceSQEKDjmV18tZD0T3jLJwLR3y55uhl9akzFUCkz3F2XUJr3zfnq32WFkY2HwSSGcHDeBcxxud47Yc4216YV1WA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768388100; c=relaxed/simple; bh=b0fcY2h5SZDT+ry5b0Nx2/D4qGtpeaE8OC6fhp1NSsc=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version: References; b=ltWJEkNdl9VjWfHFTnkJO650ph4DFiSnWlTe99GMaKSetmoP+CwMB/pOZrX9KPhhQcCXhlCdfbCKjWHiWLYOjXEHcvXHw0ztc77a+Auyq3fO4GllZAp+LIzNnORjTFleNwwOgUPWw2MzV6tX3fCxbS6T/9XP08cD51uCekLo/KM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=topic.nl; spf=pass smtp.mailfrom=topic.nl; dkim=pass (2048-bit key) header.d=topic.nl header.i=@topic.nl header.b=wrKCiSUC; arc=fail smtp.client-ip=52.101.65.119 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=topic.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=topic.nl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=topic.nl header.i=@topic.nl header.b="wrKCiSUC" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cMHNiXShb2afpESXWLW4jzbwwrqutd5aU4KMtNLRUBnTl4kM/HBWSmj9Y3N38sYauKogx7rmu5l778Mbi33/IfsgT09FTj1eoYkEhKLGe0QphftnIgkjHh78/6IiEuFwNXAb9VTgJiI6JmqdGI2ynZRjhrYRs/IsKetXDHWVRtP2E2Ay69rTdnBzNdy8ToH+8RaFs1JW1i/6nhK4CPkvoYOEpHRpT9FTrBeY8M92c8dwXy887mCpAu7KpT1VM4W3SvcTaI19XNO1G5WCz/l6iGGDowFr5WkzPgxT7u3XySCxmvenj+0nnG6G6yjaHdXdc1lZQY2/196fLYjv0MmROQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FDA5jGn9vR1CGGBsEU2K2wWGdjgvYeldbDjrudRiK84=; b=gN5MxMuPTvTbcggOsnDTRKC1h9eR/RjUbvJmOqyGAEypmKKmdXjaYwXxywdl9b7vhmNyyUxIG887BMHuM0VpyWymJXT6awWF4IrSB/gRBL7TPyrvdYeUD3Is3PDpgpiMCsL1OyEkb0+0RFV4YwC9AZSwEf+9qTI4320WUZYCg0W29N2P7AJV174/8fp4s2bhg78EGnSJdxU3JoFTQrXu2lhRLmfUwSTv4gz2JxJJvEn4RHGQtNcT3wvCXY30tdC1tP92Lyce2/FlMXGc8ngl6JkdMvuSZajiu8mvq2ya3Rvebf8KuH6AU0+DB8NE6kL1fOjjG0S7rlNAWpIqLGPoyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 20.93.157.195) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=topic.nl; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=topic.nl; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=topic.nl; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FDA5jGn9vR1CGGBsEU2K2wWGdjgvYeldbDjrudRiK84=; b=wrKCiSUCvitVov3UCL0V9l3jUl2RywL+VwJ2BsrdQZCGv9zxlgnUxaUsw+SlkcaGBnIvgPtOE0XPjOJc3HfBHBIPUM2goFweG+D+HAj5ko6WC/SAy+kOF1Kn9O5pX7p70O34w9+88AdRN2cG9QLgLFgvVGbMIHXVmDycDh5erMCrBVEp9Akm0YOc3mYciirXioCTPc0K+ROffFrjPeJSHCVWN/vub08s9chQJ3PINu/XlEozr5Op8l64G8LmN/309N9BLbz+gqfOMmSELO1sN4vDLvxrVbwE40EXcSbv3eRq+lABIGJzVAPYvIZCwSeEXGfUOS9G2v7kFh4auPFD7Q== Received: from AS4P251CA0029.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:5d3::19) by AS8PR04MB7688.eurprd04.prod.outlook.com (2603:10a6:20b:29d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9520.5; Wed, 14 Jan 2026 10:52:01 +0000 Received: from AM2PEPF0001C716.eurprd05.prod.outlook.com (2603:10a6:20b:5d3:cafe::e9) by AS4P251CA0029.outlook.office365.com (2603:10a6:20b:5d3::19) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9520.5 via Frontend Transport; Wed, 14 Jan 2026 10:52:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 20.93.157.195) smtp.mailfrom=topic.nl; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=topic.nl; Received-SPF: Pass (protection.outlook.com: domain of topic.nl designates 20.93.157.195 as permitted sender) receiver=protection.outlook.com; client-ip=20.93.157.195; helo=westeu11-emailsignatures-cloud.codetwo.com; pr=C Received: from westeu11-emailsignatures-cloud.codetwo.com (20.93.157.195) by AM2PEPF0001C716.mail.protection.outlook.com (10.167.16.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9520.1 via Frontend Transport; Wed, 14 Jan 2026 10:52:01 +0000 Received: from GV1PR07CU001.outbound.protection.outlook.com (40.93.214.96) by westeu11-emailsignatures-cloud.codetwo.com with CodeTwo SMTP Server (TLS12) via SMTP; Wed, 14 Jan 2026 10:52:01 +0000 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=topic.nl; Received: from AM8PR04MB7779.eurprd04.prod.outlook.com (2603:10a6:20b:24b::14) by AS8PR04MB7798.eurprd04.prod.outlook.com (2603:10a6:20b:2a3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9499.7; Wed, 14 Jan 2026 10:51:59 +0000 Received: from AM8PR04MB7779.eurprd04.prod.outlook.com ([fe80::b067:7ceb:e3d7:6f93]) by AM8PR04MB7779.eurprd04.prod.outlook.com ([fe80::b067:7ceb:e3d7:6f93%5]) with mapi id 15.20.9520.005; Wed, 14 Jan 2026 10:51:59 +0000 From: Mike Looijmans To: gregkh@linuxfoundation.org CC: Mike Looijmans , linux-kernel@vger.kernel.org Subject: [PATCH] uio: Provide UIO_MEM_PHYS_WC for write-combine mappings Date: Wed, 14 Jan 2026 11:51:49 +0100 Message-ID: <20260114105149.1725098-1-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AM0PR10CA0002.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:17c::12) To AM8PR04MB7779.eurprd04.prod.outlook.com (2603:10a6:20b:24b::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AM8PR04MB7779:EE_|AS8PR04MB7798:EE_|AM2PEPF0001C716:EE_|AS8PR04MB7688:EE_ X-MS-Office365-Filtering-Correlation-Id: e5814697-4e2e-4e19-fb37-08de535af2c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?RVQiEEvjklGlSAahxnB6Og8p+RxFVcgUCHpb7K5elCarhM84UQF8NZYV51yD?= =?us-ascii?Q?t15GkOusor64mmB+1Bdktg7Q+HRvJfUBOnC0l9pdHdmLtJPNb8T9cosEb3Ov?= =?us-ascii?Q?IYeL0XOibQPd/+Qfew33+LJ2niHiPaOIqrZ6Tc+Sy6CU8vVwAD6FdyIWEs8W?= =?us-ascii?Q?H0jS6lPwqLG+NpM+d2W5VNdHnW1+s+zuD6bt7c5E2jY/Gwc+MKe/wTTodkSL?= =?us-ascii?Q?XrRHDb4aoLZ/mC2X6RqufE8FzzYWwc4kzTVc9x6KZ8TBVGsZnrXhXqADOo61?= =?us-ascii?Q?qA6dKfdTN2c4CkyA/+of+QHNWVEVZRtwzGxdp8AdEHEjEOdKDbW5mf6EYAu9?= =?us-ascii?Q?5CNhneO1I850FlsnjxQlFFFwHw4BDo0HxrbfOy5s27755ZmJGt60YV2BdjiU?= =?us-ascii?Q?/Eopp0VKZ6xaCHzhQoKFZ93oodlS/+um5NvzQZtmEsh6ODfPOj9hPZ1qwW8n?= =?us-ascii?Q?UofB8NJrU6V4/PPbrq3UwWlJf4dLWei3zmxGKRubgLRDmzcYWJpnn74qKtTb?= =?us-ascii?Q?xaWonWV/unRwwe1arJo1kcRUlEi0uSop53cg3LlMLW5WmXG8BVItRV8VN7vo?= =?us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1txBrIiszvojmyQg4?= =?us-ascii?Q?Qu18FfpWhT0jMBFR/Ui82z6BxnvQqPqj0qhVg+cGZdjIR5DQtyoGjxhj4AVU?= =?us-ascii?Q?wgRDkNdd38MjN3ftDIEV1fU6+9dQ5jO+Gcxec9IJOSFsd/qaxYEIxzU4wM6m?= =?us-ascii?Q?4Hq0H8JFa2dKVNr8iqIBzKk=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM8PR04MB7779.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(52116014)(1800799024)(366016)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7798 X-CodeTwo-MessageID: a5ae6e8e-d480-4955-ab79-6dee8c37b618.20260114105201@westeu11-emailsignatures-cloud.codetwo.com References: <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.65d15247-f1fa-4fe2-a8f9-10b1259d8649@emailsignatures365.codetwo.com> X-CodeTwoProcessed: true X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM2PEPF0001C716.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: d3005738-1aef-4404-f1fe-08de535af10e X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|35042699022|14060799003|36860700013|1800799024|376014|13003099007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?V+8ZoQUKxK3xq9K28poMn6xGz8r97NWCV2Foos2tXylBwUi/sqo33CBUzL4Y?= =?us-ascii?Q?avwcMiezKS2rUwbtAzcl0Jydtv2feAK7WFHGHAdxkcknklzbSuACo+OJayKg?= =?us-ascii?Q?APhgKeJJx9KPM4uC6SxHaDi0RoUfEVnnNRvU3uzCbWTe79RjlBNWF28xIoQ2?= =?us-ascii?Q?9PYFitS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H4hs1HvTnj29YqZpQj?= =?us-ascii?Q?bzVpoAH4TTc8TuqHF8jiHcyQ1+N4ouYd2MefO35czilSNk4id0NS3soimLmv?= =?us-ascii?Q?8hHpcv7/iXssGBAqs7JupGZcN2tOazJVSP7mzCS7HOhZu+6u47zDM1iZhNxV?= =?us-ascii?Q?nX3oMcKk9aEZ3XXWA04fYt/g6nqPmHgL0daNWBv2aqQ+18QgZAo/gWHjI0C3?= =?us-ascii?Q?7WtDL72knJnOjYY8cHufV75LO2vLuZeR9vggI3BFL43lIxoFzC1wBOhT+XOM?= =?us-ascii?Q?A0+5LvJDS5aOJwH8IHosA+eBBpddFtWhIcC6pAlQueRLTibM3fB41jMdqI8q?= =?us-ascii?Q?7Q/OYOuD5JZeWf8MpZK19CcnVnlSqQbZCrCEZLY69IIlhYp2bvXm79QBx5L0?= =?us-ascii?Q?UP5XnhQFmQl2ElopHaWrHxluQFpBfJeohv5QvRzgvhhoiYkJ+QrL7j3dFco0?= =?us-ascii?Q?TvDViCfh0oAMVpbOIoP/xYYvGd3/snH0F+Npv4cvkrfOW1uLnrzfL7D7p39o?= =?us-ascii?Q?odZOfto2YsnmuQSvbYrgjahsTN4Bp2s5Qug/ujLcLDKtBCtMB0mo0DGFp/Xc?= =?us-ascii?Q?CQ=3D=3D?= X-Forefront-Antispam-Report: CIP:20.93.157.195;CTRY:NL;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:westeu11-emailsignatures-cloud.codetwo.com;PTR:westeu11-emailsignatures-cloud.codetwo.com;CAT:NONE;SFS:(13230040)(82310400026)(35042699022)(14060799003)(36860700013)(1800799024)(376014)(13003099007);DIR:OUT;SFP:1102; X-OriginatorOrg: topic.nl X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2026 10:52:01.7814 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5814697-4e2e-4e19-fb37-08de535af2c1 X-MS-Exchange-CrossTenant-Id: 449607a5-3517-482d-8d16-41dd868cbda3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=449607a5-3517-482d-8d16-41dd868cbda3;Ip=[20.93.157.195];Helo=[westeu11-emailsignatures-cloud.codetwo.com] X-MS-Exchange-CrossTenant-AuthSource: AM2PEPF0001C716.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7688 Content-Type: text/plain; charset="utf-8" Introduce UIO_MEM_PHYS_WC which is identical to UIO_MEM_PHYS except that the mapping will enable write-combining. This allows the system to coalesce writes and greatly improves performance if the underlying hardware allows that. Typically used for video buffers, but also very well suited for filling FPGA (block)RAMs with reference data. Signed-off-by: Mike Looijmans --- drivers/uio/uio.c | 3 +++ include/linux/uio_driver.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index fa0d4e6aee16..c33db04d2004 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -757,6 +757,8 @@ static int uio_mmap_physical(struct vm_area_struct *vma) vma->vm_ops =3D &uio_physical_vm_ops; if (idev->info->mem[mi].memtype =3D=3D UIO_MEM_PHYS) vma->vm_page_prot =3D pgprot_noncached(vma->vm_page_prot); + else if (idev->info->mem[mi].memtype =3D=3D UIO_MEM_PHYS_WC) + vma->vm_page_prot =3D pgprot_writecombine(vma->vm_page_prot); =20 /* * We cannot use the vm_iomap_memory() helper here, @@ -858,6 +860,7 @@ static int uio_mmap(struct file *filep, struct vm_area_= struct *vma) switch (idev->info->mem[mi].memtype) { case UIO_MEM_IOVA: case UIO_MEM_PHYS: + case UIO_MEM_PHYS_WC: ret =3D uio_mmap_physical(vma); break; case UIO_MEM_LOGICAL: diff --git a/include/linux/uio_driver.h b/include/linux/uio_driver.h index 334641e20fb1..b925b8c17214 100644 --- a/include/linux/uio_driver.h +++ b/include/linux/uio_driver.h @@ -171,6 +171,7 @@ extern int __must_check * Do not use in new drivers. */ #define UIO_MEM_DMA_COHERENT 5 +#define UIO_MEM_PHYS_WC 6 =20 /* defines for uio_port->porttype */ #define UIO_PORT_NONE 0 --=20 2.34.1 Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijmans@topic.nl W: www.topic.nl Please consider the environment before printing this e-mail