Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4228024ybi; Tue, 11 Jun 2019 03:10:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQKZEOx/0wp7hUcysKcrtq8sx/hm/oqH/qmyyz3pzfTFMGb6GjxarW3K5S6xScPJYJqNRD X-Received: by 2002:a62:3085:: with SMTP id w127mr76455982pfw.170.1560247837875; Tue, 11 Jun 2019 03:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560247837; cv=none; d=google.com; s=arc-20160816; b=lr7i4u2cbZ1A3b94iZqCgNeCIFmTJi/nrAFGq3QWHeuBViF9KnM1xCcfwN/OEl/1ML F9pnIIgNH7dfFn8U9p0doSD4MCwoTPmUZPxjvbPjH7rn0r51ocCMVzt6t763mJwQqNn/ lZTTzoXPDXrVDHEMrHjmC9ATcb7EuyVosINqKoPZPADC5rt9BFVgguNo0HTFVFp0fZeE JOipyUIUkjrzubZmkf0vBXQuS8Q08mIODamoyvNeN7+65k25PzPcc3YrwEjZtueeuKcR +N4vNSz368Fs8S4Um8VmFjuoVm6FZqwFvSHWS9Ts5zdvV3q/Ccp/ksuE7ohlTMWClbvl tehg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4gz9mZbjszYzZBTJb7l413IFAcHt7ZYgUfg3Ae2WG/4=; b=S2P3ktez8gqVFmZ8m0jm4w7mVTKxaZHymXqu3un6PhQ1bONqY5ETf91gS2lf0lINEn A1p4lL9hytJJzsYgkqvXEmnsQ1/tT0rpm9lBUspNt0MaGoWP69r+WThg8GOkZ7xnGi0j yP0yMJFVtk2/HSyE9ZbfXFrE9GAfNkw+Hedc5ZNq9kwCmiG3lhPje0p55e4pZWhUF578 ZEAYbPyW7cPrp20/1hge5NZpiRcXeuC8/mjsbW7m9OjKzKuLQx8hiLA6w7Cg41mycYJZ i1UXSBY96dvVI9kggYQUiwamv5QqfyMA19xqJTSBJiVhG+3xmQME46La69It3NUkRCe+ WJuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iGlrH5h2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13si11559281pll.64.2019.06.11.03.10.22; Tue, 11 Jun 2019 03:10:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iGlrH5h2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404644AbfFKKJW (ORCPT + 99 others); Tue, 11 Jun 2019 06:09:22 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:41788 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728865AbfFKKJV (ORCPT ); Tue, 11 Jun 2019 06:09:21 -0400 Received: by mail-qk1-f193.google.com with SMTP id c11so7232795qkk.8 for ; Tue, 11 Jun 2019 03:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4gz9mZbjszYzZBTJb7l413IFAcHt7ZYgUfg3Ae2WG/4=; b=iGlrH5h22nU8Qz8yi8qHYGen6djdO3FL+9+MEzs+/aRqjStIGH4uoBwbb1HViDhN99 gqxANgUK15dexr2OqTwz/ZimVcqRrzd9fROS4VtLItPOfmTV5DpToM/jqISLRg7dBalr TH9l/Jb7rCmWnJ2wvBjXCxhV9sv/ExEB4JFzFZC4FlKeQOSuaAdr7g5ac/nILKKVQdP/ 7PHDZ7qg/3ZBraM7Oq5JjOchdqDB8pnJnfuWrv8ymcWAQMd3rxdJw0hi0VcRmygeH7wn NWRJjNStOn7TPOZPal3LiDDktyJj6gla72hTG+5pKXJsAuyR7KcRv0XBksmD/Y3EOwiw bp4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4gz9mZbjszYzZBTJb7l413IFAcHt7ZYgUfg3Ae2WG/4=; b=W7bABdkgqSmeRUy6r/K5/YNNZTvdIrwIf513aD5wPCS41pKDtElNW3rnuKdAdghfpG e1nTNh0qJD36GAsZ0DVhEIkYJPKm9TdOKFLOtSX1JIkAmaecASFJakStl6CpA+gOukzI 2T7YP80DJRZU2hKS5blXwDWQfzKVEdmE35aA75xDjR1PwkgW7h1gDPSb7ZAYCINpWp5q gkvGBSqPBLSV1ZlBbL6U8t95GlTfQEoDsQug9JKvWWAp4ekM3XNTaNR/b5qFp4eYzwd1 mb8K/rTaW7p4AV77KAsZ0Qa5L/DdH1oRpAF0MPL0HyTBj74OiPCUwJ+4gJ9rgPm3n5zd 0PMA== X-Gm-Message-State: APjAAAUFyyPdVPI2o5bAdAi4+t6JRbLjb8qJda96ZXTUW1Nk6nNMfNZl T56oMCRqIG1MpZb25QzNhu59Awdni5vGs6Pldw8= X-Received: by 2002:a37:aa4d:: with SMTP id t74mr60655649qke.144.1560247760932; Tue, 11 Jun 2019 03:09:20 -0700 (PDT) MIME-Version: 1.0 References: <20190610055258.6424-1-duyuyang@gmail.com> <1560180947.6132.67.camel@lca.pw> In-Reply-To: <1560180947.6132.67.camel@lca.pw> From: Yuyang Du Date: Tue, 11 Jun 2019 18:09:09 +0800 Message-ID: Subject: Re: [PATCH] locking/lockdep: Fix lock IRQ usage initialization bug To: Qian Cai Cc: Peter Zijlstra , Will Deacon , Ingo Molnar , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Great, thanks. On Mon, 10 Jun 2019 at 23:35, Qian Cai wrote: > > On Mon, 2019-06-10 at 13:52 +0800, Yuyang Du wrote: > > The commit: > > > > 091806515124b20 ("locking/lockdep: Consolidate lock usage bit > > initialization") > > > > misses marking LOCK_USED flag at IRQ usage initialization when > > CONFIG_TRACE_IRQFLAGS > > or CONFIG_PROVE_LOCKING is not defined. Fix it. > > > > Reported-by: Qian Cai > > Signed-off-by: Yuyang Du > > It works fine.