Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp51550pxh; Thu, 7 Apr 2022 13:41:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxFYqgH+q1j9HnM3tllcU6qnG74WAC/hyger+ssq4qv09OILRqQcGYK5PkjuEkHqLAYYEY X-Received: by 2002:a17:90a:7d10:b0:1c9:7939:c70 with SMTP id g16-20020a17090a7d1000b001c979390c70mr17820052pjl.203.1649364100078; Thu, 07 Apr 2022 13:41:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649364100; cv=pass; d=google.com; s=arc-20160816; b=tzY8a36QI5pbKceN/yzhAhK/SCKXkMi5xDkxGw8g4JN866q0nTyQT9t9ownFe4wf/6 IOrRPhtOugkL0xxlmV1S4arEmQB71tcagXmc2aOwYfximjH2tEmP4X9gC1uwqBF+Fris GhHWf3fGJVZUGg2FcJ3PppDuzJHR6IueTWV0JNu0T+IKOyHtvtLrTlCYni8hTCE63aGT QWGqJYK0j0olBOqoQNBW8SvSFkkGKpqTelORPbPuZlh0fFimm3zUEnI+9ppqbKMWbLly SOfujicxve0BS2FjF+ibQHe9t1fXbvEdRkZ7gX8bBZy9ewY7n0TipzlrMlleQc14moDA OrTg== 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 :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_contentbits :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_actionid :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_siteid :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_name :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_method :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_setdate :msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_enabled:msip_labels :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=pCpd+/Gl+8vJ9OOqs8zetTtDOP+F/++UL77kDuAd5cw=; b=rAe53Yeh6C2Tm5z8DvNI1rbkdNZjf0SZtYbxFusZTiXXi/9p2ndAsXLxt+WiV57YDm odmuP/m7oVbfBPq+Sa5IUlGfzMwFv4B6X7pWA+NnnUXtZaSuGkC1J4LpHpdgJnHVkcgP 5yqPlLvJc+D3Dqk6mjvAtgJQ1eReRsCQ3kVNH6CrRr+dYgnvcoQzacnyP3O5qSBva4oa D3Y0+ME4d7C56q812R0d+8jyjESWrciMEGBTwShgvVmESJnXx4lbysVSnTpfA7pEEHS6 ZLRzzVdsKdHKheSdFi2zhWtHbQ+nN0/AGfWRMAS2HAs4OZjICCxnpWg3c75Md94Td5Qp LxHQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Q9p7ZiUt; 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::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m9-20020a056a00080900b004fa3a8dffc6si21265070pfk.125.2022.04.07.13.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Q9p7ZiUt; 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::1:18 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 (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 01C553C8103; Thu, 7 Apr 2022 12:52:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346809AbiDGSNx (ORCPT + 99 others); Thu, 7 Apr 2022 14:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235105AbiDGSNt (ORCPT ); Thu, 7 Apr 2022 14:13:49 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2061.outbound.protection.outlook.com [40.107.92.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40BFA190598 for ; Thu, 7 Apr 2022 11:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V9fDSfYNmTBjiEjYoDt6yx4IuxAedzwFGIJo8wyRnG98coOSc5qrZWoCoi8Xjc9VlfkBPOQsm5qjCwm4mj5nGhJ/Y54pAZJ7pXgCQHWxl9N6nfa1o5ePF3DFmNRd54XXX1UA4uZboeftaTGbctoKLsXq5plE0huqhUvFID6uuP15eQzROyUY1TcOwwj5QxkkXsrJQiMcm32ZJqgNCtdlRpKAi3YY5oxdKNBjQ9pLPIip6tjYCmowep/INJhN0Ev+5tk4t3dkxk8MIN9p8IxslGUMdoorcuirb1kZ7Pxh5+kWtRU1vWb6kQA1bsS6ICUM0RxLg983xifrKHmj+8tuDg== 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=pCpd+/Gl+8vJ9OOqs8zetTtDOP+F/++UL77kDuAd5cw=; b=O8OHTcwAGgzd5hs0blhnEHCBxHUAhrVkmlefEkk98p31JTbQDf9RXBgBnyHLbjPI/2SQROae/iguUq3JnZZZDjYF4o5+4MfpcdaPiXb+U9/ZLrZv5ITnCDsgJsfGoA3XaG+xDZHciCjOA10+ykO2+odx2UJLOiVKYuUH7GLdYy3rqL9vkZfZl+qVVi9U2Actt4BlAOda9fwRNAuNiD24v6g86b4xm326Tt2Ex+tvKNKt7xb3frNwFzlg7ISvySzRP5m0ywNU0yxm5ByNdgXT3+X/oRIm30BQ2ZuoUe2UJ7uSXJnvZy4Bq9ysDLEPqsX5PSmDtNmrfSR0y7Vk8szadw== 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=pCpd+/Gl+8vJ9OOqs8zetTtDOP+F/++UL77kDuAd5cw=; b=Q9p7ZiUtDlBlsIyhgmtts/n8E531XqmDROkWhm0QfTfww23q2J+wXuXZ4IN8L2yicImbP+iHBll38KoOs9eO0zs2HzYiUT2wBxZqoIbQRf+47B9crxF+4puojkT9fSy5+ci9NXxo8SOh5cJw6z/4QPtTbInyCJq8VotRDDbpTMU= Received: from BL1PR12MB5157.namprd12.prod.outlook.com (2603:10b6:208:308::15) by DM5PR1201MB0233.namprd12.prod.outlook.com (2603:10b6:4:55::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.21; Thu, 7 Apr 2022 18:11:42 +0000 Received: from BL1PR12MB5157.namprd12.prod.outlook.com ([fe80::70d6:f6dd:3e14:3c2d]) by BL1PR12MB5157.namprd12.prod.outlook.com ([fe80::70d6:f6dd:3e14:3c2d%5]) with mapi id 15.20.5144.022; Thu, 7 Apr 2022 18:11:42 +0000 From: "Limonciello, Mario" To: Alex Deucher , Kai-Heng Feng CC: "Deucher, Alexander" , "Koenig, Christian" , "Pan, Xinhui" , David Airlie , Maling list - DRI developers , LKML , amd-gfx list , "Chiu, Solomon" , "Quan, Evan" , "Tuikov, Luben" Subject: RE: [PATCH] drm/amdgpu: Ensure HDA function is suspended before ASIC reset Thread-Topic: [PATCH] drm/amdgpu: Ensure HDA function is suspended before ASIC reset Thread-Index: AQHYSnjivUZ9njby8U6FChyXEcLep6zkryiAgAAQ87A= Date: Thu, 7 Apr 2022 18:11:42 +0000 Message-ID: References: <20220407121230.132627-1-kai.heng.feng@canonical.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Enabled=true; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_SetDate=2022-04-07T18:08:49Z; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Method=Privileged; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_Name=Public-AIP 2.0; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_ActionId=cc49e554-d544-496c-8a2f-36da1bbd4c42; MSIP_Label_d4243a53-6221-4f75-8154-e4b33a5707a1_ContentBits=1 msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_enabled: true msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_setdate: 2022-04-07T18:11:40Z msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_method: Privileged msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_name: Public-AIP 2.0 msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_siteid: 3dd8961f-e488-4e60-8e11-a82d994e183d msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_actionid: a96ddb40-4bf3-4892-8962-e70784763c5a msip_label_d4243a53-6221-4f75-8154-e4b33a5707a1_contentbits: 0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a375b62-f895-47c8-e8ab-08da18c211c6 x-ms-traffictypediagnostic: DM5PR1201MB0233:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O+ZVT+6ivsETmSUw0W5yHiGG7REetu05ZOrscAD0+kXxiUfVuEue4Z+MG2qwqSh9XJWv72ZxsdeqDz7j4i1KqqBb5ccw2D6iHso3xcfx7jBHzyyf2M+Z/bYp5X2nhbJj8k/MKu2GVrqfxtAW0Ir4DrG+ixRDHTSdxufwIKfHbZhhSC8WbN8v8HP4VEOcPJ+ripTnKoHBBFzGsnVS/n9huJH8NSz2aMJLPUjrcQaW5uKMxdhAB5/B3x7kLdISwI/QLGphWjSzc2Adk0p9mma/dqf+EAAsQIg0y4kFynCVj6OvqaX5DHBFJd5ogEinyi3n0Urb5VugGR5yITznee4cJv39HiipnTPZXc3ZfI4kEXBoA/b6zOMqB69OmlnrNXT07gHlTnvS/BrVEwKM4RUZkbc35tfNDtanA54h3d740nOBFAKHJLM/ZH+qN0lqGeAmA91Y1ZLgSNSRk66J02cGAO34og/iDZLT0cj+joXQ/tGE2Rr9B+UmHh429tslleyZpUCSfOcuCuvVMVGG2n2aMn1swZpbKocoYypxvIZY5DT5Mvz25x4Xg99FO+p7FJY7rsRvUEdbEAfEB9Fq2Wv6fcNjCLteq9cLJsAZ42yyVDMkHTr6t8nVRsYUzfI0D438jH6Y8sc5ahTnNYoXvM3m9mhxYC5npgemVYDhcb5+QL4XRv+6OyXG4zuiv7seoX0237/gFKfJ9CogcUy29KvMtA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5157.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(76116006)(15650500001)(2906002)(55016003)(66946007)(66446008)(86362001)(316002)(33656002)(508600001)(64756008)(8676002)(4326008)(66476007)(54906003)(71200400001)(66556008)(6506007)(53546011)(9686003)(7696005)(110136005)(186003)(26005)(83380400001)(122000001)(38070700005)(8936002)(5660300002)(38100700002)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NkhXK2w1cnZCRkFkOUc0NnVqUHZMbllURHNwMW5YR1BZRDBWa2xyTi9taS9m?= =?utf-8?B?aFlLc1laUVBwWlRCYzd2L2JSYU5ySmNPRlVEbUk5UmZaU1E2VGszZXRaMGM5?= =?utf-8?B?WDNlZXBCdnBEbTVNb0kvY2p5TSt2RGJsOGlncGxhS0lnQ3dmMnp6c1hqK1BW?= =?utf-8?B?UmRUMjloRDVNR0hFT3F4MDd0cXlybTlNZTdrM1g2bTI3WXlrSFhLTmx1VVUw?= =?utf-8?B?MHRNUFNHNFBDTUNHcjArWDdQa2ZWMmxvYllpU0JJY0krVlNwOU9wNHJKeTFR?= =?utf-8?B?bGxvbUIrcU5rR0F4TmYrVmlhbkJiMVVadXRBNjFrUldyaUV6Y21EbVhkRjlu?= =?utf-8?B?Zk1mcndkZC9NaXh5a29nNXhPcnVrRUhkZ1ZNQnU0d2thWlFwNTd3MlVFVExX?= =?utf-8?B?T29DUU5JUmdzKzRhd3VWVTdwZVlUR2dpQVc3Ni9hNWZ6TWdzekVUaVhMM1ls?= =?utf-8?B?V1FaWTVOUXZMb3B5azFQZW1FY3JBNUVqeWtoY1NkMjZDNGNYUjhRMmp6Vk5K?= =?utf-8?B?eDhwdnNWdnVv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OWEyQ3Nabk5EUT09?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5157.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a375b62-f895-47c8-e8ab-08da18c211c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2022 18:11:42.4661 (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: T9j//RlfHyd3L4KaJ30K4gRMVYJbZRr8+xaPqyS09sOq7azj9LOl7Yl78NWA/xAehCcSjty6Uz3ZCY2AbPd9nQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0233 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 W1B1YmxpY10NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBbGV4IERl dWNoZXIgPGFsZXhkZXVjaGVyQGdtYWlsLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIEFwcmlsIDcs IDIwMjIgMTI6MDgNCj4gVG86IEthaS1IZW5nIEZlbmcgPGthaS5oZW5nLmZlbmdAY2Fub25pY2Fs LmNvbT4NCj4gQ2M6IERldWNoZXIsIEFs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