Thread (32 messages) 32 messages, 3 authors, 2018-10-10

Re: [PATCH v8 01/15] octeontx2-af: Add Marvell OcteonTX2 RVU AF driver

flat view

From: Sunil Kovvuri <hidden>
Date: 2018-10-08 21:02:32

On Mon, Oct 8, 2018 at 5:52 PM Arnd Bergmann [off-list ref] wrote:
On Sun, Oct 7, 2018 at 4:59 PM [off-list ref] wrote:
quoted
--- /dev/null
+++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig
@@ -0,0 +1,12 @@
+#
+# Marvell OcteonTX2 drivers configuration
+#
+
+config OCTEONTX2_AF
+       tristate "Marvell OcteonTX2 RVU Admin Function driver"
+       depends on ARM64 && PCI
You should try to allow building it on x86 and other architectures, even though
the driver won't be used there this helps get reports from static
build infrastructure.
You could use e.g.

      depends on (64BIT && COMPILE_TEST) || ARM64
      depends on PCI

           Arnd
Thanks for the suggestion.
But going forward we will have few arm64 assembly instructions used in
the driver.
So a x86 build will fail. And i have built code using sparse and
coverity as well before
submitting patches upstream.

Sunil.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help