Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1999209rdb; Thu, 17 Aug 2023 08:02:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE5YcNEBzffHhiZpeZc9aSg5QIzPz39i4jGB/vPqDjJQXVqSB5iQ+uNkP9rqeflqul2ME4s X-Received: by 2002:a05:6a20:729c:b0:126:42ce:bd44 with SMTP id o28-20020a056a20729c00b0012642cebd44mr3950933pzk.17.1692284567224; Thu, 17 Aug 2023 08:02:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692284567; cv=none; d=google.com; s=arc-20160816; b=cEb4b4/ZtcvEYFtWSFdYl5+NhJvhcdGQGvWkm5qp1Bn3yJ9QqY1pk2J8lNegO6yi8W PJJ/tUqmIoLgBNrAVpq/E5gcJWe28Fukpof2jzNmwAMMd9c2MFFYQSnO4LQmj4bwPoZN kQ9Ad+uZQGhpqaAGwglwqJ4U0lxDbISQicLO4leZwQXLNQknsaPGdZL4jEv2EtC6I4Hv 8aH4zBzt2OvgnC9KwTNUThfaep5UEOH+MwdEXhpbj7RXVsgA1NollPuU0D47kYvF0aJl i/1h5/19CEb/tmmyCFfSZPxbTT9p3LGh96JrVz5jcZuEeBAjKKLeg17YpvxSid0u/jI8 iB9g== 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 :dkim-signature; bh=z7uM7qKTV1UNAMfLl+gXaLnAXfYcb9gMpYjiSCtO+/k=; fh=+ib22MsRPkhWe0O9NMu7ZxvEkMkTJGwKlQZ9AKJbn0Y=; b=ZVRhcfShqThOAc3grl/IXB02QXnnH1jq9Xi+qHTPv776pz0HGNZanAhQucdbujJqtj eHVVHZ/nfWwkDrJ8lye/s7Khh08UpeLiVcmIYjoUV581W1WFO4XGl4KlAqilcO90ETUo oA0nrKnOHJpE+Gy8MN2vLy0cm+gZkx+HawCb7NnbagJ/zYoom5TzSnhAMiC+VLlb7mdb wYOurTGaiYW3BFKqJzjzaEKe3h/xv2VAcZs0rAw6Zsrw5J+XDK1tuaB9NTf65ulJjJCR d4qXVQMlN5uuej9/8XBRmf/k6nFMwhSfZH68iPqMAewx2+4kPYm3d5JgOipvfusoJEa0 Jr9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="IwQ/zgn6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a63dd13000000b00565dd5efcbdsi4508109pgg.476.2023.08.17.08.02.20; Thu, 17 Aug 2023 08:02:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="IwQ/zgn6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345515AbjHPS0C (ORCPT + 99 others); Wed, 16 Aug 2023 14:26:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345561AbjHPSZt (ORCPT ); Wed, 16 Aug 2023 14:25:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04FF010C1 for ; Wed, 16 Aug 2023 11:25:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8E92064BEC for ; Wed, 16 Aug 2023 18:25:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FAEFC433C9; Wed, 16 Aug 2023 18:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692210344; bh=DJ9yu5ye0vD8Z+3A9KM6d52IQi769IRpEDvJol43U0I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IwQ/zgn6Ju8dXSzStCVffNaP+brRNto+YD81cUxwnQfBe2Ybw9ZAZvB0/wNjccxYg j99A3B+mXVeJKvCvR6h7qtOIRjwmYpZzrUtZ6KDcZ0AKW2hfph321dafwGp7f36Ua+ Hko7EHq6CWN5ynR5c2MMGBdGLeCr2mlsebd/6oLHyWHouBubQpB1enee/1DavQT5ii Z+hozl+Av+acqE5maGMEZOk2G8np8h04iErZTkn3bo9nr5gim4+yfG2ldoNlEoqqIn hAWjl4E4m5Z+EFNfzy6uG6dfhAaQn+2YmLkJrWx1ckIAFKV0oRv3pZTT3a5UIF3bLp drffeZBX+I+mQ== From: Will Deacon To: Waiman Long , Mark Rutland Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Robin Murphy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6] perf/arm-dmc620: Fix dmc620_pmu_irqs_lock/cpu_hotplug_lock circular lock dependency Date: Wed, 16 Aug 2023 19:25:27 +0100 Message-Id: <169219176343.1943871.17852741864277810991.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230812235549.494174-1-longman@redhat.com> References: <20230812235549.494174-1-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 Sat, 12 Aug 2023 19:55:49 -0400, Waiman Long wrote: > The following circular locking dependency was reported when running > cpus online/offline test on an arm64 system. > > [ 84.195923] Chain exists of: > dmc620_pmu_irqs_lock --> cpu_hotplug_lock --> cpuhp_state-down > > [ 84.207305] Possible unsafe locking scenario: > > [...] Applied to will (for-next/perf), thanks! [1/1] perf/arm-dmc620: Fix dmc620_pmu_irqs_lock/cpu_hotplug_lock circular lock dependency https://git.kernel.org/will/c/4c1d2f56d685 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev