Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp152087lql; Fri, 12 Apr 2024 06:38:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQd3pKwn3nW2dIh9VOJ/MEzqG93HGs6wfLOyqbiNLjKWJ8knEpUUOPfra/laU2ItgM2FNMVzR22I6lIiASBQ9r7a6hKvqgxMuGyWKsfg== X-Google-Smtp-Source: AGHT+IGo4z2QNQvgiXHjPqPC6lv9pszmmPC6fSS5Vg1MX5b4w5JRuovuMnbFK4T9eFrooTeuDikX X-Received: by 2002:a05:6a20:968f:b0:1a3:66e2:f2e1 with SMTP id hp15-20020a056a20968f00b001a366e2f2e1mr2519060pzc.28.1712929090553; Fri, 12 Apr 2024 06:38:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712929090; cv=pass; d=google.com; s=arc-20160816; b=drr1PWErchMcgfrijVsb0E0+dNRkgYX6HWdl40sBuRmwXP3eFYfSsar5AbW/QKPnCS ieLX2bqKCefB3TBnYzxCINLPcszQFw7inJaYmibqTkeaLESjxaTTMtayCdtbL6sPWl+S wWm8paa+EjLr86ZRbH5ljzNNqRju7U89j2X7Rn+SnH9IAEgjN3uygO2Ov13kqXrp7zEm OuodqM0L8DrW3CjBKs0gI1cTdfPuuXwUSIiNkyWZg3AF+skof0mWQ62wFKEdelGrYwkE lNLa+TKJr06byV9TDnVqo7tMr5LCO1G5thCA6+z4a23BFsul/2AS0xDoT5NRLUH9bheN yHqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RvbbGWesM+qSDZ4RH3wR6y8bYVdLLyOSnTKV+qIYYW0=; fh=wayPcZ2LfQVX3tpHow9rQD8+OWle8q/11qEuTzwEIo0=; b=GuQnJwqIujXFiyJAYBAnwmlzaNJIJzKCPzfF637cSG9Ik9JY6Xj8bm+i0RTkpPfvdJ PQ2zyIjGASIviW5s5UWvLgSiupMeTRMH/dAN1ETKgoAM3a9k5/Xw6sCoJutg7B3mog+v xI1Q4Ru83ZwzFfeSix83VldtS77QSavntRW/U06MPGWkwuHg7z2ozxPF/7S3I1VVpEX8 uPtGAaEgYF2kI8/W/zpdRlcIP6SjEFHiQHaeZjoEPTecYCKZoBd5SVnWH0VB2iStX4t9 Pnvib1n9H6drOsLKN0heg46Sf8xpxKaRAm0Y+DNwio4yd8ou/1dWFVsp+3hSW/Er3ziw rPOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DXeKwuen; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-142744-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u3-20020a056a00098300b006ee1d680d44si1879031pfg.395.2024.04.12.06.38.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 06:38:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142744-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DXeKwuen; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-142744-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1789C2848D8 for ; Fri, 12 Apr 2024 13:38:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9303584A37; Fri, 12 Apr 2024 13:37:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DXeKwuen" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B921D1DFD9; Fri, 12 Apr 2024 13:37:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712929074; cv=none; b=sMhe2lseVgyl6s0ShnZewntoXZRWOpG9S2yR8J+Akz3nwuCuTNZocS8XciUlnrl1KDaA4AbqTIACOwmxWC3WcCohjMQ0rKYJ7MENY6X5pY0BKBmo5/BhRBdRgqaQTe4unC/Ygrtj5bmw5YmbyLv4HWcFkf7G1jDMEclFVjjYcog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712929074; c=relaxed/simple; bh=BtXw/kQS9H2R5Z9NHOeu97SUGojR8hmFg+yh11PQUcc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RXrCGu4ki9la631m0siHNlUnfWlu/XYSMTt0rhwjIgn4//zmJDa6rJpoc/cbfN9imRIjDwEmlRhBOCTrN61OL7uJlROzPRnsS2qd+j9DRITm0NrHEVsOkhJhBN3MQERj4GIM11J5F4XH0e43M8CjstcaYUW1yUcxuyJSyV2QILk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DXeKwuen; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69051C3277B; Fri, 12 Apr 2024 13:37:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712929074; bh=BtXw/kQS9H2R5Z9NHOeu97SUGojR8hmFg+yh11PQUcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DXeKwuencmMy8ddA+0WHxID67LX0wCavx41hTotgshniEDU9JeRGoUaiJlQtLxQa7 t9sALtTijN1Rg3DJpT3+48FRvUnsmzdySfXaNfS1yV3HeJA2UMuS5jQzaO6FqjeSfs KA9Pz4MsIZtsINxAe6bUuNaEvxKGRLgfXN1p0X3qtZS8jQ9k9JdUXSn5yn1ufLxnfr neXrCOi0YEez7QJZa+kGtCeXK81uHxtYsRYNiTYJ3e8H249Bd+l6OacxSC3ombOl1h A8x/WhkZWirauZOSH5FEgWNivzSg0Xk9j7QqKpcjeabgYuwsiI4xI8lKQw6e1eEBq2 6KoTgp6yhNVSA== Date: Fri, 12 Apr 2024 15:37:48 +0200 From: Niklas Cassel To: Frank Li Cc: Manivannan Sadhasivam , helgaas@kernel.org, bhelgaas@google.com, gustavo.pimentel@synopsys.com, imx@lists.linux.dev, jdmason@kudzu.us, jingoohan1@gmail.com, kw@linux.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, robh@kernel.org Subject: Re: [PATCH v3 1/1] PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot Message-ID: References: <20240326193540.3610570-1-Frank.Li@nxp.com> <20240410180341.GF16629@thinkpad> 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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 10, 2024 at 02:16:52PM -0400, Frank Li wrote: > On Wed, Apr 10, 2024 at 11:33:41PM +0530, Manivannan Sadhasivam wrote: > > On Mon, Apr 08, 2024 at 12:23:20PM +0200, Niklas Cassel wrote: > > > On Tue, Mar 26, 2024 at 03:35:40PM -0400, Frank Li wrote: > > > > When PERST# assert and deassert happens on the PERST# supported platforms, > > > > the both iATU0 and iATU6 will map inbound window to BAR0. DMA will access > > > > to the area that was previously allocated (iATU0) for BAR0, instead of the > > > > new area (iATU6) for BAR0. > > > > > > Nit: If we want additional clarity, we could also add: > > > "" > > > Right now, we dodge the bullet because both iATU0 and iATU6 should currently > > > translate inbound accesses to BAR0 to the same allocated memory area. However, > > > having two separate inbound mappings for the same BAR is a disaster waiting to > > > happen. > > > "" > > > > Since Bjorn asked for the above info, it should get added. > > > > With that, > > > > Reviewed-by: Manivannan Sadhasivam > > Mani: > > Do you need me rework patch? Or you can handle it by yourself when apply? It appears that Krzysztof is the one picking up patches for: drivers/pci/controller/dwc/ Since he has the bottommost Signed-off-by on patches in: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=controller%2Fdwc So I don't think that Mani can amend it, since he is most likely not the one picking up this patch. The fastest way is probably just to send out a v4. (But I feel you... this patch has already taken too long :P) Kind regards, Niklas