Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2565415ybk; Mon, 18 May 2020 02:17:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxltLQtac4PUFh6LLhdTTQ9DP5ma6tb9qHlr+o6Tc9tmbUhlvhVmUjaF8rXzKZTksB6U7sM X-Received: by 2002:a17:906:935a:: with SMTP id p26mr14493875ejw.103.1589793434823; Mon, 18 May 2020 02:17:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589793434; cv=pass; d=google.com; s=arc-20160816; b=BNMV34UjJq+pG+2FqX454NHcERIRua86NTSXs+KHj5Pz/1r0W/jxXL9+fSEBM41jOX AyMD5FNtv/otMG49z9dlZea5TVk5J1B7aq7REZEeGZdH9kDBAbn4r5FRYQLLl7TKOYXM ZQV3UGfl7CX6mtpQ6kNttupGFODEbI8gHwbwVAbo3OTO3L55DTJq74DTFOpoVUbnzzM+ jdzNuh1cpipGxW8k8ItkXTprsMEMPiUO42vWNWM/A5uCDJKrS7pj6e5lyy3pkc4uzTv6 FRj2YHxsPmH09YwxFfn3GpecdvLIHMMq5l/JF6XKHaVJdLiKmay+ykH0WnUyLcSs11j2 W1Lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:wdcipoutbound:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature:ironport-sdr:dkim-signature; bh=x1Qz6zUFuTDII6Nlah4t/E49pwHMft0wv/9mf8WZvm8=; b=m1usUqRJt8p44hqKCcNSRsjCSk+KWzsE7lzKADee5EsmdkswS9gSa6/4F1/2pnJxVv RXGyqAm07gjeAM29atUNeDgPzAuu0pqYTOpNDbHCD+2Li6sK6HNINiSbbUxBEcD6ekVN WGz+NqI+aXhFo3FQRMIlmitB8hWScIF6rlAjemagakL0RVU4Vh76BLxxdJuZN7Qrv+BZ 1elw2T39Rr79cbJKuHpeN1vcNmP+rTIsXV9STGHmCJR8GjRKGggkPncSCqKkQjntIzm0 /Bh6/693EeSWmKyo8XpSEmuSGJ1XSQDvUcCCRc5olMrHcE9tW9noy4/Wl9inxgQuR20k 7fCw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Yc5d+iwC; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=U7JsjEKb; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si5376446ejc.411.2020.05.18.02.16.51; Mon, 18 May 2020 02:17:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Yc5d+iwC; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=U7JsjEKb; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbgERJPQ (ORCPT + 99 others); Mon, 18 May 2020 05:15:16 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:59247 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726413AbgERJPP (ORCPT ); Mon, 18 May 2020 05:15:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1589793315; x=1621329315; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=Kkx0VsavL/mGzZm5BNs3kwfCDw/LGSGsVxpUXxhdWwc=; b=Yc5d+iwCQ5b72b+tq0UbNhx7MxvBFgea6hIJuM2GyVVBYWZNqlyy6/1W 60LvyHpyUfDNLcyuSsCaaAATNhz+sI5HKywbJBG5N0dGyc9q7ULwNfx5F K0jEgWqXvy3e9JMrch0cKm7eOHRfj9PJTrF+phFSQCGut9Husylk3K5uu M/GM+KwtrcS8V02lMQJWhg6ATjk5rcn61aSdJfryIrWc+MjRzoUjTlcjl FNI/b/ba2PkFvffzW2M+4cRtsqaP6H49UV6NYWL7VMTZgtmMOoBdb3BqB xBc5/jzkRyTqkA+GdrD8U+vvdiEInjlC7zFUoDtynJwsW7En82znYP/8z w==; IronPort-SDR: u9ns62/6Z7F2v45ev6GUdGYssgZJA8IkKETapqu7ILCiRv8D8voj+WIdz5R9rOJ1pGVbt0voJ2 3QJ8rvVG/gVeMwyI7fUPxPvuJFrKffBDXzzituwO4AUkO5vROj43k/UQTcSQZXh5Z7SS0svFD8 cdY8acAXVm7vdtBZbiSLVDJZIT8xVIk/VpeK2l51Whr1Hlc+0LhtW86IV4rID453JBtbbg4i1g 6zDk7zxvjyibHGXc1K+rFQDjkViFnJKFu8+DyN6nU5FZdY8QAPIS8b/7yQq07Se4617/IGuY2M iwA= X-IronPort-AV: E=Sophos;i="5.73,406,1583164800"; d="scan'208";a="139365892" Received: from mail-mw2nam12lp2048.outbound.protection.outlook.com (HELO NAM12-MW2-obe.outbound.protection.outlook.com) ([104.47.66.48]) by ob1.hgst.iphmx.com with ESMTP; 18 May 2020 17:15:13 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=htO+SNb8pPkU34+mOfyDEoHqB+58M1+g/iSgCodnclopdu6sqWX9AMseTfRVKLP4WXOxmL+bnhJsH/zcnim9XcNiudXSxAGon3fW9y9NB5s/iLmHcQXx+ZxdBwh7zjVhp8rpoNGrGRt8dQMJRZZXh61p6JVEuBMHpsz7W8V7hgusSJpstv+nvJ5fsDJWrtJYBtJ97WwC4TWTh/xDpYkOpA/GqkgOfk6BEt+DYWA495I9J9XeZkOqut0cxUGCtrAQQkdlZZNNvD9fyHib5Oar64M6l17JckPK5OFPRFohpGDpiBvtlQUJpAj1Y2YBHdouGifFMZ9WVxWAm4OfFd3EqA== 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=x1Qz6zUFuTDII6Nlah4t/E49pwHMft0wv/9mf8WZvm8=; b=Xe0uES67NjUUZDODOTSzcTbNYCWZTNyVgVJu/suUL6A/Ssm4lrBpKCJKbuTNicDmrL9i5gvNJrG+l+6YIgqlji819YI/I7xCPrkCcMW2kfQ3Vzhshnd5t5OQWmer/HJqoCMf8MOw5H3Fb1GzmI85rng+DGexp2B2tUPY20uOreiZ9jpxvDJf2pjy3pwYbG4+jCX1usi6/zPPI9O+f6/gKzC0nPLKVHzg53aUWbWLJnFwutu0BQrOog52knr0NkwJN1wCMRmAy+i5vwQJxXyK926AoiQRELciMK5+dfLJk1IRcSZDZRPNhgZoiN5lYfwBO7kINJhRbm5mhRU7ieftuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x1Qz6zUFuTDII6Nlah4t/E49pwHMft0wv/9mf8WZvm8=; b=U7JsjEKbCGDIppJ/9VNktuDox+Cmb9mZW6bHMBGl5cVcxmeg/r3NgRbMD1WqSgHbP3z0H5LbOseQyXj3dydPaS0l6d3CR1n//nkcpyCmjeYdUuLtZZ8uuCEkU/GWHAndiE3/W8uyOa+u+5dzLzpfiMAi5EhNc/jUAfiF8CQDl1U= Authentication-Results: dabbelt.com; dkim=none (message not signed) header.d=none;dabbelt.com; dmarc=none action=none header.from=wdc.com; Received: from DM6PR04MB6201.namprd04.prod.outlook.com (2603:10b6:5:127::32) by DM6PR04MB4155.namprd04.prod.outlook.com (2603:10b6:5:a3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Mon, 18 May 2020 09:15:12 +0000 Received: from DM6PR04MB6201.namprd04.prod.outlook.com ([fe80::f8b3:c124:482b:52e0]) by DM6PR04MB6201.namprd04.prod.outlook.com ([fe80::f8b3:c124:482b:52e0%5]) with mapi id 15.20.3000.033; Mon, 18 May 2020 09:15:12 +0000 From: Anup Patel To: Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Jason Cooper , Marc Zyngier Cc: Atish Patra , Alistair Francis , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH v2 0/3] More improvements for multiple PLICs Date: Mon, 18 May 2020 14:44:38 +0530 Message-Id: <20200518091441.94843-1-anup.patel@wdc.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MA1PR01CA0155.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::25) To DM6PR04MB6201.namprd04.prod.outlook.com (2603:10b6:5:127::32) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from wdc.com (106.51.27.1) by MA1PR01CA0155.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.25 via Frontend Transport; Mon, 18 May 2020 09:15:08 +0000 X-Mailer: git-send-email 2.25.1 X-Originating-IP: [106.51.27.1] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0b89fa1a-1088-4239-d64a-08d7fb0bf7cd X-MS-TrafficTypeDiagnostic: DM6PR04MB4155: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: WDCIPOUTBOUND: EOP-TRUE X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 04073E895A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sRjsiLnyx03V+XZcJG47jJKbHwF+pzK1g1OZKkC4Y+B8k5ZKLZwDLehow95pJV8xNvI60ZvrGt8E7k6NkLneuPjrRE0QNqN0HIjLA/KfbYITYVS9hTVnxA+/dGL5vWBeCAv0iyC/E3usvvj8qvKc5NZUbE0VNqSMfvpuHwATyFXAs1Vmvdl0do6y9ZES5VzP3EFF3ZDF8ibUtQUGhAsIt5CZvohLJ3qvfC/YLS3bHGimau1j5i/UO3WswgLYIYC1SstNbNht4WoDJ1gyJBeNgKstaRlFUadhiLIrvOOizQJbVI0U3Fp8rfG0PgmEjenZUhvPO8HabRl1dhGcheBzkQ86xDA40OS7rmpaL8+54I3hUzjjDjFpg8yTFvPRMPdJ4zRXXG38zZbmQx1vzYU6/0oIIQskaPf5mvyygOhN1T24UV4HSW6TEQ4o23ocFe+5CeJPIgGSOH2Zas1cgmOSyPTo6feXOYU1O0gOEkDW6R6mF2IKlqvIyheoO1HthXuYGvRxWAAVGYxB616ChKHpLg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR04MB6201.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(136003)(376002)(39860400002)(396003)(366004)(55236004)(26005)(36756003)(316002)(1006002)(2906002)(86362001)(478600001)(6666004)(966005)(110136005)(54906003)(8886007)(2616005)(44832011)(55016002)(956004)(1076003)(52116002)(7696005)(16526019)(66556008)(186003)(66946007)(4326008)(66476007)(5660300002)(8676002)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: J5HnEHsNhngGd7OSmwOopKrYtLl6dZMo2T0w6s/x+j/eb8EmO2Jg/AM4GFHEI9bjRWHefGoq+qEgF8FauJmNnW0fxqvs62L8urHYLuz4uUita1Hb3OY6JB8l1RSSpWTVTE3iHq9pTshuz0AjSXV8QYV3veEFjFh5/uNbii1TIp6nX8qHx/g+d2Ln77F98Lk5vUr0dVKMQMe3fmtbZSO+U6Z97LZdJ5kHmxXMNQ+HUCCBCA/UKISZCBTADrK8/k5PQI3eo1V16uFBFNmjQD26MgkeS5WWdc3D0+ySsL5vRjzaSAAfQ9eWswN39LqWO6MmjggBZlukhCS0UWCnSXtJZaq0WJ8wjYbibEAg0gwNz3qzaTPxN4JkMJJKsq/+bvKKFz+mbnGIOdPJE/s9EoE7RGoPyzlHE2BQtFB4ZK6XF0Xzd0ViOisvEm4k/677JnPjl129UGZEpiYQe1XCwQ0e5HjXo/OtCq8iNAbtPZDoZFk= X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b89fa1a-1088-4239-d64a-08d7fb0bf7cd X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2020 09:15:12.0706 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HdS5qbjHmYDMUOiATND/M3jboExsXXk7zHJE+6rA46aozY1bArG70ezFZf4QvrsyTmz9RFRr2Xw+QamQgJhLDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4155 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series does more improvements for supporting multiple PLIC instances. PATCH1 and PATCH2 are fixes whereas PATCH3 helps users distinguish multiple PLIC instances in boot prints. These patches are based up Linux-5.7-rc5 and can be found at plic_imp_v2 branch at: https://github.com/avpatel/linux.git To try this patches, we will need: 1. OpenSBI multi-PLIC and multi-CLINT support which can be found in multi_plic_clint_v1 branch at: https://github.com/avpatel/opensbi.git 2. QEMU RISC-V multi-socket support which can be found in riscv_multi_socket_v1 branch at: https://github.com/avpatel/qemu.git Changes since v1: - Re-arranged PATCHs to have fixes first - Added Fixes tag to PATCH1 and PATCH2 - Use %pOFP in boot print to distinguish PLIC instance Anup Patel (3): irqchip/sifive-plic: Set default irq affinity in plic_irqdomain_map() irqchip/sifive-plic: Setup cpuhp once after boot CPU handler is present irqchip/sifive-plic: Improve boot prints for multiple PLIC instances drivers/irqchip/irq-sifive-plic.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) -- 2.25.1