From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F2A1D21A04820 for ; Fri, 31 Mar 2017 19:17:07 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 31 Mar 2017 22:17:07 -0400 From: okaya@codeaurora.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Logan Gunthorpe Cc: Jens Axboe , Jason Gunthorpe , "James E.J. Bottomley , Martin K. Petersen" , linux-nvdimm@lists.01.org, linux-rdma@vger.kernel.org, linux-pci@vger.kernel.org, Steve Wise , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, Keith Busch , linux-scsi@vger.kernel.org, Max Gurtovoy , Christoph Hellwig List-ID: 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. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 From: okaya-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org Subject: Re: [RFC 1/8] Introduce Peer-to-Peer memory (p2pmem) device Date: Fri, 31 Mar 2017 22:17:07 -0400 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Logan Gunthorpe Cc: Jens Axboe , Jason Gunthorpe , "James E.J. Bottomley" , "Martin K. Petersen" , linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Steve Wise , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nvme-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Keith Busch , linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Max Gurtovoy , Christoph Hellwig List-Id: linux-rdma@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. 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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@lists.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: Sender: linux-kernel-owner@vger.kernel.org List-ID: 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: okaya@codeaurora.org (okaya@codeaurora.org) Date: Fri, 31 Mar 2017 22:17:07 -0400 Subject: [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: 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.