Thread (5 messages) flat view 5 messages, 5 authors, 2017-08-24
STALE3280d

[PATCH v10] PCI: tango: Add MSI controller support

From: Marc Zyngier <hidden>
Date: 2017-08-22 20:03:41
Also in: linux-pci

On Tue, Aug 22 2017 at  8:02:18 pm BST, Marc Gonzalez [off-list ref] wrote:
On 22/08/2017 18:29, Marc Zyngier wrote:
quoted
On 22/08/17 15:56, Marc Gonzalez wrote:
quoted
 #define SMP8759_MUX		0x48
 #define SMP8759_TEST_OUT	0x74
+#define SMP8759_STATUS		0x80
+#define SMP8759_ENABLE		0xa0
+#define SMP8759_DOORBELL	0xa002e07c
Why is this hardcoded and not coming from the device-tree, just like any
other address property?
Since this bus address is software-configurable, I didn't think
it belonged in the DT. Also, I didn't see anything similar in
other binding docs, especially

Documentation/devicetree/bindings/interrupt-controller/msi.txt
If that's software configurable, how on Earth did you pick the address?
How do you ensure that it doesn't conflict with DMA? How is it
configured into the RC?

	M.
-- 
Jazz is not dead. It just smells funny.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help