Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp787037img; Wed, 20 Mar 2019 10:50:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfHN0QQl0fzD4b/eZQZY28UwlaPPlIsjw6/QFlZ4EZ0gotZkaa8ZC5E7ccPPS8YDwJNRUL X-Received: by 2002:a63:1cd:: with SMTP id 196mr8602899pgb.58.1553104217562; Wed, 20 Mar 2019 10:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553104217; cv=none; d=google.com; s=arc-20160816; b=mj42lVYrXDZgc6hSJkyStPu7q9Nf6H6Oxfe3nAmY1MFi3thsD//ka8JosDvFYEYBAM nMXIvem5yl0eATzhyESt+/t7k0lsc/CiEG0AQCGyPVKGFzFPftSYXFI9kjAXJCjIDOsp wHspNQIx99hQEjM3o5PjLs8isC3SWjMp9Ozwjzvk9N0Hio0sbwAO5PpOy0DZ2NBQ3E8c s+8skyEuXCbZ/4yiI6A8SuyqhSBRMAVO1WhOGEIDpKLIFJbv/53tzdVQjWZERcwhBS76 eT42bT39FuA+dA8OrUL2QFaeEZf9Jan5UAm4qbGkoWFEwU9jytfhSeaaG6FcRND3+/Iv OFZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=CGQh4afoDBme1hb62DaNdpATkJ+u8Yt7kgWs9YFM8bo=; b=Wpi9Xm8c+uc9N7sNNeaTA1macgL35ZpM/fgUe/e2gwiqvRcndlFPFq5DNF0nmlk/mb m3n2a50BL2eKp5zc+4PKWiDYhrf+UM143ds4M5Q0yZn+x14WHZ8tz/foL/CLTph/Y2Cw mwp/sFPLU8ilJjWIPlM038udwtnlfEPnVNdcIWSMeavrUtFZA+PUfMrVqyWXGZYdvBTV RzwnKdbv0hGN1ftT2ENt4jGdQ6UU/xQFXPyOjEdySYti6gOJ7N5mPasGi05SYG01VKvu zQXlb82/Snk0h5jHTiGIrsd6ulAr0LJJqdi/pAJ4FOYYXYIFzFpngjKervmJt7uAFNs0 Cifw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nU+oLl9N; 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 y33si2122045pga.134.2019.03.20.10.50.02; Wed, 20 Mar 2019 10:50:17 -0700 (PDT) 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=nU+oLl9N; 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 S1727382AbfCTRsX (ORCPT + 99 others); Wed, 20 Mar 2019 13:48:23 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:36770 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbfCTRsX (ORCPT ); Wed, 20 Mar 2019 13:48:23 -0400 Received: by mail-lf1-f68.google.com with SMTP id d18so2584518lfn.3; Wed, 20 Mar 2019 10:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=CGQh4afoDBme1hb62DaNdpATkJ+u8Yt7kgWs9YFM8bo=; b=nU+oLl9NF+D0KpBfJNI+o+hWrtS7HNpfcZqyuKG3qeP+WnsV/3LDQKRdg7LxQ3z4cX CcKVlKipMidRpIh2orR8syFA31dC2RGsYoHOYX+J8lKznUYK7gLy+pl6Hz9hGgXgW5T8 TnKg+KF2wdRkNTNlRyWKYPLrCFT+DnXxuqkSz0KYXu2cGAm5/sd35DjK5r80smzzqhL/ tXuCs/qiciEac7BMLU777orf126NZ4mTNAXIzmoMoSzKKOZQCzFW9v0A3xD5VeHYktgT +x1sQx25rtOpAFFWUEAGRr+BF1lIGIl17Hp8K9Dflrc+ofzNzYD4VrPSFsJv4mJ+huen zzUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CGQh4afoDBme1hb62DaNdpATkJ+u8Yt7kgWs9YFM8bo=; b=pEYqjLNnAqrNu5gJde4+3Zwg4t+0ZEYtHlGafpXrF1Xt21bEQWCzxKdeJZzO7fbvB+ P7nd/vK71TS1z+j8UjUPR6z5ffdcCot2bWaR7v+ILtCedW5m6aekBUvMS73wgW8ywYlu MfUTn1txcUqNxYmqHbZi3N+J/ysx4u+amnYKb6jc1nC2o6SEF6hThpVtjyJseuFCkn3q WWSAHno7WvJp4avII9568VzXWvbUZ354yVL8BRHG2sAchsDV7O4TeJAy7fvsIMXq/Swn DRvugQnpj6ryT8RMOwGJa77s1H+bpQUa1LZC1Koe0De+5eRNCk9oTrUs5iHLSN+ZwzFn d+5g== X-Gm-Message-State: APjAAAV6COcJ0BckPuNEmERkCMHpgAGh2zesDoIXbM1VwcbuB0McupBk 4DgNiqG2aMFHszaMw+I4dgM= X-Received: by 2002:a19:c209:: with SMTP id l9mr16205797lfc.68.1553104101447; Wed, 20 Mar 2019 10:48:21 -0700 (PDT) Received: from ubuntu.lintech.local ([80.87.144.137]) by smtp.gmail.com with ESMTPSA id m19sm479959lfb.78.2019.03.20.10.48.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 10:48:20 -0700 (PDT) From: Alexander Kochetkov To: Jaehoon Chung , Ulf Hansson , Heiko Stuebner , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Alexander Kochetkov Subject: [PATCH 0/2] Fix eMMC hang on rk3188 and earlier Date: Wed, 20 Mar 2019 20:48:03 +0300 Message-Id: <1553104085-32312-1-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! I found, that sometimes dw_mmc driver stop transfer data to eMMC card on my rk3188 based board. One of tranfers hangs then doing EDMA transfer and controller gives HTO. And here is a fix. Alexander Kochetkov (2): mmc: dw_mmc: add init_slot() hook to platform function table mmc: dw_mmc-rockchip: fix transfer hangs on rk3188 drivers/mmc/host/dw_mmc-rockchip.c | 19 +++++++++++++++++++ drivers/mmc/host/dw_mmc.c | 4 ++++ drivers/mmc/host/dw_mmc.h | 2 ++ 3 files changed, 25 insertions(+) -- 1.7.9.5