Message ID | 20180925040635.5233-3-andrew@aj.id.au |
---|---|
State | Superseded |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42K71K4w7Gz9s3x for <incoming@patchwork.ozlabs.org>; Tue, 25 Sep 2018 14:11:33 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="Lj/NpYaA"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="wkPXs9us"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 42K71K3N41zF3JJ for <incoming@patchwork.ozlabs.org>; Tue, 25 Sep 2018 14:11:33 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="Lj/NpYaA"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="wkPXs9us"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=aj.id.au (client-ip=64.147.123.25; helo=wout2-smtp.messagingengine.com; envelope-from=andrew@aj.id.au; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="Lj/NpYaA"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="wkPXs9us"; dkim-atps=neutral Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42K6wK23cxzF3Jn for <skiboot@lists.ozlabs.org>; Tue, 25 Sep 2018 14:07:13 +1000 (AEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B91F4515; Tue, 25 Sep 2018 00:07:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 25 Sep 2018 00:07:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=6yWp0B8/dO9mhIozF kH9i0ET8fuWD9c5fSWljFaxcY0=; b=Lj/NpYaAAnTSv1pKmfUGXpfIvSYH/fkVz SzhAMrbVZpJMBE4qyCHZWG00eGuRMn1iSiLw/6vg/QaQV8QfJ24mdqmhTrKiR1V5 aDNj9H28ZbKynn9xPwuBS9PtTr5le+xSwLK7ipiksjKoXmsKTtnV/UIrGOulWH1Q +mPEWI6Qg7x9qsn55NmijYohcF4FHcAX4DPuXDZprg0AA3WhycUPbcipbfcBr6o/ 7jCX2+tUHmM8dPqQCX4U34XdU7TmXaDV7Mnuh0xe/wa79JdNuryBB0iHV/yxyCtb D36L53oEcvFENb+8oLUXArLwnF7odHc1EFLTmfGJO/pEvOs6DVE4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=6yWp0B8/dO9mhIozFkH9i0ET8fuWD9c5fSWljFaxcY0=; b=wkPXs9us 4CQFp/D/x1jOZ44oo5/aEaBWjKp8fiw4O87c2NdJAxog8WN4SfkUev3qbTD8I7CH HxMWleQN8Gr8LrAwsd0mcsCAJ+CABhkZyOwTV9DT61tFDi11HnIaEYyCaWPqX1LI 3o6Oes1Bh4+NivjZT3cnIY6/BY7GyiXSujwOPKqH0sPsgF6hS8v5W0uSG/iCsMyo 305MCaWdC2ec7NTW2dr8f5blRWlmC8xonOS+C88To+WhSGN3VG+cY5oVXbuZ1Ab/ 79aYgxniNmC09i5y/LDY9OArcrlTanXG7WKhZtSWvLpxqn/8KlS57KqOyC4A2sG0 folfufmUS4BxNQ== X-ME-Proxy: <xmx:brSpW1nCwXLonsoBthqgrnu1XF9ykKL9Z3CPZR-MUW2m6KkRtEi4cg> <xmx:brSpWxCscH00q285keEMCTIDUIR-IpgBDOexMcSkI-6zy069yIcdrA> <xmx:brSpW9frKUryt_FnMOe1d0B3D5VY1wJmAz20V-JoRlwR2HnAyEGeRA> <xmx:brSpW0IStwO7rw4R_rsYKUVyL9Vw1YJ3Z72zvQ83YdjGVgSIGKEc6w> <xmx:brSpW4f9yb3tVlpQXGu8rt3Jvyn8INn_7TK3U2DkzFFRTp4_pnmYKw> <xmx:brSpWxhPQgLESyx5Lb5hjZ8TJJKOAmcuLd3BA3MKc73W-o0TjJffvA> X-ME-Sender: <xms:brSpWzTtT3kCjkpQyuhDBuqdnG9bwtjDP6ZN2M_i3YyPEWVcomBnnw> Received: from dave.ibm.com (unknown [118.211.19.207]) by mail.messagingengine.com (Postfix) with ESMTPA id 53561E4061; Tue, 25 Sep 2018 00:07:07 -0400 (EDT) From: Andrew Jeffery <andrew@aj.id.au> To: skiboot@lists.ozlabs.org Date: Tue, 25 Sep 2018 13:36:26 +0930 Message-Id: <20180925040635.5233-3-andrew@aj.id.au> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180925040635.5233-1-andrew@aj.id.au> References: <20180925040635.5233-1-andrew@aj.id.au> Subject: [Skiboot] [PATCH v2 02/11] core/lock: Use try_lock_caller() in lock_caller() to capture owner X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Cc: dkodihal@in.ibm.com, Andrew Jeffery <andrew@aj.id.au>, anoo@linux.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
Add and integrate an IPMI flash implementation
|
expand
|
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
diff --git a/core/lock.c b/core/lock.c index fca8f465f262..a26d6621bbd0 100644 --- a/core/lock.c +++ b/core/lock.c @@ -230,7 +230,7 @@ void lock_caller(struct lock *l, const char *owner) lock_check(l); - if (try_lock(l)) + if (try_lock_caller(l, owner)) return; add_lock_request(l);
Otherwise we can get reports of core/lock.c owning the lock, which is not helpful when tracking down ownership issues. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> --- core/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)