Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5335833ima; Tue, 5 Feb 2019 10:02:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IYt0h+SpEHEI+F57E2mOwaECL3+1xZ2O0641Lo0AS1ixKdaAlTeMJlI6FU5p2k2KREhbSp3 X-Received: by 2002:a17:902:8c91:: with SMTP id t17mr6363480plo.212.1549389731271; Tue, 05 Feb 2019 10:02:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549389731; cv=none; d=google.com; s=arc-20160816; b=ztwvdjYijxQ3rPvK3jYuJXLba+aR310CYZUqzI3F6OlytaEEGPOrI0DApGF0LpQ0Af Lze2fEFqW+Nyfg4c6bTWssW9Hr17TEwH1c/HvYcF2GcHJkUfa64qMtHltDhzg7SHrZYR NaN2nPz/IDxdjQve9nC8wDp7leUdELTSjEb83P4Bewzq8NAecP5a8yU3JtJLhk/9gX5o RlZu06bmJsV3zrC3PT5TNTJBpf7MJhcuSAOY6GkNa2ATReGwheOWxN3IFXrwqIM395wm mW4JzoK6i1dacjst1z6DMlEFG3QgSAMDyWkUxyQAnMDFJlP4lv1bcIQKlQv3P79Qx3iY R15Q== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=+tloLFoou5b+GPTGlxfAfwqfbcTokR5zbDLd8PwaJug=; b=BsPEwWLCYZp0YTxklMrAWLj1dJhb9jzh3DNSEIqsfFLlitJ2olj3LgUxBl1mX3SA0I 3jV2gj4oDyP558+BY4ZgcmLoYtERVOE/nfifKPQx+u/oRtTl474hIZna8Tu1RosJqCbC XDw4WapS5l7N+YnsB5yiM2ofI0gGYxHi82mdEpKVXq53Riv9q6EiFhP2PCCGwT1xVPp+ JIy3vXNwXeOCVEKDOSvu/R3slO7+BZ9i4zNUDHmUUlPDNMCRDc7EiNDz6eEtszFOeOWe +4FzddzkTbfPLQBtdxfrmjOh9/DCMQpMi7DbTW8us0EAeh+LMixDNEr2y+nhBC8+Sok7 Q6yQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si3659414plp.429.2019.02.05.10.01.53; Tue, 05 Feb 2019 10:02:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728644AbfBERwR (ORCPT + 99 others); Tue, 5 Feb 2019 12:52:17 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:48692 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727250AbfBERwQ (ORCPT ); Tue, 5 Feb 2019 12:52:16 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 5DDCA13F8AF; Tue, 5 Feb 2019 18:51:45 +0100 (CET) Subject: Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device" From: Marc Gonzalez To: Alim Akhtar , MSM , LKML Cc: Jeffrey Hugo , Bjorn Andersson , Andy Gross , David Brown , Evan Green , Douglas Anderson , Avri Altman , Pedro Sousa , Subhash Jadavani , Bart Van Assche , SCSI References: <70618c25-83f0-b9db-51a3-c1d74b605a45@free.fr> <5f2a8378-1f22-6a52-356d-56d3b393ab1d@samsung.com> <05d2d193-4181-12ce-b4fb-4e8dec5aef27@free.fr> Message-ID: <7610c262-1451-9bb2-48a6-4daf6f534f6c@free.fr> Date: Tue, 5 Feb 2019 18:51:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <05d2d193-4181-12ce-b4fb-4e8dec5aef27@free.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/02/2019 18:24, Marc Gonzalez wrote: > /*** system hangs here for several seconds, then reboots ***/ Silly me. The system crashes in ufshcd_dump_regs() which is a bug I fixed myself. Once I cherry-pick the appropriate fix, the board no longer reboots, but UFS init does fail. Full boot log here: https://pastebin.ubuntu.com/p/KwpRnWMFw5/ In any case, it's obvious that disabling vccq on this system is a mistake. How would you solve the problem? (A quirk on top of a quirk sounds silly.) Regards.