Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9138568imu; Tue, 4 Dec 2018 22:43:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/UzFAyhOMhHK3947wwgoIk85vLfxLaEMraz4kwBuOVobVD3O/aUsPsQfmps9h3XJt4Eto3p X-Received: by 2002:a63:ef04:: with SMTP id u4mr19708963pgh.197.1543992226248; Tue, 04 Dec 2018 22:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543992226; cv=none; d=google.com; s=arc-20160816; b=fIPyl81ls2+FpsX1V0UuC+/jcMZjDnpE+H3lufeYUkuy3sS1+8AN1vAa0FiIGwDaXn Tx+1X5lGjRK9uygvlp1V2dQy2uegJIZN33yPfHYMmNN+FE+R7uu2aBJr7LNioUyI0mMf 5w36g96CqUhihQ1GW+wynACIfaHjvtITGoxkd7iIOqdMSdY2Cx0uNu7/asPEAWC+qSZY iPKZZBvVnOiQ/t+xR6APngHgDWFWnBpqq312Yt1CupNGSGjg0KwoL1N+1cp1Y92tsTKT ia7+HMvnmVjSthzmXhRhvGhXVI2ejHkLVkzHARXNMv9rWDlU9N+M0qfyribrXtpUcMki J+pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=C7MWMbiM/oxW9qEAZ/EeWULfwvMCMdb0bk3WytpmepA=; b=UsCubTzVqoah8NL6sr+FaK+CJkBSJxKoJ7RMz5iSLNNckW5OrZwYrFTNMrywprGbfe ZoDjpqydehQdYjga1UDEwC+egDB37ME/vvU7hrOVD1PDMGdOgGq0Bsksw3uqE/G5EysR i4LIzW17t0rOAycaPsQX0WgHb32qTeBPGMl0cyndPCQpd3HtMvHC5tLmXSdRgseWqoao fPS0py2ZuSHhrYQtURV4sTd+IGUZ3v9tXUDy21a417KhF1820lKT1u40NR4qgCUL363I 0ilt0wYWZm0S+XwYvxDPBzAQhYxsI/1oPzzCx4IIanvakmKYtzbUsA2+aNo6FTjYBP3U 28eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=sziBtOJB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x66si20379887pfk.73.2018.12.04.22.43.31; Tue, 04 Dec 2018 22:43:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=sziBtOJB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbeLEGmt (ORCPT + 99 others); Wed, 5 Dec 2018 01:42:49 -0500 Received: from mail-eopbgr800045.outbound.protection.outlook.com ([40.107.80.45]:51470 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726171AbeLEGms (ORCPT ); Wed, 5 Dec 2018 01:42:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C7MWMbiM/oxW9qEAZ/EeWULfwvMCMdb0bk3WytpmepA=; b=sziBtOJBgwWijXvn/xjilBpLNqkQkqzNvzJ2mAa0HuhgC1Sop0uFMvqVh+E2DaTkcPAQJ72T+XI6tT5+WnkmCqpGLMUNFPITTYMLXrCThYoo1TMkPLdud+C2prU+1TaOODjYtiR+SgOkjF6k2+uVk95FGIuPIenXK9GZkdhL/Jo= Received: from BN8PR12MB3508.namprd12.prod.outlook.com (20.179.67.161) by BN8PR12MB2850.namprd12.prod.outlook.com (20.179.64.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.22; Wed, 5 Dec 2018 06:42:43 +0000 Received: from BN8PR12MB3508.namprd12.prod.outlook.com ([fe80::79d8:798b:6260:a546]) by BN8PR12MB3508.namprd12.prod.outlook.com ([fe80::79d8:798b:6260:a546%4]) with mapi id 15.20.1382.020; Wed, 5 Dec 2018 06:42:43 +0000 From: "Mukunda, Vijendar" To: Yu Zhao , Liam Girdwood , Mark Brown , aroslav Kysela , Takashi Iwai CC: Daniel Kurtz , "Agrawal, Akshu" , "Deucher, Alexander" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] ASoC: use DMA addr rather than CPU pa for acp_audio_dma Thread-Topic: [PATCH 1/2] ASoC: use DMA addr rather than CPU pa for acp_audio_dma Thread-Index: AQHUjCK34U0WgShTGkGFHZeJVHaZVqVvtIUA Date: Wed, 5 Dec 2018 06:42:43 +0000 Message-ID: <0282a69b-51dc-b1e9-a017-2f18c08b9c50@amd.com> References: <20181204224253.216075-1-yuzhao@google.com> In-Reply-To: <20181204224253.216075-1-yuzhao@google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR01CA0095.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::11) To BN8PR12MB3508.namprd12.prod.outlook.com (2603:10b6:408:6e::33) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Vijendar.Mukunda@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [125.21.194.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN8PR12MB2850;20:3gBK9iHxjYBfqVi+HVD1oKMMDBKnArfX4/BpqCPYM5RPw3Qc0CXY6Qwil4o5kERaOZbN/mWp6B5YhTeAc3+7n83v0u9BBWuO1QJbC3cOYtcSUeDZHURLZZVXYRw7SDnbwb1BAUPzIQfvhFmU9fDtPz1uS8kx6R18E/gkHOI9qhKRygXfyMhkM8Fl6bUabawN+odTorVSu3Brr4Yq7qndi4FBT6QnLBmlFxhylyzYGK3aVRn/g5jHafAi5jgkIc6z x-ms-office365-filtering-correlation-id: 771e3a1b-b5c1-46ee-6d35-08d65a7cdbba x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:BN8PR12MB2850; x-ms-traffictypediagnostic: BN8PR12MB2850: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231455)(999002)(944501520)(52105112)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:BN8PR12MB2850;BCL:0;PCL:0;RULEID:;SRVR:BN8PR12MB2850; x-forefront-prvs: 08770259B4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39850400004)(346002)(366004)(396003)(136003)(189003)(199004)(2906002)(7736002)(25786009)(4326008)(478600001)(72206003)(76176011)(105586002)(6246003)(106356001)(99286004)(305945005)(52116002)(66066001)(68736007)(186003)(53546011)(2616005)(53936002)(11346002)(81156014)(26005)(81166006)(8676002)(8936002)(6512007)(39060400002)(486006)(446003)(54906003)(36756003)(97736004)(14454004)(5660300001)(476003)(386003)(102836004)(6486002)(6506007)(256004)(14444005)(6436002)(229853002)(31686004)(316002)(3846002)(71190400001)(71200400001)(86362001)(6116002)(110136005)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN8PR12MB2850;H:BN8PR12MB3508.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: VpHShlgqSa7WLVtJACK8D7MDLEzyPYXAZu9UmrzY3AXSX6wYnNBlSYDc2dKtlnM1FBYk3ZUEPGm2T2crBOlj2fYgYVXIsB9AV5Y/785KDC+ir549EqKaSojMI72SkNZXW5dgOlSGkMwgBAviKc55k0e2fh5qoDMTmCMgDVdmfIDTcB+WOphzorzG/qt1gW+jIdDGHOxymxkRXVGxAJ2zRJ+vS2AukKu7T0+Nri/pxr4arMFtsQ+Fk0ibo8wWebQ/7rUOlf6yvqFUudYKzYSLQ1ksJYoCHNYK/JRUGBZcHL/KOmqHaKtMVU1quvDwEZ9piIFp5L8gjzVubnWHve7BD4XDPKwqNSq4AIj1XumIegQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9E23759D90C2E84B8321C9A4F5666CEB@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 771e3a1b-b5c1-46ee-6d35-08d65a7cdbba X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2018 06:42:43.1228 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB2850 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger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