From patchwork Tue Jul 7 15:21:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648927 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D53956C1 for ; Tue, 7 Jul 2020 15:23:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC9252078D for ; Tue, 7 Jul 2020 15:23:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0rESKQWF"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="UT/T/Uyb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC9252078D Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=voleatech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=+Cq+TtsAWc6TnzmC1eUYDDgDHu0FwOC+CJIjSSxnOjs=; b=0rESKQWFqQIP+/XguujHeutBd NRU5hx8/AxwbqwXBUcZPqFQB1i8AMb8AKyw953tSKPNrQGbsBQ1PSFnFiEO1Pf3OLSSp37guAZ37J FErkItkjkTwN1NYrqgVOi0jyRYQqNBgkJ4PTDLdy0CXfUr0NV09j56yviqNlC5t4eqjTNMBdYeonC laMEP0Wwv1+g8es8WyHtrYJHVJLZDcNN3Pv60swsZHyESYFKSm7DQ9FNne2nOExNlX4LWc+V8uerx fNCkfDrrFZ3h9ruu2XfPGawy6QPJiuc7sgMczqiqRHY9Ic4cB4yxr2j3TZ4NUbfIlajt1BGCKhmKI ycrat3qbg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspQ4-0005rP-N7; Tue, 07 Jul 2020 15:22:04 +0000 Received: from mail-db8eur05on2119.outbound.protection.outlook.com ([40.107.20.119] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPf-0005ec-S4 for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AbfImJZWz/CZfRiI3xCpc2z0QpZYmDHR04xPq7+XwQHjsPFlFhcSl9VLW3nTPN+pTunHzCJcQ73MFrnH95QEyrYH6ry5VkX3dSXsWnQzHHhobPLj1DHpOlRxDJ454dRyM0Nt4UZAWew0i5DhrSPovfug61UAeEnK0CNntAsBFzsST3MZXLoPNJo0qNf/syawjWH1bLQhdueVP2nc2Add5aSh02NrRPf+YOmhU+Ge2/R7VISYPX5xRX3GpRfIfLaWDNsJ5OzTCdDz7WUF4u6PjTUaAItDaE/sTwrpOl5XqCQjinRYNbjRdi7dlX6akbJ/H4OSwPwLrgYhbslG8SvxyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4RCUPf418NecbCLQsYeaMtPiy+ox+kdO8hMRCYh+bPk=; b=cyjVsYCqUN27NsA6zLfIGBJH51Dbuc1svM6z9G/H5M7dGMe6Wgzf1WL+iaNCIkYickCLvvVz44JPWwyThcebi/U/lSNpeeu1s4eKnR3XzrTYWn+S032zZwr9W4GT/zed8xBAfQklpCzV2zvjrZkBr8VzCNP3k2bs9oxHiVQPA/odvupmN3Bm3I9vGengrKnYYDjd9+fqMfMGJXVsUnIvVsl3Z7tul7P4k7abW/VPiL4JygDNP/iwo5VsMupSWC/rrS62r0OCVJsXoP7Jso1LGFohTNu00XCYHJ8I79qPCXCawyl/juK2c50xlN/SeQLrGIxOhxytZ7pU9wT3D9yhLQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=voleatech.de; dmarc=pass action=none header.from=voleatech.de; dkim=pass header.d=voleatech.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voleatech.de; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4RCUPf418NecbCLQsYeaMtPiy+ox+kdO8hMRCYh+bPk=; b=UT/T/UybFIBOcqWtzYg+Zjqyr2gptVl+e1Vnz+85M94fcLcw2j2aTOb4NeZGNwuZ/28JzTiPDDJEbJ/xHPnAucI3h9o5k+4bvXuHU7/sEBGgPgiHqytii7MJ6/Q0brKSeiNWbkgLimqv6vLDBjKtq3vvkGp7zbgUBB9GTpxPBp4= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=voleatech.de; Received: from AM4PR0501MB2785.eurprd05.prod.outlook.com (2603:10a6:200:5d::11) by AM0PR05MB4226.eurprd05.prod.outlook.com (2603:10a6:208:57::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.27; Tue, 7 Jul 2020 15:21:32 +0000 Received: from AM4PR0501MB2785.eurprd05.prod.outlook.com ([fe80::39a1:e237:5fef:6f39]) by AM4PR0501MB2785.eurprd05.prod.outlook.com ([fe80::39a1:e237:5fef:6f39%11]) with mapi id 15.20.3153.029; Tue, 7 Jul 2020 15:21:32 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 7/7] arm64: dts: marvell: armada-cp110: Switch to per-port SATA interrupts Date: Tue, 7 Jul 2020 17:21:14 +0200 Message-Id: <20200707152114.53890-8-sven.auhagen@voleatech.de> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20200707152114.53890-1-sven.auhagen@voleatech.de> References: <20200707152114.53890-1-sven.auhagen@voleatech.de> X-ClientProxiedBy: AM0PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:208:122::19) To AM4PR0501MB2785.eurprd05.prod.outlook.com (2603:10a6:200:5d::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from SvensMacBookAir.sven.lan (109.193.235.168) by AM0PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:208:122::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20 via Frontend Transport; Tue, 7 Jul 2020 15:21:31 +0000 X-Mailer: git-send-email 2.24.3 (Apple Git-128) X-Originating-IP: [109.193.235.168] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: addc7f80-2fe8-4a08-e0c2-08d822896d7b X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1169; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IJzpPgx4V0eGJpSAc2cHNlDIfrTEInXancejkm9XNcnTBtHOJ1eP2ZiBCYuK0k0UTz2s7b4PSDsChglBlIcQYtmYxOrQhC0Tzy2cxuwnjEg1tb2B/aNRp835FbLL2N2vNKNbFCLvP+RItqBl/cA4JC5ALaGrtORyI5xGcER6FS+D6nnaY8Kz3xN4yNtDQRvUlRHHyLsDwbAK5sDn9wWnDmlVZSSXPfHrmMWvqhSa12qmh6MwD49cD2kxkFoJsfdNC1vRqGqlLcbQ4fxwkpt2m2Z6IGWFBL49+32j+w2xqhL9NE+UB6nHHOpEapsLTXKpSev3UFaXsuHVf90KC45CmA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR0501MB2785.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(39830400003)(376002)(366004)(136003)(6916009)(5660300002)(83380400001)(86362001)(508600001)(6486002)(6666004)(4326008)(36756003)(316002)(956004)(2616005)(186003)(16526019)(52116002)(8936002)(8676002)(66476007)(66946007)(6512007)(1076003)(9686003)(2906002)(6506007)(26005)(66556008); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: pGNObOJkUm8rHPy9LDUmxaxMuHszJdNxhxDdzCD+Odz5e3NM6UqgzfeYmiieQFsOewvchEhF65VIpME8ln9tVUCdKylsX6VftJxSEE5K7Ivx5EW3dGiFaQrnuGPSnJ+Y1C75p6O2em2oQojZfy/ts7vDHZE1bLjP4bDrATubPuQ/U/66riWqbYRgnafp58NVev6qawEdAvgVhmH+ZH89/6rPbMAcUx2TygLiTtpy6bm3aQYJUc+GcgQjDKykNkc/RKAobOLCIREKTLNQ2Nwel5XdHibVoFj241sWZ6bMchAt3HLSti42KL3+O50XT7QbinP/ql6Da3PIx6HfQSyXGl0aMrxikdFLIE9pL9P53iBjH0SWbsT58hiAKy27KbR3ZbJqJ2ZicjBRQfBlN3IN5zuUwjy36e3icZbBjGPDGYfWNJWyZVnu0jDDK2sSKGcUxfOE1G0TWjJH1F5jcCPJCQyU9KXML3WiyqL4th7u0i+EBAV7J2GSk1y9v0+UK7wh X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: addc7f80-2fe8-4a08-e0c2-08d822896d7b X-MS-Exchange-CrossTenant-AuthSource: AM4PR0501MB2785.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2020 15:21:31.7313 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b82a99f6-7981-4a72-9534-4d35298f847b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 86ZnrAljn1gqo5S/J84p9o+w8YMuz+6VgRpMNx635uiz5h1FoMWDQQgRGIJSlAXiIVulfh4wb7pJds4jeosq8vN4wbteSGlTQ//vNVJZOzo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112139_987527_12EADED3 X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.20.119 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.20.119 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: baruch@tkos.co.il, antoine.tenart@bootlin.com, maxime.chevallier@bootlin.com, nadavh@marvell.com, thomas.petazzoni@bootlin.com, miquel.raynal@bootlin.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Sven Auhagen There are two SATA ports per CP110. Each of them has a dedicated interrupt. Describe the real hardware by adding two SATA ports to the CP110 SATA node. Signed-off-by: Sven Auhagen Signed-off-by: Thomas Petazzoni Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi index 9dcf16beabf5..ec27294f097b 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi @@ -300,11 +300,9 @@ CP11X_LABEL(usb3_1): usb3@510000 { }; CP11X_LABEL(sata0): sata@540000 { - compatible = "marvell,armada-8k-ahci", - "generic-ahci"; + compatible = "marvell,armada-8k-ahci"; reg = <0x540000 0x30000>; dma-coherent; - interrupts = <107 IRQ_TYPE_LEVEL_HIGH>; clocks = <&CP11X_LABEL(clk) 1 15>, <&CP11X_LABEL(clk) 1 16>; #address-cells = <1>; @@ -312,10 +310,12 @@ CP11X_LABEL(sata0): sata@540000 { status = "disabled"; sata-port@0 { + interrupts = <109 IRQ_TYPE_LEVEL_HIGH>; reg = <0>; }; sata-port@1 { + interrupts = <107 IRQ_TYPE_LEVEL_HIGH>; reg = <1>; }; };