All of lore.kernel.org
 help / color / mirror / Atom feed
* mips DMA buildbot fixes
@ 2021-03-01  7:38 Christoph Hellwig
  2021-03-01  7:38 ` [PATCH 1/3] MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Christoph Hellwig @ 2021-03-01  7:38 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Florian Fainelli, linux-mips, bcm-kernel-feedback-list

Hi Thomas,

this series fixes a few trivial warnings in the mips DMA code that the
buildbot keeps complaining about.

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

* [PATCH 1/3] MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma
  2021-03-01  7:38 mips DMA buildbot fixes Christoph Hellwig
@ 2021-03-01  7:38 ` Christoph Hellwig
  2021-03-01  7:38 ` [PATCH 2/3] MIPS: bmips: " Christoph Hellwig
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2021-03-01  7:38 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Florian Fainelli, linux-mips, bcm-kernel-feedback-list

Ensure this file has a prototype for phys_to_dma and dma_to_phys.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/pci/pci-ar2315.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/pci/pci-ar2315.c b/arch/mips/pci/pci-ar2315.c
index f741b8c528e480..c1a655aee599a1 100644
--- a/arch/mips/pci/pci-ar2315.c
+++ b/arch/mips/pci/pci-ar2315.c
@@ -31,6 +31,7 @@
 #include <linux/platform_device.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/dma-direct.h>
 #include <linux/mm.h>
 #include <linux/delay.h>
 #include <linux/bitops.h>
-- 
2.29.2


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

* [PATCH 2/3] MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma
  2021-03-01  7:38 mips DMA buildbot fixes Christoph Hellwig
  2021-03-01  7:38 ` [PATCH 1/3] MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma Christoph Hellwig
@ 2021-03-01  7:38 ` Christoph Hellwig
  2021-03-01 17:29   ` Florian Fainelli
  2021-03-01 17:44   ` Philippe Mathieu-Daudé
  2021-03-01  7:38 ` [PATCH 3/3] MIPS: force CONFIG_PCI to on for IP27 and IP30 Christoph Hellwig
  2021-03-02 22:56 ` mips DMA buildbot fixes Thomas Bogendoerfer
  3 siblings, 2 replies; 7+ messages in thread
From: Christoph Hellwig @ 2021-03-01  7:38 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Florian Fainelli, linux-mips, bcm-kernel-feedback-list

Ensure this file has a prototype for phys_to_dma and dma_to_phys.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/bmips/dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/bmips/dma.c b/arch/mips/bmips/dma.c
index 49061b870680b9..915ce4b189c15b 100644
--- a/arch/mips/bmips/dma.c
+++ b/arch/mips/bmips/dma.c
@@ -10,7 +10,7 @@
 
 #include <linux/device.h>
 #include <linux/dma-direction.h>
-#include <linux/dma-mapping.h>
+#include <linux/dma-direct.h>
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/of.h>
-- 
2.29.2


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

* [PATCH 3/3] MIPS: force CONFIG_PCI to on for IP27 and IP30
  2021-03-01  7:38 mips DMA buildbot fixes Christoph Hellwig
  2021-03-01  7:38 ` [PATCH 1/3] MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma Christoph Hellwig
  2021-03-01  7:38 ` [PATCH 2/3] MIPS: bmips: " Christoph Hellwig
@ 2021-03-01  7:38 ` Christoph Hellwig
  2021-03-02 22:56 ` mips DMA buildbot fixes Thomas Bogendoerfer
  3 siblings, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2021-03-01  7:38 UTC (permalink / raw)
  To: Thomas Bogendoerfer
  Cc: Florian Fainelli, linux-mips, bcm-kernel-feedback-list

These are PCI based systems, so not enabling the support is rather
pointless.  Additionally the random configѕ generated by the build bot
for IP27 and IP30 builds without PCI fail to buіld.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/mips/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d89efba3d8a44a..cc7494e988e2fa 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -712,6 +712,7 @@ config SGI_IP27
 	select ARC_CMDLINE_ONLY
 	select BOOT_ELF64
 	select DEFAULT_SGI_PARTITION
+	select FORCE_PCI
 	select SYS_HAS_EARLY_PRINTK
 	select HAVE_PCI
 	select IRQ_MIPS_CPU
@@ -774,6 +775,7 @@ config SGI_IP30
 	select BOOT_ELF64
 	select CEVT_R4K
 	select CSRC_R4K
+	select FORCE_PCI
 	select SYNC_R4K if SMP
 	select ZONE_DMA32
 	select HAVE_PCI
-- 
2.29.2


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

* Re: [PATCH 2/3] MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma
  2021-03-01  7:38 ` [PATCH 2/3] MIPS: bmips: " Christoph Hellwig
@ 2021-03-01 17:29   ` Florian Fainelli
  2021-03-01 17:44   ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 7+ messages in thread
From: Florian Fainelli @ 2021-03-01 17:29 UTC (permalink / raw)
  To: Christoph Hellwig, Thomas Bogendoerfer
  Cc: Florian Fainelli, linux-mips, bcm-kernel-feedback-list

On 2/28/21 11:38 PM, Christoph Hellwig wrote:
> Ensure this file has a prototype for phys_to_dma and dma_to_phys.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

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

* Re: [PATCH 2/3] MIPS: bmips: include <linux/dma-direct.h> for phys_to_dma
  2021-03-01  7:38 ` [PATCH 2/3] MIPS: bmips: " Christoph Hellwig
  2021-03-01 17:29   ` Florian Fainelli
@ 2021-03-01 17:44   ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-03-01 17:44 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Thomas Bogendoerfer, Florian Fainelli,
	open list:BROADCOM NVRAM DRIVER, bcm-kernel-feedback-list

On Mon, Mar 1, 2021 at 8:43 AM Christoph Hellwig <hch@lst.de> wrote:
>
> Ensure this file has a prototype for phys_to_dma and dma_to_phys.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/bmips/dma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

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

* Re: mips DMA buildbot fixes
  2021-03-01  7:38 mips DMA buildbot fixes Christoph Hellwig
                   ` (2 preceding siblings ...)
  2021-03-01  7:38 ` [PATCH 3/3] MIPS: force CONFIG_PCI to on for IP27 and IP30 Christoph Hellwig
@ 2021-03-02 22:56 ` Thomas Bogendoerfer
  3 siblings, 0 replies; 7+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-02 22:56 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Florian Fainelli, linux-mips, bcm-kernel-feedback-list

On Mon, Mar 01, 2021 at 08:38:29AM +0100, Christoph Hellwig wrote:
> Hi Thomas,
> 
> this series fixes a few trivial warnings in the mips DMA code that the
> buildbot keeps complaining about.

series applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

end of thread, other threads:[~2021-03-03  0:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-01  7:38 mips DMA buildbot fixes Christoph Hellwig
2021-03-01  7:38 ` [PATCH 1/3] MIPS: pci-ar2315: include <linux/dma-direct.h> for phys_to_dma Christoph Hellwig
2021-03-01  7:38 ` [PATCH 2/3] MIPS: bmips: " Christoph Hellwig
2021-03-01 17:29   ` Florian Fainelli
2021-03-01 17:44   ` Philippe Mathieu-Daudé
2021-03-01  7:38 ` [PATCH 3/3] MIPS: force CONFIG_PCI to on for IP27 and IP30 Christoph Hellwig
2021-03-02 22:56 ` mips DMA buildbot fixes Thomas Bogendoerfer

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.