* [PATCH] unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition
@ 2016-03-08 17:42 Bjorn Helgaas
2016-03-08 17:58 ` Bjorn Helgaas
[not found] ` <20160308174238.20498.35018.stgit@bhelgaas-glaptop2.roam.corp.google.c om>
0 siblings, 2 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2016-03-08 17:42 UTC (permalink / raw)
To: Xuetao; +Cc: linux-pci
HAVE_ARCH_PCI_SET_DMA_MASK is unused, so remove the #define for it.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
arch/unicore32/include/mach/hardware.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/unicore32/include/mach/hardware.h b/arch/unicore32/include/mach/hardware.h
index 9e20b5d..2514623 100644
--- a/arch/unicore32/include/mach/hardware.h
+++ b/arch/unicore32/include/mach/hardware.h
@@ -28,11 +28,6 @@
#define PCIBIOS_MIN_IO 0x4000 /* should lower than 64KB */
#define PCIBIOS_MIN_MEM io_v2p(PKUNITY_PCIMEM_BASE)
-/*
- * We override the standard dma-mask routines for bouncing.
- */
-#define HAVE_ARCH_PCI_SET_DMA_MASK
-
#define pcibios_assign_all_busses() 1
#endif /* __MACH_PUV3_HARDWARE_H__ */
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition
2016-03-08 17:42 [PATCH] unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition Bjorn Helgaas
@ 2016-03-08 17:58 ` Bjorn Helgaas
[not found] ` <20160308174238.20498.35018.stgit@bhelgaas-glaptop2.roam.corp.google.c om>
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2016-03-08 17:58 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: Guan Xuetao, linux-pci
On Tue, Mar 08, 2016 at 11:42:39AM -0600, Bjorn Helgaas wrote:
> HAVE_ARCH_PCI_SET_DMA_MASK is unused, so remove the #define for it.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
I applied this to my pci/misc branch for v4.6.
I think it's pretty innocuous, but let me know if you have
any objections, Guan.
> ---
> arch/unicore32/include/mach/hardware.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/unicore32/include/mach/hardware.h b/arch/unicore32/include/mach/hardware.h
> index 9e20b5d..2514623 100644
> --- a/arch/unicore32/include/mach/hardware.h
> +++ b/arch/unicore32/include/mach/hardware.h
> @@ -28,11 +28,6 @@
> #define PCIBIOS_MIN_IO 0x4000 /* should lower than 64KB */
> #define PCIBIOS_MIN_MEM io_v2p(PKUNITY_PCIMEM_BASE)
>
> -/*
> - * We override the standard dma-mask routines for bouncing.
> - */
> -#define HAVE_ARCH_PCI_SET_DMA_MASK
> -
> #define pcibios_assign_all_busses() 1
>
> #endif /* __MACH_PUV3_HARDWARE_H__ */
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20160308174238.20498.35018.stgit@bhelgaas-glaptop2.roam.corp.google.c om>]
* Re: [PATCH] unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition
[not found] ` <20160308174238.20498.35018.stgit@bhelgaas-glaptop2.roam.corp.google.c om>
@ 2016-03-09 0:28 ` Xuetao Guan
0 siblings, 0 replies; 3+ messages in thread
From: Xuetao Guan @ 2016-03-09 0:28 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: Xuetao, linux-pci
> HAVE_ARCH_PCI_SET_DMA_MASK is unused, so remove the #define for it.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Pretty good. Thanks
Acked-by: GUAN Xuetao <gxt@mprc.pku.edu.cn>
> ---
> arch/unicore32/include/mach/hardware.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/unicore32/include/mach/hardware.h
> b/arch/unicore32/include/mach/hardware.h
> index 9e20b5d..2514623 100644
> --- a/arch/unicore32/include/mach/hardware.h
> +++ b/arch/unicore32/include/mach/hardware.h
> @@ -28,11 +28,6 @@
> #define PCIBIOS_MIN_IO 0x4000 /* should lower than 64KB */
> #define PCIBIOS_MIN_MEM io_v2p(PKUNITY_PCIMEM_BASE)
>
> -/*
> - * We override the standard dma-mask routines for bouncing.
> - */
> -#define HAVE_ARCH_PCI_SET_DMA_MASK
> -
> #define pcibios_assign_all_busses() 1
>
> #endif /* __MACH_PUV3_HARDWARE_H__ */
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-09 0:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 17:42 [PATCH] unicore32: Remove unused HAVE_ARCH_PCI_SET_DMA_MASK definition Bjorn Helgaas
2016-03-08 17:58 ` Bjorn Helgaas
[not found] ` <20160308174238.20498.35018.stgit@bhelgaas-glaptop2.roam.corp.google.c om>
2016-03-09 0:28 ` Xuetao Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).