Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6426255rwr; Tue, 9 May 2023 15:17:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Zq3huBcb/n/VBLroVyjyFInyoevNJEWF69si9YWx6YRJXMGFDPLnYqOogqkwkqDsgfI0w X-Received: by 2002:a05:6a20:72a4:b0:100:a201:83dc with SMTP id o36-20020a056a2072a400b00100a20183dcmr9539777pzk.35.1683670663341; Tue, 09 May 2023 15:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683670663; cv=none; d=google.com; s=arc-20160816; b=zvGW03HhW5enATp+ihHWdMvDI/C6MnImqCVYjPsyjCKu7RczDN78OjQmGWgdrhzxGA doXDSG9DPHf2L+uz1ZOBfP8vv7G1kh9XUUoJGhBwczSiZLjA/xJqi87NpIxQAKpLXX5R heMJDz1f+mKH71X+iXupVhIZPbbfbUExTzWG5lgb0XIo9k3XwSfJT550KA77xWgrAqtX Goy1nBMjI7lKQ4aVkUs1EXaJro+60yQ6orVKR248edYhSdGy7+VNYfrFLSUFfTeDJvfV Sfut28OA26JyLFZfX+arxOOS8dEhdPIG98XB8Tz4o1liWQGKwkBIQrBZItCVgonhcbz9 eZ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=dDyQesVulIAKivK4LjzcECDsXU9nYN7xiYGHX/QgwL8=; b=bovCJZP4GgjODGtpCnz4yj0oHWMnPR1sqdE3oInpuiB7S0FS1FvPdtB98YmuW+3WeP 8aq+r5njeB8jbLHqF60Hv8vTfspWYMYg38YgBp3FyXZzw/+IUYtV1H3jvA0OyUAvBn9K qNOjfOy5Rs+DbE0rOdI5A0h8axJPH8pRZVRMop4VIwEIfst7VhojpGtbuSZQJwMdnGRI FjR2NLGN5v4elBdm1/RiZanzQMBueFRjqn5a+N/MqDiWWmeVll4FkZ/bd5odec9aarPD zGCniXimUNvomNWNtoeWML0/5o3tS1C3FOY0pN6Y74tYYBiE3McSzhLLrvPPa71Qcygk aZDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ORf7S7zL; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b00528630f6bcbsi2556954pgb.621.2023.05.09.15.17.31; Tue, 09 May 2023 15:17:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ORf7S7zL; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235377AbjEIWBI (ORCPT + 99 others); Tue, 9 May 2023 18:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjEIWBH (ORCPT ); Tue, 9 May 2023 18:01:07 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55F003C01 for ; Tue, 9 May 2023 15:01:03 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1683669661; 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=dDyQesVulIAKivK4LjzcECDsXU9nYN7xiYGHX/QgwL8=; b=ORf7S7zL2K/FJ9EgSSdB+xfzpv5z8jk73vF8YD4/TRK8xkyp2dxrhbOohCK286TD22odNz uB5CJjYMiMMDj4JMhz3vbMuTJUFXxV38UhCcmHtQaFuOZL1/ymWbGDppbJugcYr/DUazeI fOsdaomyAPMaic6w0loXqRB3gImf66KIEesJBMtZcRWHgd5Rml9FUroiqTc3H3kciRJenM z/UmFlG5Ylr9IOH8LApFO7B4fQYK6XaGsP06UEd1Z+4h9uBqI0GDyYqqGFpsmKR06L6bjB 5tLCAONJZbmIJFHbRJpkP0vE7jw7l9LA+jr0k72dy1oJ0Pe6Bx7IDWVvzALvgg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1683669661; 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=dDyQesVulIAKivK4LjzcECDsXU9nYN7xiYGHX/QgwL8=; b=7R0TT/nhFwzLEBAAMFMfNH1GUjdXcpgZ8HclOJKb2xw2QLV4uL+4FHmOhvi+5R5s/plck8 9sKwEgIDK09ZDADA== To: "Gupta, Nipun" , "gregkh@linuxfoundation.org" , "maz@kernel.org" , "jgg@ziepe.ca" , "linux-kernel@vger.kernel.org" Cc: "git (AMD-Xilinx)" , "Anand, Harpreet" , "Jansen Van Vuuren, Pieter" , "Agarwal, Nikhil" , "Simek, Michal" , "Gangurde, Abhijit" , "Cascon, Pablo" Subject: RE: [PATCH] cdx: add MSI support for CDX bus In-Reply-To: References: <20230508140950.12717-1-nipun.gupta@amd.com> <874jom2ash.ffs@tglx> Date: Wed, 10 May 2023 00:01:00 +0200 Message-ID: <87bkityxk3.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nipun! On Tue, May 09 2023 at 11:06, Nipun Gupta wrote: >> -----Original Message----- >> From: Thomas Gleixner >> Sent: Tuesday, May 9, 2023 1:32 PM >> To: Gupta, Nipun ; gregkh@linuxfoundation.org; >> maz@kernel.org; jgg@ziepe.ca; linux-kernel@vger.kernel.org Can you please fix your mail client to not copy half of the mail header into your reply? >> Caution: This message originated from an External Source. Use proper >> caution when opening attachments, clicking links, or responding. That's also relevant information for me, right? >> The only real CDX specific functionality here is a CDX specific >> irq_write_msi_msg() callback, right? >> >> And I gave you a pointer how this should be handled, but instead of >> helping this effort along you go off and implement it differently just >> because. Sigh! > > As you rightly mentioned the irq_chip has only irq_write_msi_msg() as > callback, but there is also cdx_msi_prepare() in msi_domain_ops which > needs to fetch device ID from CDX device, due to which we are currently > using separate CDX domain. Sure. But where is that information in the changelog? > IIUC, as per your suggestion we should have CDX bus token added into > its_init_dev_msi_info() of > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/tree/drivers/irqchip/irq-gic-v3-its-msi-parent.c?h=devmsi-arm, > and register CDX specific 'msi_prepare' here; so that we can use > msi_create_device_irq_domain() to create a per device domain? Correct. I'm not insisting on that, but you could at least have had the courtesy of responding to my review reply and explain to me why you want to solve it differently and why my suggestion is not the right solution. Alternatively you could have added that information in the changelog or cover letter. So in summary you ignored _all_ review comments I made, went off and did something different and provided a slightly different useless changelog with the extra add on of a broken Signed-off-by chain. Feel free to ignore my reviews and the documentation which we put out there to make collaboration feasible for both sides, but please don't be upset when I ignore you and your patches in return. Thanks, tglx