Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1231118lqt; Tue, 19 Mar 2024 17:57:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaSaTc0gWykeyIJP1CKZsDHn5DToQIVWD0cYU0HyF3BL89BjLdFQOyof57829Ul/NR92tvBcLDHWy2Hi4p+AoDCw0wcfSmrI/48AcMCQ== X-Google-Smtp-Source: AGHT+IG4wrc5Q3ZMNzaOiAiumjKk8us3EwZ3OtS/XNAaYdKM8aCWzCA+aAcWJ0Z3KnxxUc8PRbiD X-Received: by 2002:a17:90b:1214:b0:29c:6a96:4d2 with SMTP id gl20-20020a17090b121400b0029c6a9604d2mr4061186pjb.42.1710896232941; Tue, 19 Mar 2024 17:57:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710896232; cv=pass; d=google.com; s=arc-20160816; b=KZdeo7+iAuBzn6tM3SaOkkrTYBopTZHcN14I7iNtswAoWGJoWHF/RO8wrirec47Sbo xop9ledxpTZFx6w6zzCkbE5kbobb/fFGpOjqmBU3BUbHF36kEG1MJje+3pd0fIx4EwH0 hTKb3ORv3s0pYgaa0+40ddJGx5UPJXF46aOMl7WGQ0gvpLmbk+X+B78xKXEfQTHy0AwW P2DOOGWqx5Sl6d8X7ZOZ30DLpLjNWVKgWCpouSblbgSad1PpqGlVKKOkFZREL4mg/vqe O0w405ecjONb9ItR1t5nNBAFrr+Vyi4iRf/Ry+0XloJ8L2hGr4fQhpIC38HuCMwvjwly YWOA== 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=9f7f+C9GVocg4ZITS/YyxDFMD00SU0dGPjNNS6ezU5g=; fh=50T7tSQ9MhaqAfpceHQgulryv2f9mxSfqJsr7S+xkWQ=; b=pFUvJ9fkuUm6FIy0NYCes9/lV4mrax5FbztUARbDTGjdrSetcLgmPNRMQxRwVhyXQQ eUYAuyQ563Icz7oCCG/aNnrGrZJAoJH3DI1Fpc4ywHzB1Bri/amVpX+lviKN9nBUZ6Wh cYX6bW0njiWbKOh/HLUFIFyDDpESMho7EDfLFPb6FrCb+PQaJkBiTNYzmSIadR7EtbIQ dxUmoPxim/XjHPqtFr88Paqj6WNrY0NW8J8ePjnrFoA6ud8VN9cN+Sp/NTXKLsJLBj30 Q0Xr42meUE5KOBh9fJdsgPt15r8Hw/yR/iDw7P6mOCDCpRjidjGGXsc0pP/RGUHht+wr NxcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=LOZ+M+n+; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-108290-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108290-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id hg23-20020a17090b301700b0029bc1864447si323811pjb.73.2024.03.19.17.57.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 17:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108290-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=LOZ+M+n+; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-108290-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108290-linux.lists.archive=gmail.com@vger.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 9A612283E61 for ; Wed, 20 Mar 2024 00:57:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D0366AB9; Wed, 20 Mar 2024 00:56:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="LOZ+M+n+" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 F07C61878; Wed, 20 Mar 2024 00:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710896208; cv=none; b=E6cL5gb7blc5e1EFOGmKcf6EcvJdAGeUvX6Y7EjfP4FMx/Lans2fO4zW+/LGzsefEdMmjwMeHU7C0Tno+yg6p0EiROvOrtNELOY6oOc+jvrBjsWBlX5QHloRX2DmDpM8v8G98XdAD++ouI2EhCUqrtS/VPY9/o/wt9y1hRDyQK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710896208; c=relaxed/simple; bh=cBvNtlCIJz0mQ1wiU+BNW6PLqSKQz//5s21EJwWXVq8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rX+rNTexBEx75pnhrfPAmxquuWeK4RIFyLJxaOPYQIKtfiNgIRQcHNoAYotFU2lJj8bjW3CVxEkeoI+fTZJdYW0USe+IAorXf8VRG2MNZoGzavkBK20bMTEyDwpX9WUyrFKeqMvlLZDI7lSihx5S4/jXJVaJyXLgSr3lIZhdArA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=LOZ+M+n+; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9f7f+C9GVocg4ZITS/YyxDFMD00SU0dGPjNNS6ezU5g=; b=LOZ+M+n+htfCBh1eE9TsJjKSnP v8tT7DIP6JlsICytTER1NdC2867fr9NxBi+1ITnp2VtubIsouVSaq7BZQpr3OqiJ7xjEi3IxLawQV k/yEfy1hfW+Fzqp0INOO685j/IBLdjf+bRDwWMV9GH7enMoiL6DyPK+SHp5Q38Ux+2vxjsVJlTNFZ lRfoF6PpXJlKlji3mjUmoqr5BQ/+VhWoOZCRzfhWF0K566NYs358RNVF0wE3f6xW3utnl2Y87TTat pGVnqj280IN7YQk5lN85pDA+OJ2oIWD+rBbaLhF96VhK7N3+EtruBJmiy0VR3ZtZ0xeCBrpNgarw/ W4FDxW+w==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmkG5-0000000EpZ7-2IoN; Wed, 20 Mar 2024 00:56:45 +0000 Date: Tue, 19 Mar 2024 17:56:45 -0700 From: Christoph Hellwig To: Kelvin Cao Cc: vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, logang@deltatee.com, George.Ge@microchip.com, christophe.jaillet@wanadoo.fr, hch@infradead.org Subject: Re: [PATCH v8 1/1] dmaengine: switchtec-dma: Introduce Switchtec DMA engine PCI driver Message-ID: References: <20240318163313.236948-1-kelvin.cao@microchip.com> <20240318163313.236948-2-kelvin.cao@microchip.com> 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: <20240318163313.236948-2-kelvin.cao@microchip.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Mon, Mar 18, 2024 at 09:33:13AM -0700, Kelvin Cao wrote: > Some Switchtec Switches can expose DMA engines via extra PCI functions > on the upstream ports. At most one such function can be supported on > each upstream port. Each function can have one or more DMA channels. > > Implement core PCI driver skeleton and DMA engine callbacks. > > Signed-off-by: Kelvin Cao > Co-developed-by: George Ge > Signed-off-by: George Ge Looks good: Reviewed-by: Christoph Hellwig