Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3390589ybi; Mon, 10 Jun 2019 09:25:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1NKDNH9iH8CkbBalYw/Vx0W2Dw3oN7j1umRwQSq6VeWH2AGQXqieLgK3VGw546JCuPPV/ X-Received: by 2002:a17:90a:9f0b:: with SMTP id n11mr21624006pjp.98.1560183943339; Mon, 10 Jun 2019 09:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560183943; cv=none; d=google.com; s=arc-20160816; b=ldHTkM8f/KWHxUtGVslAFA2IJSSAf96rRBmvFERwOEJ8AbFuEt3jJ376IE8JbnYkjj mT9UDVEHjYMx5aKLShFBdw5GxulcA9MCrfM0VrHuJ5o6bXc1qoJujDjXhmRSQqgRYDkB nNe8f2zepPhxOIKXLdQ7F2D3sGhwdIB/TWOvzyQH5O0PqCJ8zYsBtipLdtl0Xt/ad0MA +cvU8KrY2fuTqKx3e8ra+vyb73VtsEngJkgx8QyUrO6MpTa+IJzcD7p9947idCyzs2c/ mE5pCeN8v0vmgjegeuKbgGiC7drMJu8dCBgNQSuZgPX7xitOpLG4s4NLi7JwJNwWiV1M pQMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=8uh6CdMohZorEgVN9vXbSY/UeOknex/E8iFCG0M5wD8=; b=zjUkrR9nBIHLC6kq2qJhlR4G9JqsTksgDh0eRd/KbU9fuKi9Ul4Wi8Yr5kWmTL4R99 fEgW3I8B+ULXhQ+UbPlSNkWY+bJ4Vq6WuTdR4j3kF30SRE1Hlu8quShdobS1uiZA48D8 UCBe6hxwobfHFOSQ3ykNGNaEOu+mFnxxKQm0rtpDwJbV9C+rTDvrhJDJu4iul9OMdOf4 DCG+cuhSgtcXrN7611urSP/+i6ehZyk/Xu4IJCn6qHpdFKpS6Nt9/gDTMPQzA+ad/R+d UOF8/7UGmsSvW79dF+g0XsggvIGgEJHkQ4yga7VR7PBlouv5L5MSDog3maz2wmBK84RL hirw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="YF/qqa7R"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si9880619pgb.104.2019.06.10.09.25.28; Mon, 10 Jun 2019 09:25:43 -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=@lca.pw header.s=google header.b="YF/qqa7R"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390524AbfFJPfy (ORCPT + 99 others); Mon, 10 Jun 2019 11:35:54 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:37771 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390415AbfFJPfy (ORCPT ); Mon, 10 Jun 2019 11:35:54 -0400 Received: by mail-ua1-f68.google.com with SMTP id z13so2929327uaa.4 for ; Mon, 10 Jun 2019 08:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=8uh6CdMohZorEgVN9vXbSY/UeOknex/E8iFCG0M5wD8=; b=YF/qqa7RPVilOMXhPggTQ2tpP/u5TBkNMkf0tWkNDuY71XiWzKl9NLQvhH3Yc9YH26 VUKd1InO3NfUJHMKYkTx5o+qwWpdkk/hXfKrXve3eDM/0L4UKXbC8gw8CgPDQPZjt+I5 eSAHC5TD/9yiJ0Zg2UzHjyeSga9rve4ZZNGF8RnOjZBy9eTLyiIV4AEeNtXMcO4zrvIy vYIf0XEmyd6tEuSgEH8yuYT2nTVOCICSlZXbE2Nhf615F+EqfYJFAWd1ZWD1Q62pqVdO Q4jI4iwBEBNfvr2+p2FesRQtB57J+Jt/Y/O2qK4THXTbXH5xok4FtX3G7a81IggvA9ZG QGpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=8uh6CdMohZorEgVN9vXbSY/UeOknex/E8iFCG0M5wD8=; b=rHurR7rLFr/4Ewb+n+pNq1tTkEzjhGaSg7GSa9YwVdH317J99Fqgn3rPHarcNWPAyH wePaKWIiqQWXGJ5h7Z09+2z9i01RrB8oa0qKW7vUvw93i/DSljnFlPqmQWbIH6IJl1mP bRH7FP/NftFUPmmG6yuyh1tD74kyakztcNdOD51b2kGbevrDTVyRP8MTC+l8CCEAsI/y WQxLMoyrR9BM2vEwZLNTDZpFyYkhbmZWvOJLWUDlbIGYq7Cocnb8phRsg7l3niiSTnEJ 49qjOst5OmMhJ3N9dUPvGHAFk9DSAfHGbDzpa8JXne9k2psYdCBiT7Nt9MvNrsjtcvR2 36+w== X-Gm-Message-State: APjAAAVt4cuZztDIqWP0wyQF10e74YOp7geSzgcPy1GDHCxPh542AQx4 hZKJ/tGy3tLsdutOG2C+7xhZnQ== X-Received: by 2002:ab0:6896:: with SMTP id t22mr25091588uar.127.1560180953301; Mon, 10 Jun 2019 08:35:53 -0700 (PDT) Received: from dhcp-41-57.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id z21sm2809391vsk.30.2019.06.10.08.35.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 08:35:52 -0700 (PDT) Message-ID: <1560180947.6132.67.camel@lca.pw> Subject: Re: [PATCH] locking/lockdep: Fix lock IRQ usage initialization bug From: Qian Cai To: Yuyang Du , peterz@infradead.org, will.deacon@arm.com, mingo@kernel.org Cc: linux-kernel@vger.kernel.org Date: Mon, 10 Jun 2019 11:35:47 -0400 In-Reply-To: <20190610055258.6424-1-duyuyang@gmail.com> References: <20190610055258.6424-1-duyuyang@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-10.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.