From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55D121D5CC6 for ; Thu, 16 Apr 2026 17:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776361832; cv=none; b=DWJPY7w46mCkg7M9Nou9igxce5EyudaOsckfMSUb++x7MPybfsGOA4hwldxJzH6LVSaqRXyyaLY2AOLf9M/aqpgT/LHkuhKAPAjdjTU7MqgybMrOYrfAO+qhdr2lDe03izDIi4mKwVXNXenhXjYnzSkRyitbE3NNYRx9+muEd00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776361832; c=relaxed/simple; bh=iEBpxmoGYQ6/z5wnr2VhmitCxn5WFgJ9RzsrwAghSow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cs2FHrGbLjWFNILNGIpJEKq3Cb89+daneihkItyPOvnfOs5FnvuQLJZK38bsQmwyE6F+cZERst72elbqd4uPRB2ykOrya/ElyKVy/3UYQhJoKj1W9Y0NgPi906Y92IQXizubFyLoaRksn1jEAkw9/KZY6uY2Ux2ExscexdHSKPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=QiPVSyre; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="QiPVSyre" Message-ID: <919ce78a-45fc-4f4c-817b-154dd7c1cd00@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1776361819; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zXhWQiWYqhCW6r3ekdup8+QEuKfSdHIfYm4xq2OKTH4=; b=QiPVSyrejWyDHsNCEaiyiEI3lF/sWkn4f2E0ZTkTmh1mRiAXZke8yGWHta7//8qfE1RcSb 4PsGSupK9A/Ti4o32zaomK3MBDt3jSHTa2SJcIbFW54xgOQY2ZyV8DkPfKdOM5dvBHHey5 gO8RelDJx7140pEpKUOHav+cVsip4Ks= Date: Thu, 16 Apr 2026 18:50:09 +0100 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net v6 1/2] dpll: export __dpll_pin_change_ntf() for use under dpll_lock To: Petr Oros , netdev@vger.kernel.org Cc: Ivan Vecera , Arkadiusz Kubalewski , Jiri Pirko , Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, Aleksandr Loktionov , Rinitha S , Michal Schmidt , Jacob Keller References: <20260416113952.389405-1-poros@redhat.com> <20260416113952.389405-2-poros@redhat.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Vadim Fedorenko In-Reply-To: <20260416113952.389405-2-poros@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 16/04/2026 12:39, Petr Oros wrote: > From: Ivan Vecera > > Export __dpll_pin_change_ntf() so that drivers can send pin change > notifications from within pin callbacks, which are already called > under dpll_lock. Using dpll_pin_change_ntf() in that context would > deadlock. > > Add lockdep_assert_held() to catch misuse without the lock held. > > Signed-off-by: Ivan Vecera > Signed-off-by: Petr Oros Acked-by: Vadim Fedorenko