Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3510371ybl; Tue, 21 Jan 2020 02:03:50 -0800 (PST) X-Google-Smtp-Source: APXvYqy38SL/f7SA6sSLv209JtBNCkYdrHzDbSxrrApqCghYx+ThtJhKhG0yok/w9NJqY9GYDOjJ X-Received: by 2002:a05:6808:2ce:: with SMTP id a14mr2417385oid.82.1579601030370; Tue, 21 Jan 2020 02:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579601030; cv=none; d=google.com; s=arc-20160816; b=iSKtrcSzbtakZHBQvaGpsHuZfUqRJRwUNDmigtfgrcv88GL20z5kmC7lm6NsZCQZ+1 gYX7B9XbpvFgIRL9tv1g6jqRk73+XBbiMUYnh0d3SRaFI9s7Cc6h5D4ACRDWNu+A0ESq dI3RVVwksVOeusG0JuzHez46YBWsZaZtq+MtaopmDOV+d2kSEB/uQmL+ihA7NC7u4BvE pNncyZZbiOBEUcH8yIbGiifpcsApPgeJ21Zfl5ERBhcugYYudTsgRrrS1TsLKZ0K0SOv NtPoeMwY/s3ypCMN28z8t9623RQllZwek2C7DwTJcfGRDv9nlU0+VG0pCxqZVA0A7wxn xVTg== 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=4MMJxhtHHMrt0FX/PfkSZM8/pzYHN4ekGh2+o+0NfAo=; b=ld7BGWpVPuaCPwVPyHc1xDYFSArBfjZFz2EAru/7q1E2m748sLHhKa4KUAUI8XYebj EtxKfZr5pAyUG7ofswCBKMno/pep+xw0+0D+yaSDAK5WJhaE7uX1grZkeH8Z3zDBmTH1 c88V+IWfB73pgElXMvTmCIq4w6RA4BCqpP2UW/uX9wDd1qeYxpUYwV272Ad6p4dGJFxn jvpRvR5toyq/e/9/4oGY/Iw6kOE/tBnFiUYYDqDQvG0qn9DOCotWzT4n+qRg7xPbyPRb j6UsLwyxv9Php22U9TshM/IUJ3S8nbUP458TpOf1SmUzyonItaOj4qEBBahbcRRvCrjC 8LWQ== 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 l131si17935317oig.120.2020.01.21.02.03.38; Tue, 21 Jan 2020 02:03:50 -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 S1729378AbgAUKBb (ORCPT + 99 others); Tue, 21 Jan 2020 05:01:31 -0500 Received: from mx2.suse.de ([195.135.220.15]:50962 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728803AbgAUKBb (ORCPT ); Tue, 21 Jan 2020 05:01:31 -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 D01F9AD3A; Tue, 21 Jan 2020 10:01:29 +0000 (UTC) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 In-Reply-To: Date: Mon, 20 Jan 2020 21:01:23 +0100 Cc: "Mark Rutland" , , , "Rob Herring" , , , Subject: Re: [PATCH] ARM: dts: bcm2711: Use bcm2711 compatible for sdhci From: "Nicolas Saenz Julienne" To: "Stephen Brennan" Message-Id: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, On Mon Jan 20, 2020 at 11:59 AM, Stephen Brennan wrote: > Hi Nicolas, > > You're right, this patch doesn't work (it doesn't even touch the correct > device tree node). My bad. > > > Your UHS class 1 card should work out of the box using the current > > kernel version. > > I've been debugging an issue (reproduced on today's linux-next) in which > my > UHS class 1 card's partitions don't show up in `/dev`. For example, if I > do > `ls /dev | grep mmc`, I get just one result, "mmcblk1". I thought my > patch > fixed the issue, but it turns out that the issue is sporadic: on some > boots, the issue manifests. On others, the partitions appear in /dev as > normal. When I tested this patch, the issue had sporadically > disappeared, > leading me to believe the patch was effective. Have you been playing with different device-trees? notably with the Raspberry Pi foundation ones. Your mmc numbers could change, which might be confusing. If 100% sure it's failing, i.e. nothing happens for the mmc device after seeing: mmc1: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA I suggest enabling some extra debug options. Build the kernel with DYNAMIC_DEBUG enabled and add dyndbg=3D"module sdhci +mfp; module mmc_core +mfp" to your kernel command line. It'll be extremely verbose for the working case, but we can compare both and try to find something fishy. Note that I use two UHS class 1 cards myself without issue. > Sorry for the noise! On the contrary, the more we are the better :) Regards, Nicolas