Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp391033rdb; Thu, 5 Oct 2023 08:49:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFiyr/VJrxfwGnl22Ro+4xEnAZGTjhvPbOX7evgGoHM7VwPeGhOpx7GJhDcD+787KBRE4XA X-Received: by 2002:a17:90a:ea18:b0:279:6dc6:ba22 with SMTP id w24-20020a17090aea1800b002796dc6ba22mr5284298pjy.30.1696520967207; Thu, 05 Oct 2023 08:49:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696520967; cv=pass; d=google.com; s=arc-20160816; b=pvx9Rtu08rU/3pXUiPk6FJKzLe1D692slWa3ZorKJ3AJtAEx48CIPvNKd8cIfcg5T9 zy62QJstgyO/1WglVICMxRNxzG5Rw1pQvkkyVEKYbShLIf15hQO/krqGNa0tC4VGLMuq AyDPbe2AF0d+SraXrQihbHVJRTErenU4ymxOu2V8D1tDQ2QvTKZu7PvCO6TAxUT4IuLf RNAYuhti2Gbr+/QAleEdmWCkY+/IIZgveCOTQvq84f8ONfzz+5cjmWGufca5LJ1tJggG dKHJoWObo84yqBD9fY2GITyrkL21RmFqPmcbSyJbb6WcWznYQ7UYwEbZVkZe43If2qK4 WP5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=5Shxd3te+WcLJ7XLJ92NfGiYijl9svoF7tmY0meL2RY=; fh=0SaMIdizhNc+OTQ7skiqoFYIDjDCKutdBqFPt4ofSdY=; b=hDVA7Am9dlV6pDxPIAtYH9GhZyL6a54xYXOvmUkdOyhTi+5m9CpOOO+WlujrgjsSz6 WRadIlZDTnuCYzm7djkPyDKs8SsRAyu7Rmb9EHTn8vYsAShXELjm0fSr2rpLQMPhKZip GEV8UQQ+ujwM0hlF5+cylAr/mCYiqKNlMpgjFbrvwRsqLTeGuLIhKOBjadk6eOV0tXN9 hWYSAdp2OpXEKEHdoUvRBCv3QSJiEYA95TZdR9PoWIbmoVos11WCvhCbBoVXHbku5Ex3 IkRs5EY6kQJyM0FhQhMoSfLs3Gs7y6QkoPE70z2hO1JtkcWSETIFEJrRbDylz+W3VgR4 1lzw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=yu+99clG; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id mp2-20020a17090b190200b002791709433csi3867056pjb.99.2023.10.05.08.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:49:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=yu+99clG; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E352B8377253; Thu, 5 Oct 2023 08:49:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234244AbjJEPs1 (ORCPT + 99 others); Thu, 5 Oct 2023 11:48:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229764AbjJEPrn (ORCPT ); Thu, 5 Oct 2023 11:47:43 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2040.outbound.protection.outlook.com [40.107.237.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B93D5259 for ; Thu, 5 Oct 2023 08:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=id/eqDEcqQ+adXaNFlAnushUnXE/KyoHpzBbuHsAKFe1XjE5u+B3yCVxY2Z1nx9xC9jYBUUFUEimGMUHifabZgDmkoSZI3DXu7Wgib1YrqBJjkrQ6vTqCenNmm5SO8T8XSeYktp7Cs8DZOOdpfYIgwptPeYSPyPkpisjVBbEumgPDuOeTGmL6AAeMnuaY/TrT8owzUe+ViSZbz5/MNAopCblgKKBDt1aUD05Wwap/3Ie8nDon9grrpuViGMq+2/ApNhrIwl9mzDkKQNP7tD34v65m98Y/bxuHxBcwUy1CjHDlsw1fJUZDk4BB804lLyWUg76RtSZFwKXhHUdAkQrLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5Shxd3te+WcLJ7XLJ92NfGiYijl9svoF7tmY0meL2RY=; b=BfDHJ/29sdJGHnoN591fGVdRlF7bbKc17MvS40MVSO9KRfS1Hgbbo/7iyW3lHJ6DNTtAFST5j46Eb56IvmhGy6qmdJLLUR1KNNqnHh1Exfg92x2+PGDOMhTCteiKGrPSUXOlVC1U4FlTrAp4S+4DS4r4lmLt7YRCPGol6AC5hAZTTcKodYpCRkw0yRSsDk3SvK4XYgUZM+nJtpPXARdAC0s70kiSVrXaNNfOZs5piDn3lem/422v/PCjsKYFiCHT9M5gWI9m2F6XCUTg4JPBBUuINHcWOvMk8xhw/T0tJ38fKz8y0Ns1NlN4p6WDC0npn4KywFJToHfos5fJqG/ZSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5Shxd3te+WcLJ7XLJ92NfGiYijl9svoF7tmY0meL2RY=; b=yu+99clG0aCAkTqVK6dCNqGhAaLy/L43bbnf5CaBKKYwU7znVpyqQn/Yko9eWOHb9pAZ56Q7dO7qVsmXvZGPbsGpGOp3Fh4hLV6yLgNCbxRuH7zlv0NiZqvVqpkq7BFlyG+td1LIuoNEjGGapqRwnRmbctqvohB/6/8ksloGH1E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) by LV3PR12MB9094.namprd12.prod.outlook.com (2603:10b6:408:19e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.33; Thu, 5 Oct 2023 15:05:44 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::a652:eb45:86f0:f68f]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::a652:eb45:86f0:f68f%4]) with mapi id 15.20.6838.033; Thu, 5 Oct 2023 15:05:43 +0000 Message-ID: <99d707a3-5274-1603-d0ed-f67ce83b7e29@amd.com> Date: Thu, 5 Oct 2023 20:35:28 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v4] cdx: add MSI support for CDX bus Content-Language: en-US To: Greg KH Cc: Thomas Gleixner , maz@kernel.org, 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, srivatsa@csail.mit.edu References: <20230911135259.14046-1-nipun.gupta@amd.com> <2023100531-matron-oversold-4a73@gregkh> <87wmw1p4g5.ffs@tglx> <2023100547-retool-chamomile-d581@gregkh> <51b6606a-fdc1-de11-2260-863ac08071fd@amd.com> <2023100531-stick-cupped-78f6@gregkh> From: "Gupta, Nipun" In-Reply-To: <2023100531-stick-cupped-78f6@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0041.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:22::16) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|LV3PR12MB9094:EE_ X-MS-Office365-Filtering-Correlation-Id: 21fa99ce-c2f4-4aee-de9b-08dbc5b48be8 X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WAfQKGG1DVnpqM+98q/cX9wHF7UOUPZXQq14fn64kvZzQOiLYyD5/kIK8dvdqMpUpW/Pv2i4Z4xDq+XHHxXGvWWnn5X59QY+PkDUvFlP5RDrTlGTglTH7rnuygyYnnZcLK374Fd8mtQNSyK0XQ7C9XGsnc+4axBbdyNEvszQtMO1HAGFsJ6oF2i77/eYmmcIshCMIFJomXoxwF3rPcA4H1XWIHNXvT7Xr1fdYBsXnERTo438qV/EUzaUKkhdHvXH7SHIC7atIi6lXs0amE689uPfdaSgjqu4veSSGUJDmTe7KvBOBS70wBiKW2MrOugVaUcO9fbWSzSwaCQLZoANM7KDWoALWH7fBBngfuLWW3MDWcz25mOKrrkvo8Cck1vCw5cZdj8nGbimOo8te34DEZOR9tbSlLi2V4PYkdSkI7JQzNBSOVddsNa3wmlM79P9Ouza8lwnOuXkJQfKBFqLPXeXvnTjwDxQN0evJxxW1iJYe2LyyjsbIbv2w1Rr7qs0rzAhUmar1yS9+TaCAvLl42CkCFoh0S374nj7xhb/58ANTu5hxaV9/fBTJ2G5P4Q6k2L/24GrLVQUdMiwQADqV6S7Ae3PbPNG4MWvJ+RczyDvPfQuLXY3JrUxieRcUGG55ncUwnolScsTpOJStMmsgg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR12MB8308.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(396003)(366004)(136003)(39860400002)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(6512007)(53546011)(36756003)(86362001)(66946007)(66476007)(66556008)(4326008)(41300700001)(38100700002)(8936002)(8676002)(5660300002)(83380400001)(6916009)(31696002)(316002)(2906002)(26005)(2616005)(31686004)(6486002)(6506007)(6666004)(478600001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YzQvTTJUUXRhcU5vMm5MM0RkVlM0V2grQ3Rnc1JyeWdWcnloYzBsSVpWdEdG?= =?utf-8?B?T1JXSjlhenYrd0ZVRkdHUnMyaWFKaE4ySUw1TUlUeDMvTWEvOHphUUpOeGJ5?= =?utf-8?B?R2Jyekw0bXNSMm00d0VQMEFGdW5oaUl2Yk9TbGFxSGtY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?= =?utf-8?B?K3JQVTEwcFBNMVprZVlKbkh5WXk5bm5tbzh3cXZvYVVWb2pDejk2RXZmUnM3?= =?utf-8?B?TUNqOG5UZHdnZmw0VDczcktWdTFNUytWaVJydFNqNk1Ld3gzZXhuaWN2aDRY?= =?utf-8?B?R1NHanVrYkFSRmU0bXp6T0xGemJPU3NnVnJWM085bHloRG9OZWVLY2IwRm13?= =?utf-8?Q?EMjmhVyn17HtRIcHhI0fu14vJ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21fa99ce-c2f4-4aee-de9b-08dbc5b48be8 X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 15:05:43.8686 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 69quzlWIze5EjIKWkjrF6YXedeQRC4rG8heNN1ubU63tS6HxqKTMvWgnE57OrX/+ X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9094 X-Spam-Status: No, score=-5.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:49:07 -0700 (PDT) On 10/5/2023 8:24 PM, Greg KH wrote: > On Thu, Oct 05, 2023 at 08:07:35PM +0530, Gupta, Nipun wrote: >> Hi Greg, >> >> On 10/5/2023 7:30 PM, Greg KH wrote: >>> On Thu, Oct 05, 2023 at 03:46:34PM +0200, Thomas Gleixner wrote: >>>> On Thu, Oct 05 2023 at 12:24, Greg KH wrote: >>>>>> diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig >>>>>> index a08958485e31..86df7ccb76bb 100644 >>>>>> --- a/drivers/cdx/Kconfig >>>>>> +++ b/drivers/cdx/Kconfig >>>>>> @@ -8,6 +8,7 @@ >>>>>> config CDX_BUS >>>>>> bool "CDX Bus driver" >>>>>> depends on OF && ARM64 >>>>>> + select GENERIC_MSI_IRQ_DOMAIN >>>>> >>>>> This config option isn't in my tree anywhere, where did it come from? >>>>> What is it supposed to do? >>>> >>>> 13e7accb81d6 ("genirq: Get rid of GENERIC_MSI_IRQ_DOMAIN") :) >>> >>> Ok, so this hasn't been tested since the 6.2 release? Wow, I think >>> someone from AMD needs to take a deep look at this and verify that it >>> actually is doing what it is supposed to be doing... >> >> The patch Thomas mentioned renames "GENERIC_MSI_IRQ_DOMAIN" to >> "GENERIC_MSI_IRQ"; and in our testing "GENERIC_MSI_IRQ" is also selected as >> 'ARM64' is enabled which enables 'ARM_GIC_V3_ITS' which in-turn selects >> 'GENERIC_MSI_IRQ'. > > Ok, but that's not what this patch "selects" at all :( "GENERIC_MSI_IRQ" gets enabled because of enabling "ARM64", and you are right that what we are selecting here does not have any meaning now (after 6.2). > >> The patch is tested for MSI functionality on 6.6-rc1. We will re-look into >> the config dependencies to avoid such issues, but please be assured that the >> patch has been validated. > > How has the dependancy been validated as correct if there is no such > thing in this kernel? Apology for the confusion. By validated I meant tested for MSI functionality in CDX. Agree that "select GENERIC_MSI_IRQ_DOMAIN" needs to be fixed here. Will update in next spin. :) Thanks, Nipun > > confused, > > greg k-h