<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/mailbox, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/mailbox?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/mailbox?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-10-06T02:51:58Z</updated>
<entry>
<title>mailbox: qcom-ipcc: flag IRQ NO_THREAD</title>
<updated>2022-10-06T02:51:58Z</updated>
<author>
<name>Eric Chanudet</name>
<email>echanude@redhat.com</email>
</author>
<published>2022-10-03T17:08:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b8ae88e1e75e5cb7a6df5298ab75334362ed631c'/>
<id>urn:sha1:b8ae88e1e75e5cb7a6df5298ab75334362ed631c</id>
<content type='text'>
PREEMPT_RT forces qcom-ipcc's handler to be threaded with interrupts
enabled, which triggers a warning in __handle_irq_event_percpu():
    irq 173 handler irq_default_primary_handler+0x0/0x10 enabled interrupts
    WARNING: CPU: 0 PID: 77 at kernel/irq/handle.c:161 __handle_irq_event_percpu+0x4c4/0x4d0

Mark it IRQF_NO_THREAD to avoid running the handler in a threaded
context with threadirqs or PREEMPT_RT enabled.

Signed-off-by: Eric Chanudet &lt;echanude@redhat.com&gt;
Acked-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: pcc: Fix spelling mistake "Plaform" -&gt; "Platform"</title>
<updated>2022-10-06T02:51:14Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.i.king@gmail.com</email>
</author>
<published>2022-09-28T21:22:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8ac1111055afc863c78e389b051d843babbf2ca9'/>
<id>urn:sha1:8ac1111055afc863c78e389b051d843babbf2ca9</id>
<content type='text'>
There is a spelling mistake in a pr_err message. Fix it.

Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg</title>
<updated>2022-10-06T02:50:53Z</updated>
<author>
<name>Jack Wang</name>
<email>jinpu.wang@ionos.com</email>
</author>
<published>2022-08-26T10:13:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6b207ce8a96a71e966831e3a13c38143ba9a73c1'/>
<id>urn:sha1:6b207ce8a96a71e966831e3a13c38143ba9a73c1</id>
<content type='text'>
dma_map_sg return 0 on error, fix the error check, and return -EIO
to caller.

Fixes: dbc049eee730 ("mailbox: Add driver for Broadcom FlexRM ring manager")
Signed-off-by: Jack Wang &lt;jinpu.wang@ionos.com&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: qcom-apcs-ipc: add IPQ8074 APSS clock support</title>
<updated>2022-10-06T02:50:01Z</updated>
<author>
<name>Robert Marko</name>
<email>robimarko@gmail.com</email>
</author>
<published>2022-08-18T22:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f5fe925df802eb3c7a71a97c01cf371eea24ea6a'/>
<id>urn:sha1:f5fe925df802eb3c7a71a97c01cf371eea24ea6a</id>
<content type='text'>
IPQ8074 has the APSS clock controller utilizing the same register space as
the APCS, so provide access to the APSS utilizing a child device like
IPQ6018.

IPQ6018 and IPQ8074 use the same controller and driver, so just utilize
IPQ6018 match data for IPQ8074.

Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
Reviewed-by: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: mpfs: account for mbox offsets while sending</title>
<updated>2022-10-06T02:48:38Z</updated>
<author>
<name>Conor Dooley</name>
<email>conor.dooley@microchip.com</email>
</author>
<published>2022-08-24T07:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0d1aadfe10ba17ebdeb96abb9638eb0f623f9b55'/>
<id>urn:sha1:0d1aadfe10ba17ebdeb96abb9638eb0f623f9b55</id>
<content type='text'>
The mailbox offset is not only used for receiving messages, but it is
also used by messages sent to the system controller by Linux that have a
payload, such as the "digital signature service". It is also overloaded
by certain other services (reprogramming of the FPGA fabric, see Link:)
to have a meaning other than the offset the system controller should
read from.
When the driver was written, no such services of the latter type were
in use &amp; those of the former used an offset of zero so this has gone
un-noticed.

