Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp1194920lko; Tue, 13 Jul 2021 19:17:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3Uju+7tJfzB0CIGE5urumPTTablEcHoV0wIY4V6PGMgRwOPlsRECAL3Rgf//Gs8fWacir X-Received: by 2002:a17:907:2079:: with SMTP id qp25mr1244181ejb.207.1626229033668; Tue, 13 Jul 2021 19:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626229033; cv=none; d=google.com; s=arc-20160816; b=hQyD0c5SVvoAk56C0GNTuCn26SgxFW6k6mjlhMPE66H/Sm4sEIkhKwW/nhhLmts8wN 9sSE1PEudgxMPanzUf2rNoDlZZDqbtptOvCC+SqGoSxaS3zKcWIDYJiLYPk4MvaulajU 8suvVVL0Z/KE3tCgl+Ljj1Fog01qNZFGusZ67Pp2xhB/d3xEopxdixuHCydaao5KvM3M oYVngpU5WE+kRADX17AULqw5mOPs8QpCgXTi+BHu5DNj2LgKLlozRfEPuNGVZcgfjEIS tUm0rCQXBS0ACEkVnbxp9bjjFXY50g3smCVvY0RzyiY3kSrMfjOPqxOdEOEN6BeOT0yg mwbQ== 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=ihUz2ub3dK3zageyv2Hu+IeY9LSRCwULU5UjPrUxU5E=; b=eAWWyZsIw/1RQTwVH6JUdxsoz1CsZQkeRYy+LnReaL4jL2WQYVZ7ndaWueJ3X4lNCQ E2aDwSwJqfpViIbENZ/bV+PhjWSNGj3AB2/W8zl5UeHhK6JOLj4iXTQ46926E7PTM1y9 OVsp4hQMMjJlOUFrilfTk59MMUGeiohk2rAMm3SmBMWEDA7HoML65FD2KNrzRD8heKpX tN4Od7s3njT6kz63nGLaemSr3bL2mhhLwVosKU3okRoaBEdVwJgxrpUyoqiiR9X5l23e 3HsfG2vTAlGLG9jbSoI409MQrahurCK2XUfG631jcVwMXb40Pl4J5ZngE6SPY/Bbx25o 33Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k6LsXReI; 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 24si772620ejw.232.2021.07.13.19.16.51; Tue, 13 Jul 2021 19:17:13 -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=k6LsXReI; 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 S237480AbhGNCSL (ORCPT + 99 others); Tue, 13 Jul 2021 22:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237409AbhGNCSL (ORCPT ); Tue, 13 Jul 2021 22:18:11 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4DCEC0613DD; Tue, 13 Jul 2021 19:15:20 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id w13so852543qtc.0; Tue, 13 Jul 2021 19:15:20 -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:content-transfer-encoding; bh=ihUz2ub3dK3zageyv2Hu+IeY9LSRCwULU5UjPrUxU5E=; b=k6LsXReISAP/dzPe3s/81fdm6FGDdft8OfrDMiFhY5bgJ9YDC0wOJGUNl0c3qB+U0b xBwuN/n2yWHakqYZGbowTRV6/+MsP0DXb926LcN2TvJwAGcPvRDKX1XRXesDXnANTfhL TGeVGCOFi1hoWzVIaioD4c6MN76ybEvf+n+P+Opteg7A4UgRZLbXS2hYs6aE7qjE1gnR g/sNmfp+jA9xMtN8MF+A8PM/C7WAVbcpGtUTl/AN7NW33D7bqkxLDPKNfUtRJ9SLl/jb a12uF+Vol6wv9HN2ErflDbbCSfKLPX12NAvkCLm6+p6atHQTVTDCigsS8oD9LKzGoe1B T0Vw== 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:content-transfer-encoding; bh=ihUz2ub3dK3zageyv2Hu+IeY9LSRCwULU5UjPrUxU5E=; b=IVGeqa1htSrXIeQPQVIu4sLH6HfUqiD2sSFGw4kCzU98iYrr5+YoM0OAXLpGSVpvYc N4DgIN9SmAk/jlsTSjiEz0YGFdQpe4mLL84CgsNT+mPPFV8JSdEcDiEdBX501GXwI90z QWahVysxFxkidc3WxosfYGurDzufXzGYHCTvajnfvveix1bFuCCyHjv8NXe7n5dZXVhK p2HdduDET54MDGAq+L9d0/lfHZqSgTJLn4/NbLc3EM/rGzTnjSld8KS4cfz2iy20eZbM KSJh4YTAATkDpkxkEN5h0s05j/hn5r91o5WF/BDo554xYYeAcy/AGnL1A75u48lXFME4 p9rA== X-Gm-Message-State: AOAM533DKuOlyvSdsfd8BGMiXTSsNZnM+YFxk050fKCW2sNQUGVvngBZ i6JxE8cg7eqqe5Q1Ui4fykl/QAACPRxSUg5RWVk= X-Received: by 2002:ac8:5401:: with SMTP id b1mr7027141qtq.112.1626228919907; Tue, 13 Jul 2021 19:15:19 -0700 (PDT) MIME-Version: 1.0 References: <20210705090050.15077-1-reniuschengl@gmail.com> In-Reply-To: From: Renius Chen Date: Wed, 14 Jul 2021 10:15:08 +0800 Message-ID: Subject: Re: [PATCH] [v2] mmc: sdhci-pci-gli: Improve Random 4K Read Performance of GL9763E To: Ulf Hansson Cc: Adrian Hunter , linux-mmc , Linux Kernel Mailing List , Ben Chuang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adrain, What do you think of this patch? Or do you have any ideas or suggestions about the modification for Ulf's comments? Thank you. Best regards, Renius Renius Chen =E6=96=BC 2021=E5=B9=B47=E6=9C=887=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=889:49=E5=AF=AB=E9=81=93=EF=BC=9A > > Ulf Hansson =E6=96=BC 2021=E5=B9=B47=E6=9C=887= =E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=888:16=E5=AF=AB=E9=81=93=EF=BC= =9A > > > > [...] > > > > > > > > Thanks, I understand what you mean. > > > > > > I simply searched for the keyword "MMC_READ_MULTIPLE_BLOCK" in the > > > drivers/mmc/host folder, and found that in some SD/MMC host controlle= r > > > driver codes such as alcor.c, cavium.c, ...etc, there are also > > > behaviors for monitoring the request in their driver. What's the > > > difference between theirs and ours? > > > > Those checks are there to allow the HWs to be supported properly. > > > > > > > > And if the code that monitors the requstes does not belong the driver= , > > > where should I implement the code and how to add some functions only > > > for GL9763e in that place, in your opinion? > > > > Honestly, I am not sure what suits your use case best. > > > > So far we have used runtime PM with a default auto suspend timeout, in > > combination with dev PM Qos. In other words, run as fast as possible > > to complete the requests in the queue then go back to idle and enter a > > low power state. Clearly, that seems not to be sufficient for your use > > case, sorry. > > > Yes, the runtime PM, auto suspend, and PM Qos are all about the > suspend/resume behaviors of the system or related to power states such > as D0/D3 of the device. But these are totally different from the ASPM > L0s/L1 for link states. Entering/exiting the ASPM is pure hardware > behavior on the link layer and is not handled by any codes in > drivers/mmc/core or drivers/mmc/host. We'd like to try to modify the > patch by your opinions, but we are also confused about what or where > suits our use case best. So we wonder how to start the modification > and may need some suggestions to deal with the work, sorry. > > Thank you. > > > Best regards, > > Renius > > > > Kind regards > > Uffe