Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp416804pxv; Thu, 22 Jul 2021 03:31:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBsRz82AhVajLVsGeXEJsO/0BIlytNq2smu3tdDuy9PV5OgXjqUm9Z7dgUcDIXRg96hWSw X-Received: by 2002:a92:6f0a:: with SMTP id k10mr26476162ilc.105.1626949864403; Thu, 22 Jul 2021 03:31:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626949864; cv=none; d=google.com; s=arc-20160816; b=ro9THoQkQJ0O+tmW5yWVQinDCx7ruJRNlOk+zikjXC3/Mv75bHoUUVHsAEL3kokSsK 4ctPzaOmDFi8/KCO7te2agXPccZ8Wt+Qs68Ti+oNQ+RR1bT0FnuO44xv6LRhyCMcA6CB 2nDoDSQuz2EiOUgA7P6Hl04DWYH3dxJG3UM3xP9Ho4XvtlxAfCIL70isesliRurxThV0 FRMOmXcGfKQaah8dbpRLMwGItXu1J8634gf1NjiYvBc1l+y24CnaLAN0cEZ2SimAwWpK vPxwskurtGaqOV1bztm4c0NXovcsy33c+zIYrm1uU1kop2Q/H/YbJBRWP8z2buWSRPrB zMmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=D/T2v25ISKwnv+JiEOMpEorfBjmX5RIS7o1WRWb9zSI=; b=q7dKXPD7ML7xfkb2IMFTOF6/Z6Goozk4yuW/aFq9ur8TfXapSHqJth6ZpnpFzy/KJ0 tJuhCrqsFCNBboenXxa9eeYXQ8jUdMxew7dtFwJq7798l9BK7Bhx3hnxJOJ2/Fy//g4+ SbEYtCWeBeEB7gybbDM7zJDMSV5hv1KYKVLjy0krHcNv5LdT2skRGyrwfi1DWtPYQZF8 jcmdwp6k/Fi5DYSA/q4J4yEXP2GC88kwTjlUgJi39GV9ckVtBr3JlT0uE10fowrGOpCq Zz8rvtAHHx/3jE6GVNQsCl62mGY0h0mNXsVmQHFJcy+beM/C/iJJtQaD53Pee+oj0dFc 18OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=giKvgL5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si25044640ioo.75.2021.07.22.03.30.52; Thu, 22 Jul 2021 03:31:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=giKvgL5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231628AbhGVJsv (ORCPT + 99 others); Thu, 22 Jul 2021 05:48:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231453AbhGVJst (ORCPT ); Thu, 22 Jul 2021 05:48:49 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E5DC061575; Thu, 22 Jul 2021 03:29:24 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id o8so3906314plg.11; Thu, 22 Jul 2021 03:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D/T2v25ISKwnv+JiEOMpEorfBjmX5RIS7o1WRWb9zSI=; b=giKvgL5mNpL7ZueglLsoIjxTM8iEkf/lQSwAd3w1o9qUSZuhxP6kcDyfFcH4a5u3jR hcNE0sTliFTt6qLb1MgTpVygPhH8RQjFLKJWCIh67QfqW/BkQVoDNAy2e/N8qcDzzWp0 czN4xrEZsgFbsSVoZBOEQWOt4C3TrbCZGl6ETceKz9Bz2RB8oQsYQMVIv6E0qAh5JDNO 5p2EHdXs6y1g12iXkJNkcEbiyNjKa+YRCPTCMtXsQ6k0da0Sj0xmDXiQ7KkbeBWSVi5n 1y0jSm+XIXE/v7fpaXJfG3rETyb9hq5nHu7x+8iacyH66bmxy4B+wIc6yWhzE+9v73Z7 yYfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D/T2v25ISKwnv+JiEOMpEorfBjmX5RIS7o1WRWb9zSI=; b=Dy4fW4P0AeiEUyq6I80X/WHVv8nlojnmjUaVD4zP/74nZZUL1mf33DtUqPLa8ATuNC Rokj6TraaOPWGH5FRh913SoTDYZn9L9UW1zJdKDx2q3JH9IMZaAa2ty0W8e/6mOBH+iW XeZ/j1YUmUIXY1iouMSp6uM3Q6to5rk+CgvUfpZehIAjFWmMcMoqHy6u2dGmLaj220QR xCKWnVY83yISeyWCccUmchSZidDgBC7KVEATfWLEbYhMQUvXFjJ7YFft8drbJSCj7r7n Aeh9YFIljrG+NuJU+kmSFbRZl1XKH+ZqvjASYKvFuEYOPuql/8cDd/Q9Dgj3h/KhlrAw JENA== X-Gm-Message-State: AOAM5316T4ntT4mUpAZFfq4BEQv6AeQSV5J7GLCufUF3eT0wX8/c3kDd yrKPPkcjdOl+/0U0Vaq7LP/I83Hy326SNsc0d1Y= X-Received: by 2002:a17:90a:af90:: with SMTP id w16mr8455268pjq.129.1626949763784; Thu, 22 Jul 2021 03:29:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andy Shevchenko Date: Thu, 22 Jul 2021 13:28:43 +0300 Message-ID: Subject: Re: [PATCH] mmc: mmc_spi: add spi:mmc-spi-slot alias To: Andreas Schwab , Srinivas Kandagatla , Bjorn Andersson Cc: Ulf Hansson , Tobias Schramm , Geert Uytterhoeven , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 22, 2021 at 1:03 PM Andreas Schwab wrote: > On Jul 21 2021, Andy Shevchenko wrote: > > > Or problem is somewhere else? > > I don't know. Why does the spi subsystem put "spi:mmc-spi-slot" into > the modalias file, instead of "of:N(null)T(null)Cmmc-spi-slot" or > similar? The same problem exists with the other spi port on the board, > which has a jedec,spi-nor instance attached, also not auto loading. You see, there are two unrelated drivers that share the same issue (the common denominator is that they are SPI devices). I believe the issue is somewhere in the SPI core rather than here. Compare the code of https://elixir.bootlin.com/linux/latest/source/drivers/i2c/i2c-core-base.c#L649 vs. https://elixir.bootlin.com/linux/latest/source/drivers/spi/spi.c#L56 and https://elixir.bootlin.com/linux/latest/source/drivers/i2c/i2c-core-base.c#L139 vs. https://elixir.bootlin.com/linux/latest/source/drivers/spi/spi.c#L361 The culprit is this one: https://lore.kernel.org/lkml/20190618052644.32446-1-bjorn.andersson@linaro.org/ and in my humble opinion must be reverted. -- With Best Regards, Andy Shevchenko