Received: by 10.223.185.116 with SMTP id b49csp3822859wrg; Mon, 26 Feb 2018 06:41:57 -0800 (PST) X-Google-Smtp-Source: AH8x227Vq/zGFaZ9NTDPlZpkuR7WeIvMKeQ6F5/r9zl09crJJVA6imZiGV+iADUrBRvase8D1J1S X-Received: by 10.101.100.147 with SMTP id e19mr8662888pgv.88.1519656117630; Mon, 26 Feb 2018 06:41:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519656117; cv=none; d=google.com; s=arc-20160816; b=F0RPaaoAGW4cuHKD3J5frbhvLHN7voovTbPgwaoowdAhlFBXlwxJzh9/S3QAfoCdLM XPsH9m50tsaOe1ADqX+6FsBus+hny8fkzhxMTXiULC9Yg0MvWhUjUX6VSpkgKyIZEUa8 ucSjojySjdozINlACfmRFqSDV/1BCgJUdH16HNoYQVlHg/Z6JCAGeH0vTU6WxFPMOiH0 IEL6fuYxQ467n0atE4LCPPtNkYeiTVcL1O5KhYwdCLqPHwyzHsO5LZIAPCOUXeqyU1UV 6yQzPKArbWqfYX464okToMNslpgHHYo9bPryPV8Gah2jqk5EwRWn03d1CGVdb0TcE/jy +EnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=x7Jrs745mCdXtuVchbKMxnLHAA6YHDRnaNULy4wz3SU=; b=fwbmsOwIxzGbgZvQs9VpZYjDMz3tgbhc6fGPu6eOIyCeZNYy8qTf9vS21wwjV8kRj9 9wuoQ1gKWgEs47lbSORcIT1enw2NINtnhULVLzRgaxvEbSP6FGuZRvE727uYh6HPB/v7 cSO8Enf8tQi/itXsVMSOvpNjFsztJDeMTJyxR6AlAscOqKi8m+8xK2Vz63xd+qxsLzPY lL2Uro+AGok2cISaN+IRZsToOMf2RKnHFiGe8UNh8IlL7ZeYx5q5EX+p0zAP93ceHsjt rLx2flhcOmUHxKCZZYK5HUrQgV7hDpr8Of3Y1R7BBLFOH2RKeB1BLmmQPjPsEa5I34aQ 2YdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LDjlgihF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l29-v6si186666pli.25.2018.02.26.06.41.42; Mon, 26 Feb 2018 06:41:57 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LDjlgihF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753930AbeBZOkk (ORCPT + 99 others); Mon, 26 Feb 2018 09:40:40 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:36086 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753298AbeBZOkg (ORCPT ); Mon, 26 Feb 2018 09:40:36 -0500 Received: by mail-qt0-f195.google.com with SMTP id c7so18977677qtn.3; Mon, 26 Feb 2018 06:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x7Jrs745mCdXtuVchbKMxnLHAA6YHDRnaNULy4wz3SU=; b=LDjlgihFNWW1CV6asROVaOHILmasDuzdbSIypXh0pLd+ja98YML6oCGVVH0tsOftX6 gI2uzrnG4bJvEgJgW9IL2reAGLVjjCRZKDzJsYdxnt08ayliywzxKzQAJhMyHR9VA/f2 QgbYsb8e1AvnmfrfNypF82s/Yh/hamdhyMlUd6NdY8tn1ykvDx06yRvIr4KaDNACowZv jjdPfXASzF6s3KRA0IqTLBv8Cofd7aFAqqkAZ1MwEsERSyUbUn6DXjQp4UYQOGshcf6j zccmMqIp3vDYo9+HAeqUF4f+zrk19RnbPVUdEJ52sZM7zH9hdqGxO6bHLeZud2/V7TxQ VufQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=x7Jrs745mCdXtuVchbKMxnLHAA6YHDRnaNULy4wz3SU=; b=k+Vz9sN2WE9oVhOpzIzJMLLCMYC1oTybEPemPWgTHxDuXlxbehmFNJHqSsA6Me+dcB 73XJHU5nuMBaATMUnGBSlRLdjICBynsmqe5I3IuzXtkYvSXxbD6knlyzm7p6aaNNvQFC XGGnoyU6mnlOQxHmSGH9GFXP6B6DMia/jk1tC42n1y/s5Kv7qNPYW1OC1FDWADQov6pi qXfkxgQByP1/iBvJrrtKovJ8omgtyBdYzgXW43hI4LhHsQ7M9BSHnO4f6x67Fopyy/Oc UsBn/rQRP5v6u9NtRiJ8y1rGnTmrwfVFI+r+F3Tk5gf0TunV6bVEiuk2AHqJjkG+9GW+ WHIw== X-Gm-Message-State: APf1xPDqDOSpvWrBuUyk267bi3y3uDbxVIudfddKtjcOaNqZupolUd3o Uei6NoMNnL7dzRREnMvRhiYpnKH1ROVS1SMEV54= X-Received: by 10.200.26.79 with SMTP id q15mr17282035qtk.174.1519656035509; Mon, 26 Feb 2018 06:40:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.195.80 with HTTP; Mon, 26 Feb 2018 06:40:34 -0800 (PST) In-Reply-To: <20180226143413.44134-2-Evgeniy.Didin@synopsys.com> References: <20180226143413.44134-1-Evgeniy.Didin@synopsys.com> <20180226143413.44134-2-Evgeniy.Didin@synopsys.com> From: Andy Shevchenko Date: Mon, 26 Feb 2018 16:40:34 +0200 Message-ID: Subject: Re: [PATCH 1/2 v3] mmc: dw_mmc: Fix the DTO timeout overflow calculation for 32-bit systems To: Evgeniy Didin Cc: linux-mmc@vger.kernel.org, Alexey Brodkin , Eugeniy Paltsev , Douglas Anderson , Ulf Hansson , Linux Kernel Mailing List , linux-snps-arc@lists.infradead.org, Stable , Vineet Gupta Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 26, 2018 at 4:34 PM, Evgeniy Didin wrote: > In commit 9d9491a7da2a ("mmc: dw_mmc: Fix the DTO timeout calculation") have been made > changes which cause multiply overflow for 32-bit systems. > The broken timeout calculations caused false interrupt latency warnings > and stacktrace splat (such as below) when accessing the SD Card. > + drto_ms = DIV_ROUND_UP((u64)MSEC_PER_SEC * drto_clks * drto_div, > host->bus_hz); Same as per patch 2. -- With Best Regards, Andy Shevchenko