Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3418764ybl; Mon, 27 Jan 2020 03:44:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwI/Lru9BWL85wq29YOfqUfL26lwHvBChIx/JSvSYWeeZHsVUE5BtkRdFq70KmSNLTHylJG X-Received: by 2002:a9d:48d:: with SMTP id 13mr647312otm.249.1580125477936; Mon, 27 Jan 2020 03:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580125477; cv=none; d=google.com; s=arc-20160816; b=TcaiOmBHJz6ZL4ZiBdd4kME+FIKv/7kNK56kQu9umdd+j1GvcH6b9p5Dg5Zq2BIWYJ WKoWh/2LQzvqovjFOsw1PeWQflA7qro6XIa1qXkBPdYo/pe0wtR9/861inCagyA/5dNT I2BKseVWg85lIXwUytuAbDOyEz/vXCYhItbDR4CG1wYooaJ/3nUN+g6bidVly10U9Pd+ tAGhBZQmdOnl52P64s1C4m+WbllwzKBFgI8AwZBqJVQOnYMmbrPjfdZEqRAcQCsIV0iK zWYOiJlrgAupCcXRuUwrU24OJy4qe8UiddlDBUyB83hYz3KTDcX0kXRBU2LbU5/Yx1Sb zE7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=3h8f4XbI491JsEjdTtwjglxtDcunKaSoHjicJCKo/ZU=; b=b1Rr3beSWc7AgoZorMt2fiyEJ9v56lwJyvWHc/+TKGZYd4aMisqzj8d+sKTouooMys 3XGKzaYUhO06mPX7glvwNgHuA8iwdy3zXLwdMzeAHU4IupyFh7AXXSE0BuYo/q4Jm+Th 4ycP+MmdGwv3LknisxFQ07sgEYTuaTigr8ZTSAmAXY4VYnwlbjDjjN7uWTP3OfaGxq9F 0P5LHbhS0boyAtdlEo8y41tBPK+NcWWp5Eg9/cFxJSHhlzX0RmFFlw2eaRWLiUI3xKYC mN/fzfehvF9J2d3fTRA0CpQbPJtgbuNepfzHWSmUC5iBNa3k4KMSoLwLID+XtK9jrgiz ITTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bxObGFiN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n203si3244595oia.112.2020.01.27.03.44.25; Mon, 27 Jan 2020 03:44:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bxObGFiN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729800AbgA0Kbq (ORCPT + 99 others); Mon, 27 Jan 2020 05:31:46 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:50868 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727985AbgA0Kbp (ORCPT ); Mon, 27 Jan 2020 05:31:45 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00RAVSlH043859; Mon, 27 Jan 2020 04:31:28 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1580121088; bh=3h8f4XbI491JsEjdTtwjglxtDcunKaSoHjicJCKo/ZU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=bxObGFiN/208eM+ZN8Zk7SjwcV122LbY+xkUxj+XFtdvp3cJjmWG3w6uluPp5PV7r 9BHr1Yd9byuu/qgSnfypN7VwX7UaM6th4kemgebDBhkeF2imXuABaJ78DaUv9YmxQn aXzDDdi+rsYNOKnG8Zd38RIjcS1rY1E2D/ZXCa0w= 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 ESMTP id 00RAVSDY015973; Mon, 27 Jan 2020 04:31:28 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) 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.1847.3; Mon, 27 Jan 2020 04:31:27 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 27 Jan 2020 04:31:27 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00RAVOSB111634; Mon, 27 Jan 2020 04:31:25 -0600 Subject: Re: [PATCH] arm64: defconfig: Enable Texas Instruments UDMA driver To: Olof Johansson CC: , , , , , , , , References: <20200124092359.12429-1-peter.ujfalusi@ti.com> <20200124200811.ytgs66cg5qpugi5c@localhost> From: Peter Ujfalusi Message-ID: <12f40648-fec6-9179-1f62-0a648996ed20@ti.com> Date: Mon, 27 Jan 2020 12:32:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200124200811.ytgs66cg5qpugi5c@localhost> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Olof, On 24/01/2020 22.08, Olof Johansson wrote: > On Fri, Jan 24, 2020 at 11:23:59AM +0200, Peter Ujfalusi wrote: >> The UDMA driver is used on K3 platforms (am654 and j721e). >> >> Signed-off-by: Peter Ujfalusi >> --- >> Hi, >> >> The drivers for UDMA are already in linu-next and the DT patches are going to be >> also heading for 5.6. >> The only missing piece is to enable the drivers in defconfig so clients can use >> the DMA. > > Hi Peter, > > We normally like to see new options turned on after the driver/option has been > merged, so send this during or right after the merge window when that happens, > please. Sure, I'll post it later. > I also see that this is statically enabling this driver -- we try to keep as > many drivers as possible as modules to avoid the static kernel from growing too > large. Would that be a suitable approach here, or is the driver needed to reach > rootfs for further module loading? We would need built in DMA for nfs rootfs, SD/MMC has it's own buit-in ADMA. We do not have network drivers upstream as they depend on the DMA. Imho module would be fine for the DMA stack, but neither ringacc or the UDMA driver can be built as module atm until the following patches got merged: https://lore.kernel.org/lkml/20200122104723.16955-1-peter.ujfalusi@ti.com/ https://lore.kernel.org/lkml/20200122104031.15733-1-peter.ujfalusi@ti.com/ I have the patches to add back module support, but waiting on these currently. - Péter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki