Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4786749ioa; Wed, 27 Apr 2022 11:05:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5bZUsooOGnUx+zLL3S85dhTr1EV9z+CG8fXyzdaXdpHzmRQwzkZo/Ljn77FQQRnqWG+n1 X-Received: by 2002:a17:90b:4d89:b0:1d2:a75e:38b9 with SMTP id oj9-20020a17090b4d8900b001d2a75e38b9mr34393970pjb.73.1651082755446; Wed, 27 Apr 2022 11:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651082755; cv=none; d=google.com; s=arc-20160816; b=nNqoGyjBNNri0F1u7TGKcOQ0qZeZzJl94hRu88j5+wYmY3NNupZo7hb36Y/qvbED+Q Vuso7Q/rzqaz74wknwesFQyU+BZxDDyKX8PD9Pvm4JbAtw54hWkbxXeT4bjviH6A2eij BPtEgwLurpSCxp/KboKpyHgyJ3xa0hYvzEUDf5q7Q198BwKGDrsm1q8CHkopBH/To3IK zukTZgKKX6bIDnaRcThxOl1DDMMg6VQiVXPgnOEur0On/feJ1nVo0HNFS1rHv/yey845 7+IHhTOFM/wDrm8RfkhVqWh8NJj0gLt+3RptllXgTdqFJ+sX0EGPvawTekeLOCj61UyI DATg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=1xHL4QmCK/DrOa/aJvmZpkDiXv/J3Ez+2YZAF0qtmas=; b=A/kiaBTx6NLYSLoOVkQvHVA7vMZEqQdSKHagnEy03rC28H9Il0aPDES4Py/FTeYHbK iTPPLfyrVXp0bBRja5GWRpgTd01pYPgdnjQwT+3SThG1bprqLdRZ42PXRrmIvBVynxcq aN5ss3rwgykc0aEU9X/pIsJ6SIPADengwDErIVgah/3D08I2aoEN8yBznTp3QLFvIKBe 1YBSgEuz9bqmnhwX74v5aWpEwdsoIPv1D+Fww1YB8OwmgI5EVyCkZc+/gkm72Oy4d+75 S8P7oeVjZlZA9UWIoiFYJOL4RLoC43oPOy9K7Ark1Xwc+PXdw3UPdfQTJZCvGkp9uk4p ZyPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JKIwAvej; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x21-20020a056a00189500b0050a766fdfafsi2491011pfh.51.2022.04.27.11.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 11:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=JKIwAvej; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DB760A88B0; Wed, 27 Apr 2022 10:39:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244291AbiD0RmW (ORCPT + 99 others); Wed, 27 Apr 2022 13:42:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244277AbiD0RmB (ORCPT ); Wed, 27 Apr 2022 13:42:01 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1423424AC for ; Wed, 27 Apr 2022 10:38:42 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1651081121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1xHL4QmCK/DrOa/aJvmZpkDiXv/J3Ez+2YZAF0qtmas=; b=JKIwAvejtrpZqcRMRvzCcPLDjD9jpC9Id6pPNkwbhcLd+gvStTTf0pRYXL3eD2jL2yOVOW N+3Xm0DLVCdPcNzSLsODfmvJWZqzUxc1hoH3CH86zoSZKKPaWfK26En2fmSWYcQRkYWq2D FayvHmQ0wCFHP50rfSY9bFxapX7y6ff1b7YTbLr4Mh0omcnnOAyrYPc2y7jZ5OQxuTqKr6 KSiPrpJLIc8qM+hQIG453Qt9PcJjoUgzzCsY62L0zSYZjMZD/+tpPevEJxktVE4cAhMJQG tFx6Nmfb0ShSME5a3PE9SdnEmd3Rw2y8Wy+KCMmW+wuzCqKIztclGF7Td4S5Iw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1651081121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1xHL4QmCK/DrOa/aJvmZpkDiXv/J3Ez+2YZAF0qtmas=; b=pNY2gPs31YerENxCnWjlEiR0Hps/y0tPmMorvNqnJr7gcp6vd29WSki6eQ0jyou5MshSK9 DC8yGIzsqK+KBZAg== To: Shinichiro Kawasaki , "linux-kernel@vger.kernel.org" , Stuart Yoder , Laurentiu Tudor Cc: Jason Gunthorpe , Damien Le Moal Subject: Re: [PATCH v2] bus: fsl-mc-msi: fix MSI descriptor mutex lock for msi_first_desc() In-Reply-To: <20220427103846.hjnkfn5fpuqlzuap@shindev> References: <20220412075636.755454-1-shinichiro.kawasaki@wdc.com> <20220427103846.hjnkfn5fpuqlzuap@shindev> Date: Wed, 27 Apr 2022 19:38:40 +0200 Message-ID: <87sfpywhnj.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 27 2022 at 10:38, Shinichiro Kawasaki wrote: > On Apr 12, 2022 / 16:56, Shin'ichiro Kawasaki wrote: >> Commit e8604b1447b4 ("bus: fsl-mc-msi: Simplify MSI descriptor >> handling") introduced a call to the helper function msi_first_desc(), >> which needs MSI descriptor mutex lock before call. However, the required >> mutex lock was not added. This resulted in lockdep assert WARNING [1]. >> Fix this by adding the mutex lock and unlock around the function call. > > This is a gentle reminder. Comments or merge to upstream will be appreciated. I expected it to go through the FSL tree. I pick it up now. Thanks, tglx