🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8427

Re: [PATCH v2 1/2] nfc: pn533: complete failed queued commands and keep queue moving

#8427
From: Zhao Feng
Date: Thu, 29 Oct 2026 02:02
29 lines
9932 bytes
Hi Simon,

Thanks for the review and the Reviewed-by tags.

On the Fixes tag for patch 1/2: I traced the history as far as I can
from here.  The broken error path predates the 2013 split into
drivers/nfc/pn533/: commit 60ad07ab6bc8 ("NFC: pn533: Fix missing lock
while operating on commands list", 2012) already shows pn533_wq_cmd()
processing the queue in the original single-file driver, so the bug
goes back to the introduction of the command queue in the pre-split
drivers/nfc/pn533.c.  Unfortunately kernel.org and github are
unreachable from my current network, so I cannot verify the exact
introducing commit hash, and I would rather not guess at one.  If
someone with history access can pin it down (git log --follow on
drivers/nfc/pn533/pn533.c), I'm happy with whatever tag that yields;
otherwise leaving the tag out also seems reasonable for a bug this
old.

On the git am failure: the pn533_wq_cmd() region is byte-identical
between the tree I diffed against and current master (checked line by
line on codebrowser.dev), and the Media CI bot applied and processed
the sibling patch, generated the same way, without issues.  So I
suspect the fuzz comes from drift in the tree you applied to rather
than the patch itself.  If it still fails, let me know what it
conflicts with and I'll respin rebased against that.

Thanks,
Zhao Feng
Technical Details
Message-ID: <20261029020216.236-1-zhaofeng2@cmss.chinamobile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353121-linux-kernel-netdev=dewy.ru
References: <20261027070136.1339-2-zhaofeng2@cmss.chinamobile.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353121-linux-kernel-netdev=dewy.ru
From: zhaofeng2@cmss.chinamobile.com (Zhao Feng)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 1/2] nfc: pn533: complete failed queued commands and keep queue moving
Date: Thu, 29 Oct 2026 10:02:15 +0800
Organization: Usenet Network
Message-ID: <20261029020216.236-1-zhaofeng2@cmss.chinamobile.com>
References: <20261027070136.1339-2-zhaofeng2@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1915131"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:MM3bBChxzi5PpfZS+BgSV2mdffg= sha256:SR8nVgcuZvwOImMAr0zyM+BXx5aaUMK9u1GaUH4yZ4k=
	sha1:0iOO6Txis/65yK0DuRAUQ9Fzn1k= sha256:pYk2jzmMZ3qced8alrw6tXx2zwdgki3R6tVsMo0v4lM=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
	References
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id E63CC125C4E; Thu, 29 Oct 2026 05:03:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Status: No, score=-2.749 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=fail (1024-bit key)
	reason="fail (body has been altered)" header.d=cmss.chinamobile.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ZicDCkKFwGSr;
	Thu, 29 Oct 2026 05:03:01 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-353121-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=cmss.chinamobile.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id D86EA125C44; Thu, 29 Oct 2026 05:02:51 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 795E929BAA; Thu, 29 Oct 2026 02:02:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793239358;
	b=mw3TAWo9W7slLnGi830ZbeXkOKof6ROoc+UN4+R40+tTcdBuvoYzBFbZ4cKplgmlAee4
	 JhVxWhUaKxEsUXj6M+nc4JFlOYmZPLwBDbLyure864cv8w5ac/VluBwhnoO682odnoErE
	 AO78Ftb9eoGj7L/eKnf14roLd5AqoMw82cF9fsKZqQHM6MF3qCrZBl83ZAl52wjCh+CU/
	 EW27mxpqT9Vrhdc8JgXaDS6x9zTl10ZxLyR8jYqgMu914S+D5FflYCeBWAnvZ/iS2lEkz
	 SLtMoq5St9HqavU8aJ3FRp1TbiE4oLIWlevWrYHl9bmRpgunOD+qolIRzSyw/hFhDZA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793239358;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:X-RM-TagInfo:
	 X-RM-SPAM-FLAG:Received:X-RM-TRANSID:X-RM-TagInfo:X-RM-SPAM-FLAG:
	 Received:X-RM-TRANSID:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=MKYqxh4Pnlf5GqdIvfzsFyew54goPpWKbuqu5AnjV/I=;
	b=PiM1MhNRkQ/KmJ5tomgOFRMUVVJrsqIkKvnZgaWzbvQTm7TnxZA70b+RLvF2uzjt2GAH
	 NmZv/ITnAqgsl8Yxp6t36Li1acNnhFzNaR1WLNeLbjJgOCbj5ClBw9fvCOACHjTtK3J0Q
	 DClPrnUYdY/uUEb9kuzUQc1o77YMgJT/jXQNR5Po9f6fM4jOQAe1uCJ2U0r2P7N5Wzv0h
	 NcDQ61OkDdOP+mwcqSv1onOsIRMFS4ZZRDO+NFaBn7cWYD3kiYYNOnpKg6QJgrmGyTU6G
	 Ozo5Bvt/XRPjj/Y3bGp6Njuwk65mGHU8sxsGi+kuTm3j52KDB7bp27BrB5wIJ1H9SUQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.a=rsa-sha256 header.s=default header.b=d+h5ilqF;
	dmarc=pass header.from=cmss.chinamobile.com;
	spf=pass smtp.mailfrom=cmss.chinamobile.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DFD2606A330;
	Thu, 29 Oct 2026 02:02:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.a=rsa-sha256 header.s=default header.b=d+h5ilqF
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=111.22.67.139
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793239352;
	b=z06aIH5jif2Cr+Ap2A7/cRjheAsNkxBhRq+5TIxDM3AYxUMEP/p4IXh83UPN9eTb1aKf
	 kQaxOxwontPGXR5PmY80ulaTNI8mx8WguIC1m6M36OoNUsDswrAE0tIuI15Qm4FqkBPa/
	 RFU/T3sb+cElc9g0D0GY/8u/xQHN8dnITQ6xv8LZ6kNxrWSxxCTeV14FGyOTUDcvbZBnN
	 EqAXY/4+oVBxA/xcnYm+F5F2uvHJa4NUOZlhCFBveo1w3idWIsYeKdtL5QWE7QYFZX0xW
	 SJMYcnzl7hgOx/8SeM9HitMo5yOkMulycu75oM3TdwSmiCeNGcPf9t2cS9ypV1NHdMw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793239352;
	h=DMARC-Filter:DKIM-Signature:X-RM-TagInfo:X-RM-SPAM-FLAG:Received:
	 X-RM-TRANSID:X-RM-TagInfo:X-RM-SPAM-FLAG:Received:X-RM-TRANSID:From:
	 To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding;
	bh=MKYqxh4Pnlf5GqdIvfzsFyew54goPpWKbuqu5AnjV/I=;
	b=jJpQhqNU7XzbWzhIfST+5bLzsVx/H6pum1taCcBN8K6IuBjD0os7tNDeXQq0T76wWCBG
	 IQlW3IAQf2fFvBu1C4MoXLBp2zwdvG/srqH/DCg7HvN5TFx61sGnF53wrGIoOgtqca+Sg
	 VsNxfpib4+TaY6LiqzeR6TY1O6qSH8G1nIrrvlDxbfPTeAOO2gHvqB6dQCY9kLYGioXdF
	 AfNK9s7BEw2FA95zGVsYrk5nbwrIo9OCWdAtOKlqjQSKEm6p9prFui9SdiKurQVdtjkDy
	 DTxpcpKPMEhDheIuHciTg0Y5eq7tgrVBt8jX9iaa2v3sdpAoey5h8jEw+WoBVSxVTrg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=cmss.chinamobile.com;
	spf=pass smtp.mailfrom=cmss.chinamobile.com;
	dkim=pass header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.a=rsa-sha256 header.s=default header.b=d+h5ilqF;
	arc=none smtp.remote-ip=111.22.67.139
X-Received: from cmccmta6.chinamobile.com (cmccmta6.chinamobile.com [111.22.67.139])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 61F9F606A31A;
	Thu, 29 Oct 2026 02:02:28 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 61F9F606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmss.chinamobile.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=cmss.chinamobile.com; s=default; l=0;
	h=from:subject:message-id:to:cc:mime-version;
	bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
	b=d+h5ilqFd0w/CpAtQIENbqwLhpjcysVU58twxhulV6102tW9pY4Q35jPQwtrkJ3FuX/Xo7EjnT8TH
	 Do2DVAWqTGjBlhF+J1afs12dVboLTh3MOw8d3RVDPWLBPf18fj15ucTyHLsFQi3dcsyW3bYjgEmL7i
	 85UaN7S87NRdFw5w=
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from spf.mail.chinamobile.com (unknown[10.188.0.87])
	by rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee56ae2a92cdad-62c16;
	Thu, 29 Oct 2026 10:02:20 +0800 (CST)
X-RM-TRANSID: 2ee56ae2a92cdad-62c16
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from Z04181456177947 (unknown[10.55.1.71])
	by rmsmtp-syy-appsvr09-12009 (RichMail) with SMTP id 2ee96ae2a929ab1-1b73a;
	Thu, 29 Oct 2026 10:02:19 +0800 (CST)
X-RM-TRANSID: 2ee96ae2a929ab1-1b73a
X-Cc: horms@kernel.org,
	krzysztof.kozlowski@linaro.org,
	linux-kernel@vger.kernel.org,
	Zhao Feng <zhaofeng2@cmss.chinamobile.com>
X-Mailer: git-send-email 2.55.0.windows.5
X-In-Reply-To: <20261027070136.1339-2-zhaofeng2@cmss.chinamobile.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list