Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp51720imu; Thu, 8 Nov 2018 14:36:52 -0800 (PST) X-Google-Smtp-Source: AJdET5c3yUeD+8UqHcMb8MNmqGBUtT4TZ8t6riBUsSXPuNb6+zVu3KzfiKOt2GwvsVqtxn/P9pGI X-Received: by 2002:a17:902:d708:: with SMTP id w8-v6mr6252174ply.72.1541716612221; Thu, 08 Nov 2018 14:36:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541716612; cv=none; d=google.com; s=arc-20160816; b=q+Yu8HN543Nx00lhTLFP073qr6lqK4aHshEkjoHpZP7yi8OOpedhIf5KkHzVjuwvWk TcMB9Q4TXQVYfJu6pPLSYMTpUVkO/IyVJTvrSGL8turgH+q3XgEwNOYW5Ro+En64fhTZ SNH3nS5TAv8olPOP4KeaCBRPR5qWBvA4/5OmFcY+jAj4G5fmMnfYzUaxnsBfnUaqjf48 QHKZ/Tro1njuGPprT2mHbznxxeYPOlBaq6ecgt6MQ4B23a8pioMJF1EWPS6UaIKZWGk9 mzZ8taiGL2rDKduxqoum21R+lfYnOS1gOpV2bSX2+oOdQlhP63xM/N+1xg3bHlvhZUU8 S/jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=V/LdQD9uCW7f9VOYQkgLDrk+HHkJIOyDQ/YeUNvpgGk=; b=wO1PblBVI5WAmozQDVHxc8KL/VHWF1s4Ozlq/v5LEU3On1A7HNaUJX/OtCDn78+++8 OCEPlltu5ALg1mh0a+mTt905vjL6cKeNBgs+xHePvko3OXNL9DWxuUrel5JAvMdIEn58 +5hSOo0BtSDXxuyYRJinXP4wf37kbX+0EHbzUiPlWBwo2ybJgr3XCkzIPMWStcdQT6NU GMiLeKQEcDUD8D0SaDZgnEZJHFk+kx33XBfCVHjNx/JJlKaMabl2VrQvNTHy3UwxCHOm MPP0aoYtV7BfdQHohhx6kl8pzz2tPahE9M3qWF0c15yNDnev/BtFpKpx8mf9mRR0gIKj 8TTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=S1yYbM0E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18-v6si5990510pfa.3.2018.11.08.14.36.36; Thu, 08 Nov 2018 14:36:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=S1yYbM0E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729873AbeKIHg0 (ORCPT + 99 others); Fri, 9 Nov 2018 02:36:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:53892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728496AbeKIHgZ (ORCPT ); Fri, 9 Nov 2018 02:36:25 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C895A20892; Thu, 8 Nov 2018 21:58:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714336; bh=4jaCPTH12q/KLP2cDb8asvfKUJzqyZiDJq4taIwwqys=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S1yYbM0EdLPzaS0mL2N+6b8s7pSeRGvkhB0+DxqPRqAyzdkWE2hg60Omkn4kDfp2U 5Eh9VZJ/ZjuBOeOn6+OCoBX0/r/LpLXotrwzLMCCtUvVf5dA9Vvgz8iJozkZtIylL/ fhuUDWCyxk+R9SlE+BdeqPetQnIbXdOacz6KOeTo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Andy Gross , Tejun Heo , Sasha Levin Subject: [PATCH 4.4 024/114] ARM: dts: apq8064: add ahci ports-implemented mask Date: Thu, 8 Nov 2018 13:50:39 -0800 Message-Id: <20181108215101.337576676@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215059.051093652@linuxfoundation.org> References: <20181108215059.051093652@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit bb4add2ce991e4ec891b5a0287fd1ab77b631979 ] This patch adds new ports-implemented mask, which is required to get achi working on the mainline. Without this patch value read from PORTS_IMPL register which is zero would not enable any ports for software to use. Fixes: 566d1827df2e ("libata: disable forced PORTS_IMPL for >= AHCI 1.3") Cc: stable@vger.kernel.org # v4.5+ Signed-off-by: Srinivas Kandagatla Reviewed-by: Andy Gross Signed-off-by: Tejun Heo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/qcom-apq8064.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index e00d50ef678f..3ff5ea16ebb3 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -577,7 +577,7 @@ }; sata0: sata@29000000 { - compatible = "generic-ahci"; + compatible = "qcom,apq8064-ahci", "generic-ahci"; status = "disabled"; reg = <0x29000000 0x180>; interrupts = ; @@ -599,6 +599,7 @@ phys = <&sata_phy0>; phy-names = "sata-phy"; + ports-implemented = <0x1>; }; /* Temporary fixed regulator */ -- 2.17.1