Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1858941ybm; Thu, 23 May 2019 07:47:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwW73OzxvIjIxxHoHVBvmzoH8GiiaUq6+GFQTL/d67/Yf6O+AiN7WcH1qKIugxrl6pIhMKG X-Received: by 2002:a17:902:9a84:: with SMTP id w4mr37365900plp.241.1558622849602; Thu, 23 May 2019 07:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558622849; cv=none; d=google.com; s=arc-20160816; b=u9PPzhoTsBuUS462pguoxX3f0qm5B0boY28G625VhnA/ZDyirzwELxOFV05ASjmBbS Q/8NnXeB9jNv7jG0WlrkQTyWExwYgpaWAtndgcB4B182kdUAN3lvJwLJHq4Ui/uJBe2I MwjATlLxvf0sDNggOC+L38eO4sGyoXRAIwZOSLstP0PTtJSLwzSlVP9X6cEbnuaCCRNf vQyZ0z9CNxOF1n3HAFLfFxSzqT0KqYA56XxJDXAWLXp1TpFjthPfvEeROQDh82keUEom hFfpXDw3d46VgmFgsFYaSGL0coucxasxU/IEqAhonTErMbdPCdJlPKSAE98qykuKUZ9h DkNA== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ZpHLKOEdVlPj+NQ3TNHxcauYJcMH2k9HEHQs413Xc08=; b=pvbka3Uuie2IHvRJ5RhNxMzNRMkKBhgTLUyGcXTHr5fDhzYvIPXLwz7QjIcaIGvOKF QjBrklMFNX3Kmnx5R8X20yCH/6Ir7TAi6lMn4WAC+2VlirULyK84KGH/nh7rMBdZeDbi zv/xBvhcH9IEnRkhsr/R4VCwcEI2p8xJOX7pBXRZWW3JBwiz0uTuerymydmvGNsLBaco 4R8A3E1wEdjXCF/2bkrwFIYRXzV1/3Jit7tfCj6XtPcaEQ6kj7axTow8muN6LBnWmLPx XL3Lalv9Ym9OvxUG5xnIjtu2LN7MIAtHtIHe0H68GZKuH5kSwvHpk48vqIMgo/fsI4wL k3kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=khYLCWZ7; 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 35si28914579plb.228.2019.05.23.07.47.13; Thu, 23 May 2019 07:47:29 -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=selector1-amdcloud-onmicrosoft-com header.b=khYLCWZ7; 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 S1730866AbfEWOpR (ORCPT + 99 others); Thu, 23 May 2019 10:45:17 -0400 Received: from mail-eopbgr750089.outbound.protection.outlook.com ([40.107.75.89]:41087 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730782AbfEWOpQ (ORCPT ); Thu, 23 May 2019 10:45:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZpHLKOEdVlPj+NQ3TNHxcauYJcMH2k9HEHQs413Xc08=; b=khYLCWZ7KurjlubHoGudxf9cMusOUUtKftaGen70EUA56bm8Iqs3A2zzmUGs4GxbBmY1i4tVGjH/1urIxlbXzga2G/ADZlyIl/ua5yUcHsQ0xf2j0qfAd3/IDdFhpbE5I6ZL/TzuvgdIIDQtY4FBSUJmb6zCXuN0GvC7z3hJcrM= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB2809.namprd12.prod.outlook.com (20.176.117.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.17; Thu, 23 May 2019 14:45:12 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::bcaf:86d4:677f:9555]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::bcaf:86d4:677f:9555%6]) with mapi id 15.20.1900.020; Thu, 23 May 2019 14:45:12 +0000 From: "Lendacky, Thomas" To: Lianbo Jiang , "linux-kernel@vger.kernel.org" CC: "don.brace@microsemi.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "linux-scsi@vger.kernel.org" , "esc.storagedev@microsemi.com" , "dyoung@redhat.com" Subject: Re: [PATCH] scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask in pqi_pci_init() Thread-Topic: [PATCH] scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask in pqi_pci_init() Thread-Index: AQHVESu1VkC12Yqcb0iDmGzQpM2cbaZ4yeYA Date: Thu, 23 May 2019 14:45:12 +0000 Message-ID: References: <20190523055212.23568-1-lijiang@redhat.com> In-Reply-To: <20190523055212.23568-1-lijiang@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0501CA0031.namprd05.prod.outlook.com (2603:10b6:803:40::44) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:182::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: adc336ea-c483-48e8-19e7-08d6df8d42cf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DM6PR12MB2809; x-ms-traffictypediagnostic: DM6PR12MB2809: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 00462943DE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(136003)(396003)(376002)(366004)(199004)(189003)(6486002)(305945005)(53546011)(26005)(6246003)(110136005)(478600001)(31686004)(229853002)(102836004)(2906002)(99286004)(76176011)(81156014)(81166006)(2501003)(256004)(52116002)(66066001)(7736002)(72206003)(6116002)(68736007)(71190400001)(6512007)(14444005)(6436002)(14454004)(386003)(6506007)(3846002)(11346002)(446003)(71200400001)(8676002)(53936002)(2616005)(5660300002)(476003)(86362001)(316002)(31696002)(66556008)(64756008)(66446008)(66476007)(486006)(66946007)(73956011)(25786009)(54906003)(186003)(36756003)(4326008)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB2809;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: awvSOTsTzsOAHCVj58Ua3XZrz3HgVjMLkTjLGK0/lzxrBPoNFe2pGgYkQoTWuoo/xF2GK2tIAsQj2oKR7ugw7/X2N9ukBYNeXYYE5ItPVfeqAshI1xPIlJTF3Lo3A5RyzpsCVcYiScX7oeIfYz1Ss04GG7XWU04OLs/Uar/JJur5IqWEweZ6r2+S1UGu/23xQ/+sOBEJOstWO8GBUvkAKSXd60xHtilCS3cCl7Ks/d7a5EekirBVVfROmHu01lcPHLNSdrK625ejKpxCrrZURBnKndS5G8M2kfc5pfDpY9xnaOM0lgkl5S9ogeammB4rY0LDM7Ubk7MgSSLUWrPxB9KjaLB0V4S5M9rkRfqcuGYTgTb8MysZ/VwzZy8Y9sfOy7Z4E8sbLB2vtMwX/N5UpjjtANFEOIbZ/6mS0EFf08E= Content-Type: text/plain; charset="utf-8" Content-ID: <6BA16298E5669743908BA574047E8C3B@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: adc336ea-c483-48e8-19e7-08d6df8d42cf X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2019 14:45:12.7163 (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-Transport-CrossTenantHeadersStamped: DM6PR12MB2809 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNS8yMy8xOSAxMjo1MiBBTSwgTGlhbmJvIEppYW5nIHdyb3RlOg0KPiBXaGVuIFNNRSBpcyBl bmFibGVkLCB0aGUgc21hcnRwcWkgZHJpdmVyIHdvbid0IHdvcmsgb24gdGhlIEhQIERMMzg1DQo+ IEcxMCBtYWNoaW5lLCB3aGljaCBjYXVzZXMgdGhlIGZhaWx1cmUgb2Yga2VybmVsIGJvb3QgYmVj YXVzZSBpdCBmYWlscw0KPiB0byBhbGxvY2F0ZSBwcWkgZXJyb3IgYnVmZmVyLiBQbGVhc2UgcmVm ZXIgdG8gdGhlIGtlcm5lbCBsb2c6DQo+IC4uLi4NCj4gWyAgICA5LjQzMTc0OV0gdXNiY29yZTog cmVnaXN0ZXJlZCBuZXcgaW50ZXJmYWNlIGRyaXZlciB1YXMNCj4gWyAgICA5LjQ0MTUyNF0gTW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