From patchwork Tue Jul 7 15:21:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648913 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 84E986C1 for ; Tue, 7 Jul 2020 15:23:23 +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 5E1432065D for ; Tue, 7 Jul 2020 15:23:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QRKSTKod"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="iYqlbUV8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E1432065D 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=gNl1ZJCrhB4ARqj7G7c/45FqFoIqFSMtIrWkcey82DI=; b=QRKSTKodiVYRqCjkfHG5RssIQ FJ4bOQ0QHLEGJpEYsmSgLU0cVMU/hDXsOlbVh+8escI8TBkRp9rL9xTn3/B4xMTv3jaLLlQ5LStmq CBihSJH5F2f6A24nsWpnoDSMmyMkEDIrNOCXcGu2yH6MjRr7JMZUfGRP/mXQWpz1wWBljg0XQVLqp bfqNoyu6BJxCqAHfwJf+PdgpBVaOR0WyBFxlEt/aYYJfuK697f5H7FzcXKxGC0gnV4UJbWeK+sk7Y vqEd8cO/5WVg8cdTrj/ePy6ACPGRAeF0myyDS/sgFZ6ZB7VGw6XSAn5AOJF4P8q5unik0y1j5MRF1 j9A1IGG6Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPe-0005he-3H; Tue, 07 Jul 2020 15:21:38 +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 1jspPY-0005ec-LL for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Se+V4Lrq9bjaZFKCUKvFf2/lf4nEsOcQrKTM3JVPZ+vOk1dD5vtOH00ug4XSM014VpR5u6Zsl3D1eRKD3o6JpmDo/u+seWKUp546mgmEXUlMRNEB2yxrb4U8QEekAwGA9AMu/uFlKglPlRwOItjnIxvh7Uanlfrb+C+MfMqrjaQIaEioF5NDP86FwW5ir/mR2R7qZMFlgStLjkG3ck19kOEwtZlZqTciAYS5LRFeks/eMQUwDOQgW90/fGhcyY3v3qWn2XTsT1v1Ld5Zh28+R+M8ebvW2mSDiETW4xMX3dQcCYfEtajuWJHsZumOoFbJBilQJLn1Ure9mBDAo+iPeA== 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=aGjZ1/ViDdjFpDJn6oquiUiE5uvTVkg71oPWAFLeU0Q=; b=Mu/QJ2t/O72ZED+pSVKNjQKXierLbAeHbEijDHKiqgWO7Rh7BBZgD/lZGcUu7dcevfhsT7P5KWMS2fnAqpbXfPzSfUzh0D75p0l1kyZfG6UN4uZG9TvZ09u4ZdkPBW6LHuXjkO4VlO8z7JpjNraEKGLkU4iELNJQc/mJdAJt6pQQKN1ZDw4UH44T95DMQMausihCfnxlpbiT6IYYjVLRq0GECWJ1xsOYxPYPxE/PNOTZR0zH9MPihHVsRtWNevG0pRioXi7HSKI6UB25RmW6LCFoir11kJqWeDA6+trk6oyD2n8cmS/I4Fjnnuji2jZNpcD9chOiw9kk+OfnFlkbbA== 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=aGjZ1/ViDdjFpDJn6oquiUiE5uvTVkg71oPWAFLeU0Q=; b=iYqlbUV8fObrBoRCwqVz7zDXHzJoTv5jRHKwnUvg/9vK2aCCdOU4pJCEa+YkIL1RuTx3ubNwQko8Q5THpSPiGT3jL/E2DjKy5U/ZSpnrHtP2OyU/YqdIyqGXuLtvbdde1r+m377371yt69e+s5AvTogjM0uChzetvxrTjn9I4B4= 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:27 +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:27 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/7] ata: ahci: mvebu: Rename a platform data flag Date: Tue, 7 Jul 2020 17:21:08 +0200 Message-Id: <20200707152114.53890-2-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:27 +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: a7d4cca6-0957-46ae-c95e-08d822896af0 X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PGOxEYL+ZWqNzevPn4gv9L6ZCmY/ZCQ+Sr88qDrbRJgsIuKXBKZu0o73GIjF+Dj2MJLRGKZlwRVWd/h708V4cXTAdTOLIetZbEsOYmyzGJh/FrWhTYEV/g61yRXB8lRw0f8YBMMLlKU4fEX1vun1t8jAg2IZNG/tD2ExTgSOUFWoytsb9GAaFbF6zH0hwVqd1t7nZ1MVHfsLIotfSH66gBpd/xEsrC50Nft6xzAseZGSEHpz4/3VpZnTM2eorhwfOHcGH+Rh2XvafdO0DsWkaJ6Sb2RDZ3shtsw97BuIVDtqUSp2S3dT4z4wzyMO32erMPs5BT5B/WsNvwYcuMFdtQ== 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: i39ieWk8qi34NnbZy5Npq1cRCpjKJFrEk6HZR8JCE5rtxGCOZiA5wnJrKjgCzMzXtzVrw9hCMPtpkSMOSU6XTkM1Pe9evh7vSPufx++bhqvZ81XZ6E87byuDCbXPCQAVjJl40isIA7DvyUzuQuOD8Y4y82jpGHiR9p7O4M5KzAn8o75gWvB2ubGRIHIAeWTsVqZu1BxWCgtdfeTIi3rxOetw9Pupk6rPnfTruPN/0l6bQ1IQMZVcVT6hfOawf/iUmPshL/LUHeLTkBKVNHir5MpW86cBp1qpK7SgjQGUCgkoeCS9JF2eXnaFxoQ9e6X8yLOgFoRS7gfe1Yrwk/JITE2jL8VvJkt8NF9y1QHzc8DPZ9EmvcRADKLYjTW69FuFguPvanwV4jmMImX4IMf9mZ5PGb67jwlCWKU2XBv8ux9PBWe14gjGwAaLJhgOuCRC8gWiJcLpVuS1JYtzGjkPYn8VblChuLFyebEKoJ5uus4dVt+qVwrQ9LtEhbn7/zne X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: a7d4cca6-0957-46ae-c95e-08d822896af0 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:27.5592 (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: gNOzPcq60rQDP+/fVd7nYvDQIO9LA9AzNuB3oXkxyd5Bc29AEZ4T9stVp3ICjXTwYnsK5NL6sXZtxo7NKqIkO1RDKdPWOsFmGzp4zKsN6gM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112132_714839_A349C95F X-CRM114-Status: UNSURE ( 9.18 ) 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: Miquel Raynal Before adding more entries in the platform data structure, rename the flags entry to be more precise and name it host_flags. Signed-off-by: Miquel Raynal --- drivers/ata/ahci_mvebu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index d4bba3ace45d..43bb2db59698 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -30,7 +30,7 @@ struct ahci_mvebu_plat_data { int (*plat_config)(struct ahci_host_priv *hpriv); - unsigned int flags; + unsigned int host_flags; }; static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv, @@ -196,7 +196,7 @@ static int ahci_mvebu_probe(struct platform_device *pdev) if (IS_ERR(hpriv)) return PTR_ERR(hpriv); - hpriv->flags |= pdata->flags; + hpriv->flags |= pdata->host_flags; hpriv->plat_data = (void *)pdata; rc = ahci_platform_enable_resources(hpriv); @@ -227,7 +227,7 @@ static const struct ahci_mvebu_plat_data ahci_mvebu_armada_380_plat_data = { static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { .plat_config = ahci_mvebu_armada_3700_config, - .flags = AHCI_HFLAG_SUSPEND_PHYS, + .host_flags = AHCI_HFLAG_SUSPEND_PHYS, }; static const struct of_device_id ahci_mvebu_of_match[] = { From patchwork Tue Jul 7 15:21:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648917 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 B51226C1 for ; Tue, 7 Jul 2020 15:23:24 +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 8E8052080D for ; Tue, 7 Jul 2020 15:23:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kezWeC4d"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="jRopaOw9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E8052080D 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=UR+ZgDQ3cdQFA+tMOsiy2WDF//dYUQscM/Fp4tx8szs=; b=kezWeC4dcYjuBXSrIHR/8ES2U oRoSecTO41YwFzDlaSSQ40EaqGuwItpEZMITxroAaTTDDXQrlFG0ITsMx5xcN3o2Mwvn4ex6uuzMt iS6HZujevo/Yx4YsZZKEYfv4pkBm5lBR/0LMTssZCHYJCYhXH8XV5JGtXMrEvTxZhZcShmagfU+ko P0tZdjqSwH3rkbXrZ0uDNk0R9p45f/EWlR8Fz/e77u/4Rea0oAvEW7dcaCVb77wnaL4HBocHxU1cJ Otb7tz64fN+x7eM/zXYpRsld+5T0/I9hWDE+RN/9DaU7hJ5nb1HZjJ0j3ZVxa36CJoVPYF6rARChb S/6CQ1Djg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPk-0005jT-2A; Tue, 07 Jul 2020 15:21:44 +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 1jspPZ-0005ec-HO for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oNa7MLHb9xvaeWiU5RB69LCadp+3CdgTxnzkMtdJJi59KmNqTHO0ndS4IvwP+k2rdC9flYj6j+zZeTs5QchS6jiVugwHWPTgwri/ftEW92xvuZS5MltvP3hD80/S3S4okeFdmTN15W6KCXGXjtCGHWpHSWWqtQU/DbZ3KhcpbKz9chpM206EGn5LLJlvvD8/TQXXXy8bg0hSqo6lthap0ayz4hppr2spk+8rMh1048f+TtLekzl+6NqUJRUzrDB+0c4SKM7OvNFoA07t0M2b/w20gWy00tCAuqmospx7XnYFZdr1e1Uenydn3/bhIHhrj2hptlg+UuVAI/sZlHqmog== 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=4+Ef1jiS7bnBOwc82JCPKqVF7C6Uh8tT0+WtVU/0TS4=; b=VcjE3+79OA0gHoXCGEYa8PQhaULcrNlE97afx5dHprEXEnyYQoBg/GFuwNJ5Fhr1cxaFFso+0gnMSqOGPuzsKGFGfGDdBs5Molg4dU79fI7Rc7sJoHgtSCLj/4wLwVnPLwbgLxstzPdKo14W2XmuLzLWbgSWlPgAGNeaVugqbMx873cS790ewxOmSN0iG35dpkM9E4/hIgGbIRcFXclw6FCng0GVciky3A90LsGPIp5jWK3BQLKbUZ0JpHqLbxYjxVce3cdmBW9nP0j/5q1CkUCk8qBsmqIBV+WF8mPuBLcMqwlzv0tj9iMf3nTbB6JZberjolTRqfyJ95vDxcg7RA== 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=4+Ef1jiS7bnBOwc82JCPKqVF7C6Uh8tT0+WtVU/0TS4=; b=jRopaOw9QR8c/wx//3wWd2gXc1ozxym1cBw0pEx8XjNCmKTs1UzjglmzUkPea6v+iy9H+jdjxWfyoPjAx5tClPb0E4AQBmqJc5bJr9/J/ODeq+GrJjPXPa4cz1RVTTJR0yQG80YkGcIR2ZUcJRkhLPwa+6D0Q69bCEAGfsfIcBM= 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:28 +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:28 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/7] ata: ahci: mvebu: Support A8k compatible Date: Tue, 7 Jul 2020 17:21:09 +0200 Message-Id: <20200707152114.53890-3-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:27 +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: 9abe1375-c5d1-4637-ccad-08d822896b6a X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7K6mLboi+R6JVOk2UqZk9QXySKcGm2acIcAXiYicV2fjBgIuk1KZVwsGI9cSn6jTRks5j4x8GBNR5XIQJ9AnYcg5f/nXm9azKBBRJGdX8vhxJLZ8tLYAK86wQxb700GaovsA7F5b9tg3vBFZGnOCBc0smJG+eeQl0iO+GOP+gGiQB+gCKLz8YYLix+020iYIhEMTaifml2CTaVxTWCuVMuHZjpwKmMroLvQGvvATZsMV6OmnQCtkUya34ylGeJs2F5epamkYRr5sICia7JpKc5bpWubvxFnoHybamEs3WyFXbnXopo/58XYVK5p6MXanBz3vhQUQNVd8VNOH4+X+1Q== 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: 4SzqSg4roThjlcePWR4KY1TLSFMJ3DgBkeroIci0pMRDXNrY8OUEzQD+XMluPGD/99+iR7Sv6rMu+0SJAJGKLwFMuNo2Ca2cqQZhq5V7pdVSGERlJ9V6LAFYqP8eC9SmQel1DvTKnwCbQJI4uyLR6JLfzs+0E/wkQdIxOiMFYQHkTWTfVEtFZ77lttrO4uhAw7YH3eUssmDvkccNVQ0vcpSaUAqwjT9rWVNWOQzP0gK0EUWrX1mNfq/gCw2r4fyEfyEcezEf7F1MOEiZt7TLLCXCKszoMJQ8ZLm5V3N5zLb+T000L/amU9STmoOqHxZ+lJPSiA5QuLtvHiSB+yMgQ7suJgzqoMJFB6LXpMy/w9kS2zXZtz0RKrOxHUK3VZ6QVkfeiuNbqxwF2WCkq20EIB4KpiKFbKbJHtzYskrTCzZGK/tgL0VTHjxE1uqpkgbqWG70UvWPGMeWjUmHspuIjzLODmziPXwjFFzkXuCQ2I7CvZHyIw3Efu1VHPWShGDl X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: 9abe1375-c5d1-4637-ccad-08d822896b6a 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:28.3539 (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: Gwp3egwUfaBsFW05j5LFtibmEQhQ37e3MTzD2VZxMFOZ3bOxH4Z6XSzBdquTKp0YGfNFJilCwq9Z1Tb6yAZ9h1mVZmD8Uu9T9it6GIDm+Fc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112133_655999_254815D2 X-CRM114-Status: UNSURE ( 9.27 ) 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: Miquel Raynal The ahci_platform.c driver was historically the one bound to the A8k AHCI compatible string, but before adding a quirk for this compatible, it is probably cleaner to put all Marvell EBU code in one place: the ahci_mvebu.c driver. Signed-off-by: Miquel Raynal --- drivers/ata/ahci_mvebu.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index 43bb2db59698..1cdc126882eb 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -96,6 +96,11 @@ static int ahci_mvebu_armada_3700_config(struct ahci_host_priv *hpriv) return 0; } +static int ahci_mvebu_armada_8k_config(struct ahci_host_priv *hpriv) +{ + return 0; +} + /** * ahci_mvebu_stop_engine * @@ -230,6 +235,10 @@ static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { .host_flags = AHCI_HFLAG_SUSPEND_PHYS, }; +static const struct ahci_mvebu_plat_data ahci_mvebu_armada_8k_plat_data = { + .plat_config = ahci_mvebu_armada_8k_config, +}; + static const struct of_device_id ahci_mvebu_of_match[] = { { .compatible = "marvell,armada-380-ahci", @@ -239,6 +248,10 @@ static const struct of_device_id ahci_mvebu_of_match[] = { .compatible = "marvell,armada-3700-ahci", .data = &ahci_mvebu_armada_3700_plat_data, }, + { + .compatible = "marvell,armada-8k-ahci", + .data = &ahci_mvebu_armada_8k_plat_data, + }, { }, }; MODULE_DEVICE_TABLE(of, ahci_mvebu_of_match); From patchwork Tue Jul 7 15:21:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648923 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 C7E27913 for ; Tue, 7 Jul 2020 15:23:40 +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 9205B2065D for ; Tue, 7 Jul 2020 15:23:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="m5l9p1s8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="hZ7R/uEk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9205B2065D 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=hZgWcJCxPpRfM8FI7AInHJiOGMykr9O9s4bWqyr+MzU=; b=m5l9p1s8hiWKaReUcRA5t8UMp rdqbxX6xASb9Wd+vEjye5qSxBSLoEABZn/7c1owZrhoe20S+7S9ANUy18GfUju4zrNve92gizjk6T yM/x+g5TRn4vwVsMvFCoLZTPVkcbinBIhOQFnSNflurLenI/q8a+JZLUZsAku1rT0rauJ2z0RY/Yl 4+XkYbPuZ44wr9tA4qshLp2S8HugoOxjbReryNo1lPbO1Va32j9AAk1MzlVVjGrx4tiG9Upp1DFA+ Ucz3uf62F6z2ZMeKtz4Av1zsKU2ipRTZbR4woRu2pDixNCoTR0cJ4x5E8ZhwZ+LM+Nng2aMQ8HB+1 mvcGXFRFQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPu-0005ml-Fa; Tue, 07 Jul 2020 15:21:54 +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 1jspPa-0005ec-LX for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oWHUCo/WeI3+UFSP1/AOiMK5ivn0hXK5HLtSu9FwABZQZmtu7Yz/tsBcegTDMsW5g/TBuqpJgu9Jd72DlwOZJS3rPZMCtuVvN6S+Eujh7p7hasKQXEpXUUm47DSRqgMmwM3bJ9XomrnnjUxfe5oeP4nx69pde/kYswENfZ+ux5dsRvP+Vgef0SVgkpyj2vAIecmwO8Cg4zWtZTo3iyt4O7FFWAzuQYU08gXllE8O64eN5wntEhBO5u4ddV4Qvdw6ysQxoVWMgWXHEhLRGsYCBHt+y0E0J5jmt8ibvzrMJbQEmY3jjkGcfclWDSe+t8vLy+0ojvbSZdJU45GUShkysg== 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=DQXjikctgJcHuuPcRCgVm3kBFyL/4d/HT6S9MWWUAPk=; b=mNC/BVZd9BU1y7V943g5Q1JlfqaqWdi5NLqlnNVyrkuTp2lE8QFecmW99TiDMGqL64bd2Em4TUZ4Uj0lS36y37lLHhs+Wtf2QA3kiWYs6FOuHScttdTO2o68DhBM2JF79cnvZKsqwANRK2zfAsVUtS7aorejn8cLtN052pCBKXwJGlTa8gKH9f/ofwGTcAhf3r8yb71g+LBO10+eWFbKAeQSYpE3Rcs5J2TpW5G9kIEft6KguRNPnThvIRpmgXjhAY5KWK+Al/MIQgAjwhuasJ2fHfACOvkibnmVMLc0jJ9P7xVfxY71zaD1G+LVrBQnyrRNCKf5Q77YWA01oCt0Qw== 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=DQXjikctgJcHuuPcRCgVm3kBFyL/4d/HT6S9MWWUAPk=; b=hZ7R/uEkGxlvcMXFpSCImjRYYA/JoaNoj1tJnBYrpFS4E9jj25a0xOU7T5XSgJ+TqjlMSgen0teZ8mH2Kf6NxqYVflTIu0CINz/WKf0BB/0yC2C9LwDowDlbepbYUK5WPh51+zzpMYMQUjQs9AEKIx/RYhjLTpZaaG3cZirhjdk= 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:29 +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:29 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/7] ata: ahci: mvebu: Add support for A8k legacy DT bindings Date: Tue, 7 Jul 2020 17:21:10 +0200 Message-Id: <20200707152114.53890-4-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:28 +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: 1bf5e039-ae5e-46cc-0d29-08d822896bdb X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:663; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oH0V3MFxO7cTo16iK3QLGRC9pSyZjaUXo89SRjJcRdlAbrEU4Q547RPRuTKLxxvwpmY3XswunCbod19TD5TneiU4WL9gpxRHs2slYx8hPDUfj6mCS2cL9kjvuqfbXo599uP/A+Jud67Px3liA3AFDkV4LRgmHJw06UUZEc7/7Nqwc0xmGxbrxSrTg1aXxhQJwxEJehkkJqzOdwUVuJ4XGFvuWLOtBiqF/UU4sbAGc6QYe4h9P/u9fb3bm/U+SOyabfte/RI5TaGgkHhdY8gPV3c9ZxzuDfcwfXwyGR8kOh4fUvqna9fXAtNgI1rkIv0ZRlwMNdUdeTFb9ix20zfZ2Q== 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)(30864003)(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: AXRtJhU280tSx/FYPAZlheoi/GLTuVzsYoETCdoaswda+1LEYDsVaYBxNt6ogjDnuHxqA4RdlSTdanjP8kdHN0+vgKgm09eoxs9bI1u1t+WJsNAvs4y4vHYPl6Z7RIScXh0mWq5iaFqM5U4HMfqYi4n/W4TyVHK93YMQhMpTsJDMwsdNVQbVG6As8qtxcXtZ0F+u21NsBFUr4J7sl7AmnhklDNz0T4rHw5t+PetvLtDPAzdtXu58OxBiFFNgrNG0BL7u950K5GjCGPHdEJ1gcadtWrGMk5CeA8xS4A/ZmztBbQxkW1Rr+WckfftsU7qQd3deA4KxsJhdLp5tdM/ViPHhB/u6zQrNfmIBvTcBHn1hkEqTTkXvshEuygGFGghx8Ey5INbUGRhQn84sCggRnXfL801ddokb+7lPfxG5lZ2hg4A8h/0UERmlHPTquzNWW1YcoGs7bHNBPK0QVTsv3oZIy8jFLt3hIfSVZuzaLioVyci8MPjiVkUrQNvE7G+A X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: 1bf5e039-ae5e-46cc-0d29-08d822896bdb 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:29.0665 (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: 9DHmgfsmn7eBeRN6dLZYNRAq2pG1dxUKah9E7JtGT8FBgKikf7hIQZuSxO4r9kiHfv7xtYIgBA9lnN5PJvd4fQ05s31FePC474Q8pUQcAik= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112134_810344_921EC68A X-CRM114-Status: GOOD ( 22.89 ) 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 The CP110 SATA unit has 2 ports, and a dedicated ICU entry per port. In the past, the AHCI SATA driver only supported one interrupt per SATA unit. To solve this conflict, the 2 SATA wired interrupts in the South-Bridge got configured as 1 GIC interrupt in the North-Bridge, regardless of the number of SATA ports actually enabled/in use, and the DT bindings only referenced the interrupt of one port. Since then, this limitation has been addressed and this patch ensures backward compatibility with old DTs not describing SATA ports correctly directly from the AHCI MVEBU driver. This way, we will be able to drop the hack from the ICU driver. IOW, when the A8k compatible string is used and there is no sub-nodes in the DT, we fake the creation and mapping of the second (missing) interrupt. Signed-off-by: Sven Auhagen Signed-off-by: Miquel Raynal --- drivers/ata/ahci.h | 3 + drivers/ata/ahci_mvebu.c | 235 ++++++++++++++++++++++++++++++++- drivers/ata/libahci.c | 3 +- drivers/ata/libahci_platform.c | 3 + include/linux/ahci_platform.h | 1 + 5 files changed, 239 insertions(+), 6 deletions(-) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index d991dd46e89c..8cb256eec86b 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -407,6 +407,9 @@ int ahci_do_softreset(struct ata_link *link, unsigned int *class, int ahci_do_hardreset(struct ata_link *link, unsigned int *class, unsigned long deadline, bool *online); +void ahci_handle_port_interrupt(struct ata_port *ap, + void __iomem *port_mmio, u32 status); + unsigned int ahci_qc_issue(struct ata_queued_cmd *qc); int ahci_stop_engine(struct ata_port *ap); void ahci_start_fis_rx(struct ata_port *ap); diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index 1cdc126882eb..62e9b94e2bba 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include "ahci.h" @@ -28,9 +29,14 @@ #define AHCI_WINDOW_BASE(win) (0x64 + ((win) << 4)) #define AHCI_WINDOW_SIZE(win) (0x68 + ((win) << 4)) +#define ICU_SATA0_ICU_ID 109 +#define ICU_SATA1_ICU_ID 107 + struct ahci_mvebu_plat_data { int (*plat_config)(struct ahci_host_priv *hpriv); unsigned int host_flags; + unsigned int resource_flags; + unsigned int port_irq[2]; }; static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv, @@ -96,6 +102,213 @@ static int ahci_mvebu_armada_3700_config(struct ahci_host_priv *hpriv) return 0; } +static int ahci_get_per_port_irq_armada8k(struct ata_host *host, int port) +{ + struct ahci_host_priv *hpriv = host->private_data; + struct ahci_mvebu_plat_data *pdata = hpriv->plat_data; + + return pdata->port_irq[port]; +} + +static irqreturn_t ahci_multi_irqs_intr_hard_armada8k(int irq, void *dev_instance) +{ + struct ata_port *ap = dev_instance; + struct ata_host *host = ap->host; + struct ahci_host_priv *hpriv = host->private_data; + void __iomem *port_mmio = ahci_port_base(ap); + void __iomem *mmio = hpriv->mmio; + u32 status; + + VPRINTK("ENTER\n"); + + status = readl(port_mmio + PORT_IRQ_STAT); + writel(status, port_mmio + PORT_IRQ_STAT); + + spin_lock(ap->lock); + ahci_handle_port_interrupt(ap, port_mmio, status); + spin_unlock(ap->lock); + + writel(BIT(ap->port_no), mmio + HOST_IRQ_STAT); + + VPRINTK("EXIT\n"); + + return IRQ_HANDLED; +} + +static int ahci_host_activate_multi_irqs_armada8k(struct ata_host *host, + struct scsi_host_template *sht) +{ + struct ahci_host_priv *hpriv = host->private_data; + int i, rc; + + rc = ata_host_start(host); + if (rc) + return rc; + /* + * Requests IRQs one per port + */ + for (i = 0; i < host->n_ports; i++) { + struct ahci_port_priv *pp = host->ports[i]->private_data; + int irq = hpriv->get_irq_vector(host, i); + + /* Do not receive interrupts sent by dummy ports */ + if (!pp) { + disable_irq(irq); + continue; + } + + rc = devm_request_irq(host->dev, irq, ahci_multi_irqs_intr_hard_armada8k, + 0, pp->irq_desc, host->ports[i]); + + if (rc) + return rc; + ata_port_desc(host->ports[i], "irq %d", irq); + } + + return ata_host_register(host, sht); +} + +static int ahci_mvebu_armada_8k_irq_backwards(struct ahci_host_priv *hpriv, + struct device *dev) +{ + struct device_node *np = of_irq_find_parent(dev->of_node); + struct ahci_mvebu_plat_data *pdata = hpriv->plat_data; + struct irq_data *irqd = irq_get_irq_data(pdata->port_irq[0]); + int host_irq = irqd ? irqd_to_hwirq(irqd) : 0; + int missing_irq = (host_irq == ICU_SATA1_ICU_ID) ? + ICU_SATA0_ICU_ID : ICU_SATA1_ICU_ID; + struct irq_fwspec fwspec = { + .fwnode = of_node_to_fwnode(np), + .param_count = 2, + .param = {missing_irq, IRQ_TYPE_LEVEL_HIGH}, + }; + + if (of_get_child_count(dev->of_node)) + return 0; + + pdata->port_irq[1] = irq_create_fwspec_mapping(&fwspec); + if (pdata->port_irq[1]) + hpriv->mask_port_map = GENMASK(1, 0); + + return 0; +} + +static int ahci_platform_init_host_armada8k(struct platform_device *pdev, + struct ahci_host_priv *hpriv, + const struct ata_port_info *pi_template, + struct scsi_host_template *sht) +{ + struct ahci_mvebu_plat_data *pdata = hpriv->plat_data; + struct device *dev = &pdev->dev; + struct ata_port_info pi = *pi_template; + const struct ata_port_info *ppi[] = { &pi, NULL }; + struct device_node *child; + struct ata_host *host; + int i, port_irq, n_ports, rc, child_nodes, port = 0; + + /* Get IRQs per port */ + child_nodes = of_get_child_count(dev->of_node); + if (child_nodes) { + for_each_child_of_node(dev->of_node, child) { + + port_irq = of_irq_get(child, 0); + if (!port_irq) + port_irq = -EINVAL; + if (port_irq < 0) { + rc = port_irq; + return rc; + } + + pdata->port_irq[port] = port_irq; + port++; + } + } else { + /* Backwards Compatibility Check */ + port_irq = platform_get_irq(pdev, 0); + if (port_irq > 0) { + pdata->port_irq[0] = port_irq; + ahci_mvebu_armada_8k_irq_backwards(hpriv, dev); + } else { + dev_err(dev, "no irq\n"); + return -EINVAL; + } + } + + hpriv->get_irq_vector = ahci_get_per_port_irq_armada8k; + + /* prepare host */ + pi.private_data = (void *)(unsigned long)hpriv->flags; + + ahci_save_initial_config(dev, hpriv); + + if (hpriv->cap & HOST_CAP_NCQ) + pi.flags |= ATA_FLAG_NCQ; + + if (hpriv->cap & HOST_CAP_PMP) + pi.flags |= ATA_FLAG_PMP; + + ahci_set_em_messages(hpriv, &pi); + + /* CAP.NP sometimes indicate the index of the last enabled + * port, at other times, that of the last possible port, so + * determining the maximum port number requires looking at + * both CAP.NP and port_map. + */ + n_ports = max(ahci_nr_ports(hpriv->cap), fls(hpriv->port_map)); + + host = ata_host_alloc_pinfo(dev, ppi, n_ports); + if (!host) + return -ENOMEM; + + host->private_data = hpriv; + + if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss) + host->flags |= ATA_HOST_PARALLEL_SCAN; + else + dev_info(dev, "SSS flag set, parallel bus scan disabled\n"); + + if (pi.flags & ATA_FLAG_EM) + ahci_reset_em(host); + + for (i = 0; i < host->n_ports; i++) { + struct ata_port *ap = host->ports[i]; + + ata_port_desc(ap, "mmio %pR", + platform_get_resource(pdev, IORESOURCE_MEM, 0)); + ata_port_desc(ap, "port 0x%x", 0x100 + ap->port_no * 0x80); + + /* set enclosure management message type */ + if (ap->flags & ATA_FLAG_EM) + ap->em_message_type = hpriv->em_msg_type; + + /* disabled/not-implemented port */ + if (!(hpriv->port_map & (1 << i))) + ap->ops = &ata_dummy_port_ops; + } + + if (hpriv->cap & HOST_CAP_64) { + rc = dma_coerce_mask_and_coherent(dev, DMA_BIT_MASK(64)); + if (rc) { + rc = dma_coerce_mask_and_coherent(dev, + DMA_BIT_MASK(32)); + if (rc) { + dev_err(dev, "Failed to enable 64-bit DMA.\n"); + return rc; + } + dev_warn(dev, "Enable 32-bit DMA instead of 64-bit.\n"); + } + } + + rc = ahci_reset_controller(host); + if (rc) + return rc; + + ahci_init_controller(host); + ahci_print_info(host, "platform"); + + return ahci_host_activate_multi_irqs_armada8k(host, sht); +} + static int ahci_mvebu_armada_8k_config(struct ahci_host_priv *hpriv) { return 0; @@ -189,15 +402,22 @@ static struct scsi_host_template ahci_platform_sht = { static int ahci_mvebu_probe(struct platform_device *pdev) { - const struct ahci_mvebu_plat_data *pdata; + const struct ahci_mvebu_plat_data *pdata_plat; + struct ahci_mvebu_plat_data *pdata; struct ahci_host_priv *hpriv; int rc; - pdata = of_device_get_match_data(&pdev->dev); - if (!pdata) + pdata_plat = of_device_get_match_data(&pdev->dev); + if (!pdata_plat) return -EINVAL; - hpriv = ahci_platform_get_resources(pdev, 0); + pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL); + if (!pdata) + return -ENOMEM; + + memcpy(pdata, pdata_plat, sizeof(*pdata)); + + hpriv = ahci_platform_get_resources(pdev, pdata->resource_flags); if (IS_ERR(hpriv)) return PTR_ERR(hpriv); @@ -214,7 +434,11 @@ static int ahci_mvebu_probe(struct platform_device *pdev) if (rc) goto disable_resources; - rc = ahci_platform_init_host(pdev, hpriv, &ahci_mvebu_port_info, + if (pdata->resource_flags & AHCI_PLATFORM_A8K_QUIRK) + rc = ahci_platform_init_host_armada8k(pdev, hpriv, &ahci_mvebu_port_info, + &ahci_platform_sht); + else + rc = ahci_platform_init_host(pdev, hpriv, &ahci_mvebu_port_info, &ahci_platform_sht); if (rc) goto disable_resources; @@ -237,6 +461,7 @@ static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { static const struct ahci_mvebu_plat_data ahci_mvebu_armada_8k_plat_data = { .plat_config = ahci_mvebu_armada_8k_config, + .resource_flags = AHCI_PLATFORM_A8K_QUIRK, }; static const struct of_device_id ahci_mvebu_of_match[] = { diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index ea5bf5f4cbed..0e6eaa2e03a9 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -1799,7 +1799,7 @@ static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) ata_port_abort(ap); } -static void ahci_handle_port_interrupt(struct ata_port *ap, +void ahci_handle_port_interrupt(struct ata_port *ap, void __iomem *port_mmio, u32 status) { struct ata_eh_info *ehi = &ap->link.eh_info; @@ -1882,6 +1882,7 @@ static void ahci_handle_port_interrupt(struct ata_port *ap, ata_port_freeze(ap); } } +EXPORT_SYMBOL_GPL(ahci_handle_port_interrupt); static void ahci_port_intr(struct ata_port *ap) { diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index 129556fcf6be..21332a33f766 100644 --- a/drivers/ata/libahci_platform.c +++ b/drivers/ata/libahci_platform.c @@ -464,6 +464,9 @@ struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev, if (!child_nodes) hpriv->nports = 1; + if (!child_nodes && flags & AHCI_PLATFORM_A8K_QUIRK) + hpriv->nports = 2; + hpriv->phys = devm_kcalloc(dev, hpriv->nports, sizeof(*hpriv->phys), GFP_KERNEL); if (!hpriv->phys) { rc = -ENOMEM; diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h index 49e5383d4222..b31972e0bfbf 100644 --- a/include/linux/ahci_platform.h +++ b/include/linux/ahci_platform.h @@ -42,5 +42,6 @@ int ahci_platform_suspend(struct device *dev); int ahci_platform_resume(struct device *dev); #define AHCI_PLATFORM_GET_RESETS 0x01 +#define AHCI_PLATFORM_A8K_QUIRK 0x02 #endif /* _AHCI_PLATFORM_H */ From patchwork Tue Jul 7 15:21:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648921 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 8D1766C1 for ; Tue, 7 Jul 2020 15:23:38 +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 618B820771 for ; Tue, 7 Jul 2020 15:23:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ePODPs4L"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="FiZ9IwdK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 618B820771 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=8QY0ogF2LXt617BuSGmDUDIW45IVYAS3yGV7jnkWtSo=; b=ePODPs4L/bX/onp9U/Xdqlpg7 07ABoCYb+q7oaXIOApmzQDyTrGg0YnsFzSKRqKylhrCNP22S/fu7PTvhxNZPujaIi8mCXwVMxZQ8z As92QeCpfwPk4mBW5XYngH3hqusVRAaWb4+EHCDtvZKzZ1zSx8Z7SpC8lZszs9QUIh5P49n7FlUnk 5gIcsnu40cLkduPcuTjSulqEN2rUTZFpUsSl//8odtqpSDgUwwTUqeLOG6SdydXBHSagtMh8Bb5S9 uVMW6VJKm+Eem1WWkcba5q10+oQZ4/FoEVC874KygMEkVQDQVoj0mPq6n66qj3dUbrUxuMZ9U/B3T 7LwowdOBA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPx-0005oA-39; Tue, 07 Jul 2020 15:21:57 +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 1jspPd-0005ec-1n for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XXa9lniD+vsZL7N5xmMYO1ziKTnXhf2vRUDttJmE110OSovBVx3sytasmsLpFIfB3NTvfj1IJ2P3KeJR+2v9l6w83nqsqWoCw4CHrGHzPAHphPDLcx3p3DZVzM1UIiVxyga8M0jOOgFTASzmDPIJovUWf+MJB7Q2lEjJBwoeUZUvrBeJfvpk+OxpLXA7lyeoXthirOtVxaG1uDwBYJ406jFC8Qt/Zj7iJdDxUQohI9giOvC8BDrHt6y8+3h497CXKNjzldUn+aiem3aIBMIpoDuRCO+UgxJ1iwEEim/vzKx+rIPeghZOcLu/Hs1LUPEZD/ahfHh7Ok7njog8oufPGA== 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=d1W+rcX4qhXUIUoCj8g+SMPjANoyubk0uFu4xCICvFg=; b=jHAH1dkhk16W1ifEePyxMa8Jt1g7Nyrcur3NdUNQPaoSqWMkKP1a/xBVc8z5PxUp7Ec71DvwrfiTC6PDR9Vz1Vy8mcpmDdAtv3rA3L0FYBe5BIOxWwE/oXDMU4QTvA0YJVqyyNxRrPQgADOwcoYEGXv7VrhR1Ufh2jMStzmab6q2HuWlVaJXkMpNHJ0tfmrSd5i5yHYIB8U2KHwAUqsY0cbppd5XQ4vcbsDzGu40bu5QO6EZDgbrBeTlaRk3Rtuc/e74dvshxWP/MWecTYw4r3ip6T4b/YsPJbdY4i9F2EdvhXzYsdYnoas14Cel/iQcP1eu1IZ8oL5fcjRq9OdjEw== 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=d1W+rcX4qhXUIUoCj8g+SMPjANoyubk0uFu4xCICvFg=; b=FiZ9IwdKaZantlb9YjXdZPDrnXjBRTNG27m5c6dCqiDK/mgwRTZlLCtA9BwNfeSLQceRJCp9oPD34crTF0AKjj2Q+b4zYrUKFlRdqyFAW4vlFIQrZOpOU8wjZx3v8d5m2bxoLsMploQocgbN8O76PH79+4hyGXgeQsrGXidXclw= 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:29 +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:29 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/7] irqchip/irq-mvebu-icu: Remove the double SATA ports interrupt hack Date: Tue, 7 Jul 2020 17:21:11 +0200 Message-Id: <20200707152114.53890-5-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:29 +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: 8a03ba79-dc9f-45d3-67cc-08d822896c48 X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6cPNSJpO3iVzNZdNzZaFHQ7pOPYF73vOBgE/th7biqj6Yw9BrqZRJ//zZOJ6xNzUEGD0pN7zpXeSXkkwfe5UaorKAGdaGLEqngyUj8zBigLL5CZDlhEM/h/zgZ5Th3fqZcQ4HMvY5AeZAZ/Pm7iN5NFGndJKglci+RcE97dnYCH6OjeGg+SMgcIggyR80vngo5gPw03M6xZwAGcXyvMax6Jidnt/6B7J941P0cv6s6/yWSrxGqGY5KzzFDBCZUFO0wXF66mvHO417QYqhUtPblICHYsXQKgi7olGm28KVTEKmfy/GzWD290AdsY0qnMHb/t9UxzVL3Cj2AOWYXXelw== 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: YVHglBfEMXHe7fzll0uBcYNR6BJ9PWbwYxl9prRJ7U3bsOcA45qQY7h+CklrbhYQwf2xCqsAiumHH0yKcOlYoBRpCab7o51a8uwC2Y1SP2jIslAbnNX+3XxhylYkVKnUaMed78Ym472mwAJPl1DtDthQS7Am1rz5cCchm77hsvhxXnOcYeRbdgvO7YsG76UB+uwlxkujMKgQs5b3SPxouRMr08YRGU0PdOoFEDwnX4T1h0tevjUReqlR7gy6IlGX0lTnVjgS8As3V2I6+mmhk5BzkdMXXszv0Yp+RRlfSYkHmvY+4HEzKFmcqTWtNdlLLik262/c5T5J6P45txxcm+7qb2KGjr0ZsiAFc7nLY3hJp3HyAQ48cC7/G9Cszqseis75eboP1wuVDwaNy0yJAYC8CNSW+nnG/kDvbqRT1TbwOQrSRIb3LnEXRkgYDKKX1ReT3/gluVSaf3YBNpz1pidMWUGzn9eBu2rqTxzM9OEcn0Ijdcdlm6SQ0HE5uPIf X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: 8a03ba79-dc9f-45d3-67cc-08d822896c48 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:29.7442 (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: lBUmtOTyl0/ACYJDaUfWEbmlJU2MUEVwlmFLj73cBy6pQnLW5hrl0bl+lwAlJzPsuJE8v6qrnC6PAlUcUL6y8DR5xSxdOxAtUwYs1G5vUno= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112137_158832_C465AB9C X-CRM114-Status: UNSURE ( 8.90 ) 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: Miquel Raynal When writing the driver, a hack was introduced to configure both SATA interrupts regardless of the port in use to overcome a limitation in the SATA core. Now that this limitation has been addressed and the hack moved in the (historically) responsible SATA driver, ahci_{platform,mvebu}.c, let's clean this driver section. Signed-off-by: Miquel Raynal Acked-by: Marc Zyngier --- drivers/irqchip/irq-mvebu-icu.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/drivers/irqchip/irq-mvebu-icu.c b/drivers/irqchip/irq-mvebu-icu.c index 91adf771f185..3e29f8d5b33b 100644 --- a/drivers/irqchip/irq-mvebu-icu.c +++ b/drivers/irqchip/irq-mvebu-icu.c @@ -38,8 +38,6 @@ /* ICU definitions */ #define ICU_MAX_IRQS 207 -#define ICU_SATA0_ICU_ID 109 -#define ICU_SATA1_ICU_ID 107 struct mvebu_icu_subset_data { unsigned int icu_group; @@ -111,22 +109,6 @@ static void mvebu_icu_write_msg(struct msi_desc *desc, struct msi_msg *msg) } writel_relaxed(icu_int, icu->base + ICU_INT_CFG(d->hwirq)); - - /* - * The SATA unit has 2 ports, and a dedicated ICU entry per - * port. The ahci sata driver supports only one irq interrupt - * per SATA unit. To solve this conflict, we configure the 2 - * SATA wired interrupts in the south bridge into 1 GIC - * interrupt in the north bridge. Even if only a single port - * is enabled, if sata node is enabled, both interrupts are - * configured (regardless of which port is actually in use). - */ - if (d->hwirq == ICU_SATA0_ICU_ID || d->hwirq == ICU_SATA1_ICU_ID) { - writel_relaxed(icu_int, - icu->base + ICU_INT_CFG(ICU_SATA0_ICU_ID)); - writel_relaxed(icu_int, - icu->base + ICU_INT_CFG(ICU_SATA1_ICU_ID)); - } } static struct irq_chip mvebu_icu_nsr_chip = { From patchwork Tue Jul 7 15:21:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648919 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 87E14913 for ; Tue, 7 Jul 2020 15:23:31 +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 60A7F20771 for ; Tue, 7 Jul 2020 15:23:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sLmPe4/X"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="gFwu3K6C" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 60A7F20771 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=+bxpULj8nyDqMPkTU9gq8bqp2+YXZR5Op/IvKsbq03k=; b=sLmPe4/X25yW2ecaPfbM1huud x7jf41CMuJxiIBggB5c0cOcV89BlRXAUuxYhUn//3xUabx0rjFTYEhdQN/2ebpWFPMQZ35/02divV 8b0wmyO6+KupWwHAFMhnu5sHEoZkxK1jBfvLiVHRvjiCLSY+FIL3WkaSEgaB+BOvnXDeeC5VPunYe e6ZlsvtCwN2EbjnUi4juOH34aQB7GHJwKG3UIyAwZtQfaxOMxpCbgmHx5ctn0ajqRgupZZ1ItZ8/P +P9cV/jeqLiRhOpUehfSJ5rImjzJp3spqeQqOLDYCDSrFqN0HjB1GBL3F3HDv+Goqx9JAUyBXCJTN gqLrW1ZlA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPm-0005kL-QA; Tue, 07 Jul 2020 15:21:46 +0000 Received: from mail-eopbgr60130.outbound.protection.outlook.com ([40.107.6.130] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspPZ-0005fU-W1 for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UC4xXtUQztuiqi+9x7kWzzqvZNToTQ3X3YvcYJaE6uAc4Il0cLNyyFRDBwC5MA9C5k6m35uS04LEdRysFmf1JMI0tAf9G2kLlZQ7mFLOjd/nTZ8xMsEQO1UBtCONXFJct0LVNVSJtXt6TL2PjFHHbbXB6k5SbxEiDL/Bkpwhazg/qVnAAirkaU7Sdjv/l8GK5/+nHPzkQEDC1DPn3podCGvIw7dWBfoDQmZ91f1v36tL3VthM9QMq4BgM1wrORfiV/O2WbA/ck8u5xc8iIZvNOEFO5cMEAdHIRS1CICmO3pLkqDhPJh6dwFeSRSXumakrxsx2IQ38ueuXEv/LbTlfQ== 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=WGQwZ6WvpTr5qSvW+tXuIm1L5RQLeAew0OCO/xPoW0Q=; b=OP7rbZ37f3ST9dXRwjNxfh07rR6gzhb5nTcTdDjVcwmHaj7ELNm3bWXWg7vUmxjN0dopN+xj/MJw8BLTo9g19/9LYccAZyOLjkdXfVUtPRMyPRi82hPhg4mjgkWuDT+GhxElvj8+sAA+VuRDXE6Fni7zdu8M1Lt0YxrxWAob+ZHG1j35LRF+oK2dKWSp3w1jcKlFwIKqZ8TW/sT2GcQdep1CCDbYYbwUYkjIxleFQ32C70HHmjTHr9agdWOunZKgxOtFgCAcPUQux7na/+mvJkb9L92AgGAsq0dgJudtmrdQhV9OKzKt3OcXlZh4e3w/DwksPuAd7vjVZL7bx8mpZA== 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=WGQwZ6WvpTr5qSvW+tXuIm1L5RQLeAew0OCO/xPoW0Q=; b=gFwu3K6C7ieL+qjiUCFIIV+OEe7I/EyyX+qFF0ibtnDQHOcYEIxxxbImmGq+Qaw2QEirz88XX28nIXTsx4+QhUO/wyW/3Mra0d5SdOIeFNsMtU+aNMlFeHwjIxJa6mz007nTB3//67YCHg1uxr+JKI19441YOhYhW15vfEeU2d4= 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 AM0PR05MB6372.eurprd05.prod.outlook.com (2603:10a6:208:13d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Tue, 7 Jul 2020 15:21:30 +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:30 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/7] dt-bindings: ata: Update ahci bindings with possible per-port interrupts Date: Tue, 7 Jul 2020 17:21:12 +0200 Message-Id: <20200707152114.53890-6-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:29 +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: 81a665de-7c3a-4fef-74c5-08d822896cac X-MS-TrafficTypeDiagnostic: AM0PR05MB6372: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +KcEgsbNsIBT0YzL30Wcsb7ZoU73sCV/L8QSZyMA3DVKItJBlYJBB/GnzuVC360S+biToUCu9bMWj+G4GxMtk2Yf6AZh0mYtioV/zoJF6XfSQI4NUi1FYuPryFE0XloodU2/RNXK5/8278L9lOC5E9tw+PDA9vjOkMPle0LkCW0GopLtx2n3VL8NVo+mqJ9zCTRb62pdUXbn2MDKGRCwOrE0CXne6E7KPf+K/UNxaFhMRW42xOtuewnISriSoVLr+KKnIQtZav0GByYDxqsovhnS7mY9GSgEp1kvtWVwgPuWBeBjUvUGg14fCzMuf5jQMDOFQQIAga4HrDKPdgVTckxywLiqIlFCJ+mihMmRLJihxCbG56lOuQE/mDuI0T5Q 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)(39830400003)(366004)(346002)(136003)(376002)(8936002)(26005)(6506007)(66946007)(66556008)(508600001)(186003)(4326008)(956004)(16526019)(83380400001)(2906002)(316002)(6512007)(9686003)(66476007)(1076003)(36756003)(2616005)(6666004)(86362001)(15650500001)(5660300002)(6486002)(8676002)(6916009)(52116002)(46800400005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: Yzb/Cc9X2voN9DEIPAZg/o/aD3LdpRFrcXIhnUU4DlY86Ht7qqopuohWTgiiqWYyxfsOR4Lxve8TnTOUvvS32NkopYseKpXIo99kxeMll33u2Vh4CZD6r8RM+zxD5vmGNtVZlQ+6Rm3Lxx0+eFyLCQo9f9lNuvjnA3Aasbpwe4CRBa/KgDdm93f4WgDleeY8dy7tkxITyhnQEUubKVjMUZN3h7DwZGizjsB/2waCxDVuAy3rDS6YnzcBmuHT9fRp5x6o0oltleIfA23cxfdSjmnoSMAEEdEj5yIifl7kPwOqY3TfMlR+tYMj7LyyUHoiyBhgySD1xWcnfkYN2DNz85I5V7BrWN4esep1COyLqWXoaYgBlwvIwjgGglCe/lG0nuoRS1m2FBcPP5YQoUYfd+N3Y4uzU6gSupEwSel5KWPS+hM0oTqNBeFaIdRZTSn6DaQyog2f3NBY89zTqKgnMrOlJNY0w0jUH7FOqmhWSMzWMf6lPvtG8HCIMiHTpb2Z X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: 81a665de-7c3a-4fef-74c5-08d822896cac 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:30.4839 (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: QWxnwy6vkOpKp92cLbobMV+DeF5cI2dwqAPtiej4d2BjwgO+0awpoFfOr0uNuChS8hYPOW09yDhOke3roqu64LD66zjl4ZEjDFEM/WUMLMg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6372 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112134_114094_FD4C4C33 X-CRM114-Status: UNSURE ( 8.47 ) 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.6.130 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.6.130 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: Miquel Raynal Update bindings to reflect the fact that a SATA IP can either have: - only one interrupt: in this case an 'interrupts' property is declared at the root of the node; or - each SATA port can have their own interrupt: in this case there is one 'interrupts' property per port/sub-node and none at the root. Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/ata/ahci-platform.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt index 77091a277642..83d715cbcecd 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt @@ -49,6 +49,12 @@ And at least one of the following properties: - phys : reference to the SATA PHY node - target-supply : regulator for SATA target power +Sub-nodes optional properties: +- interrupts : , please + note that either the root SATA node has the + interrupts property, or there is one per SATA + port, but not both at the same time. + Examples: sata@ffe08000 { compatible = "snps,spear-ahci"; From patchwork Tue Jul 7 15:21:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11648925 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 97CE26C1 for ; Tue, 7 Jul 2020 15:23:42 +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 70F2C20663 for ; Tue, 7 Jul 2020 15:23:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GNXac3yS"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="OAAiZMVQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70F2C20663 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=RcIU8/qNWBmo63S5mVfN61MQcJt0yd9OJwqJeb018LU=; b=GNXac3ySc24F5AAUuLqLg9mbP KH50qO/Asw5QMy8vZTK4JLkkl6zwUbdJzfzkq0oswu/gMTsmaq6qOO9kDdkBrN+3rkRR1TKmxncQP Xe6eOgoLQgvPT+rR5GZ7pzvuyMlp+4vSVav/UNN0EMlody7bwAA0QRBi2NCgDkND+kJYD3CIKgY06 bGlzmscBVEm82N79OaunL3Ji7yrGFN4RafPoQGdl2nkJxFwXCapO4hVkiBXG5EGXjNQGHgFRQd/M8 uBSlVycLBGtQ3XnjNFRgF1RcrsDEKBDU89x3TlDzQf2GZ7Ub9dfgLvnyaq5PlFUecpfdByiwjzAog MwPBhxaoQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jspQ0-0005p7-5q; Tue, 07 Jul 2020 15:22:00 +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 1jspPe-0005ec-6D for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 15:21:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JbnIuXqBtfy1g7TCN2RFcj/D4hB+/wGFzxh+lKtyuRNWMe49C7u6v/5F1BBIH2u5TLrmvAPw49Yho8uIMhFtcxc/GNwG5/bvtkU/mbS7ZNxwmF/WGO+Mf0Jh0DMm/Js+2m7rXdDxLCBgOOWMook1onWwmGVj3CBR4g1c8qj7/hwZmfSA6c5B2Rm8JF1yv4JVNrMTgw30M1xuNkwSnH+P+JvIr8YEJ2GLo2kV7BtNpFGJlD44FMflBtRACeA+usJVWf5PGsjvLf6pm+GvLgkyZStdyMtcEvNoKcW8AgQG6dNPPQk7ItUiy6UoZ2cfkIm7xckidk0PC8/x4JI9xi0Y8A== 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=W9uVZJRsZoOmIdSRf9o96KbG1ZzdFolaCXF5yILt1ZA=; b=WRsK50Blw7yIN0nmkPUqmHtCJ5lzV6hjO5lFLAA9Kal5a+DXZXYf26f73Gz3Ss8BGlPSZTkuOy/FSG6/XinVne3ytl1ViKyHAXDeu/dcK7VtF/FPJ+nPmr6v9WoZQbXIne1pMkK86heE5S0iWPMHz5Va+4Jn8KzXIbCDfzH5ml+1ISFz7sI9S066EPZcMfEWcdcJZkeD62gtRN+1Jx7UlxCaJJRfBuPj0NtYGFn/ZeWbbirHqpMSeXXxzxVtkRu9T6FgMb6EuI1lQuTyuCiW6z78M1G6a6ML9Ui5INs/pQqFhbXotYpsvsV9iwTWBtYkCoR4EFprV2DelYGfssuuHQ== 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=W9uVZJRsZoOmIdSRf9o96KbG1ZzdFolaCXF5yILt1ZA=; b=OAAiZMVQPSnKNIDaPiE7q0ckH3tPo4P03Eps4XncRu4HmEcSqHrvJ+a73zHdOdLOpq8mgtjR/ycd3Jehg+c6BdYZQZSPDDu3ixHlj8hq/wc4gRiuvjtkiEM5J9zQuD1SFhU3IonC2EcyDreVM/FOLll98EpYKU+gDmbeB1XOO+o= 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:31 +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:31 +0000 From: sven.auhagen@voleatech.de To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/7] dt-bindings: ata: Update ahci_mvebu bindings Date: Tue, 7 Jul 2020 17:21:13 +0200 Message-Id: <20200707152114.53890-7-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:30 +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: 44aea8f5-9408-4f5a-e4bc-08d822896d21 X-MS-TrafficTypeDiagnostic: AM0PR05MB4226: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2399; X-Forefront-PRVS: 0457F11EAF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: btZY4hNFccTYEh7/Ra1NwTQpv+O1/eGx6fl+6Hf8zx9jvwP4l4JRjicAX7y30p5KDqkcXzwe1lqx1M34wLcAg7WTu7kQ3HCDh5bYrXBhFLl0mqEMElE7+ummqezNrR14MnzuGElBmBfcsH1cTc7coIt1a30EIsJWv+n/dYNPgxmx2yjvdh6NMejG9pMSUkL4bz1Lw0RcvI/rFm/bnS0tRo1rrmSKhEsYc1Q0dJxHpMIsU/Fzszf3WHji+59mlTbKbGUL+gh3s2iy3Q0nv6RGCZM2GnxqHWNnLa2oelFusn/IYtlcuwKixiloKvHcz9Lxa3Voc2HyiPozdgZgnUdZ7Um2lbN/cVCRzVpigDbu2g4ry61B3oLIg6Nz3NH/S2nH 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)(4744005)(6916009)(5660300002)(83380400001)(86362001)(508600001)(6486002)(6666004)(4326008)(36756003)(15650500001)(316002)(956004)(2616005)(186003)(16526019)(52116002)(8936002)(8676002)(66476007)(66946007)(6512007)(1076003)(9686003)(2906002)(6506007)(26005)(66556008)(46800400005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: 0X4eHZD0FZKkA1T1e5o62tDcyTwPqwSHqivyLjzB9d4Dj51kQr9ouH/MRh34wbfZBtWndlrYLI0qFmrqqsnkuqqyn3dUiFMTjFBkA50OxUJ9BIejVwx1l+DG0/yKbqcbB6kOknkhn39MPQfJhAsKa605Z4NusMsu3mVgw4EgmkEgavCulpGtsTCB+fqJFnUY/lirlthmv+F+TzhJAkUds/Y//dugtrFnhSR1h3K8Rcd3dmSwPG0Q1PHZIg5/JcBa+mvePFGrfy/craP2XWi+q5PqP8evdYbcZG94pJek7wPdeECoG7oBbQnozTjbDY0FWwMwRmxQaR6gxCOFcRfO0aPBTE86MfaKdeB0j2Y8q8bJpfAzN2oHYpWKyK+H6ThF2+CzFdeqza8WLFJLMFttzCkluoVMTSHNDap3YlEgb48p76CYkfFbFsqY+72R3fmbBZYGMPl68jFPixKABKZPPupXeFLXoQQp11fpNojjHwy/geI0zTbdXv0YbrEeNMyo X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: 44aea8f5-9408-4f5a-e4bc-08d822896d21 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.1436 (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: ATeXfdUg0Sh6ibhkxVcKoVeO4yYWxEWrL0PNhNEnTSsmJ9Ypf/sr7uydOw7MZ/9+kn5ew0eC7bqgSiM5QVapkWkDd/F6Gv1eOZx7/GUIla4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4226 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_112138_307825_AC288B05 X-CRM114-Status: UNSURE ( 6.70 ) 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: Miquel Raynal Update bindings with the already in use Armada 8k compatible. Signed-off-by: Miquel Raynal Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/ata/ahci-platform.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt index 83d715cbcecd..78d9d413a5c6 100644 --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt @@ -15,6 +15,7 @@ Required properties: - "ibm,476gtr-ahci" - "marvell,armada-380-ahci" - "marvell,armada-3700-ahci" + - "marvell,armada-8k-ahci" - "snps,dwc-ahci" - "snps,spear-ahci" - "generic-ahci" 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>; }; };