From patchwork Thu Nov 23 14:04:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oded Gabbay X-Patchwork-Id: 10072887 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9AA456056E for ; Thu, 23 Nov 2017 14:04:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 932E929EEF for ; Thu, 23 Nov 2017 14:04:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 883AD2A0A5; Thu, 23 Nov 2017 14:04:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39C5929EEF for ; Thu, 23 Nov 2017 14:04:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753029AbdKWOE3 (ORCPT ); Thu, 23 Nov 2017 09:04:29 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:46378 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753005AbdKWOE2 (ORCPT ); Thu, 23 Nov 2017 09:04:28 -0500 Received: by mail-wm0-f67.google.com with SMTP id u83so17172760wmb.5; Thu, 23 Nov 2017 06:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=EtpUbWg5pMXDmTCRhob96pwxN7mvYxY23wiXq8oCO2o=; b=NRaueQ85ohPe8Yb5MGyu104DhXqcuAvlBPOrtiQ29iFazEFwPEHhqrksozAL0S1Sd1 0pwcQA0Do9XDLgkIa1V7Gz62+qDisI0SxDc531olIoL0EM+6lVHNNFvDCo3fcDQtNuUA w9DbDCe+Uf8hwZC/JK+i+9UDjUsM6CpMAwgUjkpV/lx3Tcwa+JQwr2MzWIojaPpsuUa7 gs9DGFx6n7pktoxIuOGOnlCeUvSREc8gWqWcISznqleeoiJJgL8KvPoUmFx+4LSJeRL2 2AHIAJ7MpNJy8omOqB23QqsEYj17ZoLg/8e9dwR/o7pOCLBAvLFGFLPHOphne0git77s 3oGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=EtpUbWg5pMXDmTCRhob96pwxN7mvYxY23wiXq8oCO2o=; b=SfRjPWPe59YXbyCp2HAJcP5+LZSzZSmWopn6VXlJb/Kcm0+aDYGiL3ih1Zt1qAqn6a VeBl2w1l0tGQBwwtOVbb/dEwQmZbIG/A8a1O3I6LOhw+hEdKY2ixWL3sHoQFgSzOdbVr Kj2Q0zpLI1DOCQc4zaycCq+0u6COZgYYGa36v7HtjLJ4xQGB09aXBcEa/hrqwSQJj1d1 0xlluD63TvKTFA23lHv42jeK84Z6vEvL28kPDKM7v7JjX95UQGHoehm5w5oLFdHH1TQt JI2Sy+OBm+xvzZyNL1J207hf86t52gE+RfucNuaBX1lMfTm3PbYo7B7hsYeXJzD+jkDh 7Uzg== X-Gm-Message-State: AJaThX4YEOe2IdRdx/Sim9p4uDd47kGh86QTQGT17AeZzAmAGvmUO/zk DA+kbNAXPQQagCEZ7w45YpPEUvJX X-Google-Smtp-Source: AGs4zMb29fnC9O2WJ4P20Udcn4b15ssujb9tOewujYgM7ArVxRZS/EFo8ukJPZgt/x5FpYeDH8ItzQ== X-Received: by 10.28.210.72 with SMTP id j69mr7706336wmg.51.1511445866428; Thu, 23 Nov 2017 06:04:26 -0800 (PST) Received: from localhost.localdomain ([176.231.102.12]) by smtp.gmail.com with ESMTPSA id w76sm38626318wrc.79.2017.11.23.06.04.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Nov 2017 06:04:25 -0800 (PST) From: Oded Gabbay To: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, gregkh@linuxfoundation.org Subject: [PATCH] pci: add class codes for processing accelerators Date: Thu, 23 Nov 2017 16:04:22 +0200 Message-Id: <1511445862-4383-1-git-send-email-oded.gabbay@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add PCI codes to include/linux/pci_ids.h for Processing Accelerators. There are new ASICs (now in development) for Deep Learning that will utilize this base class. Signed-off-by: Oded Gabbay --- include/linux/pci_ids.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index ab20dc5..4c210cd 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -139,6 +139,9 @@ #define PCI_CLASS_SP_DPIO 0x1100 #define PCI_CLASS_SP_OTHER 0x1180 +#define PCI_BASE_CLASS_PROCESSING_ACCELERATOR 0x12 +#define PCI_CLASS_PA_VENDOR_SPECIFIC 0x1200 + #define PCI_CLASS_OTHERS 0xff /* Vendors and devices. Sort key: vendor first, device next. */