Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8602232ybn; Tue, 1 Oct 2019 10:24:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXmnfLGnHMoEtCd8MZeBnmNTA/7MiB7/Voia9qAp3/K/pLIY8+nMqHfy0m2iLKXCLVOkxO X-Received: by 2002:a17:906:52d8:: with SMTP id w24mr24511937ejn.6.1569950673150; Tue, 01 Oct 2019 10:24:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569950673; cv=pass; d=google.com; s=arc-20160816; b=B6Goq8wssC0+otnhrA1Vs19oRwBOwa/I3XKi3tWmq3LiToj8J2RQNTg/vN+NRjiFpl zqhKhI2OJSlwrwmsUQKIyU/Yljkc2k/eWN4RDubw8n8dShXkHJll8pRbWdUeq/zDRd8d iiVsImd+WqA5mSt4Z90its4ROg00DWe17Sp/5axknCcW2Vr28GOZiXCdcPbLmaQoCIh/ Dy89NyYuPK/8zBqTbpt8NRAGca/r4BMiAK1k0JeK3KmVqq45JUVPgM//jInDAHGxcZK9 NEboVnAExeyRPNU/QJQRoGFSyvXraOqws5XT3vPeHcyG+Ta27PQaRz49a3eon7iNP5qt CDXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=DvpI6JiW8S029O9uMVE64R+dxC4VkgtzpqCTecQvjyY=; b=cpPF2MRDsTaypkqzcEg2Xk4hg63I//dGvVM48+TU4vUfAcBK0fL59tPYH0reRvdK3E vdCHHIjrOR4dJ8x+DoCBMLi38tIYMFNFwIUDULY8ZHwH3OHqECuPNCLyQmyeLI55orcu b7AGq3uC/fKpQLHNPGfQ3wvIKb8KOlukrL5MyzHFxcKvdUINdWD97A/fUzLXh1L0wp1c QYsz6v2gzO8j0ZWQnRtnTb89VKZSh8uAk/UAfiPGn7XxpRIuf1Zb6AF3zzW7IIwsiFIb XjpKqMu8Evjh0u+SoFlz2leYk5OVGQMY6GqzJHx7nFc2dXi8Ey23fTyiTJ2TFlWhCs3Y 5mQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=KO0gvkzu; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 a26si9607292edv.35.2019.10.01.10.24.07; Tue, 01 Oct 2019 10:24:33 -0700 (PDT) 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=selector2-amdcloud-onmicrosoft-com header.b=KO0gvkzu; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 S1729767AbfJARXs (ORCPT + 99 others); Tue, 1 Oct 2019 13:23:48 -0400 Received: from mail-eopbgr760079.outbound.protection.outlook.com ([40.107.76.79]:2371 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729692AbfJARXs (ORCPT ); Tue, 1 Oct 2019 13:23:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EpHLWxo3pAvbjzhdkTtWVIz+FV3u7bjE/QEG7KWvre1+1qCPEPj2FtQeUum6nifAy12QEyJeFRtE3scrpD9a74NKN4AI9sJRH/lL921Ltuj/gKmF/LK3+MnnuarWhXNLPkMItx2gxaUftMfyz4OAb+YOjFe7D/LAI0KGYTK1TR88fTgJuG9RLxYekFN/j+8YKnTCjD5jD1sHwMc1O7+SHA2WH7upeNXbtspxQ48XX/VuMyobU4NK9/CmfEuD2XRopspkDuQhZwMuO9o29DVfCoCUlTtU5BWCxaZvlgMrjK6lZYU+kk4t8D+UWwLsKPKNmpBYEycGPGHyjMLI4mnRfw== 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-SenderADCheck; bh=DvpI6JiW8S029O9uMVE64R+dxC4VkgtzpqCTecQvjyY=; b=EEysCr+14T/KeITki4hzAbz74gVCQdbhWcejOWHlVryhW7ssAPWoWLY3RA0qyFhSrmY750A/nnEhnUKktHCjYFTFJKsDON7BFED20pVEC0rBJSG0nXeNXIBmoxRGtffQ4kUMP0bhIDSKg66YgNWtFqu10ftPTmT6hOg3bYjfSHmE3pqtI4wrI6E5NM1K+zVuRG06BrF5ZLSYim8ei55M+5HEMMU3CUm86fT8vVxJTl6UzdDakppfiOC6SC2EmjMPSlIw74XaCCmLOAht2bhU187UMjRFsdP/jGyMVx25eK1SCs+9+4x0DHTrIRESbXmCmg2wo7MEXBJ7OD/WDaveXA== 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=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DvpI6JiW8S029O9uMVE64R+dxC4VkgtzpqCTecQvjyY=; b=KO0gvkzuo+JT/ONaHRp1M88knvT5RH08rBTUe742JKh9epGyFzxcdAgETwEuessqRM3FkWxP1nQv1FrdJexYICtHnI9eiMSpj0JDiDNAD+yNXFD2QJnh0zVfBkK8Wn05sMOq4+xytlDAbBYi3OtEmxd67nfDdm5iRmF4qfvjTwY= Received: from BN6PR12MB1809.namprd12.prod.outlook.com (10.175.101.17) by BN6PR12MB1539.namprd12.prod.outlook.com (10.172.19.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Tue, 1 Oct 2019 17:23:43 +0000 Received: from BN6PR12MB1809.namprd12.prod.outlook.com ([fe80::418d:e764:3c12:f961]) by BN6PR12MB1809.namprd12.prod.outlook.com ([fe80::418d:e764:3c12:f961%10]) with mapi id 15.20.2305.017; Tue, 1 Oct 2019 17:23:43 +0000 From: "Deucher, Alexander" To: "RAVULAPATI, VISHNU VARDHAN RAO" CC: "RAVULAPATI, VISHNU VARDHAN RAO" , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "Mukunda, Vijendar" , Maruthi Srinivas Bayyavarapu , Colin Ian King , Dan Carpenter , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: RE: [PATCH 1/7] ASoC: amd: No need PCI-MSI interrupts Thread-Topic: [PATCH 1/7] ASoC: amd: No need PCI-MSI interrupts Thread-Index: AQHVd5goxXKghNLRDkOKQUyI++DOdKdGClsQ Date: Tue, 1 Oct 2019 17:23:43 +0000 Message-ID: References: <1569891524-18875-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> In-Reply-To: <1569891524-18875-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Deucher@amd.com; x-originating-ip: [71.219.73.178] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 172c7345-53ef-4076-6b91-08d746941c01 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: BN6PR12MB1539: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0177904E6B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(366004)(376002)(136003)(346002)(396003)(13464003)(189003)(199004)(102836004)(256004)(486006)(54906003)(11346002)(446003)(476003)(7736002)(305945005)(33656002)(4326008)(2906002)(74316002)(14454004)(8936002)(64756008)(66446008)(66476007)(66946007)(186003)(6246003)(76116006)(66556008)(81156014)(6116002)(229853002)(25786009)(81166006)(3846002)(8676002)(6506007)(26005)(478600001)(99286004)(7696005)(71190400001)(316002)(6862004)(6636002)(71200400001)(66066001)(76176011)(6436002)(55016002)(5660300002)(9686003)(52536014)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR12MB1539;H:BN6PR12MB1809.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3fmu5b9NDCQdTyhAbiGlsTzaidlwKDX98TceKJAVSVMOFPyBDc95lgxYkBZ6z5Ra5ozuAtt3gUDyZOoeIidl3iOt9ztSTwAG/bx31xdjejrq0uv/81gt+CRrwnxxlrkTOVs8sOvXJR2TdouowEnaZI1Fu0OX/u3duRAh9X5kMNoEKv+TwKD/ZAEwwN0p3abEqSXMhL3SIsAa25joZPA1C+8Ub3/Tn7pl/yEBY/wt2N++eZzjH6r1Kdqnmos+IXPX1xJiWlceTNjHKOafEEAHeXVajt9g8zl7BeEQkBTJDx26K7ZP5Kl33k/a908E63hYaoxAtVpTVtGGpiFXpMXEPKj7UVQ++s9WfJlpVyZHbm8hVKsaNI44QmJMnX5EoFvdWyW6pwNNORHi1aGfzFP9cfPgyEX2UFCQhPrFJbAPMvs= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 172c7345-53ef-4076-6b91-08d746941c01 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2019 17:23:43.4124 (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: iAAy3VBWHbOfW6LPcbfC9ROFpELqwhp8vdPB3Yre7BFaiM5MA5qholxTSWxVzbmRBf0nEJOn0m7mYh5zX9Qrhg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1539 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Ravulapati Vishnu vardhan rao > > Sent: Monday, September 30, 2019 8:58 PM > Cc: Deucher, Alexander ; RAVULAPATI, > VISHNU VARDHAN RAO ; Liam > Girdwood ; Mark Brown ; > Jaroslav Kysela ; Takashi Iwai ; > Mukunda, Vijendar ; Maruthi Srinivas > Bayyavarapu ; Deucher, Alexander > ; Colin Ian King > ; Dan Carpenter ; > moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM... > ; open list > Subject: [PATCH 1/7] ASoC: amd: No need PCI-MSI interrupts >=20 > ACP-PCI controller driver does not depends msi interrupts. > So removed msi related pci functions which have no use and does not impac= t > on existing functionality. In general, however, aren't MSIs preferred to legacy interrupts? Doesn't t= he driver have to opt into MSI support? As such, won't removing this code = effectively disable MSI support? Alex >=20 > Signed-off-by: Ravulapati Vishnu vardhan rao > > --- > sound/soc/amd/raven/pci-acp3x.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) >=20 > diff --git a/sound/soc/amd/raven/pci-acp3x.c b/sound/soc/amd/raven/pci- > acp3x.c index facec24..8f6bf00 100644 > --- a/sound/soc/amd/raven/pci-acp3x.c > +++ b/sound/soc/amd/raven/pci-acp3x.c > @@ -46,14 +46,7 @@ static int snd_acp3x_probe(struct pci_dev *pci, > goto release_regions; > } >=20 > - /* check for msi interrupt support */ > - ret =3D pci_enable_msi(pci); > - if (ret) > - /* msi is not enabled */ > - irqflags =3D IRQF_SHARED; > - else > - /* msi is enabled */ > - irqflags =3D 0; > + irqflags =3D 0; >=20 > addr =3D pci_resource_start(pci, 0); > adata->acp3x_base =3D ioremap(addr, pci_resource_len(pci, 0)); @@ - > 112,7 +105,6 @@ static int snd_acp3x_probe(struct pci_dev *pci, > return 0; >=20 > unmap_mmio: > - pci_disable_msi(pci); > iounmap(adata->acp3x_base); > release_regions: > pci_release_regions(pci); > @@ -129,7 +121,6 @@ static void snd_acp3x_remove(struct pci_dev *pci) > platform_device_unregister(adata->pdev); > iounmap(adata->acp3x_base); >=20 > - pci_disable_msi(pci); > pci_release_regions(pci); > pci_disable_device(pci); > } > -- > 2.7.4