Displaying 20 results from an estimated 80 matches for "iomap".
Did you mean:
imap
2020 Jan 07
0
[RFT 01/13] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...modify the memory under the address
so they can be converted to a "const" version for const-safety and
consistency among architectures.
Suggested-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
include/asm-generic/iomap.h | 22 +++++++++++-----------
include/linux/io-64-nonatomic-hi-lo.h | 4 ++--
include/linux/io-64-nonatomic-lo-hi.h | 4 ++--
lib/iomap.c | 18 +++++++++---------
4 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/include/asm-generic/iomap.h b/in...
2020 Nov 03
0
[patch V3 20/37] io-mapping: Cleanup atomic iomap
Switch the atomic iomap implementation over to kmap_local and stick the
preempt/pagefault mechanics into the generic code similar to the
kmap_atomic variants.
Rename the x86 map function in preparation for a non-atomic variant.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
V2: New patch to make review...
2019 Jun 17
2
[PATCH 08/25] memremap: move dev_pagemap callbacks into a separate structure
...19 +++++++++-------
> drivers/pci/p2pdma.c | 9 +++++---
> include/linux/memremap.h | 36 +++++++++++++++++--------------
> kernel/memremap.c | 18 ++++++++--------
> mm/hmm.c | 10 ++++++---
> tools/testing/nvdimm/test/iomap.c | 9 ++++----
> 8 files changed, 65 insertions(+), 49 deletions(-)
>
[..]
> diff --git a/tools/testing/nvdimm/test/iomap.c b/tools/testing/nvdimm/test/iomap.c
> index 219dd0a1cb08..a667d974155e 100644
> --- a/tools/testing/nvdimm/test/iomap.c
> +++ b/tools/testing/nvdimm/test/i...
2020 Jul 09
5
[PATCH v3 0/4] iomap: Constify ioreadX() iomem argument
...s only compile tested on affected architectures. No real
testing.
volatile
========
There is still interface inconsistency between architectures around
"volatile" qualifier:
- include/asm-generic/io.h:static inline u32 ioread32(const volatile void __iomem *addr)
- include/asm-generic/iomap.h:extern unsigned int ioread32(const void __iomem *);
This is still discussed and out of scope of this patchset.
Best regards,
Krzysztof
Krzysztof Kozlowski (4):
iomap: Constify ioreadX() iomem argument (as in generic
implementation)
rtl818x: Constify ioreadX() iomem argument (as in ge...
2020 Jan 08
0
[PATCH v2 1/9] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...lpha/include/asm/io_trivial.h | 16 +++---
arch/alpha/include/asm/jensen.h | 2 +-
arch/alpha/include/asm/machvec.h | 6 +--
arch/alpha/kernel/core_marvel.c | 2 +-
arch/alpha/kernel/io.c | 12 ++---
arch/parisc/include/asm/io.h | 4 +-
arch/parisc/lib/iomap.c | 72 +++++++++++++--------------
arch/powerpc/kernel/iomap.c | 28 +++++------
arch/sh/kernel/iomap.c | 22 ++++----
include/asm-generic/iomap.h | 28 +++++------
include/linux/io-64-nonatomic-hi-lo.h | 4 +-
include/linux/io-64-nonatomic-lo-hi.h...
2020 Feb 19
0
[RESEND PATCH v2 1/9] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...lpha/include/asm/io_trivial.h | 16 +++---
arch/alpha/include/asm/jensen.h | 2 +-
arch/alpha/include/asm/machvec.h | 6 +--
arch/alpha/kernel/core_marvel.c | 2 +-
arch/alpha/kernel/io.c | 12 ++---
arch/parisc/include/asm/io.h | 4 +-
arch/parisc/lib/iomap.c | 72 +++++++++++++--------------
arch/powerpc/kernel/iomap.c | 28 +++++------
arch/sh/kernel/iomap.c | 22 ++++----
include/asm-generic/iomap.h | 28 +++++------
include/linux/io-64-nonatomic-hi-lo.h | 4 +-
include/linux/io-64-nonatomic-lo-hi.h...
2020 Jul 09
0
[PATCH v3 1/4] iomap: Constify ioreadX() iomem argument (as in generic implementation)
...lpha/include/asm/io_trivial.h | 16 +++---
arch/alpha/include/asm/jensen.h | 2 +-
arch/alpha/include/asm/machvec.h | 6 +--
arch/alpha/kernel/core_marvel.c | 2 +-
arch/alpha/kernel/io.c | 12 ++---
arch/parisc/include/asm/io.h | 4 +-
arch/parisc/lib/iomap.c | 72 +++++++++++++--------------
arch/powerpc/kernel/iomap.c | 28 +++++------
arch/sh/kernel/iomap.c | 22 ++++----
drivers/sh/clk/cpg.c | 2 +-
include/asm-generic/iomap.h | 28 +++++------
include/linux/io-64-nonatomic-hi-lo.h...
2020 Feb 19
14
[RESEND PATCH v2 0/9] iomap: Constify ioreadX() iomem argument
...s only compile tested on affected architectures. No real
testing.
volatile
========
There is still interface inconsistency between architectures around
"volatile" qualifier:
- include/asm-generic/io.h:static inline u32 ioread32(const volatile void __iomem *addr)
- include/asm-generic/iomap.h:extern unsigned int ioread32(const void __iomem *);
This is still discussed and out of scope of this patchset.
Merging
=======
Multiple architectures are affected in first patch so acks are welcomed.
1. All patches depend on first patch,
2. Patches 2-4 unify the interface also in few drivers,...
2020 Feb 19
14
[RESEND PATCH v2 0/9] iomap: Constify ioreadX() iomem argument
...s only compile tested on affected architectures. No real
testing.
volatile
========
There is still interface inconsistency between architectures around
"volatile" qualifier:
- include/asm-generic/io.h:static inline u32 ioread32(const volatile void __iomem *addr)
- include/asm-generic/iomap.h:extern unsigned int ioread32(const void __iomem *);
This is still discussed and out of scope of this patchset.
Merging
=======
Multiple architectures are affected in first patch so acks are welcomed.
1. All patches depend on first patch,
2. Patches 2-4 unify the interface also in few drivers,...
2020 Feb 19
14
[RESEND PATCH v2 0/9] iomap: Constify ioreadX() iomem argument
...s only compile tested on affected architectures. No real
testing.
volatile
========
There is still interface inconsistency between architectures around
"volatile" qualifier:
- include/asm-generic/io.h:static inline u32 ioread32(const volatile void __iomem *addr)
- include/asm-generic/iomap.h:extern unsigned int ioread32(const void __iomem *);
This is still discussed and out of scope of this patchset.
Merging
=======
Multiple architectures are affected in first patch so acks are welcomed.
1. All patches depend on first patch,
2. Patches 2-4 unify the interface also in few drivers,...
2020 Jan 07
0
[RFT 05/13] powerpc: Constify ioreadX() iomem argument (as in generic implementation)
...inter to const, on some not.
Implementations of ioreadX() do not modify the memory under the address
so they can be converted to a "const" version for const-safety and
consistency among architectures.
Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
arch/powerpc/kernel/iomap.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/arch/powerpc/kernel/iomap.c b/arch/powerpc/kernel/iomap.c
index 5ac84efc6ede..de8da1c3496f 100644
--- a/arch/powerpc/kernel/iomap.c
+++ b/arch/powerpc/kernel/iomap.c
@@ -15,23 +15,23 @@
* Here comes the...
2020 Jan 08
0
[RFT 00/13] iomap: Constify ioreadX() iomem argument
...really tested on all affected architectures.
> Build testing is in progress - I hope auto-builders will point any issues.
>
>
> Todo
> ====
> Convert also string versions (ioread16_rep() etc) if this aproach looks OK.
>
>
> Merging
> =======
> The first 5 patches - iomap, alpha, sh, parisc and powerpc - should probably go
> via one tree, or even squashed into one.
Yes, they should be squashed, cfr. Arnd's comment.
I also wouldn't bother doing the updates in patches 6-10.
The rest looks good to me.
Thanks a lot!
Gr{oetje,eeting}s,...
2015 Jan 14
0
[PATCH v3 08/16] mn10300: drop dead code
pci-iomap.c was (apparently, mistakenly) reintroduced as part of
commit 83c2dc15ce824450e7044b9f90cd529c25747ae0
MN10300: Handle cacheable PCI regions in pci_iomap()
probably as side-effect of forward-porting the patch
from an old kernel.
It's not really needed: the generic pci_iomap does the right...
2015 Jan 14
0
[PATCH v3 08/16] mn10300: drop dead code
pci-iomap.c was (apparently, mistakenly) reintroduced as part of
commit 83c2dc15ce824450e7044b9f90cd529c25747ae0
MN10300: Handle cacheable PCI regions in pci_iomap()
probably as side-effect of forward-porting the patch
from an old kernel.
It's not really needed: the generic pci_iomap does the right...
2020 Jan 07
21
[RFT 00/13] iomap: Constify ioreadX() iomem argument
...all of them to take
pointer to const.
Patchset was really tested on all affected architectures.
Build testing is in progress - I hope auto-builders will point any issues.
Todo
====
Convert also string versions (ioread16_rep() etc) if this aproach looks OK.
Merging
=======
The first 5 patches - iomap, alpha, sh, parisc and powerpc - should probably go
via one tree, or even squashed into one.
All other can go separately after these get merged.
Best regards,
Krzysztof
Krzysztof Kozlowski (13):
iomap: Constify ioreadX() iomem argument (as in generic
implementation)
alpha: Constify iore...
2020 Jan 07
21
[RFT 00/13] iomap: Constify ioreadX() iomem argument
...all of them to take
pointer to const.
Patchset was really tested on all affected architectures.
Build testing is in progress - I hope auto-builders will point any issues.
Todo
====
Convert also string versions (ioread16_rep() etc) if this aproach looks OK.
Merging
=======
The first 5 patches - iomap, alpha, sh, parisc and powerpc - should probably go
via one tree, or even squashed into one.
All other can go separately after these get merged.
Best regards,
Krzysztof
Krzysztof Kozlowski (13):
iomap: Constify ioreadX() iomem argument (as in generic
implementation)
alpha: Constify iore...
2020 Jan 07
21
[RFT 00/13] iomap: Constify ioreadX() iomem argument
...all of them to take
pointer to const.
Patchset was really tested on all affected architectures.
Build testing is in progress - I hope auto-builders will point any issues.
Todo
====
Convert also string versions (ioread16_rep() etc) if this aproach looks OK.
Merging
=======
The first 5 patches - iomap, alpha, sh, parisc and powerpc - should probably go
via one tree, or even squashed into one.
All other can go separately after these get merged.
Best regards,
Krzysztof
Krzysztof Kozlowski (13):
iomap: Constify ioreadX() iomem argument (as in generic
implementation)
alpha: Constify iore...
2011 Nov 14
2
[PATCHv2 RFC] virtio-pci: flexible configuration layout
Add a flexible mechanism to specify virtio configuration layout, using
pci vendor-specific capability. A separate capability is used for each
of common, device specific and data-path accesses.
Warning: compiled only.
This patch also needs to be split up, pci_iomap changes
also need arch updates for non-x86.
There might also be more spec changes.
Posting here for early feedback, and to allow Sasha to
proceed with his "kvm tool" work.
Changes from v1:
Updated to match v3 of the spec, see:
Subject: [PATCHv3 RFC] virtio-spec: flexible configuration...
2011 Nov 14
2
[PATCHv2 RFC] virtio-pci: flexible configuration layout
Add a flexible mechanism to specify virtio configuration layout, using
pci vendor-specific capability. A separate capability is used for each
of common, device specific and data-path accesses.
Warning: compiled only.
This patch also needs to be split up, pci_iomap changes
also need arch updates for non-x86.
There might also be more spec changes.
Posting here for early feedback, and to allow Sasha to
proceed with his "kvm tool" work.
Changes from v1:
Updated to match v3 of the spec, see:
Subject: [PATCHv3 RFC] virtio-spec: flexible configuration...
2020 Jan 08
17
[PATCH v2 0/9] iomap: Constify ioreadX() iomem argument
...sting is in progress - I hope auto-builders will point any issues.
volatile
========
There is still interface inconsistency between architectures around
"volatile" qualifier:
- include/asm-generic/io.h:static inline u32 ioread32(const volatile void __iomem *addr)
- include/asm-generic/iomap.h:extern unsigned int ioread32(const void __iomem *);
This is still discussed and out of scope of this patchset.
Merging
=======
Multiple architectures are affected in first patch so acks are welcomed.
Patches 2-4 depend on first patch.
The rest is optional cleanup, without actual impact.
Bes...