Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp663169ybl; Fri, 24 Jan 2020 07:18:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxDlqDjaoKOnlNyuDorvQAFTiKV3DXFAi9wUFK/LlpmIl2+y5opoS4ljXM38AsWVv+CUA6r X-Received: by 2002:a05:6830:1198:: with SMTP id u24mr2921951otq.215.1579879132436; Fri, 24 Jan 2020 07:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579879132; cv=none; d=google.com; s=arc-20160816; b=HR+tyvzbLX5NpXscTePF0q7zHYLhmZN0T9nXVBMVcLlWdXIDKqT/PUvUFJyJ+/CL0U 5Gg4adj6GDv8tJuBG42nUuMdTxfTmJF4ODilcq8IsozaMtxai8jK1/1tlbG1jgY8PC2R da/1YDJ9Khh8vT32G/Ou2SfVhpd16YkENwXLrtMvuwJH2SlufPmbhJtQzGQNk9KG0OrQ u56xOqKTo1zG/PpCxTwy5Uvafc1Grv2MSGjR3TAEfYsjzib10/04IdT9sjk2L+ZHzmvS 9LlY0P6QrCHibBK5EAF8bu0GctOWnCRmwwlP9mntDG7OjiDIirQzoBK5uv4q4BQ/fUu/ BG1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:cc:to:from:subject:date :in-reply-to:content-transfer-encoding; bh=gx3FIEuN12MmIK0RYy8IYTFSSq1wRKDq/MSS7c7d+b8=; b=xfaFkEYYKr8gBW7O5melvSGdG/UU0s538tFvTkttogT3Zd4N5qWjbtGcpSHndZKtAd uiqD1NetaqLjROst57oI934yHZmQhiVRuQtCfKceL4fitkOPrDOMitUfZjtWY1+GcjWQ HQigJNJlBawvEdJ//WSwzMGE1mIllXbJ+HK9Oa9fD9tNjNQ/g/Dj423GN3KPAJa6zJe0 IrboG/BEXPSruKetiUkTMASBkVFwXS6H7CPylwbr2xmFFqTXt0N7by/mXvBtXN/VJ8pu /lIpkqud5OrQ+SYDYofhfng/AVj3FCylEIVwxS6pPrT8FtwXh+EXU7kk9DbhRRF1qijW fXEw== 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 h9si2886997otb.49.2020.01.24.07.18.40; Fri, 24 Jan 2020 07:18:52 -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 S2387936AbgAXOz1 (ORCPT + 99 others); Fri, 24 Jan 2020 09:55:27 -0500 Received: from mx2.suse.de ([195.135.220.15]:48066 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387597AbgAXOz1 (ORCPT ); Fri, 24 Jan 2020 09:55:27 -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 68062AD5C; Fri, 24 Jan 2020 14:55:25 +0000 (UTC) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: <86672a12-6b88-dba8-0945-b6321ccf28c3@ti.com> Date: Fri, 24 Jan 2020 15:47:19 +0100 Subject: Re: [PATCH for-next] arm64: defconfig: Set bcm2835-dma as built-in From: "Nicolas Saenz Julienne" To: "Peter Ujfalusi" , "Ulf Hansson" Cc: , "Catalin Marinas" , , , "Will Deacon" , 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 2:05 PM, Peter Ujfalusi wrote: > On 24/01/2020 13.51, Nicolas Saenz Julienne wrote: > > Hi Peter, > >=20 > > 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-bcm28= 35 > >>> 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. > >>> > >>> Fixes: 738987a1d6f1 ("mmc: bcm2835: Use dma_request_chan() instead dm= a_request_slave_channel()") > >> > >> it is not a bug, it is a feature ;) > >=20 > > Agree, I'm just afraid of your series being picked up by a stable > > release without this patch. But maybe it's not necessary? > > If you need MMC rootfs then the DMA needs to be built in or have initrd > with the modules. > The driver expects to have DMA channel and it is going to wait for it to > appear unless the request fails. > > Without moving the DMA as built in and removing the deferred probe > handling form the MMC driver, one can just remove the DMA support from > the mmc-bcm2835 as it is not used at all. Oh sorry, I meant to ask if the 'Fixes:' tag was really needed. The patch itself is very much needed since not everyone uses initrds in the RPi world, and we want to keep being compatible as much as possible with older device-trees. > I wonder why this is not signaled by automated boot testing, if any > exists for bcm2835. Actually now that you mention it, it's failing since today here: https://kernelci.org/boot/bcm2837-rpi-3-b/ Regards, Nicolas