Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753950AbbKXPwk (ORCPT ); Tue, 24 Nov 2015 10:52:40 -0500 Received: from g2t1383g.austin.hp.com ([15.217.136.92]:25280 "EHLO g2t1383g.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753721AbbKXPwi (ORCPT ); Tue, 24 Nov 2015 10:52:38 -0500 From: "Elliott, Robert (Persistent Memory)" To: =?utf-8?B?TWF0aWFzIEJqw7hybGluZw==?= , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "axboe@fb.com" CC: "hch@infradead.org" , "keith.busch@intel.com" , "sudipm.mukherjee@gmail.com" , "ww.tao0320@gmail.com" Subject: RE: [PATCH 1/5] lightnvm: change vendor and dev id for qemu Thread-Topic: [PATCH 1/5] lightnvm: change vendor and dev id for qemu Thread-Index: AQHRJrv2beeBBkznOUeTDRDlW+QP5Z6rUg+w Date: Tue, 24 Nov 2015 15:52:06 +0000 Message-ID: <94D0CD8314A33A4D9D801C0FE68B40295BE51C85@G9W0745.americas.hpqcorp.net> References: <1448371608-18053-1-git-send-email-m@bjorling.me> <1448371608-18053-2-git-send-email-m@bjorling.me> In-Reply-To: <1448371608-18053-2-git-send-email-m@bjorling.me> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.210.192.234] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tAOFqik3022110 Content-Length: 856 Lines: 25 > -----Original Message----- > From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel- > owner@vger.kernel.org] On Behalf Of Matias Bjørling > Sent: Tuesday, November 24, 2015 7:27 AM ... > Instead of using the Intel NVMe QEMU instance vendor and device id, > let's use a preallocated from CNEX Labs instead. This lets us ... > /* QEMU NVMe simulator - PCI ID + Vendor specific bit */ > - if (pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == > 0x5845 && > + if (pdev->vendor == 0x1d1d && pdev->device == 0x1f1f && > id->vs[0] == 0x1) Could this patch add PCI_VENDOR_ID_CNEX to the appropriate .h file and use that instead? --- Robert Elliott, HPE Persistent Memory ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?