Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1800691rwd; Fri, 9 Jun 2023 02:16:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jZZ70i7MblAFJHkLzkEAokBoVQtUw/m1jqROp1Y/wAoTJYNLDEtkmAs4EEbEQXKAS09Nj X-Received: by 2002:a17:90a:fe0e:b0:256:2056:ee3a with SMTP id ck14-20020a17090afe0e00b002562056ee3amr445750pjb.35.1686302183365; Fri, 09 Jun 2023 02:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686302183; cv=none; d=google.com; s=arc-20160816; b=MmCPCQtaVg7MNtFsSIk8peV5uFnU32QfPMa4EJRJoDRzxsePEInkVoU1wtf7p1Mj2d qEaw/fUk3qE9gKhO3EcVvwQpIihkdlTXEqxJA3qQy349Pg5TMVRs4UvZ//3pZ1L6XAXp IZTQHU41htzrXRp8I0JqQ7zZ5r8VzN0IDi+YMSFY8o0DiSHaRZxVjFa/LDmqG4eiYgCh cCowXKAXjO1COizl1C+TY1R43QFy4aHliyAqjxR8d6SNNvLnQakpmrZul0wmPMY/XrIX i83W+kdBspF1XMY7gFk5w6cjBMFxv6HHfT5k2JfVZtSVaIlxRXVKZ6dJA48F1ucrtmoL 9AZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4ae0EhWdWYuSdNnJ1IWTbNmO0VX4QhrHcm/Crk+TcHM=; b=rtAxWiW0KpZ4stHxbc0fejv/piyLE8G2P5s/9MrTpSGd1GdiygAxGmipAQby2JzkgF NgIjcZQnJi+AHN3Kr/1po3xc1kLZZId6oALE2iVJO4tMzHEG8Fzy1PjKxtBHRNLOkwDr xmTcuFaem09GM+P4iw1ONey2iZ0lev6x3wQKrj1BKcz56YgIPAy5kvcuHq83Hmh1PqtN VVZdJEX+LRjfv2vpGk40leU9TXYtdDtRVe+TlPL7nGkKisXKCpcMAp/zoBlwaDEx2YzI wqro28d565cwTHAMIkqVZaJPN0JWplhnxA6uT23Z9yfAsxQRXIHVe+nJxLjsZ0BRIVGN Q08A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aKNV+D3W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a17090aad8a00b0024e3527e8e9si4028845pjq.9.2023.06.09.02.16.11; Fri, 09 Jun 2023 02:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aKNV+D3W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240417AbjFIJAz (ORCPT + 99 others); Fri, 9 Jun 2023 05:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240506AbjFII7Z (ORCPT ); Fri, 9 Jun 2023 04:59:25 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90B3030DB for ; Fri, 9 Jun 2023 01:58:56 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-3f9c60bc99cso12282861cf.0 for ; Fri, 09 Jun 2023 01:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686301135; x=1688893135; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4ae0EhWdWYuSdNnJ1IWTbNmO0VX4QhrHcm/Crk+TcHM=; b=aKNV+D3WITvOGHV4ccVfqyavaU1ZyOOI781ocaNxuUr/KGXR2SPlizx0YgjziNkL59 2SJgaW1bBq9NV4hOyXufH2QcjgIX+tiX2goFHgTHLFOkYmwlrKiDV/Lw3rrv+/ekB3Kd FrL/wQBsafphXm113/3zDrWRWXocELMsfnkN96IJ2daPnSKTBZM4wqmVpfJticC/3hoH WE9MeVOx538kcp4YIgqJnwDkLhZXH0FILQUQkiQhuqAMnUWqnXwluqDpKWtyTGMMSy9Q 3kmFmm8ovi9YNv23+xcay1m57Mi1R7SDZ1+YXdm8qQG9BjADze7BOLW8eqJ6orWrHx1n b3ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686301135; x=1688893135; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4ae0EhWdWYuSdNnJ1IWTbNmO0VX4QhrHcm/Crk+TcHM=; b=JmpGRQ8Ajw2vo39+TXKsRkNvpS1a0MU0+VsZ3AJIvXiQfJ7XPKxEBx6BRZlIjVtE5H BiEtUgFTAOkAZ1gnZ+jphOO19kwTlzxhd7EzeytkLd0KIrZjhBsMMSX8kC82lmcxoy3A JfujOfpWy2CzMWnPA8UsJclNXL7yRVRQCgeKxqy2o9vwqAIJ0mnBiTPIIV5pdz7GuE5O o2WxRnpOWAQbdgMaXIb3GaT2aECpv86aV9g2LFp5Zuy0w41mOk0G63A2jVYaecDlR647 VpAZAMmBhzkLNptRLsBA6RM6IouxM14W5Q/7Wd4vmslS3YqAi1X2G9SP7CSxLNyV+zCI gfdQ== X-Gm-Message-State: AC+VfDwwsmEuqGZZ9n4XujqrDg/yHPXnGLL1bfjHITuluCPT+//J26gj aY1yleetjKlZf8tNKsPWCvXa5vp+MnydNBddfykqoA== X-Received: by 2002:ac8:5b4a:0:b0:3f6:b347:6153 with SMTP id n10-20020ac85b4a000000b003f6b3476153mr1264420qtw.6.1686301135753; Fri, 09 Jun 2023 01:58:55 -0700 (PDT) MIME-Version: 1.0 References: <20230329202148.71107-1-dennis@kernel.org> <2023060930-uphold-collie-3ec5@gregkh> <2023060922-nimbly-emblaze-bd6b@gregkh> In-Reply-To: <2023060922-nimbly-emblaze-bd6b@gregkh> From: Linus Walleij Date: Fri, 9 Jun 2023 10:58:44 +0200 Message-ID: Subject: Re: [PATCH v2] mmc: inline the first mmc_scan() on mmc_start_host() To: Greg KH Cc: Dennis Zhou , Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 9, 2023 at 10:53=E2=80=AFAM Greg KH wrote: > On Fri, Jun 09, 2023 at 12:16:19AM -0700, Dennis Zhou wrote: > > As a path forward I can add a command line flag as a bool to handle thi= s > > and that should hopefully take care of the regresion aspect to this. > > command line flags are horrible and should never be used. Why can't you > dynamically detect this type of thing and handle it that way? If nothing else works, if this is device tree, a machine-specific quirk can= be done: if (of_machine_is_compatible("vendor,machine")) {...} Yours, Linus Walleij