All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-14  8:34 ` Russell King (Oracle)
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel, Sven Peter

Hi,

This series adds support to the Apple rtkit for atomic messaging,
which will be necessary for SMC support on these platforms.

SMC support requires a bit of rework after recent review comments,
so I'm sending this separately in the hope that we can move forward
with upstream kernels.

 drivers/mailbox/apple-mailbox.c | 63 +++++++++++++++++++++++++++++++++++++++--
 drivers/soc/apple/rtkit.c       |  6 ++++
 include/linux/soc/apple/rtkit.h | 12 ++++++++
 3 files changed, 78 insertions(+), 3 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-14  8:34 ` Russell King (Oracle)
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel, Sven Peter

Hi,

This series adds support to the Apple rtkit for atomic messaging,
which will be necessary for SMC support on these platforms.

SMC support requires a bit of rework after recent review comments,
so I'm sending this separately in the hope that we can move forward
with upstream kernels.

 drivers/mailbox/apple-mailbox.c | 63 +++++++++++++++++++++++++++++++++++++++--
 drivers/soc/apple/rtkit.c       |  6 ++++
 include/linux/soc/apple/rtkit.h | 12 ++++++++
 3 files changed, 78 insertions(+), 3 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [PATCH 1/3] mailbox: apple: Implement flush() operation
  2022-09-14  8:34 ` Russell King (Oracle)
@ 2022-09-14  8:34   ` Russell King
  -1 siblings, 0 replies; 24+ messages in thread
From: Russell King @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

From: Hector Martin <marcan@marcan.st>

This allows clients to use the atomic-safe mailbox API style.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 drivers/mailbox/apple-mailbox.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/drivers/mailbox/apple-mailbox.c b/drivers/mailbox/apple-mailbox.c
index 496c4951ccb1..33e7acf71e3e 100644
--- a/drivers/mailbox/apple-mailbox.c
+++ b/drivers/mailbox/apple-mailbox.c
@@ -17,6 +17,7 @@
  */
 
 #include <linux/apple-mailbox.h>
+#include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/gfp.h>
 #include <linux/interrupt.h>
@@ -112,6 +113,14 @@ static bool apple_mbox_hw_can_send(struct apple_mbox *apple_mbox)
 	return !(mbox_ctrl & apple_mbox->hw->control_full);
 }
 
+static bool apple_mbox_hw_send_empty(struct apple_mbox *apple_mbox)
+{
+	u32 mbox_ctrl =
+		readl_relaxed(apple_mbox->regs + apple_mbox->hw->a2i_control);
+
+	return mbox_ctrl & apple_mbox->hw->control_empty;
+}
+
 static int apple_mbox_hw_send(struct apple_mbox *apple_mbox,
 			      struct apple_mbox_msg *msg)
 {
@@ -219,6 +228,23 @@ static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
 	return IRQ_HANDLED;
 }
 
+static int apple_mbox_chan_flush(struct mbox_chan *chan, unsigned long timeout)
+{
+	struct apple_mbox *apple_mbox = chan->con_priv;
+	unsigned long deadline = jiffies + msecs_to_jiffies(timeout);
+
+	while (time_before(jiffies, deadline)) {
+		if (apple_mbox_hw_send_empty(apple_mbox)) {
+			mbox_chan_txdone(&apple_mbox->chan, 0);
+			return 0;
+		}
+
+		udelay(1);
+	}
+
+	return -ETIME;
+}
+
 static int apple_mbox_chan_startup(struct mbox_chan *chan)
 {
 	struct apple_mbox *apple_mbox = chan->con_priv;
@@ -250,6 +276,7 @@ static void apple_mbox_chan_shutdown(struct mbox_chan *chan)
 
 static const struct mbox_chan_ops apple_mbox_ops = {
 	.send_data = apple_mbox_chan_send_data,
+	.flush = apple_mbox_chan_flush,
 	.startup = apple_mbox_chan_startup,
 	.shutdown = apple_mbox_chan_shutdown,
 };
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 1/3] mailbox: apple: Implement flush() operation
@ 2022-09-14  8:34   ` Russell King
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

From: Hector Martin <marcan@marcan.st>

This allows clients to use the atomic-safe mailbox API style.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 drivers/mailbox/apple-mailbox.c | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/drivers/mailbox/apple-mailbox.c b/drivers/mailbox/apple-mailbox.c
index 496c4951ccb1..33e7acf71e3e 100644
--- a/drivers/mailbox/apple-mailbox.c
+++ b/drivers/mailbox/apple-mailbox.c
@@ -17,6 +17,7 @@
  */
 
 #include <linux/apple-mailbox.h>
+#include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/gfp.h>
 #include <linux/interrupt.h>
@@ -112,6 +113,14 @@ static bool apple_mbox_hw_can_send(struct apple_mbox *apple_mbox)
 	return !(mbox_ctrl & apple_mbox->hw->control_full);
 }
 
+static bool apple_mbox_hw_send_empty(struct apple_mbox *apple_mbox)
+{
+	u32 mbox_ctrl =
+		readl_relaxed(apple_mbox->regs + apple_mbox->hw->a2i_control);
+
+	return mbox_ctrl & apple_mbox->hw->control_empty;
+}
+
 static int apple_mbox_hw_send(struct apple_mbox *apple_mbox,
 			      struct apple_mbox_msg *msg)
 {
@@ -219,6 +228,23 @@ static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
 	return IRQ_HANDLED;
 }
 
+static int apple_mbox_chan_flush(struct mbox_chan *chan, unsigned long timeout)
+{
+	struct apple_mbox *apple_mbox = chan->con_priv;
+	unsigned long deadline = jiffies + msecs_to_jiffies(timeout);
+
+	while (time_before(jiffies, deadline)) {
+		if (apple_mbox_hw_send_empty(apple_mbox)) {
+			mbox_chan_txdone(&apple_mbox->chan, 0);
+			return 0;
+		}
+
+		udelay(1);
+	}
+
+	return -ETIME;
+}
+
 static int apple_mbox_chan_startup(struct mbox_chan *chan)
 {
 	struct apple_mbox *apple_mbox = chan->con_priv;
@@ -250,6 +276,7 @@ static void apple_mbox_chan_shutdown(struct mbox_chan *chan)
 
 static const struct mbox_chan_ops apple_mbox_ops = {
 	.send_data = apple_mbox_chan_send_data,
+	.flush = apple_mbox_chan_flush,
 	.startup = apple_mbox_chan_startup,
 	.shutdown = apple_mbox_chan_shutdown,
 };
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 2/3] mailbox: apple: Implement poll_data() operation
  2022-09-14  8:34 ` Russell King (Oracle)
