Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp615930lqb; Fri, 24 May 2024 08:11:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWikXGsw6bckKYRfbTq8DU79zT3agJ2im0PiSYFU6tjYGjUz83o8PRn0o+sCMbdaQNSv57gGA1KV+o6t6WBah0nsMZDJPXRHZG5gwd/gg== X-Google-Smtp-Source: AGHT+IFirfckk4E+uam5Ez7ZPaQsaMSReg1nM/BW4MTrNnAB4s4mXyBDz7IKDPNfM74+C3hTe+Fd X-Received: by 2002:a17:903:2287:b0:1f4:5f8f:7c20 with SMTP id d9443c01a7336-1f45f8f7ebfmr8129455ad.45.1716563476987; Fri, 24 May 2024 08:11:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716563476; cv=pass; d=google.com; s=arc-20160816; b=vE5ArBdZf+4T4BMh5lidN5PuTwUhRKjkbHyArknFNEUxJV02dRIxlh57lQl4RIggua Gb1G6Oi+A0+Ne3D0K3DjITa6Ab/fA114zUtg4j9uQ0QWKCAB3VCciyo9Vvn4vV5pIjp4 BQl+4XEuxrT8XeL9CAJx83BOZDoNIu/mEzXZ0db+mH6kfg4Ljj30TZIqj6TAKNw7fyw4 gNY0y/zxWHiuuW+tohSo/wRwkQk7MiBfZx2IVmNX2Nj4J0oSseL3fJsRpqVZCJlG2ikT 9gSBFGBOVqiCEFajhHPFsJ2P3+zaZJ8e6hX/Lno7lgl7oQgOYpptGOQhT92GSmrjM2D5 ynkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=Af8OGgxbQV2zOwezxQcvFU86Dm2eLu88EEanROVZ7Gs=; fh=FmMUI2kYiI7fcK4ynr7uxbIxjgm5rd5AK6YQYoz6FyA=; b=l2HAd3ec6r5XeY9rcj3cHKuashZyWllIzwrIrGOibhgoiiOut5PY9imNMzAHaU9ekv YGSQmybMkWYCvzEYKyGrrCCkozpsPW/daMVYl7AtSdFRgKgZ89NZkTlfBb1Et4LztUNs s08YeiJMtILQJ4Lkii927bb2TQCcHlVneMnbZs1nBh9WZNWaOKxafcR+S9ATP54y9YKL 44okkyKrBkd1rzzxS/Q7Dz005ERcHwMhzeX/wCrGOXzHa/26IKSUyMS44FWVbVaoelFK hhyTKMGoNwlHFatm+6QcJaWOx/N7HZkR5IHBqz4qORgfo7Ru9BQPU2IQP6jZvAQOpNjg V2Vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BDBLqhEG; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-188831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188831-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c785742si15584885ad.124.2024.05.24.08.11.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 08:11:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BDBLqhEG; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-188831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188831-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 01846282BD9 for ; Fri, 24 May 2024 15:11:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C0B512D1F6; Fri, 24 May 2024 15:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BDBLqhEG" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 510AF12D748 for ; Fri, 24 May 2024 15:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716563436; cv=none; b=qBf0Mdva8bcy2Z10VQvKSj80H/Kh2Syj2nAgiPbafT7qYHJj98BTlqtZNRxZXW6UIrBE6qdWqcOQLrCIlK6vCScISQoIZ7JycDRn+lfy79kamxVlMttcu1pd8I+qio3jchKzL3AS6mJtd1ycAeo9ZmOxu53BUqK2K05l02Pt8po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716563436; c=relaxed/simple; bh=PUnc9znH3XnYmN1qWdPzarIaZgPvGA08yivr+HVT7Wo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b8WdCxXu5p2DUznnxww4TkvolgS/uuAgais/MHApOUqWsd5fWWamcHhLum8/fpv4xQY/ALwKhX85u0XDvtClgq4HRPWXKrWwBwei9dhudzTbROBQB+S1rbFaSCWfS7zTVjPms4rGMYoZjcatpKEMlcqDFDQFYCp8cfP2LsJupMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BDBLqhEG; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1f44b59e234so6916465ad.2 for ; Fri, 24 May 2024 08:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716563435; x=1717168235; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=Af8OGgxbQV2zOwezxQcvFU86Dm2eLu88EEanROVZ7Gs=; b=BDBLqhEG4h48tI4prL7qqJx/vAOxk6A795FggwFPv0sYtAZPxG4LOo46+CoNn3+0H6 KVSnCFVCnQ0C2PRzbMS8hpbFJ2YfLOuiXQoRpUZIo+LtaJnMeN0CfcTPxuOgL4aqEzW1 vKbZSQD6hbb47urCxMFZ0mxcA1PSEF4foBxvAOobOxaZEmZBtTD4hvIm3aTLeIqsaOcK cNJZGo6OhkM0kfh2+uaojvFcjz7p8u7QuWc90KNpo06aieuE25Brei79lFXeNwXgSNDJ VH1mWwluwIkLXkiRuYL2ohqmHngN4mmFLuifaoPqQp5dQuxXqh24cKUMmnhOdsVIu+XK gJ6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716563435; x=1717168235; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Af8OGgxbQV2zOwezxQcvFU86Dm2eLu88EEanROVZ7Gs=; b=hsfAXk3yaTVyqYF6qtwD9f327Lz2R2IiKnxkurH7RfT1+Yq6Z6VFvQiZP3uk0NlEll W0VNh+7QUr4z+TmTA722fOSre5yxP3YMLGWbMugCySH4LWJGHHuODzK+T/HT2TixQ7uV GQpATWqLWNmj+ebGGEkBDsHCZp21q77bqDmODIBpW0ay9vWsiI/iPCI3dLtydQaw+b1d AwkiU1D9Zwr85pd3eMD9VGRA6c6o3ODfONlQzIGZtM4SsduEw0cExRRjYIywKTsMA8CE NyNcySTT0W73XGgwSrX40HkHIeeiU6UChdD4QdEeX9DDm2+9MtOpZH2mQ+jrwNLSsXvu uE7w== X-Forwarded-Encrypted: i=1; AJvYcCUmYyO6/wpmmg5Z6hyQFWOx7DxhCxxQi/TwAYJy6G0TLS0nyaaYyUWqqrUhwAVE0c6s447o4gyP0tlNsDLkDqG+Xe08TKVfG64u0Q/y X-Gm-Message-State: AOJu0Yya7eH6aX9tMsfEf9+igvGN1afiemkHbVoaifdSVi8SDsLG2mJB JBLkt1S/RrxGrv+7WXzn6R7bLUKR9hsdMzhsIiN9V6tEJo/cAuGG X-Received: by 2002:a17:903:230a:b0:1f2:fe12:b79e with SMTP id d9443c01a7336-1f4487029cemr23870065ad.17.1716563434513; Fri, 24 May 2024 08:10:34 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f44c7535d2sm14989705ad.22.2024.05.24.08.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 08:10:33 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 24 May 2024 08:10:32 -0700 From: Guenter Roeck To: Palmer Dabbelt Cc: Conor Dooley , naresh.kamboju@linaro.org, linux-kernel@vger.kernel.org, lkft-triage@lists.linaro.org, regressions@lists.linux.dev, linux-riscv@lists.infradead.org, apatel@ventanamicro.com, tglx@linutronix.de, anders.roxell@linaro.org, dan.carpenter@linaro.org, Arnd Bergmann Subject: Re: riscv: irq-riscv-imsic-early.c:52:9: error: too many arguments to function 'riscv_ipi_set_virq_range' Message-ID: References: <20240515-zen-calculate-289cfb90cd65@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, May 15, 2024 at 10:05:59AM -0700, Palmer Dabbelt wrote: > On Wed, 15 May 2024 07:36:33 PDT (-0700), Conor Dooley wrote: > > Palmer, > > This is the issue I point out to you on the call earlier: > > Ya, thanks, I just hit it. Looks like it's 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"). I think all we need is > > 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); > > as a conflict resolution, which IIUC should happen when Linus merges my next > PR. So I'll try and remember to call that out. > Unfortunately it looks like the conflict resolution did not happen, and mainline builds are now affected. Guenter