Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp7068069imm; Tue, 24 Jul 2018 07:56:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcvq9w+xN7F36uGZKSw0T0HatW1Ef3Y0GhKx4bciJNF22ZXlubGHMdkKPRvU4job1gjiD8P X-Received: by 2002:a65:6551:: with SMTP id a17-v6mr16717472pgw.132.1532444188564; Tue, 24 Jul 2018 07:56:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532444188; cv=none; d=google.com; s=arc-20160816; b=sgEUU3IoRp2R7YX8NQPPu2vL0QZBYwxVzeIuQS2HZEd1VNRHZekfliflQ0cH3VG5Bv o//1+wvGUJByMbxijeoWPOd1MDO8hn7kPYWBlP74QjRE8SwAd2EMpN1mb5x/AozedM/8 MUFFWsBPtntDaCyxHmLOV1vUYCZpSnSZzhsKa0akVxtpMFG/qnoU6tdjoxPFLVLPqtN0 jbvIedc9ehyTsa1OrWP0LXMZTdvaEz5IgUrJeCNsohBpEs9r2JzIVEKljPGT1KRTjJYf lGVMJgSw7iuQ5PwW4EdVqp6u8FSuqt2bUEmBmBZLnXoyqLx5RUUAxk6OzxOQmTpsI5Qz thcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=9+5hKwv5kBROIdF/SY+QXS0Q/cPQu29zK930oQGb2mY=; b=lqAFt1FHWZE5ySUKLZUHmcgnePP3eGb6cEjIYrhNlvfPdgNFicGDyWveR0Cm3aUz0T ydhXGeDLGShwf00yrOYCAVAEi5IMaNZqJROuQfrVkLzbrnnHF2dZ8jVKxMwWYNLr1/my MUVJEwDxxi/fULajLZoH1bBz2Edr76WiST6qHiYh3X9gjYHXqn5EJgU9YS4NOA4s21jD bv0ayWJO443qinQ8/dCGoqKxudX8DtRynXcV4ixWpUXMluR2LUoE6HEITPgo6h+7pwHN +/rYYnzwcgp4UFuBNUd5Zh5FuLZI2GQU0PdNce9sXgNiSOKpQuMPpXugRKkvPB3cSisj 9qNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tjlR2exB; 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 f17-v6si11751834pgl.59.2018.07.24.07.56.14; Tue, 24 Jul 2018 07:56:28 -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=tjlR2exB; 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 S2388661AbeGXQCJ (ORCPT + 99 others); Tue, 24 Jul 2018 12:02:09 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38520 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388528AbeGXQCI (ORCPT ); Tue, 24 Jul 2018 12:02:08 -0400 Received: by mail-lj1-f193.google.com with SMTP id p6-v6so3856248ljc.5; Tue, 24 Jul 2018 07:55:16 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=9+5hKwv5kBROIdF/SY+QXS0Q/cPQu29zK930oQGb2mY=; b=tjlR2exBL21hjwgJB168eRbmfrPFbtRFgWtjyaaCAKvvYPvjqoWITM/4auRE/EkHRo cGlf5IXIOQ/niF12/CuksH7XFSFIY5I7j/murtLaRgwqrYY/zFiTGogrHw8tiT8FE6W6 43zW5a0viKcL5lTZMLfnB/mXXVxOJW2rcPXCrV6gNYxJTC3jp1sf0dJZpmsLb2fvVrUo Sy21JaP7iWkgWKT9sHaqusS5g2wPo5ezTbD/W66vdI1JMoQ11SkHzPit4TXITaDUPgF5 UaYpw0aje7wkBgUhAd6YVWtTg6SBku8NQO0zLI86Uy1PLBEvtStEe+nFwqVZQcNepm72 O/6Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=9+5hKwv5kBROIdF/SY+QXS0Q/cPQu29zK930oQGb2mY=; b=UwiVMEPRiKpoHN8KXs3JzlT9vit/RwTLsR8RH4t/4AHFg+/kDnWPqimo/uhzUwqpMq lNw4s6pY4Q7BW6Wnw09crC/hk++tQT0trqTT0hFkajEGKForGZH9rSPJgB9kdhAI5cog kalxj+q9GOkGoogE6QswWDW2gaJabBlrUn/og0o+dQ5U9lpMLYd5rJ+BRx5LoRcPb5ZP HKJEd7GrlZgEEGgka/XdhF4LfcZ4J+BNlJiMDqZUlqtVmfZK2ScTCNKjQgEwdTXVRP1h 8VLfiA8ui9qdtFwGC4kEwDNyT6yQxYdFE2JoakVOYFfD8W45ao1P+alIHjR1pGHiY4QP iMNw== X-Gm-Message-State: AOUpUlERhhroESH6o6M/yE2st+wKY/S2qReMK6N40jD1iibM9qaQpfEC zhywH2//ElLhp+qCwinYJkw= X-Received: by 2002:a2e:9599:: with SMTP id w25-v6mr3833693ljh.6.1532444115630; Tue, 24 Jul 2018 07:55:15 -0700 (PDT) Received: from dimapc.localnet (109-252-90-13.nat.spd-mgts.ru. [109.252.90.13]) by smtp.gmail.com with ESMTPSA id a9-v6sm1823224lfi.59.2018.07.24.07.55.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 07:55:15 -0700 (PDT) From: Dmitry Osipenko To: Marcel Ziswiler Cc: "thierry.reding@gmail.com" , "linux-kernel@vger.kernel.org" , "mark.rutland@arm.com" , "jonathanh@nvidia.com" , "linux-tegra@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" Subject: Re: [PATCH 01/28] ARM: tegra: apalis_t30: enable broken-hpi on emmc Date: Tue, 24 Jul 2018 17:55:14 +0300 Message-ID: <3879609.rmqHIZXFHx@dimapc> In-Reply-To: <1532442416.6124.28.camel@toradex.com> References: <20180722164936.20581-1-marcel@ziswiler.com> <1992775.WBgY65Ajyy@dimapc> <1532442416.6124.28.camel@toradex.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, 24 July 2018 17:26:58 MSK Marcel Ziswiler wrote: > On Tue, 2018-07-24 at 17:03 +0300, Dmitry Osipenko wrote: > > > On Sunday, 22 July 2018 19:49:09 MSK Marcel Ziswiler wrote: > > > > > From: Marcel Ziswiler > > > > > > Avoid eMMC issues by specifying broken-hpi. > > > > > > Signed-off-by: Marcel Ziswiler > > > > > > --- > > > > > > Is it a specific eMMC card model that has broken HPI or it is a host > > controller bug? > > > That is a very good question. So far we only have confirmation that at > least some eMMCs from Hynix resp. SKHynix definitely do have bad > firmware. I also found out that ASUS resp. Google did disable HPI on > their Nexus 7 tablet. Therefore, we also disabled HPI quite a while ago > in our downstream BSPs which we successfully validated & verified doing > power cuts and running stress tests in our temperature chambers. I > guess we would have to run more extensive tests with mainline with and > without this setting to be able to really answer your question. For now > I just successfully run a few Apalis T30 and Colibri T30 modules with > this setting over the weekend doing both hdparm -t as well as dding > some urandom files to the eMMC in a loop without seeing any issues. The broken-hpi quirk was added for the Hynix cards specifically in [0]. Maybe you should just extend the mmc_ext_csd_fixups list in [1] with another OEM ID? [0] https://patchwork.kernel.org/patch/9168455/ [1] drivers/mmc/core/quirks.h