Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1700551rdb; Tue, 20 Feb 2024 04:39:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXsrJhDIweOI4zEA5hpHT9IkOtDLkR/np5dc1QeUgYsEESsnbAs5AL7vBuFT6TdP7gQerrZi/twb6yzc4XwbnqkYMfsIXqo8GccKhrdmA== X-Google-Smtp-Source: AGHT+IFBMO6dqKdAlox3jle73Ryam+w+AYYSwOUkWMKIdpuPfCp+JTjdAl2gCBzRwerEZeXGvcbU X-Received: by 2002:a17:902:d2d1:b0:1db:9896:3eab with SMTP id n17-20020a170902d2d100b001db98963eabmr17602563plc.36.1708432768669; Tue, 20 Feb 2024 04:39:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708432768; cv=pass; d=google.com; s=arc-20160816; b=Z4Xdq2zi0jhTt0AHcR3EVN53qqG3oflB7MKtEKlTO7FjSwxsTcA4BKwjqnjgzEiHVj q1DSg1FRRDjpXg8yxp31Mu5wy6Ptsi8ykP8rQGn7Mfw11KClo3fWBp/TZOX5GbA8LVzu xL0xL1nsxVM3BAXjqyev7yuUekdUQrB8jibe7WFDke/ZYGWv0WCPz3L1ftxmEYNp05YF uSiJsk0jxViRKalujzOrqq+WUT/z3ozNvrGU0f4su1IMAZ7cWPnfti20oH08ZjcdKWY0 hci6y5sdMHrG1gPrRrUGWYwtGJikMu3T4264T78gDmESBycIKHVc0ODB+63hRTFRWZES hv7w== 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=M6ic/FwxrMoRrJ1uWSsIK77gJf/9b0I4Y/5sr5Kv/2I=; fh=dE4odkbD4o5j7Hogw7EUG+SIv+euz9W051ub2LSBdHA=; b=LurSfu60fxaw3DdZjd/Tp/ge/uPopApIuIk+B17bXG6+W8QyZihIuRy1GClm53lVbL VymCLk39wc5YAfMEDNbET3YXAzQuQo2w05Jnz/O2Hgol9qPvkzg8tEVxFta91lKyGxU6 1Ijm7nJ/ukh98K6gO+tN3SiJBYK4XPETz1k9T/bomANKfpzVYqZzG0pP0qg095emtc8f QJ7SiERSENdtZsNpuBdiJeq4rnUBD4Ma0NNFjTotR+nbzZaiHPRXjxT7V94SE/NV1tGA jkGhiyGouoIOkRjiy32nKY20S/ViMTHRD3ynhE1nc2Zu9Sfo9vDRH1xYC6Z8Sh3rpH/W m+VQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XXzNh132; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-73030-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y22-20020a17090264d600b001dbe25bb9dcsi4291515pli.260.2024.02.20.04.39.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 04:39:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73030-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=@ti.com header.s=ti-com-17Q1 header.b=XXzNh132; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-73030-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5D8B2285624 for ; Tue, 20 Feb 2024 12:39:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF7D769DF7; Tue, 20 Feb 2024 12:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="XXzNh132" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 7D6BD5674E; Tue, 20 Feb 2024 12:39:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708432750; cv=none; b=hGSAM5hcmsYc6h9Dlq7YiY/obw3wZYbpQ75ddYRSMS+TdwQHXzJwf3BONGm+VHGFBQ62Jfjv5OmHHcm6TP+iyW7eEZAXa8KTo1UW0nFq5nHGcVvsEm4ITVcRcVRfm9YwXkZ/WPuyFv2Ma6XJvl8FoX6OGMtxd+sNRByd2lcZgPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708432750; c=relaxed/simple; bh=rmJz9L1aMyqe1TFVpwpkVJML0wDploXGJH+3/bcrmRQ=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jaSgSTNDAl+J1H0NBX92nLlqDQ39vepKE859E1gsvSNaCtxAzWr50RSRSuJ02Ci3g1UeOVPoP3CYAYwcv3Qv3kaKkP1UnNGl77dEvBOTG40fRMPHj060XCw5nw93rTHOxWASW1khoy/Fk4Rl174YLbVOA7VeEATYbY3JWVQNgh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=XXzNh132; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41KCcr6G094669; Tue, 20 Feb 2024 06:38:53 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1708432733; bh=M6ic/FwxrMoRrJ1uWSsIK77gJf/9b0I4Y/5sr5Kv/2I=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=XXzNh132GM3SRdfTkpnaXbNN/tgfNSXrozN4nTokIbnSta+2LT8Mdbw+wSKTdRsag Ru15iE390Et01q6reUUZNkmbr8b0T5NNEGI5WZwJRFalaIfqyAFeCacj+wNsGy1krK kSzzN7gKSkH7N4xmgTAkzpmMggnq95hLyTg77ccY= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41KCcrbv128215 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Feb 2024 06:38:53 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 20 Feb 2024 06:38:51 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 20 Feb 2024 06:38:51 -0600 Received: from localhost (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41KCco9F108974; Tue, 20 Feb 2024 06:38:51 -0600 Date: Tue, 20 Feb 2024 18:08:50 +0530 From: Siddharth Vadapalli To: Manivannan Sadhasivam CC: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Yoshihiro Shimoda , Kishon Vijay Abraham I , Serge Semin , , , , , , Mrinmay Sarkar , Subject: Re: [PATCH v2 5/5] PCI: epf-mhi: Enable HDMA for SA8775P SoC Message-ID: <3fccfa32-9bc8-4817-8115-b805206f5d3b@ti.com> References: <20240216-dw-hdma-v2-0-b42329003f43@linaro.org> <20240216-dw-hdma-v2-5-b42329003f43@linaro.org> 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: <20240216-dw-hdma-v2-5-b42329003f43@linaro.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 24/02/16 11:04PM, Manivannan Sadhasivam wrote: > From: Mrinmay Sarkar > > SA8775P SoC supports Hyper DMA (HDMA) DMA Engine present in the DWC IP. So, > let's enable it in the EPF driver so that the DMA Engine APIs can be used > for data transfer. > > Signed-off-by: Mrinmay Sarkar > [mani: reworded commit message] > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Siddharth Vadapalli Regards, Siddharth. > --- > drivers/pci/endpoint/functions/pci-epf-mhi.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/endpoint/functions/pci-epf-mhi.c b/drivers/pci/endpoint/functions/pci-epf-mhi.c > index 2c54d80107cf..570c1d1fb12e 100644 > --- a/drivers/pci/endpoint/functions/pci-epf-mhi.c > +++ b/drivers/pci/endpoint/functions/pci-epf-mhi.c > @@ -137,6 +137,7 @@ static const struct pci_epf_mhi_ep_info sa8775p_info = { > .epf_flags = PCI_BASE_ADDRESS_MEM_TYPE_32, > .msi_count = 32, > .mru = 0x8000, > + .flags = MHI_EPF_USE_DMA, > }; > > struct pci_epf_mhi { > > -- > 2.25.1 > >