Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 767FD3876C8 for ; Thu, 14 May 2026 10:38:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778755111; cv=none; b=dzrb6ptq9ywkYSDrysPXYGIDj2iCMUqAkdICNOu8npS00S13Oe0mH3IGH4KN+k4rMI/Klz2B4OR8ZsreY2QgkvChUMsW/Ep4wAU0H+xk2hrSW7WHj7sXE6iGWpQc8MNEMppBBZcMbLJkxk3oMXi5t5xFEWdQgidV1RKpCsZQBqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778755111; c=relaxed/simple; bh=KTGyWJnpBtFCctLQP3jytTl388cT8pUzt97Ctk4u45M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LjGC5+2u83FNK+nUB4yZitHvJIup3Xx2MvhVTTlaHTRyox02OQElHsLdhATtWPsxGKOKlpqtfOi0f8uYRBGuxCt/jcISppUGWHbOh9l7oZ2HKEbPa31k+V/LskMR3VddkM0tFAG4lkbflLC4hNG6AwBTQavxIH3cMTYwzqPbaGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=SoZNs3ja; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="SoZNs3ja" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-48a563e4ef7so70994255e9.0 for ; Thu, 14 May 2026 03:38:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1778755107; x=1779359907; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nitUXTwczWASa+N4nk3OM4knbU1wDNvKAJHSRzcwWjc=; b=SoZNs3jal00dh0gO9X9glyvOo0kF38qN8XDrcJ6XHu4ZzO5KVv9q93Zfb0gG8rKWMn zbqJh+IXGiHVgVQyW/hOwcJTYVv8DU7kZk4/+jpljlWzhvJvD1yO1dLdTmPqprZiTkAT /9SoOrP/1s3HbtLpaIPNUZu38n3mVnLfsg75O2sgmVXTm6LBhFeRN0UmXj0yonLEfC5O Vimsss+0U2DTFnnfZk3pueIqZervXrcLpqnrG34mFHnRy7NRMNrdHI0KXbu10XRJ05+f twB856rWhHH7j40/C6+KHfd9Wy3+nknVTfgCw/aGsIyulRjaQEsv9TmFqLMV2ECw70yw pcdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778755107; x=1779359907; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=nitUXTwczWASa+N4nk3OM4knbU1wDNvKAJHSRzcwWjc=; b=mh9ecBqrDm/xwsHgH34u6x8scf7Tl/qjEJBq/qHKbR91Ww1ty/8BnEEVvl53famRGL Ck5Ulr56o0/nK0zmtmRQ87JHbNMaJUwZijcn8CZKU930tIjP75qCrfEnwIGSvWd73HuY TKaWMos/mE4C84GIho+mBeLYbZfRau919nQw/OPRyZJF/w16quByuQUhaPe3K6NBm/1e Tq7zuR1zfD5kbOvFRl21/KrS04BaVELdUxO8GztRY2mCuk4PgjfLyrRQRngyur5rcYp6 Dan4s6bZ8S3fIxJKvTNDmr+AStG+nlXdKVwCQxHpPGxm+6DfY0PzUAzehVWSH80OJMnf caIA== X-Gm-Message-State: AOJu0YwUARDUjOGtHzmVtBlbctFVCe2cXBFgB5DKIDrvsmy0FfeSzrFj UUrkker76JcgR7m7uQSxh4bdr6yLEJzahQ3Fb9SXM/dEGUsWws1emR4SVPblheFhYqtUHvgjDn2 bQzeryOc= X-Gm-Gg: Acq92OE7VtNgvFku0QCQnIyieS7JuPqQaDDAosErePjFdaXUvEViV6LDBDycvDmqlwm BF6GTRWBMH4sx8W8j7YNnIfXKB76F11uFnH/sW72itVxeGSe/aqahfyozi47eIrUmjQa8qyya3W cPJNFA+zfn5GJlsIZQX7/vwIH2Jd5W30ERwIaQM2fNgtyw6htz8gvx/pi9XDfE9rIqyuxPPlf5T u7rrX9MNRDvYarqayHky+w3OPqe12GGpsVzV8cT8LYYXxQjE18ovj3cV4CFxa7JT/MmP7bwipMe 3j/b4kycnCcUCDumVeF5ZIpkn65DrV3I57dOJRGkv32bEZ9INS5DFrglixYXLrpsHnRr51VoaQN DU/fzBr+q/Vb3ZC9Uj1YTMC57yso3YbngoJLvovVKtIVszrlGL230+uiUzyP3b30G1qbP7tH1UQ pYbBXeC/SzmFz7AceuSh2KmQxLR1huSdO9yp2gyZjISnWQbSc2AItCs3xfaQ== X-Received: by 2002:a05:600c:1990:b0:48e:75fd:9f9e with SMTP id 5b1f17b1804b1-48fc9a3e58fmr99666465e9.20.1778755106750; Thu, 14 May 2026 03:38:26 -0700 (PDT) Received: from localhost.localdomain ([2a00:6d43:105:c401:e307:1a37:2e76:ce91]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fd64e2132sm57788365e9.15.2026.05.14.03.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2026 03:38:26 -0700 (PDT) From: Marco Crivellari To: linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: Tejun Heo , Lai Jiangshan , Frederic Weisbecker , Sebastian Andrzej Siewior , Marco Crivellari , Michal Hocko , Alex Deucher , Christian Konig , David Airlie , Simona Vetter Subject: [PATCH 2/2] drm/amdgpu: Replace use of system_unbound_wq with system_dfl_wq Date: Thu, 14 May 2026 12:38:09 +0200 Message-ID: <20260514103815.190628-3-marco.crivellari@suse.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260514103815.190628-1-marco.crivellari@suse.com> References: <20260514103815.190628-1-marco.crivellari@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch continues the effort to refactor workqueue APIs, which has begun with the changes introducing new workqueues and a new alloc_workqueue flag: commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq") commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag") The point of the refactoring is to eventually alter the default behavior of workqueues to become unbound by default so that their workload placement is optimized by the scheduler. Before that to happen, workqueue users must be converted to the better named new workqueues with no intended behaviour changes: system_wq -> system_percpu_wq system_unbound_wq -> system_dfl_wq This way the old obsolete workqueues (system_wq, system_unbound_wq) can be removed in the future. Link: https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/ Suggested-by: Tejun Heo Signed-off-by: Marco Crivellari --- drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c index d386bc775d03..0811593fca7f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c @@ -586,7 +586,7 @@ void amdgpu_coredump(struct amdgpu_device *adev, bool skip_vram_check, */ adev->coredump = coredump; /* Kick off coredump formatting to a worker thread. */ - queue_work(system_unbound_wq, &adev->coredump_work); + queue_work(system_dfl_wq, &adev->coredump_work); drm_info(dev, "AMDGPU device coredump file has been created\n"); drm_info(dev, "Check your /sys/class/drm/card%d/device/devcoredump/data\n", -- 2.54.0