All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: aspeed: Add XDMA to Rainier
@ 2020-03-30  4:47 Joel Stanley
  2020-03-30  4:47 ` [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region Joel Stanley
  2020-03-30  4:47 ` [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA Joel Stanley
  0 siblings, 2 replies; 5+ messages in thread
From: Joel Stanley @ 2020-03-30  4:47 UTC (permalink / raw)
  To: Eddie James, openbmc

Joel Stanley (2):
  ARM: dts: aspeed: rainier: Add VGA reserved memory region
  ARM: dts: aspeed: raininer: Enable XDMA

 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.25.1

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

* [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region
  2020-03-30  4:47 [PATCH 0/2] ARM: dts: aspeed: Add XDMA to Rainier Joel Stanley
@ 2020-03-30  4:47 ` Joel Stanley
  2020-03-30 14:21   ` Eddie James
  2020-03-30  4:47 ` [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA Joel Stanley
  1 sibling, 1 reply; 5+ messages in thread
From: Joel Stanley @ 2020-03-30  4:47 UTC (permalink / raw)
  To: Eddie James, openbmc

The BMC uses reserves the top 16MB of memory for the host to use for VGA
or PCIe communication.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 4920ee384078..708924fe42cb 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -33,6 +33,11 @@
 			no-map;
 			reg = <0xB8000000 0x04000000>; /* 64M */
 		};
+
+		vga_memory: region@bf000000 {
+                        no-map;
+                        reg = <0xbf000000 0x01000000>;  /* 16M */
+                };
 	};
 
 	gpio-keys {
-- 
2.25.1

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

* [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA
  2020-03-30  4:47 [PATCH 0/2] ARM: dts: aspeed: Add XDMA to Rainier Joel Stanley
  2020-03-30  4:47 ` [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region Joel Stanley
@ 2020-03-30  4:47 ` Joel Stanley
  2020-03-30 14:22   ` Eddie James
  1 sibling, 1 reply; 5+ messages in thread
From: Joel Stanley @ 2020-03-30  4:47 UTC (permalink / raw)
  To: Eddie James, openbmc

The XDMA device uses the VGA reserved memory region.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 708924fe42cb..a8095aa88dbe 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -748,3 +748,8 @@
 		spi-max-frequency = <100000000>;
 	};
 };
+
+&xdma {
+        status = "okay";
+        memory-region = <&vga_memory>;
+};
-- 
2.25.1

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

* Re: [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region
  2020-03-30  4:47 ` [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region Joel Stanley
@ 2020-03-30 14:21   ` Eddie James
  0 siblings, 0 replies; 5+ messages in thread
From: Eddie James @ 2020-03-30 14:21 UTC (permalink / raw)
  To: Joel Stanley, openbmc


On 3/29/20 11:47 PM, Joel Stanley wrote:
> The BMC uses reserves the top 16MB of memory for the host to use for VGA
> or PCIe communication.


Reviewed-by: Eddie James <eajames@linux.ibm.com>


>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index 4920ee384078..708924fe42cb 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -33,6 +33,11 @@
>   			no-map;
>   			reg = <0xB8000000 0x04000000>; /* 64M */
>   		};
> +
> +		vga_memory: region@bf000000 {
> +                        no-map;
> +                        reg = <0xbf000000 0x01000000>;  /* 16M */
> +                };
>   	};
>   
>   	gpio-keys {

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

* Re: [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA
  2020-03-30  4:47 ` [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA Joel Stanley
@ 2020-03-30 14:22   ` Eddie James
  0 siblings, 0 replies; 5+ messages in thread
From: Eddie James @ 2020-03-30 14:22 UTC (permalink / raw)
  To: Joel Stanley, openbmc


On 3/29/20 11:47 PM, Joel Stanley wrote:
> The XDMA device uses the VGA reserved memory region.


Reviewed-by: Eddie James <eajames@linux.ibm.com>


>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index 708924fe42cb..a8095aa88dbe 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -748,3 +748,8 @@
>   		spi-max-frequency = <100000000>;
>   	};
>   };
> +
> +&xdma {
> +        status = "okay";
> +        memory-region = <&vga_memory>;
> +};

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

end of thread, other threads:[~2020-03-30 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30  4:47 [PATCH 0/2] ARM: dts: aspeed: Add XDMA to Rainier Joel Stanley
2020-03-30  4:47 ` [PATCH 1/2] ARM: dts: aspeed: rainier: Add VGA reserved memory region Joel Stanley
2020-03-30 14:21   ` Eddie James
2020-03-30  4:47 ` [PATCH 2/2] ARM: dts: aspeed: raininer: Enable XDMA Joel Stanley
2020-03-30 14:22   ` Eddie James

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.