Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343130

[PATCH 2/2] PCI: generic: add description of property "interrupt-skip-mask"

From Zhen Lei <thunder.leizhen@huawei.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] PCI: generic: add description of property "interrupt-skip-mask"
Date 2016-02-25 13:00 +0100
Message-ID <r62Km-3eF-7@gated-at.bofh.it> (permalink)
References <r62Kl-3eF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Interrupt Pin register is read-only and optional. Some pci devices may use
msi/msix but leave the value of Interrupt Pin non-zero. In this case, the
driver will print information as below:
pci 0000:40:00.0: of_irq_parse_pci() failed with rc=-22

It's easily lead to misinterpret.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 Documentation/devicetree/bindings/pci/host-generic-pci.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/host-generic-pci.txt b/Documentation/devicetree/bindings/pci/host-generic-pci.txt
index 3f1d3fc..0f10978 100644
--- a/Documentation/devicetree/bindings/pci/host-generic-pci.txt
+++ b/Documentation/devicetree/bindings/pci/host-generic-pci.txt
@@ -70,6 +70,8 @@ Practice: Interrupt Mapping' and requires the following properties:

 - interrupt-map-mask : <see aforementioned specification>

+- interrupt-skip-mask: Explicitly declare which pci devices only use msi/msix
+but leave the value of Interrupt Pin non-zero.

 Example:

--
2.5.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] pci/of: to support explicitly declare interrupt pins unused Zhen Lei <thunder.leizhen@huawei.com> - 2016-02-25 13:00 +0100
  [PATCH 2/2] PCI: generic: add description of property "interrupt-skip-mask" Zhen Lei <thunder.leizhen@huawei.com> - 2016-02-25 13:00 +0100
    Re: [PATCH 2/2] PCI: generic: add description of property  "interrupt-skip-mask" Mark Rutland <mark.rutland@arm.com> - 2016-02-25 13:30 +0100
      Re: [PATCH 2/2] PCI: generic: add description of property  "interrupt-skip-mask" "Leizhen (ThunderTown)" <thunder.leizhen@huawei.com> - 2016-02-26 08:30 +0100
        Re: [PATCH 2/2] PCI: generic: add description of property  "interrupt-skip-mask" Mark Rutland <mark.rutland@arm.com> - 2016-02-26 12:50 +0100

csiph-web