From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751486AbdDACRO (ORCPT ); Fri, 31 Mar 2017 22:17:14 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:56068 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbdDACRI (ORCPT ); Fri, 31 Mar 2017 22:17:08 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 31 Mar 2017 22:17:07 -0400 From: okaya@codeaurora.org To: Logan Gunthorpe Cc: Christoph Hellwig , Sagi Grimberg , "James E.J. Bottomley" , "Martin K. Petersen" , Jens Axboe , Steve Wise , Stephen Bates , Max Gurtovoy , Dan Williams , Keith Busch , Jason Gunthorpe , linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-nvdimm@ml01.01.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 1/8] Introduce Peer-to-Peer memory (p2pmem) device In-Reply-To: References: <1490911959-5146-1-git-send-email-logang@deltatee.com> <1490911959-5146-2-git-send-email-logang@deltatee.com> <7158f2e8-2016-f398-e77f-0fcbe6cb41dd@deltatee.com> <0280fbb4-ba9e-ac64-6bb3-b72590a54e57@deltatee.com> <0ae27bca-21be-b89c-aba4-6cc9766ebd7b@codeaurora.org> Message-ID: User-Agent: Roundcube Webmail/1.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-03-31 21:57, Logan Gunthorpe wrote: > On 31/03/17 05:51 PM, Sinan Kaya wrote: >> You can put a restriction with DMI/SMBIOS such that all devices from >> 2016 >> work else they belong to blacklist. > > How do you get a manufacturing date for a given device within the > kernel? Is this actually something generically available? > > Logan Smbios calls are used all over the place in kernel for introducing new functionality while maintaining backwards compatibility. See drivers/pci and drivers/acpi directory.