From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 Message-ID: <428d7c7a-4ace-5040-0f43-7254ff793ea0@intel.com> Date: Mon, 25 Sep 2017 09:32:00 +0300 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 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.