Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15822411rwd; Mon, 26 Jun 2023 01:38:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ59AYU8F46HOts3spJVDkmAj07nCL5ve3IYSH97b4vXvg7Ap93OuX3EI6SvcddksqTxEWu1 X-Received: by 2002:a17:902:cec4:b0:1b7:dfbd:4dd3 with SMTP id d4-20020a170902cec400b001b7dfbd4dd3mr7983552plg.9.1687768703133; Mon, 26 Jun 2023 01:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687768703; cv=none; d=google.com; s=arc-20160816; b=c8a22iLGJptGH7Pc0humiIMV3FuY2VIGc5EDmDsBWhcEPIG6cEHkyPXpqmfrrXmjUn YDl8CiEygqL9uy/En811VWOnDhG+E9sTE+L5k2V3BQS0KbzLTkrBD1wgoBcumlLMRY+d NzHeco2FtO1jo1lxNHJ6gE8vrtUouLG4IMHzhcaLwMwb4FLfNLBN1D/Bv9b2IearWhle hq5+oAqNguN78UUus+NP6sDogKlN2QZxnTy0TiKCfWB1ue9ksZGkVKE09oFsm0SYwieI LQ9iPxS7CV90gntkg5mq2W9TyVwmCF+pleGxCj26+/Sj/RUlofMjFHcGKEIXu1X6HVz8 aT0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=htaY5uR6O3Fm+Ny6C40KFwRvnfIa7NMx6aVzt5ntdBs=; fh=chby/+4ink/AmUTzSUR52FEMYB9MijCS5ETEFacThJs=; b=1FjdXoqVIayT+sPunhRk4zY5wCZtdyo0P1Ef9HKTMa5uc8B4zX4c9NiIxffKGd+qk0 GrF++eMahG1Tx5yNKF4qbmxR11ScnbQecC+QjF5WrFCWsGpl9E/Q8LLo0mlVGT3Sd021 X5HXqQ1wmxIww6jJ+xERSmsS5R+C0DZsVqYAjaFaV1MNBDr3uA8qVOl6hgnijpFlg6Mp SQsDGTWOWvVtmxgbtO8NtfgS+cwXlIVX0u8cmljcFPjJgPlqOOtNr8hwvzPahVdcOZEB vDkg5ktlV7hxe2DcguwgiKiliWhTm0ASYpQl4ggX7b7qouSQUMGCkkjDIPSMeMsex5D9 2Q6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="G/m36xCa"; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a630c0f000000b0051b9a71329fsi5007417pgl.360.2023.06.26.01.38.11; Mon, 26 Jun 2023 01:38:23 -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=@linuxfoundation.org header.s=korg header.b="G/m36xCa"; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbjFZIAq (ORCPT + 99 others); Mon, 26 Jun 2023 04:00:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjFZIAp (ORCPT ); Mon, 26 Jun 2023 04:00:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6C7383 for ; Mon, 26 Jun 2023 01:00:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 73E1B60AF3 for ; Mon, 26 Jun 2023 08:00:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5142AC433C0; Mon, 26 Jun 2023 08:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1687766441; bh=hKiV/WwYl3DxovukHZrT5iE9tPCMqgKS1pslSEaZlPc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G/m36xCa94mTESoY+9sDnJQsZnr6LxV+XbpITivos/n0cT4sF7ZFD9cdM9cB/EVdd XnG22WpvkpqZPQkBoU+0bxEZgslNIjgczTZ9jOlQC7irtznCNvkDkJSiAEdqfA8Jxb x28dZrnM295VTOsociQbekQXTdGnKKQf8/Ror33c= Date: Mon, 26 Jun 2023 10:00:38 +0200 From: Greg KH To: Nipun Gupta Cc: maz@kernel.org, tglx@linutronix.de, jgg@ziepe.ca, linux-kernel@vger.kernel.org, git@amd.com, harpreet.anand@amd.com, pieter.jansen-van-vuuren@amd.com, nikhil.agarwal@amd.com, michal.simek@amd.com, abhijit.gangurde@amd.com Subject: Re: [PATCH v2] cdx: add MSI support for CDX bus Message-ID: <2023062612-navigate-hyphen-6fc7@gregkh> References: <20230518114418.18025-1-nipun.gupta@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, Jun 26, 2023 at 01:23:27PM +0530, Nipun Gupta wrote: > > > On 6/6/2023 4:32 PM, Nipun Gupta wrote: > > > > > > On 5/18/2023 5:14 PM, Nipun Gupta wrote: > > > Add CDX-MSI domain per CDX controller with gic-its domain as > > > a parent, to support MSI for CDX devices. CDX devices allocate > > > MSIs from the CDX domain. Also, introduce APIs to alloc and free > > > IRQs for CDX domain. > > > > > > In CDX subsystem firmware is a controller for all devices and > > > their configuration. CDX bus controller sends all the write_msi_msg > > > commands to firmware running on RPU and the firmware interfaces with > > > actual devices to pass this information to devices > > > > > > Since, CDX controller is the only way to communicate with the Firmware > > > for MSI write info, CDX domain per controller required in contrast to > > > having a CDX domain per device. > > > > > > Co-developed-by: Nikhil Agarwal > > > Signed-off-by: Nikhil Agarwal > > > Co-developed-by: Abhijit Gangurde > > > Signed-off-by: Abhijit Gangurde > > > Signed-off-by: Nipun Gupta > > > Reviewed-by: Pieter Jansen van Vuuren > > > Tested-by: Nikhil Agarwal > > > --- > > > > > > Changes v1->v2: > > > - fixed scenario where msi write was called asyncronously in > > > ?? an atomic context, by using irq_chip_(un)lock, and using sync > > > ?? MCDI API for write MSI message. > > > - fixed broken Signed-off-by chain. > > > > Hi Thomas, > > > > Did you had a chance to look at patch v2. Please let me know in case > > anything else is required to be updated. > > Hi Thomas, > > A gentle reminder, could you please have a look into this updated version of > the patch? It's the middle of the merge window, nothing we can do now with new stuff. Perhaps resend it after 6.5-rc1 is out and you have rebased it against that release? thanks, greg k-h