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


Groups > linux.kernel > #1220793

Re: [PATCH 0/4] Qualcomm Shared Memory State Machines

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/4] Qualcomm Shared Memory State Machines
Date 2015-09-08 15:40 +0200
Message-ID <q6rhU-5Fw-23@gated-at.bofh.it> (permalink)
References <q29jz-2Rz-11@gated-at.bofh.it> <q6qc9-48n-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Sep 08, 2015 at 02:20:14PM +0200, Linus Walleij wrote:
> On Thu, Aug 27, 2015 at 7:37 PM, Bjorn Andersson
> <bjorn.andersson@sonymobile.com> wrote:

> Let's discuss this a bit, looping in Mark Brown.

Please don't send upstream discussions ot my work address.

> While sparsely documented: what about regmap (maybe in the
> form of syscon) and drivers/base/regmap/regmap-irq.c for the
> interrupt handling?

> I cannot claim to understand regmap-irq.c, but I just intuitively
> think it deserves consideration, such that drivers who need one
> of these misc registers can read/write their bits with regmap
> accessors and also get IRQs by way of regmap-irq.

Well, all it's doing is exporting a simple register based interrupt
controller based on regmap.  There's not a lot to document.  If you're
using it with a system controller you'd probably want to implement
support for handling interrupts directly in the primary handler rather
than using a threaded handler.  Alternatively if there's no cache or no
overlap between interrupt registers and other registers then just using
the genirq MMIO code should do the trick.

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


Thread

Re: [PATCH 0/4] Qualcomm Shared Memory State Machines Linus Walleij <linus.walleij@linaro.org> - 2015-09-08 14:30 +0200
  Re: [PATCH 0/4] Qualcomm Shared Memory State Machines Mark Brown <broonie@kernel.org> - 2015-09-08 15:40 +0200
  Re: [PATCH 0/4] Qualcomm Shared Memory State Machines Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-09-09 00:30 +0200

csiph-web