Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp472640ybl; Fri, 24 Jan 2020 03:57:09 -0800 (PST) X-Google-Smtp-Source: APXvYqybXvdAtfBOYq4k/mfCN9HB8BziDJw//2nNOVEEGYOCy9Gw/T7p/WpBI9RtaQpqbH4iTdzs X-Received: by 2002:a05:6830:1016:: with SMTP id a22mr2406580otp.83.1579867029483; Fri, 24 Jan 2020 03:57:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579867029; cv=none; d=google.com; s=arc-20160816; b=RaCreri6jcvkqYruZUYd77iOBHdxeZ5G3TPy7EERCduz3ZxukYN3cNYrwiYjIzQAJu eb4v+WoIdyhaCYMqzO41zm66tmzSHDIfvuELTSTM8caCFV7ykfYFr2haMlJexPY2Hm7Y Kfag69zkGr/eU1A8r5F0xhTde5V5f5/1bqIgb22lT3WPStNr8jT4JZEeCx8Y2P+DQeTo +dEk4p+8V07IKtyldr9l9jUVFfaVggfpTHU2+32eYtb+SNcK4cWuPuGxpU/wg6nZIOEX RyA8LPBhFVoZoB0n3igAnuZCThSoI3rs1igljaaF80/9gZfWwBjyBsfZTBzGoyBhrNi8 mylA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:to:from:subject:cc:date :in-reply-to:content-transfer-encoding; bh=8xBZVQ28+gzJ1WjsWRYwgUB1FUUlGEj7Xz2LjkenLJg=; b=ebT2FcXK1qBPJY4cVUQUoCXvvzTjjIAribTs98uayvLYUj3p6pIuJ3DQO727lD3/gl TpbBYRt4WvOhxZh3r24SJWSpx6wqlLIVAk60PDRkGzrcx1/Hl42ngI72uhrKOm2vUBgp FwtVvJ6Dmeb5oQhkAXY545nyYCyKh3oT5JLMNwGApucryaSdEZx1XOYMdRfmcKjiBHft W9C3JT6ueYSSHuGCuOM5Z8EuHDPOIiqNGn4foo1xYaSHuTJmDBtibZkcfrX4BKzc/M1Q ngT9o02vasHtW33b6x6nLwLA9uXiLjHDHQs8+KZa3jfdS3lQzz++oVUQKXntayMPFjT/ olBA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p16si2611635oto.287.2020.01.24.03.56.57; Fri, 24 Jan 2020 03:57:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387936AbgAXLzs (ORCPT + 99 others); Fri, 24 Jan 2020 06:55:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:57622 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729567AbgAXLzs (ORCPT ); Fri, 24 Jan 2020 06:55:48 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C0972ABED; Fri, 24 Jan 2020 11:55:46 +0000 (UTC) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: Date: Fri, 24 Jan 2020 12:51:52 +0100 Cc: , "Catalin Marinas" , , , "Will Deacon" , Subject: Re: [PATCH for-next] arm64: defconfig: Set bcm2835-dma as built-in From: "Nicolas Saenz Julienne" To: "Peter Ujfalusi" , "Ulf Hansson" Message-Id: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On Fri Jan 24, 2020 at 1:31 PM, Peter Ujfalusi wrote: > Hi Nicolas, > > On 24/01/2020 13.17, Nicolas Saenz Julienne wrote: > > With the introduction of 738987a1d6f1 ("mmc: bcm2835: Use > > dma_request_chan() instead dma_request_slave_channel()") sdhost-bcm2835 > > now waits for its DMA channel to be available when defined in the > > device-tree (it would previously default to PIO). Albeit the right > > behaviour, the MMC host is needed for booting. So this makes sure the > > DMA channel shows up in time. > >=20 > > Fixes: 738987a1d6f1 ("mmc: bcm2835: Use dma_request_chan() instead dma_= request_slave_channel()") > > it is not a bug, it is a feature ;) Agree, I'm just afraid of your series being picked up by a stable release without this patch. But maybe it's not necessary? > Yes, if a driver have DMA binding and it is needed during boot then the > DMA driver also needs to be built in. > I believe it is desired to use DMA instead of PIO in any case for MMC > and in the past bcm2835 did not used DMA if DMA was module and the MMC > was built in. > > Sorry for the inconvenience this change has caused to bcm2835! Not at all :) > Reviewed-by: Peter Ujfalusi Thanks, Nicolas