Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp596129lqh; Fri, 31 May 2024 10:14:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUHstj7nVS0ra7U6m6SaoaxDefyIPfZ/jmB3giA/kVvxFnKVzo7bs8YC3oqK9s9qrycd4L5BrndvsOERfeUmPj+ySuWHkF0fF9/8UzxA== X-Google-Smtp-Source: AGHT+IH2asi3xDhbhv6rxx3G3y57QjGkV3trriQuqd2GByOl9R6VI8VTlmz21riuyOlce9mcSiRZ X-Received: by 2002:a17:906:cb90:b0:a5c:dce0:9f4e with SMTP id a640c23a62f3a-a65f0bd7b2bmr452788266b.28.1717175670979; Fri, 31 May 2024 10:14:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717175670; cv=pass; d=google.com; s=arc-20160816; b=jTFjjwYf6DTsdbyBk0zYEvNOWzjs1ZQW6oqM3+0lWBjhw2QCk9kXFxQMkDO8PYr5dO AkPJCzKcyBwaTmUYwXvNCR5itiiZ91o1zpPI8tYNxXWOF9oFOTOceTVQgvES5ZRowbRO 3lC4SOKkl/tL07e/CZAf6UYiArN0+k1dahS5X5WY9wppn6IuZWFXgH28QXnGMGeLp3PO p7coUzSFiCI7Oh2sNFv/ppHNspQvYucthczitqv/S5VYAmMKb+9CPa6snJTthtt3EpGn WCcr49Z+Cj1+YgVioDbAPgZk2GrPPQdLWyNwqrkSBOXNakATHUT7cxjPWw/3DAVLzdXE 0KDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NNc5LLXyHhTK1U0/K892IX6AVYR76JTl1nId6j8YHCg=; fh=ihrVCnhbj+YrZosiTpRON7iNWuaaRxS25tzz8ewzXf4=; b=pdTjxGa9lcb5Bg7CX5FAj0dTIDeutAX/ckMAHKqBooBMTa8hPToD31bgDUxi2AynMm P1W2ir06ZDbY4EoD55lWMvdbpH/O/xwO2TC7UxObZ9lTN0pZHzFDSLYHX2WUGQGtelBB u0A1Wv+XKbFAxYVTJGQWVZYHzSyVhBJKlMDB2pn7IC1X3XOoeBC/oVfGQThchsThwLfy 4qVmr+My7ZMANfaP2pHGgP0ldoR+2eWL6vm+hE66NZav044brE+tMmiH2Y+CIK1gDPxb nmy8fYFk38kpPqChEQVDN6A+R6l9/u6Zs1nO27NQl7LXv02PAxXD9IdeV82I6EMFtd/Q pB9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bAwIFyec; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-197235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a67e6f02cc5si109410166b.7.2024.05.31.10.14.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 10:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bAwIFyec; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-197235-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B12811F24AD2 for ; Fri, 31 May 2024 17:14:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F60F176AA5; Fri, 31 May 2024 17:14:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="bAwIFyec" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 6916B76C61; Fri, 31 May 2024 17:14:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717175663; cv=none; b=WGQDsDSuSEVn4nxI7edLU0nzeepKxwj28GyVG31IgpU++64TIxY+OUN9jZvybSCYG+yE5CZIwTXa1nYig7ev/tw8MLKaaA3OJXnsnL0SkR5zmquMCF/U2Pns9K+7mvp5wtbRMpbljEkSWYRyDEKCHSIoes5vlXYJr5gNqqAltiw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717175663; c=relaxed/simple; bh=LubOuqlsH4juCCG6oiOYfWn/zCpV01ttl4daFeGIC90=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mJUVeMwAhOCaWIV3pbIOVFNn2QOey4tbEACg6ZUcgYWikrcv84L2QWajz1kJh/7I1M1o0lbND4AJkQY2QWNOrJ4oRnXyKMY4+2Ceo2y3kAvkwNhMmCuHj/A0gYtgrQa51Q12/cvhNsPWNgq2viUakFDfs8XmiMlWoZHqpqKhRJA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=bAwIFyec; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1717175660; bh=LubOuqlsH4juCCG6oiOYfWn/zCpV01ttl4daFeGIC90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bAwIFyec8xOQLP+u85aLmIRFNaEL0y85Vc97SzlzjnFTBmIVyAVT+TWi/+PH+9zzx XmiftPLZ6+5Pd1xTCHlrnMdomyD4TNUNVinPFJyJMgeZ+VGd9byt8zFGDn3G6DVFT7 eGH12LnjlqYMAVXDgD36cRsnugWUbSflT5ZFxXizwYdfC+GKACfakRn0SUQvNypmZ+ 0/j1WMBSFLKTUfU8eSjyS0ciwFzzXrilHeVwzsW38ZZ5d4VR68cHcr9QHGtyeyMEu5 nGQj5gFReLTt7gvjNDu6CaoCf+gVkQsStdELWNqVxQl+d6gnjotg6FjjtgRqv01cZw RjMECUUhmyBrQ== Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id B4FF437821DF; Fri, 31 May 2024 17:14:19 +0000 (UTC) Date: Fri, 31 May 2024 13:14:17 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Andy Shevchenko Cc: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: Re: [PATCH v1 0/2] spi: Make dummy SG handling robust Message-ID: <3f0606f3-c781-49e1-a946-dc9aea77f835@notapiano> References: <20240531094658.1598969-1-andy.shevchenko@gmail.com> <1ea41944-a107-4528-8e8d-559c06907e3f@notapiano> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, May 31, 2024 at 06:51:46PM +0300, Andy Shevchenko wrote: > On Fri, May 31, 2024 at 6:46 PM Andy Shevchenko > wrote: > > On Fri, May 31, 2024 at 5:37 PM Nícolas F. R. A. Prado > > wrote: > > > On Fri, May 31, 2024 at 12:44:31PM +0300, Andy Shevchenko wrote: > > ... > > > > applying either of these patches causes issues. See the traces for each one > > > below. This was tested on top of next-20240531, which works fine. > > > > Oh, thank you very much for prompt testing! Can you test just the > > second one without the revert? > > Ah, you wrote "either", so it seems you have tried that already. Yes exactly. Both patches are troublesome. Patch 2 causes a slightly different null pointer dereference, in "dcache_clean_poc+0x20/0x38", as the stack trace I posted shows. Thanks, Nícolas