@ 2022-09-14  8:34   ` Russell King
  -1 siblings, 0 replies; 24+ messages in thread
From: Russell King @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

From: Hector Martin <marcan@marcan.st>

This allows clients running in atomic context to poll for messages to
arrive.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 drivers/mailbox/apple-mailbox.c | 36 ++++++++++++++++++++++++++++++---
 1 file changed, 33 insertions(+), 3 deletions(-)

diff --git a/drivers/mailbox/apple-mailbox.c b/drivers/mailbox/apple-mailbox.c
index 33e7acf71e3e..2a3e8d8ff8b5 100644
--- a/drivers/mailbox/apple-mailbox.c
+++ b/drivers/mailbox/apple-mailbox.c
@@ -26,6 +26,7 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
+#include <linux/spinlock.h>
 #include <linux/types.h>
 
 #define APPLE_ASC_MBOX_CONTROL_FULL  BIT(16)
@@ -101,6 +102,7 @@ struct apple_mbox {
 
 	struct device *dev;
 	struct mbox_controller controller;
+	spinlock_t rx_lock;
 };
 
 static const struct of_device_id apple_mbox_of_match[];
@@ -204,13 +206,15 @@ static irqreturn_t apple_mbox_send_empty_irq(int irq, void *data)
 	return IRQ_HANDLED;
 }
 
-static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
+static int apple_mbox_poll(struct apple_mbox *apple_mbox)
 {
-	struct apple_mbox *apple_mbox = data;
 	struct apple_mbox_msg msg;
+	int ret = 0;
 
-	while (apple_mbox_hw_recv(apple_mbox, &msg) == 0)
+	while (apple_mbox_hw_recv(apple_mbox, &msg) == 0) {
 		mbox_chan_received_data(&apple_mbox->chan, (void *)&msg);
+		ret++;
+	}
 
 	/*
 	 * The interrupt will keep firing even if there are no more messages
@@ -225,9 +229,33 @@ static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
 			       apple_mbox->regs + apple_mbox->hw->irq_ack);
 	}
 
+	return ret;
+}
+
+static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
+{
+	struct apple_mbox *apple_mbox = data;
+
+	spin_lock(&apple_mbox->rx_lock);
+	apple_mbox_poll(apple_mbox);
+	spin_unlock(&apple_mbox->rx_lock);
+
 	return IRQ_HANDLED;
 }
 
+static bool apple_mbox_chan_peek_data(struct mbox_chan *chan)
+{
+	struct apple_mbox *apple_mbox = chan->con_priv;
+	unsigned long flags;
+	int ret;
+
+	spin_lock_irqsave(&apple_mbox->rx_lock, flags);
+	ret = apple_mbox_poll(apple_mbox);
+	spin_unlock_irqrestore(&apple_mbox->rx_lock, flags);
+
+	return ret > 0;
+}
+
 static int apple_mbox_chan_flush(struct mbox_chan *chan, unsigned long timeout)
 {
 	struct apple_mbox *apple_mbox = chan->con_priv;
@@ -276,6 +304,7 @@ static void apple_mbox_chan_shutdown(struct mbox_chan *chan)
 
 static const struct mbox_chan_ops apple_mbox_ops = {
 	.send_data = apple_mbox_chan_send_data,
+	.peek_data = apple_mbox_chan_peek_data,
 	.flush = apple_mbox_chan_flush,
 	.startup = apple_mbox_chan_startup,
 	.shutdown = apple_mbox_chan_shutdown,
@@ -331,6 +360,7 @@ static int apple_mbox_probe(struct platform_device *pdev)
 	mbox->controller.txdone_irq = true;
 	mbox->controller.of_xlate = apple_mbox_of_xlate;
 	mbox->chan.con_priv = mbox;
+	spin_lock_init(&mbox->rx_lock);
 
 	irqname = devm_kasprintf(dev, GFP_KERNEL, "%s-recv", dev_name(dev));
 	if (!irqname)
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 2/3] mailbox: apple: Implement poll_data() operation
@ 2022-09-14  8:34   ` Russell King
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

From: Hector Martin <marcan@marcan.st>

This allows clients running in atomic context to poll for messages to
arrive.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 drivers/mailbox/apple-mailbox.c | 36 ++++++++++++++++++++++++++++++---
 1 file changed, 33 insertions(+), 3 deletions(-)

diff --git a/drivers/mailbox/apple-mailbox.c b/drivers/mailbox/apple-mailbox.c
index 33e7acf71e3e..2a3e8d8ff8b5 100644
--- a/drivers/mailbox/apple-mailbox.c
+++ b/drivers/mailbox/apple-mailbox.c
@@ -26,6 +26,7 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
+#include <linux/spinlock.h>
 #include <linux/types.h>
 
 #define APPLE_ASC_MBOX_CONTROL_FULL  BIT(16)
@@ -101,6 +102,7 @@ struct apple_mbox {
 
 	struct device *dev;
 	struct mbox_controller controller;
+	spinlock_t rx_lock;
 };
 
 static const struct of_device_id apple_mbox_of_match[];
@@ -204,13 +206,15 @@ static irqreturn_t apple_mbox_send_empty_irq(int irq, void *data)
 	return IRQ_HANDLED;
 }
 
