From patchwork Wed Mar 22 18:20:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 9639797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3C1CA6020B for ; Wed, 22 Mar 2017 18:22:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 362B428354 for ; Wed, 22 Mar 2017 18:22:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29B4628456; Wed, 22 Mar 2017 18:22:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AF89328354 for ; Wed, 22 Mar 2017 18:22:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=kKx1Ej+/oS//lMBmTGTut8iZDkzflX/oyN/TjS+JPZc=; b=Ilj+TkwBziv1YZNiJSJ6cwId+J xGBj1b0PvnxRBG1WxDMkVtGL5reBG+xyfR0GACgwAINz5GUg5CvNVZG+2b/x2bBnpbz3EDPKVNnAl V9FIfBBXZEufbAqtedGxdM7K5+qcHUUqQyEh4OzNticFZj2sH7CxWRyNxdwyyvfgCYevvR4KFhXBB M9T7qV+Q7gR/tt/nwJ44cJaVBMO62Jc5kHL5N+843fjj+AIFe2m2Liy/NvD8XvdsqZGH0AfCmQYLE pzyut1cWqiUKYAfC3r4fk3lnUnAOl0ZWseJv9qUVTfXXkelOoO1ChFO6KTX60pd9D3X5swr12Brmr n3YLYtiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqkuF-0003Gn-HH; Wed, 22 Mar 2017 18:22:47 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqktV-0002Az-Um for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 18:22:05 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ON80095AB016M90@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2017 03:21:37 +0900 (KST) Received: from epsmges5p1.samsung.com (unknown [182.195.42.44]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170322182136epcas5p13564b8d60d801842b1495152e47b66a8~uR0b8vnQ22989329893epcas5p1k; Wed, 22 Mar 2017 18:21:36 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id 79.83.04848.0B0C2D85; Thu, 23 Mar 2017 03:21:36 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170322182135epcas5p3d21d7301da84a5dcb686af4f6817ded9~uR0axlmIZ3210232102epcas5p36; Wed, 22 Mar 2017 18:21:35 +0000 (GMT) X-AuditID: b6c32a2c-f79b56d0000012f0-23-58d2c0b0539c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 33.7E.06422.FA0C2D85; Thu, 23 Mar 2017 03:21:35 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ON8005Z0AZJ9P00@mmp2.samsung.com>; Thu, 23 Mar 2017 03:21:35 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH v3 2/5] pata_bk3710: disable IORDY Timer on chipset initialization Date: Wed, 22 Mar 2017 19:20:59 +0100 Message-id: <1490206862-26065-3-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsWy7bCmpu6GA5ciDI6+M7X4O+kYu8XGGetZ LSY9ec9s8bN9C5PFpsfXWC2O7XjEZHF51xw2i9uXeS32925gsjiz6ha7xa/lRxkduD1amnvY PH7/msTo8f5GK7vHg6n/mTx2zrrL7rFpVSebx+Yl9R59W1Yxehy/sZ3J4/MmuQCuKC6blNSc zLLUIn27BK6MB/9nsxecZquYerOLqYFxB2sXIyeHhICJxI3385kgbDGJC/fWs3UxcnEICSxl lFjydQEjhNPOJNHXdooNpmPDqSUsEIk5jBKnm1cxQTi/GCWe7p7KDFLFJmAlMbF9FSOILSIg K3Fl2kOwUcwCX5gkNnReBEsIC4RIvJ/7Cmwsi4CqxNJbj1hAbF4BD4kLO68xQqyTkzh5bDLQ sRwcnAKeEg9bNUDmSAhsY5dY3DIJLC4BtGDTAWaIcheJY++/QP0mLPHq+BZ2CFta4u/SW1Aj pzNK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ZSjQ5HxjFeSXxhibmJubGBhbmlpYmRkri vI2zn4ULCaQnlqRmp6YWpBbB9DFxcEo1MHIfXda75tLGuw8+aHXueH04q2nW9wM3+3hmTzhy 8dDWOa4H1/9Zx7eG23MPe0vy7LZlVpUd8WvYVvdP5b1grivcOU+KZ+634uXHrf0uH3vJoih0 SkFMvcW96435/vaKm6259hEvplX0hvhNa3zzS+2s4/n7zJp3uMRexL81//3ErGnmleZ0n6dK LMUZiYZazEXFiQDg1YnzqgIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170322182135epcas5p3d21d7301da84a5dcb686af4f6817ded9 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?QmFydGxvbWllaiBab2xuaWVya2lld2ljehtTUlBPTC1LZXJu?= =?UTF-8?B?ZWwgKFRQKRvsgrzshLHsoITsnpAbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?QmFydGxvbWllaiBab2xuaWVya2lld2ljehtTUlBPTC1LZXJu?= =?UTF-8?B?ZWwgKFRQKRtTYW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBF?= =?UTF-8?B?bmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170322182135epcas5p3d21d7301da84a5dcb686af4f6817ded9 X-RootMTR: 20170322182135epcas5p3d21d7301da84a5dcb686af4f6817ded9 References: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_112203_130687_D77174FE X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , Sergei Shtylyov , Arnd Bergmann , b.zolnierkie@samsung.com, Dmitry Eremin-Solenikov , Kevin Hilman , Sekhar Nori , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Disable IORDY Timer as the driver doesn't handle IORDY Timer interrupt anyway. Suggested-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Sergei Shtylyov --- drivers/ata/pata_bk3710.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/pata_bk3710.c b/drivers/ata/pata_bk3710.c index 1a1223f..f22e4bf 100644 --- a/drivers/ata/pata_bk3710.c +++ b/drivers/ata/pata_bk3710.c @@ -264,9 +264,9 @@ static void pata_bk3710_chipinit(void __iomem *base) /* * IORDYTMP IORDY Timer for Primary Register - * (ATA_IORDYTMP_IORDYTMP , 0xffff ) + * (ATA_IORDYTMP_IORDYTMP , DISABLE) */ - iowrite32(0xFFFF, base + BK3710_IORDYTMP); + iowrite32(0, base + BK3710_IORDYTMP); /* * Configure BMISP Register