From patchwork Fri Jan 8 00:03:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 7981031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 31357BEEED for ; Fri, 8 Jan 2016 00:06:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 643392015E for ; Fri, 8 Jan 2016 00:06:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9BCA120122 for ; Fri, 8 Jan 2016 00:06:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHKYJ-0006eU-Ok; Fri, 08 Jan 2016 00:05:11 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aHKXz-0006BO-Se for linux-arm-kernel@lists.infradead.org; Fri, 08 Jan 2016 00:04:53 +0000 Received: by mail-pa0-x235.google.com with SMTP id cy9so271520930pac.0 for ; Thu, 07 Jan 2016 16:04:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D4fNr0mCJudgux/AHCtbdDsWgmbUJd86+VEuJqj0j18=; b=SPNksteSm2kZs5APEmv3T2RnzlQJZn2BaHmWmiWqg2D2z/QeFnTHxdytCfQAZ+N2W/ stXhkPoi2uhjluXCR30ekIIK2zXxM1neGRUbBl3/IYCAdlSBSm175MGTD6TKdLt/wkCh BX4Oq3j1M79bfPiTw1RpwMPdK7FqQnP0HpfS+4Na7wMGD7TXi4Gckr/kd1R88LQD1OVo m7EVV/tVnteVxNcujR3cUsiFt3VIYJ51wCLg+Fqkzjt9j36dAub+CJ2GWT6LqqMZWmr1 Hgiozzuu44tJVqZBPe4xQObet3sdv5qDVWiHGBW856jKc6P9jAwoDk5xyFexRN/ljGSi xe7w== X-Received: by 10.67.14.201 with SMTP id fi9mr155069400pad.41.1452211471423; Thu, 07 Jan 2016 16:04:31 -0800 (PST) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by smtp.gmail.com with ESMTPSA id wa17sm94069670pac.38.2016.01.07.16.04.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 16:04:30 -0800 (PST) From: Florian Fainelli To: linux-ide@vger.kernel.org Subject: [PATCH 2/4] ata: ahci_brcmstb: disable DIPM support Date: Thu, 7 Jan 2016 16:03:31 -0800 Message-Id: <1452211413-1350-3-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1452211413-1350-1-git-send-email-f.fainelli@gmail.com> References: <1452211413-1350-1-git-send-email-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160107_160452_161585_96574BDD X-CRM114-Status: GOOD ( 10.61 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , linux-kernel@vger.kernel.org, Danesh Petigara , bcm-kernel-feedback-list@broadcom.com, gregory.0xf0@gmail.com, computersforpeace@gmail.com, 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-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Danesh Petigara The Broadcom STB SATA host controller does not support device initiated power management. Disable support for this feature so the driver never sends SETFEATURES commands to the device to enable/disable DIPM. Signed-off-by: Danesh Petigara Signed-off-by: Florian Fainelli --- drivers/ata/ahci_brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci_brcmstb.c b/drivers/ata/ahci_brcmstb.c index f38a07ea59f4..f51e3d9ba86e 100644 --- a/drivers/ata/ahci_brcmstb.c +++ b/drivers/ata/ahci_brcmstb.c @@ -84,7 +84,7 @@ struct brcm_ahci_priv { }; static const struct ata_port_info ahci_brcm_port_info = { - .flags = AHCI_FLAG_COMMON, + .flags = AHCI_FLAG_COMMON | ATA_FLAG_NO_DIPM, .pio_mask = ATA_PIO4, .udma_mask = ATA_UDMA6, .port_ops = &ahci_platform_ops,