Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp548344lqp; Wed, 22 May 2024 11:56:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVl1ABvE6g7CCAiSFxRZnoiMeYAbW8VM2+LzHE8Xrbq5AhkDQjR3ZSSEkQKpu31YYWJBB0RURKP0zZSOQgbr14Lj8oLqvvYSZRx+qnuRw== X-Google-Smtp-Source: AGHT+IF4zrmgfA1IS79U3zf7g/tuYdyTWYax6fNUHh1pRGJExQlfHReumSEmMIdvW+ARM2heb5nD X-Received: by 2002:a05:6a00:1788:b0:6f6:9466:dc6c with SMTP id d2e1a72fcca58-6f6d604d63cmr3093667b3a.13.1716404181072; Wed, 22 May 2024 11:56:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716404181; cv=pass; d=google.com; s=arc-20160816; b=wE6QHUBTUWG6mAwk26b0hpaJknZYNmbH6KeU6ZBUpz59lBV1mfQLa/aM7htGj0qsua pjfDhbRBTqzg22hZHpq29e2YxtXbBHIimoB3HIFg8qv4CXqesfhHol93SXBLmr13BkHx qjY7ZxHTxtVXFfZbaMaeeW65AfaDTtrfI15D0wza3P4Uj/8GfEhc2njihjSPc1FVZu2p Z8gLLI6GN0yzll5p1AIs3b8Y0aRQmrrvK6bakeFqESgzr0Kl2BBwnvQ6iEalkm8Iqj9C HSUsMVQUOYNYup1mpj/ZMFf1tekr4hs9QlPTBxq1cZWoXjTLgJu2o//hp8zsVsEAW5vN U5lQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:cc:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject :dkim-signature; bh=dnzy+P27CG9g1SjT29AHyztBT8s8Vr6GnIB5bhcdo10=; fh=3T0Tz6BIdR4sL0cpJJt9xNoHyvtXQUMLLdTs7BgWUuA=; b=qg1eOHnuHtCJVlUeh5V0iQZm28GutroQ5UWgJsMEwVybPe0bWDHP9PfDGWKtXBVoYU GDX436E7MpqXdAVhZ+OjPkRT/n7UPtLvAQqTv7IyYnZfkTjMcPesm4b64ZASxGpoDjrI Lx/Ak3PYVeB7ROxS9JprGPWQNYYtl4ozrxX/a81TynkmHgNWxtO+2RnR1jUwf8uYCUCN NkqRuw+OYXV1GIXunpeHvzWf68bZ8PLKRLIboZbQ4ynKNghw+JuO4igWef9l6F2rrhGT qcJYt4k3h5wCVMzsgyDoTGC7TpDB3riCxj1lBkmVxQwqaeT5U3CZst6cMekK2sMyIcOD wzXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=DNbBbZK2; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186631-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186631-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b51886si4133121b3a.393.2024.05.22.11.56.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 11:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186631-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=DNbBbZK2; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186631-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186631-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D4310B21727 for ; Wed, 22 May 2024 18:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5DFA14601A; Wed, 22 May 2024 18:56:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="DNbBbZK2" Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E92F1BF2A for ; Wed, 22 May 2024 18:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716404168; cv=none; b=bx1ue7ztAKSrAVbPzxU0Ah/21qK1UAQgETg9Jm5BdxU/bgMcK486xfbl626O6RoDhas2iBAjItyJtwHLc1NgG5fPCTRpF7WwHw1eKrqbEVYuluxGFJbUYvtPWpqOgwim4NKVFmRp3qgnVk7tRIuabhye91A29g9Nrzs9TVZ78NY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716404168; c=relaxed/simple; bh=xSNNEFl/Or2oWrm6xKX/wFgWrfyMQSIVuBPLnP2I2FY=; h=Subject:Date:Message-ID:MIME-Version:Cc:From:To; b=Yatdi8TQLRLIjl/qZyeS0JpsCWgSbtSX4yv6eHXoxIGn0qf63uF5KVdQ7ofjPceUQ0MLsiG/uRyRN+RrGRfNF5Q6aBd3s1cHlR8oYJn8QjrKekSckEvXgd2//IjppxR8fndsrR4dOFp6g751ZcaDLFjtJx/vlFxWuFcUiGqHoXU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=DNbBbZK2; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2b4a7671abaso1416972a91.0 for ; Wed, 22 May 2024 11:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1716404165; x=1717008965; darn=vger.kernel.org; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:from:to:cc:subject:date:message-id:reply-to; bh=dnzy+P27CG9g1SjT29AHyztBT8s8Vr6GnIB5bhcdo10=; b=DNbBbZK2fAtW/apXXzUe8erLqW49i2mF9hILN2Lw4ZI7QzhLVnXz7yhy4/IL+kgA0A CTyplxgsnnIugM6frU4+cKo1ZKBUVURg1z+4IDmZcNFfcldagqfDZhVKMh7ZllS7LEgl oYt6ZD+GnejFctU4gaXJNWP3CCiqGQI2UsNPd2Iq+GElpRtxNmjcWrYm7L5cOpwZKBAK uJlwgVHdL88dLnLVklZHx8zs+EKpzv7hAbQz6GpfMtnu9udj7AvxFNokh+OkLRHSY52A xXMxv57Ro4YMVyvz2sH/EBoA/X16e7Pj4vAIuJ+vC20zkVAMABOv5WTjFQNMPLEdbnr+ XYhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716404165; x=1717008965; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dnzy+P27CG9g1SjT29AHyztBT8s8Vr6GnIB5bhcdo10=; b=M9CCYGjc4J/3L0VWiruAbqV5Zx9NeESW7RKd5B0VZaoIqKh8sTSY4ffyR7UnoxOoOl wqg1mj5tKjS/A+iyctOcxEyWc1y1M8+DraIphZk0ntT0LcPZ4GTP6is+113++ICbBs9e cuyuTSNT4yr+vHeaj8Dpsgt8OKZzW5U3nCox6p702eAeD6MavziwBIv9R5k0jxuyQQ2n 8jnH/jqUt4dBPUXNfgy6wBVm7BSoV57PwZMycpogTWqRDAz1R9hB6lCNobFbO12P4UVN u37B5LcMu5wIuM46pk7AqwbxDcTVCoDeiTffbYWquyuIhIm/Mf5YkN4D1zQyzPjelFuE 0dFg== X-Forwarded-Encrypted: i=1; AJvYcCWEe1o0rqortM6DqdFyeQNPdAlFl5EwOGWfuS6pbtYVSzJx9MUaVtEn7KrHvbNokXpssrV51hukvECmPSYY0k41AQ1Qh8aDMUVmI2co X-Gm-Message-State: AOJu0YzM6EVqzI1D9D3ZWzylGLSEMfYQWQBCGCs5jhZe6HW9E0CGrSU4 jazzOlB0aapY2chjjNmGA+C0lFZko3i3UxduJg+t/RLmI9fFJk2gkTsAQc/mcck= X-Received: by 2002:a17:90a:4315:b0:2bd:4759:46dd with SMTP id 98e67ed59e1d1-2bd9f59ec18mr3032141a91.37.1716404165448; Wed, 22 May 2024 11:56:05 -0700 (PDT) Received: from localhost ([192.184.165.199]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bdd9ed3812sm115120a91.11.2024.05.22.11.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 11:56:04 -0700 (PDT) Subject: [PATCH] irqchip: riscv-imsic: Fixup riscv_ipi_set_virq_range() conflict Date: Wed, 22 May 2024 11:49:55 -0700 Message-ID: <20240522184953.28531-3-palmer@rivosinc.com> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: anup@brainfault.org, tglx@linutronix.de, Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , Tomasz Jeznach From: Palmer Dabbelt To: tglx@linutronix.de From: Palmer Dabbelt There was a semantic conflict between 21a8f8a0eb35 ("irqchip: Add RISC-V incoming MSI controller early driver") and dc892fb44322 ("riscv: Use IPIs for remote cache/TLB flushes by default") due to an API change. This manifests as a build failure post-merge. Reported-by: Tomasz Jeznach Link: https://lore.kernel.org/all/mhng-10b71228-cf3e-42ca-9abf-5464b15093f1@palmer-ri-x1c9/ Fixes: 0bfbc914d943 ("Merge tag 'riscv-for-linus-6.10-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux") Signed-off-by: Palmer Dabbelt --- Sorry I wasn't clear about this one, but looks like it got dropped as part of the merge. I'm happy to pick this up via the RISC-V tree if folks want, but I'll keep it stashed off to the side for now as it's just touching irqchip. I'm planning on sending some more stuff on Friday morning, so just LMK. --- drivers/irqchip/irq-riscv-imsic-early.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-riscv-imsic-early.c b/drivers/irqchip/irq-riscv-imsic-early.c index 886418ec06cb..4fbb37074d29 100644 --- a/drivers/irqchip/irq-riscv-imsic-early.c +++ b/drivers/irqchip/irq-riscv-imsic-early.c @@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void) return virq < 0 ? virq : -ENOMEM; /* Set vIRQ range */ - riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI, true); + riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI); /* Announce that IMSIC is providing IPIs */ pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID); -- 2.45.0