Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp934573rdb; Sun, 18 Feb 2024 20:41:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXIxxaMkYGr86qD6vTFbPc+erOYEHZpNgDoPQOSlanRLwNCGepM1j5F8L4aSmlfPWW8UC8SWT8Z7EuUK2mwYQYd0fhG/Dx9Vaie7d5V0g== X-Google-Smtp-Source: AGHT+IGNv9cR9821xUGACSXfpYE/ZGZ7sJdAFOSrBQPc+YkZRxJxu7cV2FXYWe+jhAIGU4xjJxZZ X-Received: by 2002:a05:690c:a16:b0:608:28a9:5cfb with SMTP id cg22-20020a05690c0a1600b0060828a95cfbmr2348966ywb.16.1708317693314; Sun, 18 Feb 2024 20:41:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708317693; cv=pass; d=google.com; s=arc-20160816; b=NtA8qP5spRC/FVzlAVjkr/zy4K6CFC3IECYl2RALmmE+V7YdiTdAXIN6AAG+F5P1xt tYu5GuGlGxXBCsUIKtccA0tZu38gZfpe5dbglBNmtljjY91qEA0m3PI/UWWbV9Is3GTw QU+Y6sPWP0JeBZrWz7Nn12EqNc3AdDX9j8S5lQSuvilX5pNE1qsAyQ7JMO9dIZzUcMWd lFU36eRg6P/MsJ5j9xVEJA7Mwyo71SbaQQMS87l+D6umUW+eV47x2neNr5FKGik/WwpZ BkN9TI+tj3QZxR+vcKg/Ky3KtK+DZ6VkYdYfea+ncw+PhsYzf6z2VBKh+FO/NuXIvaEj 6xSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=970f2/ePHEzTAJOzsFgotpGi303T4B4dyp5tQNQW5ic=; fh=AjIKP1iHdJS/lW/yP8PM5U8e7IhmtwN4fHPRpUicXDg=; b=t8She72EDb3ImjJeTWeB9HPMkGklzLZGrQMXFq8f3yk1U2kAHpOEPaPi8rjprUCK1b apu00wjw5U0ykr6ehlNTbxE/Ql0fudiFU3yZ6AtXHXkDgYDHoThz+mvOZzfmOXZQs/EA u/i3a7NOJNuc9UFCDHt7ZisHQCZAZHZWldqGMy6ggXSymj1+9G4kYXRRTuFqsgnHNPNA fXqx6fv8uiphHcdzzhcEAR4yG1RiGaDNGBT5cbyHEb3sqD2rrjhxsxBkD6aCRsO6EpCZ RLNhc8A1ssBd5Hptf/iIKq4B5T+rnYVes8UIchZOemcrwbXhG6IR6bVYBmrlqkMDu+Wk h4iA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=RJCXF6o2; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-70712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70712-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 f24-20020a637558000000b005dbec0a0adfsi3709723pgn.320.2024.02.18.20.41.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 20:41:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70712-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=@ventanamicro.com header.s=google header.b=RJCXF6o2; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-70712-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70712-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 F3321282B1F for ; Mon, 19 Feb 2024 04:41:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC9BE1CD1F; Mon, 19 Feb 2024 04:41:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="RJCXF6o2" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 50B5D1C2BC for ; Mon, 19 Feb 2024 04:41:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708317685; cv=none; b=m4+oywC8TuO1ILQALdH7zyCBS1fEQwF5n3nn5hKIxIS/+2B8UaKk6tHQxPbze3BIvaLYGVGbAxuz8vx+LMfZRZ4Lgyt5j2l+X9is5FyqksmFEHrCDhattUn5YoRWd7F16x+m2boBkkWVQ9IS1kkFf3+5Gb40zpG+rfLxsxTXp54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708317685; c=relaxed/simple; bh=4LdoFdA4gax5ChDVZdlPxcKkkWuMB45j9OVz8iTB44I=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LM1yctBVDWFfLqvAU6iiVkiYAH4Xt29P30Ibia+M0L4T9Wma3q490/UCKfrjeIuZHj0LXF2Xzqf+jpGXZI+1hwhhqgnBm1ayX6Bo2M0XR+CUjP6KyiEAJHxtpPUDO664mATblL1L4QuhORfRkkkPgNSSEArVbPDbL+RO1XIOjVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=RJCXF6o2; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d23114b19dso11424561fa.3 for ; Sun, 18 Feb 2024 20:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1708317682; x=1708922482; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=970f2/ePHEzTAJOzsFgotpGi303T4B4dyp5tQNQW5ic=; b=RJCXF6o25SnTpbVoCECtzr0EkrHO09ZOOG7PuLoufT7dUva1R+R11M6bBjsWEPP7Mt Wxdw7loJuGc2jtX23k1NeMwJmPwwKJPwiuA/F2H4iWz3fen4wtRSYpbXqLrj0Mj11V9w YrM5uZJyrxUr6JP4FPiHBkLwtD1x3BbhHe2VTgp6YReiCEiSfxFKzVJyq2Z8HoxARGUs 3Eh3syPa6jZbUdCHsfS4ZTDXjX0uX1Yvbs6NrW/6HX/A6FVjYKtCHBQ6bL6EiPkcJtjv Q3X2MEJM4sncNP6MNBdgopGpIfdQ/uMjtV+XOUiZd4Jjvr8I7ia2g8wp6Txz9oI1mfG8 plsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708317682; x=1708922482; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=970f2/ePHEzTAJOzsFgotpGi303T4B4dyp5tQNQW5ic=; b=RRiLijIk5mRfRJx/LxeBftIQSGtzqWj6r2MIbnilGDrmOWcf7c8gOpfnpzp/QD9Jh+ LFPkyNZoViI2O4jXF0r3ZNaDzfVUn84HPqYbkyLRIjPBePA6XgAsuspz0mPxt+xT7fU2 7msjDMufJgcCnkkCjUipabT3abQpa8jpgHOJKwjBUckZyxoECGDm54tW38173F7aJVu/ 28DoPW60KxF9IU97q3DDyelgyQWuTc5IFlRzQ81F6QzVnroCabVfqRID1F1HCnwv2Q0f zbrH21a1il2M5N2l8tDwZCazrgHdPXATmSxGtZmjSSc5BoXhLmqWnodEaxKKLj3jnbCY WYAg== X-Forwarded-Encrypted: i=1; AJvYcCWAkPgoyWGG/I0EEI6ISm5DixBVk5IXGxc7M47j+qYa1IJkAcjhhS7AZ/2DwTQpxCp4W2jnL7LYSHD6oGfW2N9Ai/UifxtYz3We2ynv X-Gm-Message-State: AOJu0YyOZ9vuhyawszw3xlB44rmZnOZoZvACANJVya7BZEVM+IV1W23X ZSypvYx6z3/Qimfe4WTqbiFYahW08c7jGKR3SXiPyZiQNuzb56K0qEXFJ/4Ij0YktAAIxctp4hk pBdkxX1UM2lD8wHtYUT2vue+cwVzN6RgzhNmsAQ== X-Received: by 2002:a2e:3801:0:b0:2d2:2b77:43a8 with SMTP id f1-20020a2e3801000000b002d22b7743a8mr4474665lja.14.1708317682305; Sun, 18 Feb 2024 20:41:22 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240127161753.114685-1-apatel@ventanamicro.com> <20240127161753.114685-21-apatel@ventanamicro.com> <87bk8gcgjz.ffs@tglx> In-Reply-To: <87bk8gcgjz.ffs@tglx> From: Anup Patel Date: Mon, 19 Feb 2024 10:11:10 +0530 Message-ID: Subject: Re: [PATCH v12 20/25] irqchip/riscv-imsic: Add device MSI domain support for PCI devices To: Thomas Gleixner Cc: Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Feb 17, 2024 at 1:44=E2=80=AFAM Thomas Gleixner wrote: > > 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(). Yes, this needs to be symmetric vs mask(). I will update. Regards, Anup