Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932936AbdIYGis (ORCPT ); Mon, 25 Sep 2017 02:38:48 -0400 Received: from mga03.intel.com ([134.134.136.65]:15928 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753867AbdIYGiq (ORCPT ); Mon, 25 Sep 2017 02:38:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,435,1500966000"; d="scan'208";a="903509895" Subject: Re: [PATCH V9 14/15] mmc: cqhci: support for command queue enabled host To: Bough Chen , Ulf Hansson Cc: linux-mmc , linux-block , linux-kernel , Alex Lemberg , Mateusz Nowak , Yuliy Izrailov , Jaehoon Chung , Dong Aisheng , Das Asutosh , Zhangfei Gao , Sahitya Tummala , Harjani Ritesh , Venu Byravarasu , Linus Walleij , Shawn Lin , Christoph Hellwig References: <1506083824-4024-1-git-send-email-adrian.hunter@intel.com> <1506083824-4024-15-git-send-email-adrian.hunter@intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <428d7c7a-4ace-5040-0f43-7254ff793ea0@intel.com> Date: Mon, 25 Sep 2017 09:32:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 441 Lines: 12 On 25/09/17 05:39, Bough Chen wrote: >> +static void cqhci_set_irqs(struct cqhci_host *cq_host, u32 set) { >> + u32 ier; >> + >> + ier = cqhci_readl(cq_host, CQHCI_ISTE); >> + ier |= set; > > I think operation ' |= ' is not correct, since we will also call cqhci_set_irqs(cq_host, 0), > Which means to mask all cmdq irq, so I think better to directly write the parameter > 'set' to ISTE and ISGE. True. I will send a V10 of this patch.