Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2230971/?format=api
{ "id": 2230971, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230971/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260430090810.109232-1-marco.crivellari@suse.com/", "project": { "id": 35, "url": "http://patchwork.ozlabs.org/api/1.1/projects/35/?format=api", "name": "Linux I2C development", "link_name": "linux-i2c", "list_id": "linux-i2c.vger.kernel.org", "list_email": "linux-i2c@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260430090810.109232-1-marco.crivellari@suse.com>", "date": "2026-04-30T09:08:10", "name": "[RFC] i2c: testunit: Replace system_long_wq with system_dfl_long_wq", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "65a2703204a1e93a7ab36b5879840199f0b9f655", "submitter": { "id": 89671, "url": "http://patchwork.ozlabs.org/api/1.1/people/89671/?format=api", "name": "Marco Crivellari", "email": "marco.crivellari@suse.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20260430090810.109232-1-marco.crivellari@suse.com/mbox/", "series": [ { "id": 502246, "url": "http://patchwork.ozlabs.org/api/1.1/series/502246/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/list/?series=502246", "date": "2026-04-30T09:08:10", "name": "[RFC] i2c: testunit: Replace system_long_wq with system_dfl_long_wq", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502246/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2230971/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230971/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-i2c+bounces-17203-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-i2c@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=FDXLmice;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-i2c+bounces-17203-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com\n header.b=\"FDXLmice\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.221.43", "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=suse.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=suse.com" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5pLT5t0pz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 19:10:57 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id D6ACD302AD38\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 09:08:32 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 51C6C36896D;\n\tThu, 30 Apr 2026 09:08:32 +0000 (UTC)", "from mail-wr1-f43.google.com (mail-wr1-f43.google.com\n [209.85.221.43])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 710CA369211\n\tfor <linux-i2c@vger.kernel.org>; Thu, 30 Apr 2026 09:08:30 +0000 (UTC)", "by mail-wr1-f43.google.com with SMTP id\n ffacd0b85a97d-449de065cb3so57407f8f.2\n for <linux-i2c@vger.kernel.org>; Thu, 30 Apr 2026 02:08:30 -0700 (PDT)", "from localhost.localdomain\n ([2a00:6d43:105:c401:e307:1a37:2e76:ce91])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-447b3d47f56sm11936287f8f.2.2026.04.30.02.08.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 02:08:27 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777540112; cv=none;\n b=iSLi6fYzP5HTTmwdvJe155vLXsjPcFxfFEiuVu3CD2sAiHtyazQiroe1/Yw47CwVuZj2+W4aFXmT0WEjI+TEK9ugPsjXyEVNKOoHLdobBUwZ9Gomo+gL6gmKqd9+E5kg+ihBKG3oyiM5w4pIA/Ld8s9uNUreiJkLn/oM2BvFiqI=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777540112; c=relaxed/simple;\n\tbh=HRJDgSRMk1/mLWOWqNAm3NCi7RhOWDugO+fdOmMWTpo=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=BfunA/o+PT30HALZXBlGGT9X4q57r5htfCU0uIKOF72FUxWTfpp2RHGF6HaLiSBJheECIIQBy/BYhkO7mXjNLZV6mLZti+RWLsmxSwkDvfMR7uBBKta9vBnYp/C1Ve7YS2UmWGdbTDHFBYHUijYp8ZRyH/p0SSZymx8LfCZOeQ8=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=suse.com;\n spf=pass smtp.mailfrom=suse.com;\n dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com\n header.b=FDXLmice; arc=none smtp.client-ip=209.85.221.43", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1777540109; x=1778144909;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=77MMcrPtjjHJtpvk4YyZWJja9SciHKl/Y+JyJ79gGCM=;\n b=FDXLmiceonDVntNkfBBEcgqyzOjtDVE57LYp72QTbVHCVs1WxEjRqFyaZt/oO7++xW\n 5/DEY8LOa+RNsuay7z7ZPM4Nbld3tq1H05Rn4ew+ITastn3DON/cwXFKNPVKxvcKchQx\n NbeJyQFTOQMwDY8T/13dAbpvmWkt/I2WlfdJif3zHBR6IiCKZlKV2FvxKfdGK97jEji8\n eQNwDDMvCqKqeCIW0roowAxj4rL6EIBbO69xVvfFQSJMzV6AvOUSboPefAJ4KSsIHo36\n A1szMlYPM8msAXpma/eRpNypXtpcx28ahbO3nEzXY87mHc89lpSNu5un7aLWzOCMEikp\n rOyQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777540109; x=1778144909;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=77MMcrPtjjHJtpvk4YyZWJja9SciHKl/Y+JyJ79gGCM=;\n b=RD2mucCjioKroGW9rB9GznIWT6w8750sszLPHsp1lcqvDdJo3uCfGoamHuJ462QeK+\n a5mx3d7ul5EeJBmcCTXCgE/WaVTQyjEOcqYjSnR96lyKr+s2Zgolp63nbO9J14tonMvS\n PR0FNVht0G7kVcekrdMIabAQLpxVD2eWQQGXktB3DYgf7v+97/6BYgIJ/L/i0Vcualpr\n eM2vBVNxRhZXJ09z9dK7lQbO7YRtS4KYnhL+8AG3RdBIc/tAB25dsCQ2ecaqA8bfaJnW\n 2Dp4a4QN3pJWPQCNEifCKwnZMdTwgMoNOvwZoSvvhJRUlGSCvNEYM/wj18fMf5+KE5L1\n PNuw==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ/wCSzTuZS22JD5+vSuaTrxGE/mhmgSwjS+yJxVNWNDkA2j9BsAbL+MtDNOm+SHwHK4EzgdTv6pgeM=@vger.kernel.org", "X-Gm-Message-State": "AOJu0YyPcHrvYrzauqX+HO7PTQCh9Lj7T4zv5Fz/MzEJKXUv7Ohh5zxM\n\tFv712v4lV/mxTHJu44nnh1CtvLEAnB8l+Hm3jFcdO0Z367ETvtYaPnapw/u/QRTdhUs=", "X-Gm-Gg": "AeBDieseEwdeYE/7DmAkmxaG66H9Yudr5pLenKPTb5Rt7SYPZKYaf9QQ/pSFboWgqOH\n\tcBE1GyMYJSWarGRb7uUmj4mCBL0LUZO8qfKFQ5HVO1GJ/aRv/x+GQ/9iCjjiS9Tw/Nx5oeBKugA\n\tO5P5Y+LNqIAnq7IVW2xO0Nykb0VypJrbudhB7CAeLIdFyLngCo9RLrUdGtjuvh/3wCv82bmXVVi\n\tumWh8Fo0ZVvfldflkv/AGHmdG/rGjMjB5gFeYgCSMPUICMrHzzhl/tUSB2OiIVCSilNJw7JW3c3\n\tQ2xrLL/9IQOanaMkRkp/LRqvExRRfzEyloOm818jOPTVXrTCrRQRzALI+PsollKntgyOBhJMRaU\n\tABu6YJ1UVRPC5KjrPK1jiYTO2z6z56jh4OsVJ7ZPIYndu0sKemUAFU8WgCQ22wZ3HLfYufmfEdn\n\t2cJEJqMeOt8LzVkTFmg8mr1qyB49mHmCSdxnbqxtg37psgF7SzBBXqB1LfBQ==", "X-Received": "by 2002:a05:6000:2f8a:b0:43f:e266:4c9c with SMTP id\n ffacd0b85a97d-4493cb42f8emr3236680f8f.3.1777540108716;\n Thu, 30 Apr 2026 02:08:28 -0700 (PDT)", "From": "Marco Crivellari <marco.crivellari@suse.com>", "To": "linux-kernel@vger.kernel.org,\n\tlinux-i2c@vger.kernel.org", "Cc": "Tejun Heo <tj@kernel.org>,\n\tLai Jiangshan <jiangshanlai@gmail.com>,\n\tFrederic Weisbecker <frederic@kernel.org>,\n\tSebastian Andrzej Siewior <bigeasy@linutronix.de>,\n\tMarco Crivellari <marco.crivellari@suse.com>,\n\tMichal Hocko <mhocko@suse.com>,\n\tWolfram Sang <wsa+renesas@sang-engineering.com>", "Subject": "[RFC PATCH] i2c: testunit: Replace system_long_wq with\n system_dfl_long_wq", "Date": "Thu, 30 Apr 2026 11:08:10 +0200", "Message-ID": "<20260430090810.109232-1-marco.crivellari@suse.com>", "X-Mailer": "git-send-email 2.53.0", "Precedence": "bulk", "X-Mailing-List": "linux-i2c@vger.kernel.org", "List-Id": "<linux-i2c.vger.kernel.org>", "List-Subscribe": "<mailto:linux-i2c+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-i2c+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "Currently the code enqueue work items using {queue|mod}_delayed_work(),\nusing system_long_wq. This workqueue should be used when long works are\nexpected, but it is a per-cpu workqueue.\n\nThis is important because queue_delayed_work() queue the work using:\n\n queue_delayed_work_on(WORK_CPU_UNBOUND, ...);\n\nNote that WORK_CPU_UNBOUND = NR_CPUS.\n\nThis would end up calling __queue_delayed_work() that does:\n\n if (housekeeping_enabled(HK_TYPE_TIMER)) {\n // [....]\n } else {\n if (likely(cpu == WORK_CPU_UNBOUND))\n add_timer_global(timer);\n else\n add_timer_on(timer, cpu);\n }\n\nSo when cpu == WORK_CPU_UNBOUND the timer is global and is\nnot using a specific CPU. Later, when __queue_work() is called:\n\n if (req_cpu == WORK_CPU_UNBOUND) {\n if (wq->flags & WQ_UNBOUND)\n cpu = wq_select_unbound_cpu(raw_smp_processor_id());\n else\n cpu = raw_smp_processor_id();\n }\n\nBecause the wq is not unbound, it takes the CPU where the timer\nfired and enqueue the work on that CPU.\nThe consequence of all of this is that the work can run anywhere,\ndepending on where the timer fired.\n\nRecently, a new unbound workqueue specific for long running work has\nbeen added:\n\n c116737e972e (\"workqueue: Add system_dfl_long_wq for long unbound works\")\n\nSo change system_long_wq with system_dfl_long_wq so that the work may\nbenefit from scheduler task placement.\n\nSigned-off-by: Marco Crivellari <marco.crivellari@suse.com>\n---\n drivers/i2c/i2c-slave-testunit.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/i2c/i2c-slave-testunit.c b/drivers/i2c/i2c-slave-testunit.c\nindex 6de4307050dd..c6582ca86c7d 100644\n--- a/drivers/i2c/i2c-slave-testunit.c\n+++ b/drivers/i2c/i2c-slave-testunit.c\n@@ -124,7 +124,7 @@ static int i2c_slave_testunit_slave_cb(struct i2c_client *client,\n \tcase I2C_SLAVE_STOP:\n \t\tif (tu->reg_idx == TU_NUM_REGS) {\n \t\t\tset_bit(TU_FLAG_IN_PROCESS, &tu->flags);\n-\t\t\tqueue_delayed_work(system_long_wq, &tu->worker,\n+\t\t\tqueue_delayed_work(system_dfl_long_wq, &tu->worker,\n \t\t\t\t\t msecs_to_jiffies(10 * tu->regs[TU_REG_DELAY]));\n \t\t}\n \n", "prefixes": [ "RFC" ] }