Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6847FC64ED6 for ; Tue, 28 Feb 2023 10:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230097AbjB1KbR (ORCPT ); Tue, 28 Feb 2023 05:31:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjB1KbO (ORCPT ); Tue, 28 Feb 2023 05:31:14 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3D1B40CC for ; Tue, 28 Feb 2023 02:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1677580253; x=1709116253; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=VmT7XEpDBFZlRFjOxza423jQWekFVM/pQp50EUoglQU=; b=0d+otIWtZbE/mFGG/1BpSzsJXimkCo9q+u3qPXYoinYY/UhKtDI7OUuc JL1jkA1Ld1toEFJZfPg6V2TWpttBOvF3p8qf3bKPVgrbpRXDmraYjsuqi 2m/H084r4uP9xTzf7tTHeBeUD8WEFsxgCrlDXZQTrbw6WAir5iagVxCQ2 a/p5UZuGI2tpM1AdDdg8AUVW7SU+5YoX1BVSq8uTUXRkUesZZ0t8zArcr tU/0S1MDf4uRLtBDBpQYUqJm7T3Davsa/RLi3ggex6FDjt1RpZ5kSAyLO dWAst7gxDcLyHPAHu7dadD8F16r6XdZrLOz8eoMvkIDEXXBtZeKI0JuAG w==; X-IronPort-AV: E=Sophos;i="5.98,221,1673938800"; d="scan'208";a="139415665" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Feb 2023 03:30:52 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 28 Feb 2023 03:30:52 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Tue, 28 Feb 2023 03:30:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aPBsYJSAy3ARuVBVHCOb7sg6jPe7cTXYSty3y64d+kjjm0atu7vDiydRDkK3qBRX6qMV/IqQyThzwagC0qZbxSTmAYzSzae/VPmhfJ8WF1L6R0l8L+qRMDzIoWTiWx1SRsRqNGYkTZlxIV5xJF6miK404wUcl/NQ2NRmrwVt7wOHGIvXQoqK0vA13kGTfPf4TnOisxjVNKiD4wYaHorsRMVasd10OmsgxnpNKDXpKi4Bb8dyF7WuOMvbIH5HneM9GKvTImuWBbFZZy3HNp/cC2ihfzerbh5Nt+8I+4PRh+GFzaj5/yx9NWVoCee0TEw5LJiIXE9ZV1d7Nec2zHAprQ== 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=VmT7XEpDBFZlRFjOxza423jQWekFVM/pQp50EUoglQU=; b=cHB8SoAXu122IZbaSIkabKw+/01Wg5tngHC/7zFVKp9FNTrjTU+KvRkFsWeMXkO/7Rn7kxAxzCaunS9SYPo/mr+PfU5CqiSuotP6/JWlkaVzhgBsNRG0RQn5tSblOHP1u01pFsdxIwV16n5hpKFdA53nccFCXuOUiWXbFdzsEkw4y9xGu3UVtAgknWhy38MPkDYq425XDWHnHH9LjMI+zPV694aGAHoM/sGjC7WTMubUQApKiu3/lyTWitHNKJ5fnvYR0YplqFh1LcHpTsZsYj+1tQFgrdDsFGy8iF3WH6YfY7S1z2wt3AGIMs9fTIZlUZtnykTWChFzS+2nVp5mCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VmT7XEpDBFZlRFjOxza423jQWekFVM/pQp50EUoglQU=; b=JgGYCaZLyjoj87cHS+juvOmBsludxDEnBfiXj3g5Qeu+UJdugFrWRQd7GGljXuaACCBSIpQVRcGTMzHxlNrX6SCIOiscZnTS1AJn0XK8tHzrPZsSnnzhfQe1nel0M7Yrd9c9beeTHZTxRqLYk39/+LQRhee8veBci2eQnGmZ58o= Received: from BN6PR11MB1953.namprd11.prod.outlook.com (2603:10b6:404:105::14) by PH7PR11MB5941.namprd11.prod.outlook.com (2603:10b6:510:13d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Tue, 28 Feb 2023 10:30:51 +0000 Received: from BN6PR11MB1953.namprd11.prod.outlook.com ([fe80::6eb8:36cd:3f97:ab32]) by BN6PR11MB1953.namprd11.prod.outlook.com ([fe80::6eb8:36cd:3f97:ab32%5]) with mapi id 15.20.6134.030; Tue, 28 Feb 2023 10:30:50 +0000 From: To: , CC: , , , , , , , , , , Subject: Re: [PATCH V4 6/8] soundwire: amd: add runtime pm ops for AMD SoundWire manager driver Thread-Topic: [PATCH V4 6/8] soundwire: amd: add runtime pm ops for AMD SoundWire manager driver Thread-Index: AQHZS1+6zUAkvAEt10e5bJaR24xWIA== Date: Tue, 28 Feb 2023 10:30:50 +0000 Message-ID: References: <20230227154801.50319-1-Vijendar.Mukunda@amd.com> <20230227154801.50319-7-Vijendar.Mukunda@amd.com> In-Reply-To: <20230227154801.50319-7-Vijendar.Mukunda@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN6PR11MB1953:EE_|PH7PR11MB5941:EE_ x-ms-office365-filtering-correlation-id: ea9af9c5-3759-42f4-4089-08db1976dccd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FG71+vWsU/FEC4hqbKUHXemikR7Cl4x86eqC/rS/a+y+pVJuble91T1tu1dBDwBSRGVSCxElbGxpOXE/HajBJS9xjBhzWALAdAflBcnTIC8f3q5NB/4Al4Ul2tOqlAPwiokc81LEGX4XxQYGQkdW59u3VJMTblJP5YhdacUDPV0okODPneGT3v6FEC0iBmeg2Zqb7J6P6ObPTOzkdED4rFmr1RMOM15qr/HkP+FIrfGwbl3f408Vcu9UPd7Egssc6JDR6lwZ2HnWCjLdVJsP657DVtBUTuWaD11xG9qBslrevwCOUqI3PDwwhdVWj1Q4RqnUo34A2LrzyOsO3J2M4Uj8NWawPcaoqYHwXhp5m2QkJSB+0Tx9FryTOXtHwiJXGlqUcpSOWQT8B6yVvBXHPc7W+huon0iwy/yfiXVfhLZpjLo9BvbVvG6rS1hptamW1TuSrEivs1P6mjooQMnfLKtDnbaW8VwEovS/2GQbEaEfySJztzMGLVIEF46GffK5oLU8O1MXYSfgArYBhRa4OJeNgOgJt4k30EyL4vDP9LgoGhLpssR0NKqMO6b/HjlLIWa0E7yvY43+Fqn7si5uo7ICsKdgYrHqBGiU1aOz0BrtYsoEzZulxqi9PZlhXCfPzjf5Kz1x8PDlEMVf2PG6Gm5d9O0Ib3Ws+CffpjrguNMv+ThdQCNQTJFfaLt87GPX0ho5CgvLBYd4H/9GhDJ4HykO/6x1D/+Zj6Hylxpnh9WcTHEOjQkZ8TEoT/X7w1zjpO1Je7AQ00+q1peiJE3oPg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN6PR11MB1953.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(346002)(136003)(396003)(366004)(376002)(451199018)(31686004)(38070700005)(86362001)(36756003)(66556008)(66476007)(66446008)(64756008)(66946007)(31696002)(7416002)(41300700001)(8676002)(5660300002)(8936002)(4326008)(2906002)(122000001)(38100700002)(71200400001)(6486002)(478600001)(54906003)(91956017)(316002)(76116006)(83380400001)(110136005)(186003)(2616005)(6512007)(26005)(6506007)(53546011)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bzhvSWhLT3lxOHh3dUFCdUFxT2VneTRWaHZTTFZkdENFQm1lbTU3bXRwc1Fp?= =?utf-8?B?SGlCd2lpVVJEZVNGSmVUS0h0aVpHM2p0dHMwRzR5OFAzRUZ6SHRYRHVqVTVF?= =?utf-8?B?OW9JNmJuaERRdXdDTlNuZUNwQ1FsTG9nM3Q4MER6YjhBcVJrRDBDRWI4RE9J?= =?utf-8?B?MEhoUXp0ZU9IWVBqR3A0MUpMZllOdUluVU54S0lSTm1HbHZ4VHVPdWNHSnFK?= =?utf-8?B?cnFQZTJqUFRLcjIweWJObGNSMUU5W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DMm1zeDFN?= =?utf-8?B?V0VnNHBYT0xLaEp3cEYvdGZUeW5yakZkU2U5R01xQjVBN0pwdUgwaVlyNTNa?= =?utf-8?B?TEFqRHBmVW04dFM2UktFS25TcVVkeEtjTVNYMFAyTExDQjM1S3lhd3JUNW9P?= =?utf-8?B?UHc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <456FA67277EA2A45B6E2B41E7C956E95@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB1953.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea9af9c5-3759-42f4-4089-08db1976dccd X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2023 10:30:50.3706 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: u3+628WUowpIE4qU6Ow2/U3uJdAwmcNrEca1q6c/Rmh951pnnZodl3XbtuCZMJy7VkoaJNiNbfQxLETBHzrybYq8ma25OMEt9zo4Tpvf7fc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5941 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjcuMDIuMjAyMyAxNzo0NywgVmlqZW5kYXIgTXVrdW5kYSB3cm90ZToNCj4gQWRkIHN1cHBv cnQgZm9yIHJ1bnRpbWUgcG0gb3BzIGZvciBBTUQgU291bmRXaXJlIG1hbmFnZXIgZHJpdmVyLg0K PiANCj4gU2lnbmVkLW9mZi1ieTogVmlqZW5kYXIgTXVrdW5kYSA8VmlqZW5kYXIuTXVrdW5kYUBh bWQuY29tPg0KPiBTaWduZWQtb2ZmLWJ5OiBNYXN0YW4gS2F0cmFnYWRkYSA8TWFzdG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PSBzZHdfYnVzX3ByZXBfY2xrX3N0b3AoJmFtZF9tYW5h Z2VyLT5idXMpOw0KPiArICAgICAgIGlmIChyZXQgPCAwICYmIHJldCAhPSAtRU5PREFUQSkgew0K PiArICAgICAgICAgICAgICAgZGV2X2VycihhbWRfbWFuYWdlci0+ZGV2LCAicHJlcGFyZSBjbG9j ayBzdG9wIGZhaWxlZCAlZCIsIHJldCk7DQo+ICsgICAgICAgICAgICAgICByZXR1cm4gMDsNCj4g KyAgICAgICB9DQo+ICsgICAgICAgcmV0ID0gc2R3X2J1c19jbGtfc3RvcCgmYW1kX21hbmFnZXIt PmJ1cyk7DQo+ICsgICAgICAgaWYgKHJldCA8IDAgJiYgcmV0ICE9IC1FTk9EQVRBKSB7DQo+ICsg ICAgICAgICAgICAgICBkZXZfZXJyKGFtZF9tYW5hZ2VyLT5kZXYsICJidXMgY2xvY2sgc3RvcCBm YWlsZWQgJWQiLCByZXQpOw0KPiArICAgICAgICAgICAgICAgcmV0dXJuIDA7DQo+ICsgICAgICAg fQ0KPiArDQo+ICsgICAgICAgZG8gew0KPiArICAgICAgICAgICAgICAgdmFsID0gYWNwX3JlZ19y ZWFkbChhbWRfbWFuYWdlci0+bW1pbyArIEFDUF9TV19DTEtfUkVTVU1FX0NUUkwpOw0KPiArICAg ICAgICAgICAgICAgaWYgKHZhbCAmIEFNRF9TRFdfQ0xLX1NUT1BfRE9ORSkgew0KPiArICAgICAg ICAgICAgICAgICAgICAgICBhbWRfbWFuYWdlci0+Y2xrX3N0b3BwZWQgPSB0cnVlOw0KPiArICAg ICAgICAgICAgICAgICAgICAgICBicmVhazsNCj4gKyAgICAgICAgICAgICAgIH0NCj4gKyAgICAg ICAgICAgICAgIHVzbGVlcF9yYW5nZSgxMCwgMjApOw0KPiArICAgICAgIH0gd2hpbGUgKHJldHJ5 X2NvdW50KysgPCBBTURfU0RXX0NMS19TVE9QX01BWF9SRVRSWV9DT1VOVCk7DQoNCkNvdWxkIHRo ZXNlIGRvIHsgfSB3aGlsZSAoKSBiZSByZXBsYWNlZCBieSByZWFkX3BvbGxfdGltZW91dCgpID8N Cg==