Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175573/?format=api
{ "id": 2175573, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175573/?format=api", "project": { "id": 38, "url": "http://patchwork.ozlabs.org/api/1.0/projects/38/?format=api", "name": "Linux PWM development", "link_name": "linux-pwm", "list_id": "linux-pwm.vger.kernel.org", "list_email": "linux-pwm@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20251218-clk-send-sync-v3-2-e48b2e2f1eac@google.com>", "date": "2025-12-18T13:27:41", "name": "[v3,2/3] tyr: remove impl Send/Sync for TyrData", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "a9044d4615c3633bb975ca5d2861d51b0523ad8d", "submitter": { "id": 89273, "url": "http://patchwork.ozlabs.org/api/1.0/people/89273/?format=api", "name": "Alice Ryhl", "email": "aliceryhl@google.com" }, "delegate": { "id": 161009, "url": "http://patchwork.ozlabs.org/api/1.0/users/161009/?format=api", "username": "mwilczynski", "first_name": "Michał", "last_name": "Wilczyński", "email": "michalw628@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20251218-clk-send-sync-v3-2-e48b2e2f1eac@google.com/mbox/", "series": [ { "id": 485853, "url": "http://patchwork.ozlabs.org/api/1.0/series/485853/?format=api", "date": "2025-12-18T13:27:39", "name": "Implement Send and Sync for clk", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/485853/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175573/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pwm+bounces-7811-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pwm@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=google.com header.i=@google.com header.a=rsa-sha256\n header.s=20230601 header.b=rTX3urqp;\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-pwm+bounces-7811-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=google.com header.i=@google.com\n header.b=\"rTX3urqp\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.208.74", "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=google.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dXBPX5TYyz1y2F\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 19 Dec 2025 00:30:40 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id E0EA8304ACB1\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 13:27:56 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2BD3833FE05;\n\tThu, 18 Dec 2025 13:27:56 +0000 (UTC)", "from mail-ed1-f74.google.com (mail-ed1-f74.google.com\n [209.85.208.74])\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 ED7C233F8BD\n\tfor <linux-pwm@vger.kernel.org>; Thu, 18 Dec 2025 13:27:53 +0000 (UTC)", "by mail-ed1-f74.google.com with SMTP id\n 4fb4d7f45d1cf-64537824851so633522a12.1\n for <linux-pwm@vger.kernel.org>; Thu, 18 Dec 2025 05:27:53 -0800 (PST)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1766064476; cv=none;\n b=UbVVZ4oKfFcIvFSTQpBRIoO/dweiWZHfLZ/7jJkVmco3C3lXG5tcGPpIdPiSF+36h2HIphRx0beRSbSkaoNY5s3OsdgiZtTEZ7Y4rdVwWbNg1WcT8uylNlfuQMC26VNlljNTZ3Iz+K/wZxAa3x/5xZonsbwdGfFJ5agMvXBdbIE=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1766064476; c=relaxed/simple;\n\tbh=F1lcAFNww32YALWPOxbeZmA3ejiotHsR5mfwB5toNyY=;\n\th=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:\n\t To:Cc:Content-Type;\n b=JZZ5xG82Jjc3WvemqBS2CM96yiMZFW7YNGX2XtfKfYqsqqtl34I596WFxrgxJLo/zsskDwnxuEt8jQw5bn5LdNII4KWPR0kMqr2XkC0utFO0vwbLV639024vhwtFUb7dQs9EVIYFALq/GjbeRABBmN+g93MJuywVki/Z3R4AApY=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=google.com;\n spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com;\n dkim=pass (2048-bit key) header.d=google.com header.i=@google.com\n header.b=rTX3urqp; arc=none smtp.client-ip=209.85.208.74", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=google.com; s=20230601; t=1766064472; x=1766669272;\n darn=vger.kernel.org;\n h=cc:to:from:subject:message-id:references:mime-version:in-reply-to\n :date:from:to:cc:subject:date:message-id:reply-to;\n bh=uPptdLMQzSRoeYj6Hrjl7dIAj/bZbKtg9ZgsU3qRcP4=;\n b=rTX3urqpBK9qP2PTRcf1RL/jXbbwNTuDxREnG4sVr2/pZ9M8WHReJlhZdbYxdCuV3D\n jso+sO2FDEqV7YO1l5+LmwMDCyv5Ykow4UhZjFybH+jC2WIxPF3PCQJMYV8xP4HiczFH\n Cf0dObKqmUPRT7ZWpzICyX7PEMa3V+UvmWJj3m7DLtPOVk/aeSX6SqyCVJN7iavG38lG\n Zk8jujUq6cYVI7cQbTYyke1EgN5e7ahJISUx3LfBoKcaapwk0ZGpq0ZfJ9NBpDG6hgz9\n NbljBh3JOxpZPhWSdw7dAbYu6yAH6nADpRrj2z+CLYKHxDJuYZoY80JzPpK+6ayg7q+N\n 5HDw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1766064472; x=1766669272;\n h=cc:to:from:subject:message-id:references:mime-version:in-reply-to\n :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=uPptdLMQzSRoeYj6Hrjl7dIAj/bZbKtg9ZgsU3qRcP4=;\n b=iDTqaFZexLmPC9CBsFeQEQP+oPlSrmRjZ8MEHRuflA1FSVqBZMwCxt6gjMVt9s7394\n 5XAgtGqlewpcFn/bqqSw/kmbPBddjEXk3KdQQk9QP3u8ipImJowvNZeYW322JdYvtbGx\n 3Tm7StarTJmj72tYwIyvy2qQfBhrx4UOy695VYRTozPMUCbRyLtbwMNzbYIRqalM5u5M\n +qR5E9tVpUl1irONiW9P4qVbmfSN8m50u2d/j+ZyOhRsvo8Nq+c3M6fJ73/rpow+IRWo\n 4QHAkG8T6NJd0sWcXdGxDqKMUWU1obPM/vDdXr9zKOs6Tfr0/E9zM8jcRfVcNuQy+Vu3\n 6tjg==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCU6pR4Urtv1VhjVPfoTlAzHoGIZSVQ5+AJx/vzs2MNS1S5C04zOoSt0t4Jw4tWB9dG1IXAmS/NyvDI=@vger.kernel.org", "X-Gm-Message-State": "AOJu0Yxt+wq1UG/LNzpq32gM6lF9+Lu3FTB6h2QuNwmtr5p5vh3NnXfv\n\tCSnKEJkRy8HHHTwY/NPBKOmih+i949KEIdwdiGfRp4FSj2JpS8DdXvssrSpGU3lRzH30kaqeJnx\n\tfHV0UA9HnUDzIJJmlPw==", "X-Google-Smtp-Source": "\n AGHT+IEqPOft361pJTlpzbo4r1Az15cTuwMQEfh5KrGil6c5DKT9dTPisXdo2WdHWgmo3QB8gCSt51uaXvkVnKs=", "X-Received": "from edtb2.prod.google.com ([2002:aa7:c902:0:b0:64b:3f32:3786])\n (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by\n 2002:a05:6402:510c:b0:649:aa2b:d34e with SMTP id\n 4fb4d7f45d1cf-649aa2bd4d5mr19796028a12.34.1766064472249;\n Thu, 18 Dec 2025 05:27:52 -0800 (PST)", "Date": "Thu, 18 Dec 2025 13:27:41 +0000", "In-Reply-To": "<20251218-clk-send-sync-v3-0-e48b2e2f1eac@google.com>", "Precedence": "bulk", "X-Mailing-List": "linux-pwm@vger.kernel.org", "List-Id": "<linux-pwm.vger.kernel.org>", "List-Subscribe": "<mailto:linux-pwm+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-pwm+unsubscribe@vger.kernel.org>", "Mime-Version": "1.0", "References": "<20251218-clk-send-sync-v3-0-e48b2e2f1eac@google.com>", "X-Developer-Key": "i=aliceryhl@google.com; a=openpgp;\n fpr=49F6C1FAA74960F43A5B86A1EE7A392FDE96209F", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1600; i=aliceryhl@google.com;\n h=from:subject:message-id; bh=F1lcAFNww32YALWPOxbeZmA3ejiotHsR5mfwB5toNyY=;\n b=owEBbQKS/ZANAwAKAQRYvu5YxjlGAcsmYgBpRAFSWSny77iwIsGzKsSzrxHbWYGRidi4wKUj+\n ky0LI75Ss2JAjMEAAEKAB0WIQSDkqKUTWQHCvFIvbIEWL7uWMY5RgUCaUQBUgAKCRAEWL7uWMY5\n RvgbD/0e4oYtNdP81rAHg3z94FA3jXour1f/plwNgEk/ZamK57EcpX33mAyVLYHcizYsBAXobj8\n am8MyWvLYn6vpr7tx2LS7NZKRpaDdKtU8hLtv4kiTrUqlXTHc2gdDX+4bUPvbHaucO/SaM0cwhH\n YmdiCosFbFZKnHVwGbfbiOK0e/NfqRfDUckj/cxh4YB5cCtDV8FFyJ3kkDdAxM0dGs4OLipgI4h\n i5CMx4B1rrv2P9G/QlL/fSDjJ43XH4475E9YOsLEvPEhAYlLIYUzo/rE/Kaeu6PICY8hh1yy6Fv\n STETnhmW/mMc1h/YSnBddXnFklCoCMHGWZzwUNVhbINFR9wXTZ9dORQQEC/kQKrz3HB9mCUHavC\n AKTMK8M518WNFW/KmcpCQuCUV/QMzh53S1dqxnOGrFXOkyTT1J8DV7ILO1B1djcUFyYWghNR8Ip\n ghgLFaoKreKay09TC/pz6aQe6oegcfGdVHZeCwrF783LbaefHkCwnQxgq93CoWD4SaDxVdptyiU\n c3VFdxgQUkPGbHHH9zk5ct26cnzGalmVDInhx915An/XkyBHna1HZl1I7dkY5je4cJxn8iXJi9n\n ezwBfnj1zNVzI053FQL7sgbp13dOehoXQV30MffCZQ21N9huXxaq2USl3CSpqC1SP89Y7AVazfB\n RhbcohkXt0oVDGw==", "X-Mailer": "b4 0.14.2", "Message-ID": "<20251218-clk-send-sync-v3-2-e48b2e2f1eac@google.com>", "Subject": "[PATCH v3 2/3] tyr: remove impl Send/Sync for TyrData", "From": "Alice Ryhl <aliceryhl@google.com>", "To": "Michael Turquette <mturquette@baylibre.com>,\n Stephen Boyd <sboyd@kernel.org>,\n Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,\n Maxime Ripard <mripard@kernel.org>, Drew Fustini <fustini@kernel.org>,\n Guo Ren <guoren@kernel.org>, Fu Wei <wefu@redhat.com>, \" =?utf-8?q?Uwe_Kle?=\n\t=?utf-8?q?ine-K=C3=B6nig?= \" <ukleinek@kernel.org>,\n Michal Wilczynski <m.wilczynski@samsung.com>", "Cc": "Viresh Kumar <viresh.kumar@linaro.org>, Miguel Ojeda <ojeda@kernel.org>,\n Boqun Feng <boqun.feng@gmail.com>, Gary Guo <gary@garyguo.net>, \"\n\t=?utf-8?q?Bj=C3=B6rn_Roy_Baron?= \" <bjorn3_gh@protonmail.com>,\n Benno Lossin <lossin@kernel.org>, Andreas Hindborg <a.hindborg@kernel.org>,\n Trevor Gross <tmgross@umich.edu>, Danilo Krummrich <dakr@kernel.org>,\n Daniel Almeida <daniel.almeida@collabora.com>, linux-clk@vger.kernel.org,\n rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,\n dri-devel@lists.freedesktop.org, linux-riscv@lists.infradead.org,\n linux-pwm@vger.kernel.org, Alice Ryhl <aliceryhl@google.com>", "Content-Type": "text/plain; charset=\"utf-8\"" }, "content": "Now that clk implements Send and Sync, we no longer need to manually\nimplement these traits for TyrData. Thus remove the implementations.\n\nThe comment also mentions the regulator. However, the regulator had the\ntraits added in commit 9a200cbdb543 (\"rust: regulator: implement Send\nand Sync for Regulator<T>\"), which is already in mainline.\n\nReviewed-by: Danilo Krummrich <dakr@kernel.org>\nReviewed-by: Boqun Feng <boqun.feng@gmail.com>\nSigned-off-by: Alice Ryhl <aliceryhl@google.com>\n---\n drivers/gpu/drm/tyr/driver.rs | 12 ------------\n 1 file changed, 12 deletions(-)", "diff": "diff --git a/drivers/gpu/drm/tyr/driver.rs b/drivers/gpu/drm/tyr/driver.rs\nindex 0389c558c0367522471ea78fcf72a6b58c4a3650..09711fb7fe0b1c83b72bffba06f5a76c53244f4d 100644\n--- a/drivers/gpu/drm/tyr/driver.rs\n+++ b/drivers/gpu/drm/tyr/driver.rs\n@@ -53,18 +53,6 @@ pub(crate) struct TyrData {\n pub(crate) gpu_info: GpuInfo,\n }\n \n-// Both `Clk` and `Regulator` do not implement `Send` or `Sync`, but they\n-// should. There are patches on the mailing list to address this, but they have\n-// not landed yet.\n-//\n-// For now, add this workaround so that this patch compiles with the promise\n-// that it will be removed in a future patch.\n-//\n-// SAFETY: This will be removed in a future patch.\n-unsafe impl Send for TyrData {}\n-// SAFETY: This will be removed in a future patch.\n-unsafe impl Sync for TyrData {}\n-\n fn issue_soft_reset(dev: &Device<Bound>, iomem: &Devres<IoMem>) -> Result {\n regs::GPU_CMD.write(dev, iomem, regs::GPU_CMD_SOFT_RESET)?;\n \n", "prefixes": [ "v3", "2/3" ] }