Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp336943imu; Thu, 20 Dec 2018 23:29:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN6vyQwJ1yx+lgnxOED6azEhajNaHLzpltpjnGiRDbyIuOclR5A6ZjABr8VhdcapiNi9PTgM X-Received: by 2002:a63:6a05:: with SMTP id f5mr1351792pgc.72.1545377384287; Thu, 20 Dec 2018 23:29:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545377384; cv=none; d=google.com; s=arc-20160816; b=KcTroibHi3dMFH+w3zrTtiRV+gFIIKxhkIiWbWBPpwaL6luFY/GSQZQzsDIgXEVO6u 0DOL2S+SZnY113JJ0mcuEwQucSrQs5gOgvJNERE4Oebuwze3dp9N0JcVezHxjdGWPvyp 7IKp7KnIuiyvS9ud9LSdXRvvB97p84LpgGGu41Em/2GCXrLwY5U4GWHbK+VzlkzVEt+u aD246cUjOH5uKpzUid1Ridkfbfe0/ZR94Pdci4jL6AMnW9cLmQv0ovxkYiBQAQrQCHlM iTVm7MWC5qLi4hIK+x6bruUd2e45Si6dX+UiocTEvA39KWz0DzQvK8SP6Q9lDojC/2xD EACA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=oTBSe3eBPo/GCYBpxqqW/LZuTvviXbX7laF7qYlMa2Y=; b=VkDpY1Axs9PYfrSOtkgmsJzQ6q0gioDaFZHE0Ku6AYIQPSLqAOp/ggQJBz8H1Kd+D5 7YAqrIR2O5961120YdlyvIsWUxZEUg7OM5AqZ+67JXUklQLeyPgzOyo1yhgzC1e6Pb4Z Y57AOhZdI6ElLLbGwWjoYaUJMmILSKRA71xZNq4cnKEqm0YUuDTkgemMMhq6AlFlAYES SEQC/JM2wEhhzMUXEbS2hjadQdxbkJ7HtqbZkXy3b258xqSfe1S3bh6VjJSSodKd0nZk qsRapvUIqfMhU2pRcU2vV3UTxrJJQCHVYqw5SNHrFB6Fg8AeI1NZJtHZND0JsaYapz9z mVbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=L3AgAu9o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si20103685pgq.553.2018.12.20.23.29.28; Thu, 20 Dec 2018 23:29:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=L3AgAu9o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388830AbeLTUki (ORCPT + 99 others); Thu, 20 Dec 2018 15:40:38 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:32929 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388182AbeLTUkh (ORCPT ); Thu, 20 Dec 2018 15:40:37 -0500 Received: by mail-qt1-f195.google.com with SMTP id l11so3375237qtp.0 for ; Thu, 20 Dec 2018 12:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=oTBSe3eBPo/GCYBpxqqW/LZuTvviXbX7laF7qYlMa2Y=; b=L3AgAu9oyxmnRfSqnvcnaycoziTA+Mzlq5bOXYSqRifR1isBO8hg0r1C09S00TMCsr OpZwSIV4b/eAhc4TE22IW90V3PJG+RyEl0eRd9z2ZVNY1yw/RZ093iAY1nF6bDbKA0x7 sWZQJZJ38i2G+dQQiSqiyKtvSnIrLh4Z6et+w+cixrp0xuRLzUD4aaw6c02F71244LSF +Jgc8wsKsaoD6hs9wFKxvYT8ZfhTLFRNpOB+T58Oe6uRf9MwOSJFN4XlTgGm3CGy2IhR 0XvPEFHS/F1pALmAjJHAlBE8Sz8F4mcfvT+MGhTh2NfYx4mBvfo/2g73YCwxGKBTAA+5 z9nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=oTBSe3eBPo/GCYBpxqqW/LZuTvviXbX7laF7qYlMa2Y=; b=LiNOW9hXwNo89bBgZ0m36SvJ6+9zyOX+LtwmQIIhCpYgMoBryQrXOS4HF6bSh26Bsr iE4s4OEludU9t6KBjFCkWO3I4DscnkNxhnSxmKhG9vog4OaZBTWgBGpQX1Nv1cOK0Xd4 vpxN42XQulv9kpiJe2yqg+oFUvj3YwFcetryJYJbQXVHkneZs4JEkxpcyCVnDY5IKu+S NROkCf25kun46sfv7XVs7iqApQLEZzk7cFmkqDHzP63agpdGhqqzQAKUiRFvlhwyefuG KKN6lfbuPr+mfyccWgKl0IPWhcg+XLNYsiRcq4nBDqrSYBojKYLb7/VTwRtY5IpF3jzP pJSw== X-Gm-Message-State: AA+aEWbcPUoAuTJc5bdvMAuC8sMUX/Q/Zg2Ycyvv7bRd0U0Uwo/U/vJr +K/eQQs851LyH0OsAVqTDapr3Q== X-Received: by 2002:aed:3482:: with SMTP id x2mr26720808qtd.72.1545338436434; Thu, 20 Dec 2018 12:40:36 -0800 (PST) Received: from localhost ([2601:182:c980:96c:8dd:4488:90b1:59d1]) by smtp.gmail.com with ESMTPSA id 7sm7304915qka.38.2018.12.20.12.40.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 12:40:35 -0800 (PST) Date: Thu, 20 Dec 2018 12:40:35 -0800 (PST) X-Google-Original-Date: Thu, 20 Dec 2018 12:39:32 PST (-0800) Subject: Re: [PATCH v3 0/6] IRQ affinity support in PLIC driver In-Reply-To: CC: aou@eecs.berkeley.edu, daniel.lezcano@linaro.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, atish.patra@wdc.com, Christoph Hellwig , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: anup@brainfault.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Dec 2018 01:37:58 PST (-0800), anup@brainfault.org wrote: > On Fri, Nov 30, 2018 at 1:32 PM Anup Patel wrote: >> >> This patchset primarily adds IRQ affinity support in PLIC driver and >> other improvements. >> >> The patchset gives mechanism for explicitly routing external interrupts to >> particular CPUs using smp_affinity attribute of each Linux IRQs. Also, we >> can now use IRQ balancer from kernel-space or user-space. >> >> The patchset is tested on QEMU virt machine. It is based on Linux-4.20-rc4 >> and can be found at riscv_plic_irq_affinity_v3 branch of: >> https://github.com/avpatel/linux.git >> >> Changes since v2: >> - Fixed incorrect address of enable registers using sizeof(u32) in PATCH1 >> - Retained comment about need for locking in PATCH1 >> - Split PATCH2 into two patches >> - Split PATCH3 into two patches >> - Minor fix in commit description of PATCH4 >> >> Changes since v1: >> - Removed few whitspace changes from PATCH1 >> - Keep use of DEFINE_PER_CPU() as it is >> >> Anup Patel (6): >> irqchip: sifive-plic: Pre-compute context hart base and enable base >> irqchip: sifive-plic: Add struct plic_hw for global PLIC HW details >> irqchip: sifive-plic: More flexible plic_irq_toggle() >> irqchip: sifive-plic: Add warning in plic_init() if handler already >> present >> irqchip: sifive-plic: Differentiate between PLIC handler and context >> irqchip: sifive-plic: Implement irq_set_affinity() for SMP host >> >> drivers/irqchip/irq-sifive-plic.c | 143 +++++++++++++++++++----------- >> 1 file changed, 90 insertions(+), 53 deletions(-) >> >> -- >> 2.17.1 >> > > Any comments on this series? I also haven't had a chance to look at these yet.