Re: [RFC 1/8] Introduce Peer-to-Peer memory (p2pmem) device

From: okaya
Date: Fri Mar 31 2017 - 22:17:17 EST


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.