Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2365196ybm; Thu, 23 May 2019 15:58:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1s80D7pEkjpGpXdQx6TL/bgDe10H4gh97AcEbj1EbO2B5Bgn8ycATDz0aqPQUX/nV7+YW X-Received: by 2002:a63:6647:: with SMTP id a68mr84275632pgc.292.1558652308469; Thu, 23 May 2019 15:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558652308; cv=none; d=google.com; s=arc-20160816; b=HbwCT6ra+RZa0RLMdR85f1r0IXXAb84TSUGYM1AD21vjsvND5oSiHqj9ViKE+wFN+g G4BklaUeiZZE07A0eZ741MBLnNsR8ii50tQbyamjHHa6mebQDvFBluwU06jgoRIB3gs3 MPK7oj56g2Q1nx9opgjqF17G1E+45JZdxZSommD4uayExBE8AIivydOSmsl1KAsZgxtF 6GjSIfrZ9lJPfyt0nA8SMiTpf5f/6msnd4hNooQBiaSB0U+OVPd3VBorg50vz+ALUdjc ja0oS3cWfF/H9mu9HyF34dP0mQZsKohOiYVcR+EEMz19s+J16JsvtY5312U4BmJkQ/KC L9qg== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=RI+hsFUvp61K6uSUFrHIQx38YobOJYBePhcgKLA69lk=; b=U7a27eh9z8/0qOA5am+uIBZ7nlS/JPG+6J5FBUEHSq4Pc07MEE9kaH60N0zOA0B2lX KOiQfMA+8fjv6fz4akRYXyV8W2fiH/0VAosQi0qwUkDrDdTpt+ftIA2wRSL3NY0UIpsY 0W1YxEelbnsZON1/IOUVYuey8sPX5K12et1FabWj7C5ZGtjlDWoyxd/dbtqbafCI2oJ5 BDmBmp+UMLyR0AL3gm/s5H9Ze+dm2QxRdfzn7LFekOpI3YNCmDYtP0RTo3FUx2x17c/y 4YRxhZsQR7i8Y1d7OSjYAFhFBTmk5O1k2PVew2BntX0bv0mjkn5dup/eVOkN2QS0s0bT IGgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=vboiF41B; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q19si1545835pgj.42.2019.05.23.15.58.11; Thu, 23 May 2019 15:58:28 -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=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=vboiF41B; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388521AbfEWW4r (ORCPT + 99 others); Thu, 23 May 2019 18:56:47 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:23695 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387828AbfEWW4q (ORCPT ); Thu, 23 May 2019 18:56:46 -0400 Received-SPF: Pass (esa3.microchip.iphmx.com: domain of Don.Brace@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa3.microchip.iphmx.com; envelope-from="Don.Brace@microchip.com"; x-sender="Don.Brace@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa3.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa3.microchip.iphmx.com; envelope-from="Don.Brace@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa3.microchip.iphmx.com; spf=Pass smtp.mailfrom=Don.Brace@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com X-IronPort-AV: E=Sophos;i="5.60,504,1549954800"; d="scan'208";a="34635170" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 May 2019 15:56:29 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.107) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 23 May 2019 15:56:08 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RI+hsFUvp61K6uSUFrHIQx38YobOJYBePhcgKLA69lk=; b=vboiF41By+IylOSWBXRPDYoYinXreark9IdGQWZ+qBKijCtNhox8Eik82fj27bj0wnprApYTih/Ec/l0kjzXJt4hPc5fgge/IzpXGj/q7zF1BOu704lPpslf7gg44xmgAROeiEt2dp5/58t7MUTMPPx03VG+6melUsIVqrTXELE= Received: from SN6PR11MB2767.namprd11.prod.outlook.com (52.135.92.154) by SN6PR11MB3502.namprd11.prod.outlook.com (52.135.125.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16; Thu, 23 May 2019 22:55:55 +0000 Received: from SN6PR11MB2767.namprd11.prod.outlook.com ([fe80::d415:48f:41b6:1ae8]) by SN6PR11MB2767.namprd11.prod.outlook.com ([fe80::d415:48f:41b6:1ae8%6]) with mapi id 15.20.1922.018; Thu, 23 May 2019 22:55:55 +0000 From: To: , , CC: , , , , , 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: AQHVESv6mWMB+P3X6UO5zLv0IXveVaZ4yegAgACIv3A= Date: Thu, 23 May 2019 22:55:55 +0000 Message-ID: References: <20190523055212.23568-1-lijiang@redhat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [216.54.225.58] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6d660989-534f-43d3-a886-08d6dfd1d057 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:SN6PR11MB3502; x-ms-traffictypediagnostic: SN6PR11MB3502: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 00462943DE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(346002)(376002)(366004)(396003)(39860400002)(199004)(189003)(13464003)(256004)(14444005)(229853002)(66066001)(110136005)(316002)(9686003)(33656002)(3846002)(55016002)(6116002)(71200400001)(2906002)(186003)(86362001)(478600001)(52536014)(74316002)(71190400001)(53936002)(25786009)(476003)(8936002)(6246003)(81156014)(66946007)(8676002)(5660300002)(76116006)(4326008)(68736007)(73956011)(72206003)(76176011)(102836004)(486006)(11346002)(14454004)(6436002)(66446008)(446003)(6506007)(2501003)(53546011)(7736002)(305945005)(81166006)(7696005)(99286004)(66476007)(54906003)(64756008)(26005)(66556008);DIR:OUT;SFP:1101;SCL:1;SRVR:SN6PR11MB3502;H:SN6PR11MB2767.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 5aGfwdz08jlOirF9OLdzzgJECVsFq+yow8yFf4v0qT4bU7fGj8MdVaPjyF3N/itxS664sdDkEaT5iUIyNnrnPiMNmKwr/anqK4hrw85dZsCv25VvYr/neTfspV6WxRK9ff+Ztj3Ay7n+gh6WTMnj7/39fLuEgpYjXUt4LSxDpz+4+Cdo0WbhOPZSNE9tv36DX8ky8rFMhC66FrSVwu/5HcFj3dEdF3nmx/6usIuUpDRjX3vxEkp8ozBRpqddaWjhiQXppIC0WkVFhAwkBZvVClRbO2dHL2i2KBECoMDXMKHgr3x4tkV3vuJzPWpAosdxVDeSvTdswRbuckP7fBzzD5YPDtQy5F7PR5gWqS+w240yZy1goIi6zIxBUiz3mpwpVZlRU+pZ+tbLh7s+qDrjQdDk35uSYLFQIx7CoUnICII= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6d660989-534f-43d3-a886-08d6dfd1d057 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2019 22:55:55.5268 (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: Don.Brace@microchip.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3502 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org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