Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1335494rdb; Fri, 16 Feb 2024 12:17:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXQVWY7ij9Mnb7d9kaKzSLIicTYS2hip3z23zlHyspQ+sdy6AkR9LLydN4KQeSlijRf2E9P5rG8lUfWX4jw4ge0eV5h9b0FiBMliyCOwA== X-Google-Smtp-Source: AGHT+IHpOOBEWplC2a4hWVu9ELEB54+D7ABW9zo/7tCKal4BN24yzUR2GUNR1ROP4lzrZ54D0pWa X-Received: by 2002:a92:60f:0:b0:365:1678:1c98 with SMTP id x15-20020a92060f000000b0036516781c98mr1094551ilg.10.1708114631051; Fri, 16 Feb 2024 12:17:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708114631; cv=pass; d=google.com; s=arc-20160816; b=fonq5tcwRB9k3ImthB8JL8kEDRAOdSS8OCg4sxVNtUKfj8MfmkZL7s1QzSpBO96nVM YVX9zaSoXyIGZnyaRMPX89i3I42mObJc2malu7RcDBTkVtaLUDqVeRF1tE1I6D899VTj wX2BTv8zbxx0qpuzStewdE0bxHEPKyD8Ij6XBUgcCEjaAqQY/nmX4QsEwAN6HYFz0YWT jq+hFmjxNULBv0R35b0QiwV2v1fQDt+T6Vdy//F3gfrgWmQWgY2M9dYs2x+BNcFpoL96 G4NUCARgm3K/dXQrD/J3M4hq4D1VfD3jYExmL4RT2uUW+ILd8+wqTiVtFqxxSkGR4Q2a uIOA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=V7j9WqHfayRaIIREmzZW0nKi8Bnarz7ICJN+nBCweXc=; fh=rCriQtwhQmVS08jLZJl9ivITmgScFIQvSeqDaPufk2o=; b=qxHOuvGDmLXJesXUdPU4jfgVoqG183k98tUo85p0zEg+s7OZ9s9/j4twr8BSTCn0mt DxUn0x2iM7XzizELIH2d5T4wLlJUdbedsLsrcMj3LCwRr8OCMqAqIR4bySTpI9ARqlEj eGOulWRtFCVZg4ToZ58wu7IRfn+NnhY1mNdMjlnxUAfw3GnCmPMAW1P7ET1wOfSfmJjC 8UuZZ0x6O+O6p4yIiOhJ2xrtnRETrRSmUi/MNZGwN8TP2OawlKm+KHk+v3NLxQOoxQw9 MFcggmo8r2z5MNGCuxzzTwDXk/Z/SMq9pLhDtugDwFM0PFC73vx7SKue6nYU/p5UbJUC hJsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4IOyeAYE; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-69280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q21-20020a638c55000000b005cd88161d2fsi377925pgn.694.2024.02.16.12.17.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 12:17:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=4IOyeAYE; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-69280-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 CF809B20B52 for ; Fri, 16 Feb 2024 20:14:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A04AC1384B1; Fri, 16 Feb 2024 20:14:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="4IOyeAYE"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Da4zfJRF" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7291E1E520; Fri, 16 Feb 2024 20:14:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708114484; cv=none; b=bNL9GY+one8htTPiRlz6mrmPLi098rrt/S5Rs+UCnBhj1hE+9fjqLfqthM425yzfjU/F5wiCrkJE9/r/8CLB4FzRCqe1LKDLfC/gy8rjYSszM2gZhSK0WmtbQDhLm10smbUoz9bWE61p4EemwbljWnBWkivfTry2wO3DIh/SOwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708114484; c=relaxed/simple; bh=rz9O3Ft4Sq9iNKhwmyORbUt4YE+nVvYLvIYmshWX/0E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=fQ36AeecPWeE0+QpfU8KEC+8BT0m2wmO6fV/fjW7rh2bu5WeIsXeP+OlPbCfGyrE8cyjdH8THTVrDpWyLtrBMIiPp94XNPSaRP5EdZsk3zctzakxOHQI0bGI8fQ+BK77BtTaq1I8boYssyo/v4XeGZUQDhJYIDwLAJGXYaKq/oY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=4IOyeAYE; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Da4zfJRF; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708114481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V7j9WqHfayRaIIREmzZW0nKi8Bnarz7ICJN+nBCweXc=; b=4IOyeAYEjUjHckRrd1S3aY4uvbscEQQWp3tmFMOm42bvd2WU30njrgMiIwPVpiO/QL2XrY Eo/+d1WwQBI9/cf+/ZHlOY0PAb5MnbCkf1RHtPZpiPvsL+/Gb+9uGeQh2f0V1XPvZ3D9xB YNywcoeXeE2mkpdfYOzELxJhVKyDzsqSRKt0l4+rOEWtIQqpWyrI3hjb4x8cj82hSrVDQO y+XKMUzsc/EtPRi2YgU/4B4Dr0yNHNzd3L2oAqYSTZl7nEr4t0KnsihOTi2Blagu4tAIBp Sa0K+tMysEGj9ASvDgGdpG7TAc+bANkrkIkHUbU8ap/WhbuYf/WvQt5c/Pk+jQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708114481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=V7j9WqHfayRaIIREmzZW0nKi8Bnarz7ICJN+nBCweXc=; b=Da4zfJRFHUQE+UmdbrPWJ8vlFxBbtg2C2O6aQ74Anm52kZ3pnZVLFYmT+jfpjjwcMLR+94 2RuTbIsMTmkjVYBQ== To: Anup Patel , Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Marc Zyngier , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel Subject: Re: [PATCH v12 20/25] irqchip/riscv-imsic: Add device MSI domain support for PCI devices In-Reply-To: <20240127161753.114685-21-apatel@ventanamicro.com> References: <20240127161753.114685-1-apatel@ventanamicro.com> <20240127161753.114685-21-apatel@ventanamicro.com> Date: Fri, 16 Feb 2024 21:14:40 +0100 Message-ID: <87bk8gcgjz.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Sat, Jan 27 2024 at 21:47, Anup Patel wrote: > +#ifdef CONFIG_RISCV_IMSIC_PCI > + > +static void imsic_pci_mask_irq(struct irq_data *d) > +{ > + pci_msi_mask_irq(d); > + irq_chip_mask_parent(d); > +} > + > +static void imsic_pci_unmask_irq(struct irq_data *d) > +{ > + pci_msi_unmask_irq(d); > + irq_chip_unmask_parent(d); That's asymmetric vs. mask(). Thanks, tglx