* [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function
@ 2018-09-17 17:10 Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2018-09-17 17:10 UTC (permalink / raw)
To: linux-ia64
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
arch/ia64/include/asm/iommu.h | 1 -
arch/ia64/kernel/pci-dma.c | 5 -----
2 files changed, 6 deletions(-)
diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h
index 156b9d8e1932..5397e5aa3704 100644
--- a/arch/ia64/include/asm/iommu.h
+++ b/arch/ia64/include/asm/iommu.h
@@ -5,7 +5,6 @@
/* 10 seconds */
#define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
-extern void pci_iommu_shutdown(void);
extern void no_iommu_init(void);
#ifdef CONFIG_INTEL_IOMMU
extern int force_iommu, no_iommu;
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c
index 924966e5aa25..936af0ec7f8f 100644
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -37,11 +37,6 @@ static int __init pci_iommu_init(void)
/* Must execute after PCI subsystem */
fs_initcall(pci_iommu_init);
-void pci_iommu_shutdown(void)
-{
- return;
-}
-
void __init
iommu_dma_init(void)
{
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* misc ia64 cleanups (resend)
@ 2018-09-20 7:26 Christoph Hellwig
2018-09-20 7:26 ` [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2018-09-20 7:26 UTC (permalink / raw)
To: Tony Luck, Fenghua Yu; +Cc: linux-ia64, iommu, linux-kernel
A couple random cleanups I stumbled upon when doing dma related work.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function
2018-09-20 7:26 misc ia64 cleanups (resend) Christoph Hellwig
@ 2018-09-20 7:26 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2018-09-20 7:26 UTC (permalink / raw)
To: Tony Luck, Fenghua Yu; +Cc: linux-ia64, iommu, linux-kernel
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
arch/ia64/include/asm/iommu.h | 1 -
arch/ia64/kernel/pci-dma.c | 5 -----
2 files changed, 6 deletions(-)
diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h
index 156b9d8e1932..5397e5aa3704 100644
--- a/arch/ia64/include/asm/iommu.h
+++ b/arch/ia64/include/asm/iommu.h
@@ -5,7 +5,6 @@
/* 10 seconds */
#define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
-extern void pci_iommu_shutdown(void);
extern void no_iommu_init(void);
#ifdef CONFIG_INTEL_IOMMU
extern int force_iommu, no_iommu;
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c
index 924966e5aa25..936af0ec7f8f 100644
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -37,11 +37,6 @@ static int __init pci_iommu_init(void)
/* Must execute after PCI subsystem */
fs_initcall(pci_iommu_init);
-void pci_iommu_shutdown(void)
-{
- return;
-}
-
void __init
iommu_dma_init(void)
{
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* DMA related cleanups for IA64
@ 2018-08-01 16:02 Christoph Hellwig
2018-08-01 16:02 ` [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2018-08-01 16:02 UTC (permalink / raw)
To: Tony Luck, Fenghua Yu
Cc: David Woodhouse, linux-ia64, linux-arch, linux-kernel, iommu
Hi all,
this is a resend of the last two series plus additional cleanups. The
driver of it were the odd dma barriers in the ia64 sync_single_* methods,
but once I started to look into that area the fallback got bigger and
bigger..
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function
2018-08-01 16:02 DMA related cleanups for IA64 Christoph Hellwig
@ 2018-08-01 16:02 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2018-08-01 16:02 UTC (permalink / raw)
To: Tony Luck, Fenghua Yu
Cc: David Woodhouse, linux-ia64, linux-arch, linux-kernel, iommu
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
arch/ia64/include/asm/iommu.h | 1 -
arch/ia64/kernel/pci-dma.c | 5 -----
2 files changed, 6 deletions(-)
diff --git a/arch/ia64/include/asm/iommu.h b/arch/ia64/include/asm/iommu.h
index 156b9d8e1932..5397e5aa3704 100644
--- a/arch/ia64/include/asm/iommu.h
+++ b/arch/ia64/include/asm/iommu.h
@@ -5,7 +5,6 @@
/* 10 seconds */
#define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
-extern void pci_iommu_shutdown(void);
extern void no_iommu_init(void);
#ifdef CONFIG_INTEL_IOMMU
extern int force_iommu, no_iommu;
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c
index 924966e5aa25..936af0ec7f8f 100644
--- a/arch/ia64/kernel/pci-dma.c
+++ b/arch/ia64/kernel/pci-dma.c
@@ -37,11 +37,6 @@ static int __init pci_iommu_init(void)
/* Must execute after PCI subsystem */
fs_initcall(pci_iommu_init);
-void pci_iommu_shutdown(void)
-{
- return;
-}
-
void __init
iommu_dma_init(void)
{
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-20 7:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-17 17:10 [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2018-09-20 7:26 misc ia64 cleanups (resend) Christoph Hellwig
2018-09-20 7:26 ` [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function Christoph Hellwig
2018-08-01 16:02 DMA related cleanups for IA64 Christoph Hellwig
2018-08-01 16:02 ` [PATCH 5/9] ia64: remove the unused pci_iommu_shutdown function Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox