From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com ([192.55.52.115]:14769 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbdKIHMv (ORCPT ); Thu, 9 Nov 2017 02:12:51 -0500 Subject: Re: [PATCH V13 06/10] mmc: sdhci-pci: Add CQHCI support for Intel GLK To: Linus Walleij Cc: Ulf Hansson , linux-mmc , linux-block , linux-kernel , Bough Chen , Alex Lemberg , Mateusz Nowak , Yuliy Izrailov , Jaehoon Chung , Dong Aisheng , Das Asutosh , Zhangfei Gao , Sahitya Tummala , Harjani Ritesh , Venu Byravarasu , Shawn Lin , Christoph Hellwig References: <1509715220-31885-1-git-send-email-adrian.hunter@intel.com> <1509715220-31885-7-git-send-email-adrian.hunter@intel.com> From: Adrian Hunter Message-ID: <03cc4d87-940c-797e-69e0-fffa630adc16@intel.com> Date: Thu, 9 Nov 2017 09:12:35 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On 08/11/17 11:24, Linus Walleij wrote: > On Fri, Nov 3, 2017 at 2:20 PM, Adrian Hunter wrote: > >> Add CQHCI initialization and implement CQHCI operations for Intel GLK. >> >> Signed-off-by: Adrian Hunter > > This patch seems OK in context, but it merely illustrates the > weirdness of .[runtime]_suspend/resume calling into CQE-specific > APIs rather than using generic host callbacks. Your comment makes no sense at all. The host driver has [runtime]_suspend/resume callbacks and it is up to the host driver to decide what to do. CQHCI provides helpers since that is the whole point of having a CQHCI library.