-static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
+static int apple_mbox_poll(struct apple_mbox *apple_mbox)
 {
-	struct apple_mbox *apple_mbox = data;
 	struct apple_mbox_msg msg;
+	int ret = 0;
 
-	while (apple_mbox_hw_recv(apple_mbox, &msg) == 0)
+	while (apple_mbox_hw_recv(apple_mbox, &msg) == 0) {
 		mbox_chan_received_data(&apple_mbox->chan, (void *)&msg);
+		ret++;
+	}
 
 	/*
 	 * The interrupt will keep firing even if there are no more messages
@@ -225,9 +229,33 @@ static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
 			       apple_mbox->regs + apple_mbox->hw->irq_ack);
 	}
 
+	return ret;
+}
+
+static irqreturn_t apple_mbox_recv_irq(int irq, void *data)
+{
+	struct apple_mbox *apple_mbox = data;
+
+	spin_lock(&apple_mbox->rx_lock);
+	apple_mbox_poll(apple_mbox);
+	spin_unlock(&apple_mbox->rx_lock);
+
 	return IRQ_HANDLED;
 }
 
+static bool apple_mbox_chan_peek_data(struct mbox_chan *chan)
+{
+	struct apple_mbox *apple_mbox = chan->con_priv;
+	unsigned long flags;
+	int ret;
+
+	spin_lock_irqsave(&apple_mbox->rx_lock, flags);
+	ret = apple_mbox_poll(apple_mbox);
+	spin_unlock_irqrestore(&apple_mbox->rx_lock, flags);
+
+	return ret > 0;
+}
+
 static int apple_mbox_chan_flush(struct mbox_chan *chan, unsigned long timeout)
 {
 	struct apple_mbox *apple_mbox = chan->con_priv;
@@ -276,6 +304,7 @@ static void apple_mbox_chan_shutdown(struct mbox_chan *chan)
 
 static const struct mbox_chan_ops apple_mbox_ops = {
 	.send_data = apple_mbox_chan_send_data,
+	.peek_data = apple_mbox_chan_peek_data,
 	.flush = apple_mbox_chan_flush,
 	.startup = apple_mbox_chan_startup,
 	.shutdown = apple_mbox_chan_shutdown,
@@ -331,6 +360,7 @@ static int apple_mbox_probe(struct platform_device *pdev)
 	mbox->controller.txdone_irq = true;
 	mbox->controller.of_xlate = apple_mbox_of_xlate;
 	mbox->chan.con_priv = mbox;
+	spin_lock_init(&mbox->rx_lock);
 
 	irqname = devm_kasprintf(dev, GFP_KERNEL, "%s-recv", dev_name(dev));
 	if (!irqname)
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 3/3] soc: apple: rtkit: Add apple_rtkit_poll
  2022-09-14  8:34 ` Russell King (Oracle)
@ 2022-09-14  8:34   ` Russell King
  -1 siblings, 0 replies; 24+ messages in thread
From: Russell King @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

From: Hector Martin <marcan@marcan.st>

This allows a client to receive messages in atomic context, by polling.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 drivers/soc/apple/rtkit.c       |  6 ++++++
 include/linux/soc/apple/rtkit.h | 12 ++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/drivers/soc/apple/rtkit.c b/drivers/soc/apple/rtkit.c
index cf1129e9f76b..031ec4aa06d5 100644
--- a/drivers/soc/apple/rtkit.c
+++ b/drivers/soc/apple/rtkit.c
@@ -660,6 +660,12 @@ int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message,
 }
 EXPORT_SYMBOL_GPL(apple_rtkit_send_message_wait);
 
+int apple_rtkit_poll(struct apple_rtkit *rtk)
+{
+	return mbox_client_peek_data(rtk->mbox_chan);
+}
+EXPORT_SYMBOL_GPL(apple_rtkit_poll);
+
 int apple_rtkit_start_ep(struct apple_rtkit *rtk, u8 endpoint)
 {
 	u64 msg;
diff --git a/include/linux/soc/apple/rtkit.h b/include/linux/soc/apple/rtkit.h
index 88eb832eac7b..c9cabb679cd1 100644
--- a/include/linux/soc/apple/rtkit.h
+++ b/include/linux/soc/apple/rtkit.h
@@ -152,4 +152,16 @@ int apple_rtkit_send_message(struct apple_rtkit *rtk, u8 ep, u64 message,
 int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message,
 				  unsigned long timeout, bool atomic);
 
+/*
+ * Process incoming messages in atomic context.
+ * This only guarantees that messages arrive as far as the recv_message_early
+ * callback; drivers expecting to handle incoming messages synchronously
+ * by calling this function must do it that way.
+ * Will return 1 if some data was processed, 0 if none was, or a
+ * negative error code on failure.
+ *
+ * @rtk:            RTKit reference
+ */
+int apple_rtkit_poll(struct apple_rtkit *rtk);
+
 #endif /* _LINUX_APPLE_RTKIT_H_ */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [PATCH 3/3] soc: apple: rtkit: Add apple_rtkit_poll
@ 2022-09-14  8:34   ` Russell King
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King @ 2022-09-14  8:34 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Hector Martin, Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

From: Hector Martin <marcan@marcan.st>

This allows a client to receive messages in atomic context, by polling.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 drivers/soc/apple/rtkit.c       |  6 ++++++
 include/linux/soc/apple/rtkit.h | 12 ++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/drivers/soc/apple/rtkit.c b/drivers/soc/apple/rtkit.c
index cf1129e9f76b..031ec4aa06d5 100644
--- a/drivers/soc/apple/rtkit.c
+++ b/drivers/soc/apple/rtkit.c
@@ -660,6 +660,12 @@ int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message,
 }
 EXPORT_SYMBOL_GPL(apple_rtkit_send_message_wait);
 
+int apple_rtkit_poll(struct apple_rtkit *rtk)
+{
+	return mbox_client_peek_data(rtk->mbox_chan);
+}
+EXPORT_SYMBOL_GPL(apple_rtkit_poll);
+
 int apple_rtkit_start_ep(struct apple_rtkit *rtk, u8 endpoint)
 {
 	u64 msg;
diff --git a/include/linux/soc/apple/rtkit.h b/include/linux/soc/apple/rtkit.h
index 88eb832eac7b..c9cabb679cd1 100644
--- a/include/linux/soc/apple/rtkit.h
+++ b/include/linux/soc/apple/rtkit.h
@@ -152,4 +152,16 @@ int apple_rtkit_send_message(struct apple_rtkit *rtk, u8 ep, u64 message,
 int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message,
 				  unsigned long timeout, bool atomic);
 
+/*
+ * Process incoming messages in atomic context.
+ * This only guarantees that messages arrive as far as the recv_message_early
+ * callback; drivers expecting to handle incoming messages synchronously
+ * by calling this function must do it that way.
+ * Will return 1 if some data was processed, 0 if none was, or a
+ * negative error code on failure.
+ *
+ * @rtk:            RTKit reference
+ */
+int apple_rtkit_poll(struct apple_rtkit *rtk);
+
 #endif /* _LINUX_APPLE_RTKIT_H_ */
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-14  8:34 ` Russell King (Oracle)
@ 2022-09-17 10:42   ` Sven Peter
  -1 siblings, 0 replies; 24+ messages in thread
From: Sven Peter @ 2022-09-17 10:42 UTC (permalink / raw)
  To: Russell King (Oracle), Jassi Brar
  Cc: Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

Hi,

On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> Hi,
>
> This series adds support to the Apple rtkit for atomic messaging,
> which will be necessary for SMC support on these platforms.
>
> SMC support requires a bit of rework after recent review comments,
> so I'm sending this separately in the hope that we can move forward
> with upstream kernels.

Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
for the mailbox commits.
Either way, for the entire series:

Reviewed-by: Sven Peter <sven@svenpeter.dev>


We'd usually take the last soc/rtkit commit through the Asahi platform and then the
soc tree. Taking it through the mailbox tree will make things more complicated
if SMC (which is the only driver that uses the poll API and hard depends on it) is
also ready for this merge window. I don't think that's very likely so taking it
through mailbox is also fine.


Best,

Sven


^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 10:42   ` Sven Peter
  0 siblings, 0 replies; 24+ messages in thread
From: Sven Peter @ 2022-09-17 10:42 UTC (permalink / raw)
  To: Russell King (Oracle), Jassi Brar
  Cc: Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

Hi,

On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> Hi,
>
> This series adds support to the Apple rtkit for atomic messaging,
> which will be necessary for SMC support on these platforms.
>
> SMC support requires a bit of rework after recent review comments,
> so I'm sending this separately in the hope that we can move forward
> with upstream kernels.

Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
for the mailbox commits.
Either way, for the entire series:

Reviewed-by: Sven Peter <sven@svenpeter.dev>


We'd usually take the last soc/rtkit commit through the Asahi platform and then the
soc tree. Taking it through the mailbox tree will make things more complicated
if SMC (which is the only driver that uses the poll API and hard depends on it) is
also ready for this merge window. I don't think that's very likely so taking it
through mailbox is also fine.


Best,

Sven


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 10:42   ` Sven Peter
@ 2022-09-17 11:21     ` Russell King (Oracle)
  -1 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-17 11:21 UTC (permalink / raw)
  To: Sven Peter
  Cc: Jassi Brar, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> Hi,
> 
> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > Hi,
> >
> > This series adds support to the Apple rtkit for atomic messaging,
> > which will be necessary for SMC support on these platforms.
> >
> > SMC support requires a bit of rework after recent review comments,
> > so I'm sending this separately in the hope that we can move forward
> > with upstream kernels.
> 
> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> for the mailbox commits.

It's the first time I've sent the mailbox commits after Hector
mentioned them.

> Either way, for the entire series:
> 
> Reviewed-by: Sven Peter <sven@svenpeter.dev>
> 
> 
> We'd usually take the last soc/rtkit commit through the Asahi platform and then the
> soc tree. Taking it through the mailbox tree will make things more complicated
> if SMC (which is the only driver that uses the poll API and hard depends on it) is
> also ready for this merge window. I don't think that's very likely so taking it
> through mailbox is also fine.

I'm sending these seperately because I don't think the platform/mfd
issues will be sorted before the merge window. We've fallen into the
trap where I have a load of updates to the patches in my git tree
that aren't in the Asahi tree, but Lee wants some substantial changes
to the way the MFD part is handled which I think Hector needs to do.
So somehow I need to get my changes back to Hector (I don't do github)
which basically means digging out the original patches from the Asahi
kernel tree and supplying diffs to Hector for those - along with all
the acks/reviewed-bys etc. This *really* isn't nice.

I didn't follow that discussion very well - with about 130 messages
in total in that thread, it just became too much for me to keep track
of, as I explained as the discussion drew to a close. That was the
whole reason for me sending v2, which essentially mostly got ignored
and discussion continued on v1.

So, basically, trying to get these patches into mainline has created
a hell of a lot of extra work and difficulty - and at this point I'm
wondering whether it really is a good idea to continue with this.

It's fine if the comments are all minor issues that can be quickly
resolved, but a major restructuring is a completely different matter.

So, to at least get some progress, I decided to send what would be
possible to hopefully merge during the remainder of this window.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 11:21     ` Russell King (Oracle)
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-17 11:21 UTC (permalink / raw)
  To: Sven Peter
  Cc: Jassi Brar, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> Hi,
> 
> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > Hi,
> >
> > This series adds support to the Apple rtkit for atomic messaging,
> > which will be necessary for SMC support on these platforms.
> >
> > SMC support requires a bit of rework after recent review comments,
> > so I'm sending this separately in the hope that we can move forward
> > with upstream kernels.
> 
> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> for the mailbox commits.

It's the first time I've sent the mailbox commits after Hector
mentioned them.

> Either way, for the entire series:
> 
> Reviewed-by: Sven Peter <sven@svenpeter.dev>
> 
> 
> We'd usually take the last soc/rtkit commit through the Asahi platform and then the
> soc tree. Taking it through the mailbox tree will make things more complicated
> if SMC (which is the only driver that uses the poll API and hard depends on it) is
> also ready for this merge window. I don't think that's very likely so taking it
> through mailbox is also fine.

I'm sending these seperately because I don't think the platform/mfd
issues will be sorted before the merge window. We've fallen into the
trap where I have a load of updates to the patches in my git tree
that aren't in the Asahi tree, but Lee wants some substantial changes
to the way the MFD part is handled which I think Hector needs to do.
So somehow I need to get my changes back to Hector (I don't do github)
which basically means digging out the original patches from the Asahi
kernel tree and supplying diffs to Hector for those - along with all
the acks/reviewed-bys etc. This *really* isn't nice.

I didn't follow that discussion very well - with about 130 messages
in total in that thread, it just became too much for me to keep track
of, as I explained as the discussion drew to a close. That was the
whole reason for me sending v2, which essentially mostly got ignored
and discussion continued on v1.

So, basically, trying to get these patches into mainline has created
a hell of a lot of extra work and difficulty - and at this point I'm
wondering whether it really is a good idea to continue with this.

It's fine if the comments are all minor issues that can be quickly
resolved, but a major restructuring is a completely different matter.

So, to at least get some progress, I decided to send what would be
possible to hopefully merge during the remainder of this window.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 11:21     ` Russell King (Oracle)
@ 2022-09-17 11:33       ` Sven Peter
  -1 siblings, 0 replies; 24+ messages in thread
From: Sven Peter @ 2022-09-17 11:33 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Jassi Brar, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel



On Sat, Sep 17, 2022, at 13:21, Russell King (Oracle) wrote:
> On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
>> Hi,
>> 
>> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
>> > Hi,
>> >
>> > This series adds support to the Apple rtkit for atomic messaging,
>> > which will be necessary for SMC support on these platforms.
>> >
>> > SMC support requires a bit of rework after recent review comments,
>> > so I'm sending this separately in the hope that we can move forward
>> > with upstream kernels.
>> 
>> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
>> for the mailbox commits.
>
> It's the first time I've sent the mailbox commits after Hector
> mentioned them.

There are just too many things in flight right now which is part of the
reason I'm happy you're trying to get all this upstream!

https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/


>
>> Either way, for the entire series:
>> 
>> Reviewed-by: Sven Peter <sven@svenpeter.dev>
>> 
>> 
>> We'd usually take the last soc/rtkit commit through the Asahi platform and then the
>> soc tree. Taking it through the mailbox tree will make things more complicated
>> if SMC (which is the only driver that uses the poll API and hard depends on it) is
>> also ready for this merge window. I don't think that's very likely so taking it
>> through mailbox is also fine.
>
> I'm sending these seperately because I don't think the platform/mfd
> issues will be sorted before the merge window. We've fallen into the
> trap where I have a load of updates to the patches in my git tree
> that aren't in the Asahi tree, but Lee wants some substantial changes
> to the way the MFD part is handled which I think Hector needs to do.
> So somehow I need to get my changes back to Hector (I don't do github)
> which basically means digging out the original patches from the Asahi
> kernel tree and supplying diffs to Hector for those - along with all
> the acks/reviewed-bys etc. This *really* isn't nice.
>
> I didn't follow that discussion very well - with about 130 messages
> in total in that thread, it just became too much for me to keep track
> of, as I explained as the discussion drew to a close. That was the
> whole reason for me sending v2, which essentially mostly got ignored
> and discussion continued on v1.
>
> So, basically, trying to get these patches into mainline has created
> a hell of a lot of extra work and difficulty - and at this point I'm
> wondering whether it really is a good idea to continue with this.
>
> It's fine if the comments are all minor issues that can be quickly
> resolved, but a major restructuring is a completely different matter.
>
> So, to at least get some progress, I decided to send what would be
> possible to hopefully merge during the remainder of this window.

yeah, I'm just glad this is finally getting some momentum. there's just
too many things in-flight in our downstream trees!
I didn't follow that discussion entirely either but I also don't think
SMC will land in this merge window so taking this through mailbox is
completely fine with me.


Sven

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 11:33       ` Sven Peter
  0 siblings, 0 replies; 24+ messages in thread
From: Sven Peter @ 2022-09-17 11:33 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Jassi Brar, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel



On Sat, Sep 17, 2022, at 13:21, Russell King (Oracle) wrote:
> On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
>> Hi,
>> 
>> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
>> > Hi,
>> >
>> > This series adds support to the Apple rtkit for atomic messaging,
>> > which will be necessary for SMC support on these platforms.
>> >
>> > SMC support requires a bit of rework after recent review comments,
>> > so I'm sending this separately in the hope that we can move forward
>> > with upstream kernels.
>> 
>> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
>> for the mailbox commits.
>
> It's the first time I've sent the mailbox commits after Hector
> mentioned them.

There are just too many things in flight right now which is part of the
reason I'm happy you're trying to get all this upstream!

https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/


>
>> Either way, for the entire series:
>> 
>> Reviewed-by: Sven Peter <sven@svenpeter.dev>
>> 
>> 
>> We'd usually take the last soc/rtkit commit through the Asahi platform and then the
>> soc tree. Taking it through the mailbox tree will make things more complicated
>> if SMC (which is the only driver that uses the poll API and hard depends on it) is
>> also ready for this merge window. I don't think that's very likely so taking it
>> through mailbox is also fine.
>
> I'm sending these seperately because I don't think the platform/mfd
> issues will be sorted before the merge window. We've fallen into the
> trap where I have a load of updates to the patches in my git tree
> that aren't in the Asahi tree, but Lee wants some substantial changes
> to the way the MFD part is handled which I think Hector needs to do.
> So somehow I need to get my changes back to Hector (I don't do github)
> which basically means digging out the original patches from the Asahi
> kernel tree and supplying diffs to Hector for those - along with all
> the acks/reviewed-bys etc. This *really* isn't nice.
>
> I didn't follow that discussion very well - with about 130 messages
> in total in that thread, it just became too much for me to keep track
> of, as I explained as the discussion drew to a close. That was the
> whole reason for me sending v2, which essentially mostly got ignored
> and discussion continued on v1.
>
> So, basically, trying to get these patches into mainline has created
> a hell of a lot of extra work and difficulty - and at this point I'm
> wondering whether it really is a good idea to continue with this.
>
> It's fine if the comments are all minor issues that can be quickly
> resolved, but a major restructuring is a completely different matter.
>
> So, to at least get some progress, I decided to send what would be
> possible to hopefully merge during the remainder of this window.

yeah, I'm just glad this is finally getting some momentum. there's just
too many things in-flight in our downstream trees!
I didn't follow that discussion entirely either but I also don't think
SMC will land in this merge window so taking this through mailbox is
completely fine with me.


Sven

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 11:33       ` Sven Peter
@ 2022-09-17 11:46         ` Russell King (Oracle)
  -1 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-17 11:46 UTC (permalink / raw)
  To: Sven Peter
  Cc: Jassi Brar, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> >> Hi,
> >> 
> >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> >> > Hi,
> >> >
> >> > This series adds support to the Apple rtkit for atomic messaging,
> >> > which will be necessary for SMC support on these platforms.
> >> >
> >> > SMC support requires a bit of rework after recent review comments,
> >> > so I'm sending this separately in the hope that we can move forward
> >> > with upstream kernels.
> >> 
> >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> >> for the mailbox commits.
> >
> > It's the first time I've sent the mailbox commits after Hector
> > mentioned them.
> 
> There are just too many things in flight right now which is part of the
> reason I'm happy you're trying to get all this upstream!
> 
> https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/

Hmm, I'd completely forgotten that I've posted it previously! Hmm,
no response from Jassi on the previous posting despite nothing no
action being required on the patches. Jassi?

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 11:46         ` Russell King (Oracle)
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-17 11:46 UTC (permalink / raw)
  To: Sven Peter
  Cc: Jassi Brar, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> >> Hi,
> >> 
> >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> >> > Hi,
> >> >
> >> > This series adds support to the Apple rtkit for atomic messaging,
> >> > which will be necessary for SMC support on these platforms.
> >> >
> >> > SMC support requires a bit of rework after recent review comments,
> >> > so I'm sending this separately in the hope that we can move forward
> >> > with upstream kernels.
> >> 
> >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> >> for the mailbox commits.
> >
> > It's the first time I've sent the mailbox commits after Hector
> > mentioned them.
> 
> There are just too many things in flight right now which is part of the
> reason I'm happy you're trying to get all this upstream!
> 
> https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/

Hmm, I'd completely forgotten that I've posted it previously! Hmm,
no response from Jassi on the previous posting despite nothing no
action being required on the patches. Jassi?

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 11:46         ` Russell King (Oracle)
@ 2022-09-17 16:07           ` Jassi Brar
  -1 siblings, 0 replies; 24+ messages in thread
From: Jassi Brar @ 2022-09-17 16:07 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
<linux@armlinux.org.uk> wrote:
>
> On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> > >> Hi,
> > >>
> > >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > >> > Hi,
> > >> >
> > >> > This series adds support to the Apple rtkit for atomic messaging,
> > >> > which will be necessary for SMC support on these platforms.
> > >> >
> > >> > SMC support requires a bit of rework after recent review comments,
> > >> > so I'm sending this separately in the hope that we can move forward
> > >> > with upstream kernels.
> > >>
> > >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> > >> for the mailbox commits.
> > >
> > > It's the first time I've sent the mailbox commits after Hector
> > > mentioned them.
> >
> > There are just too many things in flight right now which is part of the
> > reason I'm happy you're trying to get all this upstream!
> >
> > https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
>
> Hmm, I'd completely forgotten that I've posted it previously! Hmm,
> no response from Jassi on the previous posting despite nothing no
> action being required on the patches. Jassi?
>
Usually I let patches roast in public until rc7 but I sensed other
parts of apple support might depend on these.
So I picked patches 1 & 2 from this series yesterday.
 https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next

cheers.

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 16:07           ` Jassi Brar
  0 siblings, 0 replies; 24+ messages in thread
From: Jassi Brar @ 2022-09-17 16:07 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
<linux@armlinux.org.uk> wrote:
>
> On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> > >> Hi,
> > >>
> > >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > >> > Hi,
> > >> >
> > >> > This series adds support to the Apple rtkit for atomic messaging,
> > >> > which will be necessary for SMC support on these platforms.
> > >> >
> > >> > SMC support requires a bit of rework after recent review comments,
> > >> > so I'm sending this separately in the hope that we can move forward
> > >> > with upstream kernels.
> > >>
> > >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> > >> for the mailbox commits.
> > >
> > > It's the first time I've sent the mailbox commits after Hector
> > > mentioned them.
> >
> > There are just too many things in flight right now which is part of the
> > reason I'm happy you're trying to get all this upstream!
> >
> > https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
>
> Hmm, I'd completely forgotten that I've posted it previously! Hmm,
> no response from Jassi on the previous posting despite nothing no
> action being required on the patches. Jassi?
>
Usually I let patches roast in public until rc7 but I sensed other
parts of apple support might depend on these.
So I picked patches 1 & 2 from this series yesterday.
 https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next

cheers.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 16:07           ` Jassi Brar
@ 2022-09-17 16:18             ` Russell King (Oracle)
  -1 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-17 16:18 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 11:07:13AM -0500, Jassi Brar wrote:
> On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
> <linux@armlinux.org.uk> wrote:
> >
> > On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > > > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> > > >> Hi,
> > > >>
> > > >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > > >> > Hi,
> > > >> >
> > > >> > This series adds support to the Apple rtkit for atomic messaging,
> > > >> > which will be necessary for SMC support on these platforms.
> > > >> >
> > > >> > SMC support requires a bit of rework after recent review comments,
> > > >> > so I'm sending this separately in the hope that we can move forward
> > > >> > with upstream kernels.
> > > >>
> > > >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> > > >> for the mailbox commits.
> > > >
> > > > It's the first time I've sent the mailbox commits after Hector
> > > > mentioned them.
> > >
> > > There are just too many things in flight right now which is part of the
> > > reason I'm happy you're trying to get all this upstream!
> > >
> > > https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
> >
> > Hmm, I'd completely forgotten that I've posted it previously! Hmm,
> > no response from Jassi on the previous posting despite nothing no
> > action being required on the patches. Jassi?
> >
> Usually I let patches roast in public until rc7 but I sensed other
> parts of apple support might depend on these.
> So I picked patches 1 & 2 from this series yesterday.
>  https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next

Thanks!

Now I need to work out how we get patch 3 into mainline - there appears
to be no maintainer for drivers/soc, so unless something happens, it's
not going to be picked up...

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 16:18             ` Russell King (Oracle)
  0 siblings, 0 replies; 24+ messages in thread
From: Russell King (Oracle) @ 2022-09-17 16:18 UTC (permalink / raw)
  To: Jassi Brar
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 11:07:13AM -0500, Jassi Brar wrote:
> On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
> <linux@armlinux.org.uk> wrote:
> >
> > On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > > > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> > > >> Hi,
> > > >>
> > > >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > > >> > Hi,
> > > >> >
> > > >> > This series adds support to the Apple rtkit for atomic messaging,
> > > >> > which will be necessary for SMC support on these platforms.
> > > >> >
> > > >> > SMC support requires a bit of rework after recent review comments,
> > > >> > so I'm sending this separately in the hope that we can move forward
> > > >> > with upstream kernels.
> > > >>
> > > >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> > > >> for the mailbox commits.
> > > >
> > > > It's the first time I've sent the mailbox commits after Hector
> > > > mentioned them.
> > >
> > > There are just too many things in flight right now which is part of the
> > > reason I'm happy you're trying to get all this upstream!
> > >
> > > https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
> >
> > Hmm, I'd completely forgotten that I've posted it previously! Hmm,
> > no response from Jassi on the previous posting despite nothing no
> > action being required on the patches. Jassi?
> >
> Usually I let patches roast in public until rc7 but I sensed other
> parts of apple support might depend on these.
> So I picked patches 1 & 2 from this series yesterday.
>  https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next

Thanks!

Now I need to work out how we get patch 3 into mainline - there appears
to be no maintainer for drivers/soc, so unless something happens, it's
not going to be picked up...

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 16:18             ` Russell King (Oracle)
@ 2022-09-17 17:23               ` Jassi Brar
  -1 siblings, 0 replies; 24+ messages in thread
From: Jassi Brar @ 2022-09-17 17:23 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 11:18 AM Russell King (Oracle)
<linux@armlinux.org.uk> wrote:
>
> On Sat, Sep 17, 2022 at 11:07:13AM -0500, Jassi Brar wrote:
> > On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
> > <linux@armlinux.org.uk> wrote:
> > >
> > > On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > > > > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> > > > >> Hi,
> > > > >>
> > > > >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > > > >> > Hi,
> > > > >> >
> > > > >> > This series adds support to the Apple rtkit for atomic messaging,
> > > > >> > which will be necessary for SMC support on these platforms.
> > > > >> >
> > > > >> > SMC support requires a bit of rework after recent review comments,
> > > > >> > so I'm sending this separately in the hope that we can move forward
> > > > >> > with upstream kernels.
> > > > >>
> > > > >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> > > > >> for the mailbox commits.
> > > > >
> > > > > It's the first time I've sent the mailbox commits after Hector
> > > > > mentioned them.
> > > >
> > > > There are just too many things in flight right now which is part of the
> > > > reason I'm happy you're trying to get all this upstream!
> > > >
> > > > https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
> > >
> > > Hmm, I'd completely forgotten that I've posted it previously! Hmm,
> > > no response from Jassi on the previous posting despite nothing no
> > > action being required on the patches. Jassi?
> > >
> > Usually I let patches roast in public until rc7 but I sensed other
> > parts of apple support might depend on these.
> > So I picked patches 1 & 2 from this series yesterday.
> >  https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next
>
> Thanks!
>
> Now I need to work out how we get patch 3 into mainline - there appears
> to be no maintainer for drivers/soc, so unless something happens, it's
> not going to be picked up...
>
If nothing else works, I can pick it as a one off case.

cheers.

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 17:23               ` Jassi Brar
  0 siblings, 0 replies; 24+ messages in thread
From: Jassi Brar @ 2022-09-17 17:23 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, Hector Martin, linux-arm-kernel

On Sat, Sep 17, 2022 at 11:18 AM Russell King (Oracle)
<linux@armlinux.org.uk> wrote:
>
> On Sat, Sep 17, 2022 at 11:07:13AM -0500, Jassi Brar wrote:
> > On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
> > <linux@armlinux.org.uk> wrote:
> > >
> > > On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
> > > > > On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
> > > > >> Hi,
> > > > >>
> > > > >> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
> > > > >> > Hi,
> > > > >> >
> > > > >> > This series adds support to the Apple rtkit for atomic messaging,
> > > > >> > which will be necessary for SMC support on these platforms.
> > > > >> >
> > > > >> > SMC support requires a bit of rework after recent review comments,
> > > > >> > so I'm sending this separately in the hope that we can move forward
> > > > >> > with upstream kernels.
> > > > >>
> > > > >> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
> > > > >> for the mailbox commits.
> > > > >
> > > > > It's the first time I've sent the mailbox commits after Hector
> > > > > mentioned them.
> > > >
> > > > There are just too many things in flight right now which is part of the
> > > > reason I'm happy you're trying to get all this upstream!
> > > >
> > > > https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
> > >
> > > Hmm, I'd completely forgotten that I've posted it previously! Hmm,
> > > no response from Jassi on the previous posting despite nothing no
> > > action being required on the patches. Jassi?
> > >
> > Usually I let patches roast in public until rc7 but I sensed other
> > parts of apple support might depend on these.
> > So I picked patches 1 & 2 from this series yesterday.
> >  https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next
>
> Thanks!
>
> Now I need to work out how we get patch 3 into mainline - there appears
> to be no maintainer for drivers/soc, so unless something happens, it's
> not going to be picked up...
>
If nothing else works, I can pick it as a one off case.

cheers.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
  2022-09-17 16:18             ` Russell King (Oracle)
@ 2022-09-17 17:47               ` Hector Martin
  -1 siblings, 0 replies; 24+ messages in thread
From: Hector Martin @ 2022-09-17 17:47 UTC (permalink / raw)
  To: Russell King (Oracle), Jassi Brar
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

On 18/09/2022 01.18, Russell King (Oracle) wrote:
> On Sat, Sep 17, 2022 at 11:07:13AM -0500, Jassi Brar wrote:
>> On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
>> <linux@armlinux.org.uk> wrote:
>>>
>>> On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
>>>>> On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
>>>>>> Hi,
>>>>>>
>>>>>> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> This series adds support to the Apple rtkit for atomic messaging,
>>>>>>> which will be necessary for SMC support on these platforms.
>>>>>>>
>>>>>>> SMC support requires a bit of rework after recent review comments,
>>>>>>> so I'm sending this separately in the hope that we can move forward
>>>>>>> with upstream kernels.
>>>>>>
>>>>>> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
>>>>>> for the mailbox commits.
>>>>>
>>>>> It's the first time I've sent the mailbox commits after Hector
>>>>> mentioned them.
>>>>
>>>> There are just too many things in flight right now which is part of the
>>>> reason I'm happy you're trying to get all this upstream!
>>>>
>>>> https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
>>>
>>> Hmm, I'd completely forgotten that I've posted it previously! Hmm,
>>> no response from Jassi on the previous posting despite nothing no
>>> action being required on the patches. Jassi?
>>>
>> Usually I let patches roast in public until rc7 but I sensed other
>> parts of apple support might depend on these.
>> So I picked patches 1 & 2 from this series yesterday.
>>  https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next
> 
> Thanks!
> 
> Now I need to work out how we get patch 3 into mainline - there appears
> to be no maintainer for drivers/soc, so unless something happens, it's
> not going to be picked up...
> 

We own drivers/soc/apple, so I will pick that up (as long as it's
reviewed by someone else, which it is) :). Same with DTs for our platforms.

Those PRs then go out via the SoC tree. Please remind me if I haven't
picked it up and sent it upstream by Tuesday! (I need to get some sleep now)

- Hector

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [PATCH 0/3] apple rtkit: add support for atomic operations
@ 2022-09-17 17:47               ` Hector Martin
  0 siblings, 0 replies; 24+ messages in thread
From: Hector Martin @ 2022-09-17 17:47 UTC (permalink / raw)
  To: Russell King (Oracle), Jassi Brar
  Cc: Sven Peter, Alyssa Rosenzweig, asahi, linux-arm-kernel

On 18/09/2022 01.18, Russell King (Oracle) wrote:
> On Sat, Sep 17, 2022 at 11:07:13AM -0500, Jassi Brar wrote:
>> On Sat, Sep 17, 2022 at 6:46 AM Russell King (Oracle)
>> <linux@armlinux.org.uk> wrote:
>>>
>>> On Sat, Sep 17, 2022 at 01:33:45PM +0200, Sven Peter wrote:
>>>>> On Sat, Sep 17, 2022 at 12:42:30PM +0200, Sven Peter wrote:
>>>>>> Hi,
>>>>>>
>>>>>> On Wed, Sep 14, 2022, at 10:34, Russell King (Oracle) wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> This series adds support to the Apple rtkit for atomic messaging,
>>>>>>> which will be necessary for SMC support on these platforms.
>>>>>>>
>>>>>>> SMC support requires a bit of rework after recent review comments,
>>>>>>> so I'm sending this separately in the hope that we can move forward
>>>>>>> with upstream kernels.
>>>>>>
>>>>>> Maybe I misremember or maybe you forgot to pick up my reviewed-by tags
>>>>>> for the mailbox commits.
>>>>>
>>>>> It's the first time I've sent the mailbox commits after Hector
>>>>> mentioned them.
>>>>
>>>> There are just too many things in flight right now which is part of the
>>>> reason I'm happy you're trying to get all this upstream!
>>>>
>>>> https://lore.kernel.org/asahi/YxYoW2IZFK%2FJdKgH@shell.armlinux.org.uk/
>>>
>>> Hmm, I'd completely forgotten that I've posted it previously! Hmm,
>>> no response from Jassi on the previous posting despite nothing no
>>> action being required on the patches. Jassi?
>>>
>> Usually I let patches roast in public until rc7 but I sensed other
>> parts of apple support might depend on these.
>> So I picked patches 1 & 2 from this series yesterday.
>>  https://git.linaro.org/landing-teams/working/fujitsu/integration.git/log/?h=mailbox-for-next
> 
> Thanks!
> 
> Now I need to work out how we get patch 3 into mainline - there appears
> to be no maintainer for drivers/soc, so unless something happens, it's
> not going to be picked up...
> 

We own drivers/soc/apple, so I will pick that up (as long as it's
reviewed by someone else, which it is) :). Same with DTs for our platforms.

Those PRs then go out via the SoC tree. Please remind me if I haven't
picked it up and sent it upstream by Tuesday! (I need to get some sleep now)

- Hector

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-09-17 17:49 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14  8:34 [PATCH 0/3] apple rtkit: add support for atomic operations Russell King (Oracle)
2022-09-14  8:34 ` Russell King (Oracle)
2022-09-14  8:34 ` [PATCH 1/3] mailbox: apple: Implement flush() operation Russell King
2022-09-14  8:34   ` Russell King
2022-09-14  8:34 ` [PATCH 2/3] mailbox: apple: Implement poll_data() operation Russell King
2022-09-14  8:34   ` Russell King
2022-09-14  8:34 ` [PATCH 3/3] soc: apple: rtkit: Add apple_rtkit_poll Russell King
2022-09-14  8:34   ` Russell King
2022-09-17 10:42 ` [PATCH 0/3] apple rtkit: add support for atomic operations Sven Peter
2022-09-17 10:42   ` Sven Peter
2022-09-17 11:21   ` Russell King (Oracle)
2022-09-17 11:21     ` Russell King (Oracle)
2022-09-17 11:33     ` Sven Peter
2022-09-17 11:33       ` Sven Peter
2022-09-17 11:46       ` Russell King (Oracle)
2022-09-17 11:46         ` Russell King (Oracle)
2022-09-17 16:07         ` Jassi Brar
2022-09-17 16:07           ` Jassi Brar
2022-09-17 16:18           ` Russell King (Oracle)
2022-09-17 16:18             ` Russell King (Oracle)
2022-09-17 17:23             ` Jassi Brar
2022-09-17 17:23               ` Jassi Brar
2022-09-17 17:47             ` Hector Martin
2022-09-17 17:47               ` Hector Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.