Link: https://www.microsemi.com/document-portal/doc_download/1245815-polarfire-fpga-and-polarfire-soc-fpga-system-services-user-guide # Section 5.2
Fixes: 83d7b1560810 ("mbox: add polarfire soc system controller mailbox")
Signed-off-by: Conor Dooley &lt;conor.dooley@microchip.com&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: mpfs: fix handling of the reg property</title>
<updated>2022-10-06T02:48:31Z</updated>
<author>
<name>Conor Dooley</name>
<email>conor.dooley@microchip.com</email>
</author>
<published>2022-08-24T07:08:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2e10289d1f304f5082a4dda55a677b72b3bdb581'/>
<id>urn:sha1:2e10289d1f304f5082a4dda55a677b72b3bdb581</id>
<content type='text'>
The "data" region of the PolarFire SoC's system controller mailbox is
not one continuous register space - the system controller's QSPI sits
between the control and data registers. Split the "data" reg into two
parts: "data" &amp; "control". Optionally get the "data" register address
from the 3rd reg property in the devicetree &amp; fall back to using the
old base + MAILBOX_REG_OFFSET that the current code uses.

Fixes: 83d7b1560810 ("mbox: add polarfire soc system controller mailbox")
Signed-off-by: Conor Dooley &lt;conor.dooley@microchip.com&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: imx: fix RST channel support</title>
<updated>2022-10-06T02:46:36Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2022-09-19T03:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7e5cd064f73ccecd2ac1aadca078394bd25ea3ce'/>
<id>urn:sha1:7e5cd064f73ccecd2ac1aadca078394bd25ea3ce</id>
<content type='text'>
Because IMX_MU_xCR_MAX was increased to 5, some mu cfgs were not updated
to include the CR register. Add the missed CR register to xcr array.

Fixes: 82ab513baed5 ("mailbox: imx: support RST channel")
Reported-by: Liu Ying &lt;victor.liu@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Tested-by: Liu Ying &lt;victor.liu@nxp.com&gt; # i.MX8qm/qxp MEK boards boot
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: apple: Implement poll_data() operation</title>
<updated>2022-09-15T18:14:01Z</updated>
<author>
<name>Hector Martin</name>
<email>marcan@marcan.st</email>
</author>
<published>2022-09-14T08:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=68584e380ef54fb1e7d97710a0fdd7e31212fd65'/>
<id>urn:sha1:68584e380ef54fb1e7d97710a0fdd7e31212fd65</id>
<content type='text'>
This allows clients running in atomic context to poll for messages to
arrive.

Signed-off-by: Hector Martin &lt;marcan@marcan.st&gt;
Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>mailbox: apple: Implement flush() operation</title>
<updated>2022-09-15T18:14:01Z</updated>
<author>
<name>Hector Martin</name>
<email>marcan@marcan.st</email>
</author>
<published>2022-09-14T08:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=38ed8c888e94f10e3a74a931760e77c0ab9d2e48'/>
<id>urn:sha1:38ed8c888e94f10e3a74a931760e77c0ab9d2e48</id>
<content type='text'>
This allows clients to use the atomic-safe mailbox API style.

Signed-off-by: Hector Martin &lt;marcan@marcan.st&gt;
Signed-off-by: Russell King (Oracle) &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Jassi Brar &lt;jaswinder.singh@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'mailbox-v5.20' of git://git.linaro.org/landing-teams/working/fujitsu/integration</title>
<updated>2022-08-08T17:19:40Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2022-08-08T17:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=92ceebf920aa9f103b89d102f98fc59c6b990cc0'/>
<id>urn:sha1:92ceebf920aa9f103b89d102f98fc59c6b990cc0</id>
<content type='text'>
Pull mailbox updates from Jassi Brar:

 - mtk:
     - use rx_callback instead of cmdq_task_cb

 - qcom:
     - add syscon const
     - add SM6375 compatible

 - imx:
     - enable RST channel
     - clear pending irqs

* tag 'mailbox-v5.20' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
  mailbox: imx: clear pending interrupts
  dt-bindings: mailbox: qcom-ipcc: Add SM6375 compatible
  mailbox: imx: support RST channel
  dt-bindings: mailbox: imx-mu: add RST channel
  dt-bindings: mailbox: qcom,apcs-kpss-global: Add syscon const for relevant entries
  mailbox: mtk-cmdq: Remove proprietary cmdq_task_cb
</content>
</entry>
</feed>
