From patchwork Tue Nov 6 21:52:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 10671511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ADCAD14E2 for ; Tue, 6 Nov 2018 21:52:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E4412AD4F for ; Tue, 6 Nov 2018 21:52:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 929002AD83; Tue, 6 Nov 2018 21:52:27 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,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 541002AD4F for ; Tue, 6 Nov 2018 21:52:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727605AbeKGHTo (ORCPT ); Wed, 7 Nov 2018 02:19:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:40766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbeKGHTo (ORCPT ); Wed, 7 Nov 2018 02:19:44 -0500 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A1F22083D; Tue, 6 Nov 2018 21:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541541145; bh=D4VgFYuOd+o38IlJFM18JB5dePFP/Z9mMp2loQa8ooA=; h=Subject:From:To:Cc:Date:From; b=NJcR6OjWAdAhCqPMt8uIILZmJ/Sv1MpLffIUEw9jrOA45DVY1eSRXb0qa1ylwftf2 HbMds8Nma1C4Sv1bTNgI74xrqsXOFkxNshwKTmWKM996BYlqOWSBUn8ovsGbmCh9Gg QVLp9ksc4GMHcX5rjOozrj2N8CFBHba5l+rzjrL8= Subject: [PATCH 0/2] lspci: Decode Multicast capability From: Bjorn Helgaas To: Martin Mares Cc: linux-pci@vger.kernel.org Date: Tue, 06 Nov 2018 15:52:24 -0600 Message-ID: <154154102296.78911.760432131801074864.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 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 Hi Martin, Here's some decoding for the Multicast capability and some new capability names for setpci. These are based on a42aea906410 ("Add a couple of missing va_end's"). --- Bjorn Helgaas (2): lspci: Decode Multicast Extended Capability setpci: Add capability names lib/header.h | 18 ++++ ls-ecaps.c | 59 ++++++++++++ setpci.c | 25 +++++ tests/cap-multicast | 257 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 359 insertions(+) create mode 100644 tests/cap-multicast