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


Groups > linux.kernel > #1389387

Re: [PATCH v2] net: Add Qualcomm IPC router

From Bjorn Andersson <bjorn.andersson@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] net: Add Qualcomm IPC router
Date 2016-04-27 19:20 +0200
Message-ID <rsBi2-4Sv-11@gated-at.bofh.it> (permalink)
References <rsqwj-46L-11@gated-at.bofh.it> <rsAvF-47z-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 27 Apr 09:22 PDT 2016, David Miller wrote:

> From: Bjorn Andersson <bjorn.andersson@linaro.org>
> Date: Tue, 26 Apr 2016 22:48:05 -0700
> 
> > +	rc = qcom_smd_send(qdev->channel, skb->data, skb->len);
> 
> I truly dislike adding networking protocols that depend upon some
> piece of infrastructure that only some platforms can enable, it's even
> worse when that set of platforms doesn't intersect with x86-64.
> 
> When you do things like this, it's quite hard to make protocol wide
> changes to APIs because build testing becomes an issue.
> 

That's a very valid concern.

> This code can now only be build tested on ARCH_QCOM architectures, and
> that's a serious negative downside.

For normal usage the QRTR_SMD doesn't make much sense to be selectable
unless QCOM_SMD is compiled in, but I can fix up the QCOM_SMD exports
and slap a COMPILE_TEST on it.


Looking at it again, we already have the conditional for QRTR and the OF
code in the driver went away a while back, so we're down to something
like:

	depends on QCOM_SMD || COMPILE_TEST

Regards,
Bjorn

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


Thread

[PATCH v2] net: Add Qualcomm IPC router Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-04-27 07:50 +0200
  Re: [PATCH v2] net: Add Qualcomm IPC router David Miller <davem@davemloft.net> - 2016-04-27 18:30 +0200
    Re: [PATCH v2] net: Add Qualcomm IPC router Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-04-27 19:20 +0200
      Re: [PATCH v2] net: Add Qualcomm IPC router David Miller <davem@davemloft.net> - 2016-04-27 21:00 +0200

csiph-web