Message ID | 20200707152114.53890-5-sven.auhagen@voleatech.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=cEw2=AS=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> 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 <patchwork-linux-arm@patchwork.kernel.org>; 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 <patchwork-linux-arm@patchwork.kernel.org>; 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: <AM0PR05MB4226AC27AA6325B577FC11ABEF660@AM0PR05MB4226.eurprd05.prod.outlook.com> 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
Armada8k enable per-port SATA interrupts and drop a hack in the IRQ subsystem
|
expand
|
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 = {