Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3457247rdh; Thu, 28 Sep 2023 12:11:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGRU1gMWTrKJBvdZnQae+mcUJahXVUxNQC4zwLhRUXeDcMXi1IsRa5E8mhFw3OTt7IpgmT X-Received: by 2002:a17:903:d5:b0:1c7:3aad:305e with SMTP id x21-20020a17090300d500b001c73aad305emr1803659plc.27.1695928273114; Thu, 28 Sep 2023 12:11:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695928273; cv=pass; d=google.com; s=arc-20160816; b=A0sNwwPATG1PgWkHNmYBEgYn5ITU43fxfgIbvC05QZUEvXDreUMacxFH6s4o//JiuX xS0SNnzjeGGXs0WXzNTuFuDbpAmDmAq3eE3mmUUJ8LrIFtIy8A+Gv9XQ55NdyyENa6Jo VYHZXwe5BscMOWxYPARjYTZXJaJj0bb2FaGCgGX/wuRYPdmdZ7RuKqHALin/jvzxDtph eQx+iU2pq8HfTzATSTSy8HMT94/iefRPIGLzNYhrU7mSjvZpeEltOCmcEqJZehDajdj3 XbcqyhKHJFrvqEZCxRbiFJlpe7xyAkeCzjkNI8EpQGndRFL+0CgE7OJHBISvlXx6WuIG xSHQ== 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:organization:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature; bh=N+8/QiH+/Ipe1z7QdoLgtU2ajQ9wiFwwhJXWTRxbm8g=; fh=AgsvjR4ZdJ8FvXRXnXGL4x685a1Pkwq8L73WogtCPq8=; b=mmUqXKarQees1B46PsYt57r/R1nXhPz9jd4pp9e+9fJmWDaPE6QgsZTHFEf2qQhZNY M7fS60YH8catbWA/8Ibt9/0OS+9N3ZUsXuIzqYUX1vzk2lUPnfU74liuFFINui9xBvi1 e0KpXrKTmK/5BLIBsgVTlK5Bj6qftK/KAWdAKoq+sJZoi4Wr9qBOCMuLZrqZ4E45gBZE wdySKY8LnzRqgq4hJ1DMYJ9EvVIbur4Q34/BGMnjviV+SyzCkuIN+NRoYIMZQjhOPFhi b7l6xtSaVdM6KDNmV70q4rcdWO/45oUaG93unnLY/2oZ6GmKp1AFX1+K8XC3eAT7T6J6 lXpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=d0SpshFI; 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 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id t16-20020a170902e85000b001c1e4f9c63esi20950870plg.491.2023.09.28.12.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 12:11:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=d0SpshFI; 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 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 2D097802696A; Thu, 28 Sep 2023 08:31:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232378AbjI1PbL (ORCPT + 99 others); Thu, 28 Sep 2023 11:31:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbjI1Paj (ORCPT ); Thu, 28 Sep 2023 11:30:39 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2067.outbound.protection.outlook.com [40.107.94.67]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78050CCB for ; Thu, 28 Sep 2023 08:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fZPqAWQKkeVHhWeOVQpYfth8LSREkHDe75NDyE39qd5tGxlsGBIHmw8569+lqG82NAyV0n7GRueFp5J4UbFtYgpuT3Za4j5SKOjuSLl0dCeRSGWp98mw4Ws5F7chWxaTlFOC0RmGC278r43fZ2RZb2QkEBWdEDSkladZWVJoQptErPjWdRZXYT+3/Zrj4s2T6flyd260Hmm6IPLDX/E71EMA8UdkHbeyILYThNZfie2dWMFNhYr7MPDeXWj0arFPrAZI7n9+nEjYYD0/sZKfg+GHkJCIaV9RlkWDz/NZItMwoEm3NG/K+Z7GDtozweOdKXJ5Qj7f/C+6gVmmjgmXOQ== 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=N+8/QiH+/Ipe1z7QdoLgtU2ajQ9wiFwwhJXWTRxbm8g=; b=UU+bWzlTBbdQ79jfm/Cg/F1Es0Shjsal3AJI1Td9MxW0bSj0jvQnxtJOPiNhea8c+5vhIQzPSQmXPPy//3hnHunEsqdGndiIl7+KRAL6HNwvYgGXg/3CMAlYEC2Oyahzafv9LrkS+D1+YoGUQyY82wwV/5GU2S4uqnisXPDLBsGXYkZlsJimpuf1RsJRcbl5M2tKwkaTo6CPlH91MDjMxoAxnHIbfTmjvWzrv17NKDizfYsEcSFl2eYG3YIrqIOB2kTO91MIpb6U5vsGWjJmKKJE3Pgn8ErSgvCNDfE1TTMpblwuW5Rj3guJKOgubqRy8jafOHiueRSC5YXPpWpqzw== 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=N+8/QiH+/Ipe1z7QdoLgtU2ajQ9wiFwwhJXWTRxbm8g=; b=d0SpshFIOKvAuIfklu4ckaI7412kZ0N14ejL4OEHyDBL7Qlv/pDPfXCirdG5vkuYrhOq82X23g+whMaDmmjtQU1TZQVYqFCleXM4v2e7WtvUnVnYikksk37qDjyhQ2+0VvexqmLtdKRjg2I4Vnfq6K8cUvg/8gF5Ee0Lob9WshM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN9PR12MB5115.namprd12.prod.outlook.com (2603:10b6:408:118::14) by IA0PR12MB8715.namprd12.prod.outlook.com (2603:10b6:208:487::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Thu, 28 Sep 2023 15:30:26 +0000 Received: from BN9PR12MB5115.namprd12.prod.outlook.com ([fe80::2e40:ffd7:e752:644f]) by BN9PR12MB5115.namprd12.prod.outlook.com ([fe80::2e40:ffd7:e752:644f%6]) with mapi id 15.20.6838.024; Thu, 28 Sep 2023 15:30:26 +0000 Message-ID: <8cd0539d-5d5e-e670-9577-7db72393b784@amd.com> Date: Thu, 28 Sep 2023 11:30:23 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8 Content-Language: en-US To: "Joshi, Mukul" , "Yadav, Arvind" , "Koenig, Christian" , "Deucher, Alexander" , "Sharma, Shashank" , "Pan, Xinhui" , "airlied@gmail.com" , "daniel@ffwll.ch" Cc: "amd-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" References: <20230928095427.4337-1-Arvind.Yadav@amd.com> <20230928095427.4337-2-Arvind.Yadav@amd.com> From: Felix Kuehling Organization: AMD Inc. In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: YQZPR01CA0134.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:87::11) To BN9PR12MB5115.namprd12.prod.outlook.com (2603:10b6:408:118::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN9PR12MB5115:EE_|IA0PR12MB8715:EE_ X-MS-Office365-Filtering-Correlation-Id: a0a91899-cf05-4190-7ec2-08dbc037d6f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jq59IQcVO5GLHRWtCdRk42iNwa12DgolNpzSmZHnBfr7uIAzuloNfpSbc5jNjpo0pGJNpCChyLMX771eAlIuVgFRuWqxiSsotmcAKGd3L31SRn9Rz1PahE7EeplVKkKn0vLr1xcGdAckWGWRkl0PAQHMfEUkgqQA8Dwcl7rs+VA9yEJYonbH1eGeSAUWQYfouGdVj9u3NgduBtjRIqtaSKH2E+vP/DZGu+CL5RsjkdnWd07vHm0zvhI1hDd7lFqRRCFR6dWr/FPY9jI0NAxq0d7DC/xotevX7JEXOdM6P4kHl60U5zgT9m+sC9+NhYzE2i//AgEDJaAlYP9BiAFeVivjgSF70Fhx9KOKb2bTcTD/zbV8FxIl0FFhpSowNJ1JaqgkfPctqcq6zpwXavwVdMgKFITs/ken9Bm1JVPv6f9eGIEKnjgQmVz0HLv1ZcrL6h+AAkWrKZpVhCDMilO8XniBEAZXeIFFJ8rFTPL+0tPFdvMOVWjpHnvWpN1QVqEWPxllZckJPGaT8ZsmyUVxZdeNJ4SwuNT8Z3vlSLg714Z+v2M521TY4mYj+4uBX7SNkY0J67hVBJhZJ8cO268KL2hOgUFtNs31aRz8eSWNZkTfkvTR/wQurVWTAJg/Eqka7APDVMbUHdtBbBLo+/h7CPzrmErQ7MfIU081w/Hw264= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR12MB5115.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(396003)(346002)(136003)(39860400002)(376002)(230922051799003)(1800799009)(64100799003)(451199024)(186009)(36756003)(31696002)(86362001)(8936002)(110136005)(26005)(66556008)(4326008)(5660300002)(8676002)(54906003)(41300700001)(44832011)(316002)(66476007)(83380400001)(2616005)(2906002)(6486002)(6506007)(478600001)(53546011)(6666004)(6512007)(36916002)(31686004)(66946007)(921005)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VEt2dXJJSHFXY3V6NlJaWjJuU1hUcE1UNTZXTGZYU1VrSlBaRnFOcFhFSHdL?= =?utf-8?B?ZEhUSkJvcGtIbFFmTEFvbGc1R29rM1pBRXhYSWNldkMraXV4NkErWVhUeUkv?= =?utf-8?B?QUI1SEFKcnhENytMemxTZjNjc3JPTkNKdmczd21jK3crTXMrbEtSem5NcmJ5?= =?utf-8?B?cElyMnp5VHdlOEZla2JRMkdNV3VWcGRQWG50SVZGVUNXdVlpWW42T0F0Wnhp?= =?utf-8?B?MG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1?= =?utf-8?B?UHVyK3pOZVhONzc2aFRTNUtzQjZRR3ZqTmRNbzE1YnR5T2RoME1oUzUxRHVB?= =?utf-8?Q?9OAj4yUuZXiku+3jPhRvFl/Bq?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0a91899-cf05-4190-7ec2-08dbc037d6f0 X-MS-Exchange-CrossTenant-AuthSource: BN9PR12MB5115.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2023 15:30:26.6103 (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: dCfg5Q3xLww1nnE1R9TUnTPxUMBGGXgDZt+9FJaJoOeYddFoeZ5bjY8w8PhTsSIq9aIBCZBoXV56d5afEHe4vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8715 X-Spam-Status: No, score=-2.3 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 08:31:39 -0700 (PDT) On 2023-09-28 10:30, Joshi, Mukul wrote: > [AMD Official Use Only - General] > >> -----Original Message----- >> From: Yadav, Arvind >> Sent: Thursday, September 28, 2023 5:54 AM >> To: Koenig, Christian ; Deucher, Alexander >> ; Sharma, Shashank >> ; Kuehling, Felix ; >> Joshi, Mukul ; Pan, Xinhui ; >> airlied@gmail.com; daniel@ffwll.ch >> Cc: amd-gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux- >> kernel@vger.kernel.org; Yadav, Arvind ; Koenig, >> Christian >> Subject: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset >> for gfx8 >> >> This patch is to adjust the absolute doorbell offset against the doorbell id >> considering the doorbell size of 32/64 bit. >> >> v2: >> - Addressed the review comment from Felix. >> >> Cc: Christian Koenig >> Cc: Alex Deucher >> Signed-off-by: Shashank Sharma >> Signed-off-by: Arvind Yadav >> --- >> drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 9 ++++++++- >> 1 file changed, 8 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c >> b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c >> index 0d3d538b64eb..c54c4392d26e 100644 >> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c >> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c >> @@ -407,7 +407,14 @@ static int allocate_doorbell(struct >> qcm_process_device *qpd, >> >> q->properties.doorbell_off = amdgpu_doorbell_index_on_bar(dev- >>> adev, >> qpd- >>> proc_doorbells, >> - q- >>> doorbell_id); >> + 0); >> + > It looks like amdgpu_doorbell_index_on_bar() works only for 64-bit doorbells. > Shouldn't it work for both 32-bit and 64-bit doorbells considering this is common > doorbell manager code? I could see this argument going either way. KFD is the only one that cares about managing doorbells for user mode queues on GFXv8 GPUs. This is not a use case that amdgpu cares about. So I'm OK with KFD doing its own address calculations to make sure doorbells continue to work on GFXv8. It may not be worth adding complexity to the common doorbell manager code to support legacy GPUs with 32-bit doorbells. Regards,   Felix > > Thanks, > Mukul > >> + /* Adjust the absolute doorbell offset against the doorbell id >> considering >> + * the doorbell size of 32/64 bit. >> + */ >> + q->properties.doorbell_off += q->doorbell_id * >> + dev->kfd->device_info.doorbell_size / 4; >> + >> return 0; >> } >> >> -- >> 2.34.1