Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4929921pxu; Thu, 10 Dec 2020 08:44:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTF+2fwOwslK7Os4XxJv2jI7Jhp86FSZCXHq2khrR9UpQv2HT2HUwkXhO4WVo+liDgGZMD X-Received: by 2002:a17:907:3e85:: with SMTP id hs5mr7488640ejc.548.1607618673201; Thu, 10 Dec 2020 08:44:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607618673; cv=none; d=google.com; s=arc-20160816; b=BUhQEJOQhYdNcgpXZR1Kf9vTphJTwBZD9QiEG+Bxp/kmr5zmmD5OiaQ3hX5JHrpY6Z tySEcJ2KDCE6FNUkEAg6HBGSUmPCrlMQgIhkrkSstrzwlNFOSeKPOToFjDXty/W2YLUS AM9H01cQehopLps2BqRujP3zLYj9nQKsof/EenIBbH8HWZXdq6X3dqEIhs9AMu6Q60l8 OxTQlXJcTMbHksDuI0Jx7zTs8x03o2K/lvKLQLMIK9o8Msk1DRhPgEteP8bejh+AqqYg l77grTsXV8ZaljpEh11WnrXQr6YX1yDq6kuNzWyouXZI6JuEVG5C5pDR+acoEPfuI2Dc IFFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=txmIIpqfXVatiMpVGjOR+VvXldCT44unJuBtxl6IY2w=; b=Du7MuK2YodOCNK8CBj4GwFXpOgQORl4TDSHP77UZN8akcJ0JzLuxdz1eJh1i/K6vmM XrBkP7dVXcdsGZOA7q1D66N4S/CQsVHAiwUzXB+CKq1+6R6uEoUtNyJOdkxsqJfU6rNc E6XOWgriE5gzPxlUJc/6OHo8v/ipmhKHP0Uqu5qOn6y/T6x4iRTB6z5uNRxhhn0RFb04 Cqx/H/bmULp0MU+Of8I60SU2MSA/okeGRswHNHEPDkTBDd38xVL9sia2Bd5YIuVSF7sB MV3f5UwHaiUSQIZ8iiDsok2ddDZn4Q8mo+Mi4EwtKJRT5HlMb3oUpbBlmbg5kgp8tIt0 2Xmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck10si3058762edb.568.2020.12.10.08.44.06; Thu, 10 Dec 2020 08:44:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391281AbgLJQkO (ORCPT + 99 others); Thu, 10 Dec 2020 11:40:14 -0500 Received: from foss.arm.com ([217.140.110.172]:52462 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727848AbgLJQkB (ORCPT ); Thu, 10 Dec 2020 11:40:01 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 48DA71FB; Thu, 10 Dec 2020 08:39:16 -0800 (PST) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E8E573F66B; Thu, 10 Dec 2020 08:39:13 -0800 (PST) From: Valentin Schneider To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , tglx@linutronix.de, mingo@kernel.org, bigeasy@linutronix.de, qais.yousef@arm.com, swood@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vincent.donnefort@arm.com, tj@kernel.org, ouwen210@hotmail.com, Qian Cai Subject: [PATCH 1/2] stop_machine: Add caller debug info to queue_stop_cpus_work Date: Thu, 10 Dec 2020 16:38:29 +0000 Message-Id: <20201210163830.21514-2-valentin.schneider@arm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201210163830.21514-1-valentin.schneider@arm.com> References: <20201210163830.21514-1-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Most callsites were covered by commit a8b62fd08505 ("stop_machine: Add function and caller debug info") but this skipped queue_stop_cpus_work(). Add caller debug info to it. Signed-off-by: Valentin Schneider --- kernel/stop_machine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 971d8acceaec..cbc30271ea4d 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -409,6 +409,7 @@ static bool queue_stop_cpus_work(const struct cpumask *cpumask, work->fn = fn; work->arg = arg; work->done = done; + work->caller = _RET_IP_; if (cpu_stop_queue_work(cpu, work)) queued = true; } -- 2.27.0