Hi Palmer,
Shea Levy writes:
> Hi Palmer,
>
> Palmer Dabbelt writes:
>
>> On Sun, 22 Apr 2018 05:53:56 PDT (-0700), s...@shealevy.com wrote:
>>> Hi Palmer,
>>>
>>> Shea Levy writes:
>>>
>>>> Signed-off-by: Shea Levy
>>
Hi all,
Shea Levy writes:
> Hi Palmer,
>
> Palmer Dabbelt writes:
>
>> On Wed, 18 Apr 2018 04:10:16 PDT (-0700), s...@shealevy.com wrote:
>>> Hi all,
>>>
>>> Shea Levy writes:
>>>
>>>> This function is effectively identical acr
Hi Palmer,
Palmer Dabbelt writes:
> On Sun, 22 Apr 2018 05:53:56 PDT (-0700), s...@shealevy.com wrote:
>> Hi Palmer,
>>
>> Shea Levy writes:
>>
>>> Signed-off-by: Shea Levy
>>> ---
>>>
>>> Note that this patch worked in my old
Hi Palmer,
Shea Levy writes:
> Signed-off-by: Shea Levy
> ---
>
> Note that this patch worked in my old modules patchset and seems to be
> working now, but my kernel boot locks up on top of
> riscv-for-linus-4.17-mw0 and I don't know if it's due to this patch or
>
Hi Palmer,
Palmer Dabbelt writes:
> On Wed, 18 Apr 2018 04:10:16 PDT (-0700), s...@shealevy.com wrote:
>> Hi all,
>>
>> Shea Levy writes:
>>
>>> This function is effectively identical across 14 architectures, and
>>> the generic implement
Hi all,
Shea Levy writes:
> This function is effectively identical across 14 architectures, and
> the generic implementation is small enough to be negligible in the
> architectures that do override it. Many of the remaining divergent
> implementations can be included in the common
Signed-off-by: Shea Levy
---
Note that this patch worked in my old modules patchset and seems to be
working now, but my kernel boot locks up on top of
riscv-for-linus-4.17-mw0 and I don't know if it's due to this patch or
something else that's changed in the mean time.
---
arc
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
igned-off-by: Shea Levy
---
arch/m68k/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c
index e85acd131fa8..e20bef09258c 100644
--- a/arch/m68k/mm/init.c
+++ b/arch/m68k/mm/init.c
@@ -172,10 +172,3 @@ void __init mem_init
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
Hi Michael,
Michael Ellerman writes:
> Shea Levy writes:
>
>> Joe Perches writes:
>>
>>> On Wed, 2018-03-28 at 16:36 -0400, Shea Levy wrote:
>>>> Signed-off-by: Shea Levy
>>>
>>> Most people seem to want some form of commit message
>
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
ar
ff-by: Shea Levy
---
arch/sh/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index ce0bbaa7e404..7451459d0725 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -477,13 +477,6 @@ void free_initmem(void)
free_initmem_defau
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which works on RISC-V.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
arch/riscv/mm/init.c | 6 --
1 file changed, 6 dele
e the generic path opt-out instead of opt-in.
v2: Mark generic free_initrd_mem __init.
Signed-off-by: Shea Levy
---
init/initramfs.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..c8fe150f958a 100644
--- a/init/initramfs.c
+++ b
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
The first patch in this series added a weakly-defined generic
implementation, which is functionally identical to the
architecture-specific one removed here.
Series boot-tested on RISC-V (which now uses the generic
implementation) and x86_64 (which doesn't).
Signed-off-by: Shea Levy
---
duplication and sharing improvements between
architectures.
v5: Add more complete commit messages.
v4: Use weak symbols instead of Kconfig.
v3: Make the generic path opt-out instead of opt-in.
v2: Mark generic free_initrd_mem __init.
Signed-off-by: Shea Levy
---
init/initramfs.c | 5 +
1 file
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/arc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c
index ba145065c579..7bcf23ab1756 100644
--- a/arch/arc/mm/init.c
+++ b/arch/arc/mm/init.c
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/c6x/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c
index 4cc72b0d1c1d..a11cb657182a 100644
--- a/arch/c6x/mm/init.c
+++ b/arch/c6x/mm/init.c
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/h8300/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index 015287ac8ce8..37574332b202 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/microblaze/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index df6de7ccdc2e..ea058dfda222 100644
--- a/arch/microblaze/mm/init.c
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/openrisc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c
index 6972d5d6f23f..c1a3dcf9ad40 100644
--- a/arch/openrisc/mm/init.c
+++ b/arch
The generic implementation is functionally identical.
Acked-by: Geert Uytterhoeven
Signed-off-by: Shea Levy
---
arch/m68k/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c
index e85acd131fa8..e20bef09258c 100644
--- a/arch/m68k/mm
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/parisc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index cab32ee824d2..3643399230f3 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/sh/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index ce0bbaa7e404..7451459d0725 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -477,13
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/nios2/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c
index c92fe4234009..3df75ff8c768 100644
--- a/arch/nios2/mm/init.c
+++ b/arch/nios2/mm
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/m32r/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c
index 93abc8c3a46e..e2b5f09209ee 100644
--- a/arch/m32r/mm/init.c
+++ b/arch/m32r/mm
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/powerpc/mm/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index fe8c61149fb8..e85b2a3cd264 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/um/kernel/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index 3c0e470ea646..2d26eec92126 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/frv/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index cf464100e838..345edc4dc462 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
The generic implementation is functionally identical.
Signed-off-by: Shea Levy
---
arch/alpha/mm/init.c | 8
1 file changed, 8 deletions(-)
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c
index 9d74520298ab..55f7c8efa962 100644
--- a/arch/alpha/mm/init.c
+++ b/arch/alpha/mm
Now that there is a generic implementation, riscv's noop stub can be
removed.
Signed-off-by: Shea Levy
---
arch/riscv/mm/init.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
index c77df8142be2..36f83fe8a726 100644
--- a/arch/riscv/mm/i
Daniel Thompson writes:
> On 28/03/18 21:36, Shea Levy wrote:
>> Signed-off-by: Shea Levy
>> ---
>> arch/riscv/mm/init.c | 6 --
>> 1 file changed, 6 deletions(-)
>>
>> diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
>> index c7
Joe Perches writes:
> On Wed, 2018-03-28 at 16:36 -0400, Shea Levy wrote:
>> Signed-off-by: Shea Levy
>
> Most people seem to want some form of commit message
> and not just your sign-off.
>
Ah, if the subject is insufficient I can add some more detail.
>
> And
Signed-off-by: Shea Levy
---
arch/arc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/arc/mm/init.c b/arch/arc/mm/init.c
index ba145065c579..7bcf23ab1756 100644
--- a/arch/arc/mm/init.c
+++ b/arch/arc/mm/init.c
@@ -229,10 +229,3 @@ void __ref free_initmem(void
Signed-off-by: Shea Levy
---
arch/frv/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c
index cf464100e838..345edc4dc462 100644
--- a/arch/frv/mm/init.c
+++ b/arch/frv/mm/init.c
@@ -131,14 +131,3 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/microblaze/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c
index df6de7ccdc2e..ea058dfda222 100644
--- a/arch/microblaze/mm/init.c
+++ b/arch/microblaze/mm/init.c
@@ -187,13 +187,6 @@ void
Signed-off-by: Shea Levy
---
arch/m32r/mm/init.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c
index 93abc8c3a46e..e2b5f09209ee 100644
--- a/arch/m32r/mm/init.c
+++ b/arch/m32r/mm/init.c
@@ -139,14 +139,3 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/powerpc/mm/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index fe8c61149fb8..e85b2a3cd264 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -404,13 +404,6 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/sh/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index ce0bbaa7e404..7451459d0725 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -477,13 +477,6 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/um/kernel/mem.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c
index 3c0e470ea646..2d26eec92126 100644
--- a/arch/um/kernel/mem.c
+++ b/arch/um/kernel/mem.c
@@ -170,13 +170,6 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/parisc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index cab32ee824d2..3643399230f3 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -932,10 +932,3 @@ void flush_tlb_all(void
Signed-off-by: Shea Levy
---
arch/openrisc/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c
index 6972d5d6f23f..c1a3dcf9ad40 100644
--- a/arch/openrisc/mm/init.c
+++ b/arch/openrisc/mm/init.c
@@ -222,13 +222,6 @@ void __init
Signed-off-by: Shea Levy
---
arch/nios2/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c
index c92fe4234009..3df75ff8c768 100644
--- a/arch/nios2/mm/init.c
+++ b/arch/nios2/mm/init.c
@@ -82,13 +82,6 @@ void __init mmu_init(void
Signed-off-by: Shea Levy
---
arch/alpha/mm/init.c | 8
1 file changed, 8 deletions(-)
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c
index 9d74520298ab..55f7c8efa962 100644
--- a/arch/alpha/mm/init.c
+++ b/arch/alpha/mm/init.c
@@ -291,11 +291,3 @@ free_initmem(void
Signed-off-by: Shea Levy
---
arch/riscv/mm/init.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
index c77df8142be2..36f83fe8a726 100644
--- a/arch/riscv/mm/init.c
+++ b/arch/riscv/mm/init.c
@@ -62,9 +62,3 @@ void free_initmem(void
Signed-off-by: Shea Levy
---
arch/c6x/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c
index 4cc72b0d1c1d..a11cb657182a 100644
--- a/arch/c6x/mm/init.c
+++ b/arch/c6x/mm/init.c
@@ -66,13 +66,6 @@ void __init mem_init(void
Signed-off-by: Shea Levy
---
arch/m68k/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c
index e85acd131fa8..e20bef09258c 100644
--- a/arch/m68k/mm/init.c
+++ b/arch/m68k/mm/init.c
@@ -172,10 +172,3 @@ void __init mem_init(void
Signed-off-by: Shea Levy
---
arch/h8300/mm/init.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c
index 015287ac8ce8..37574332b202 100644
--- a/arch/h8300/mm/init.c
+++ b/arch/h8300/mm/init.c
@@ -102,13 +102,6 @@ void __init mem_init(void
Signed-off-by: Shea Levy
---
init/initramfs.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..c8fe150f958a 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -526,6 +526,11 @@ extern unsigned long __initramfs_size;
#include
This patch series extracts out code for unloading the initramfs that
was identical across 14 architectures, and moves those architectures
to the common code path. Additionally, RISC-V is newly moved to the
common code path.
In addition to reducing duplication, this allows us to bring future
improv
Hi Palmer,
Palmer Dabbelt writes:
> On Sun, 25 Mar 2018 15:18:39 PDT (-0700), s...@shealevy.com wrote:
>> Signed-off-by: Shea Levy
>> ---
>> arch/riscv/Kconfig | 1 +
>> arch/riscv/mm/init.c | 6 --
>> 2 files changed, 1 insertion(+), 6 deletions(-)
>
Signed-off-by: Shea Levy
---
init/initramfs.c | 7 +++
usr/Kconfig | 4
2 files changed, 11 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..5f2e3dba4822 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -526,6 +526,13 @@ extern unsigned
Signed-off-by: Shea Levy
---
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 6 --
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c22ebe08e902..ab1b4cee84fc 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -37,6 +37,7
Signed-off-by: Shea Levy
---
arch/m32r/Kconfig | 1 +
arch/m32r/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index dd84ee194579..010a2b999181 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -21,6
Signed-off-by: Shea Levy
---
arch/alpha/Kconfig | 1 +
arch/alpha/mm/init.c | 8
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index e96adcbcab41..238d743ae8f2 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -27,6
Signed-off-by: Shea Levy
---
arch/arc/Kconfig | 1 +
arch/arc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index d76bf4a83740..2844ce5b910c 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -44,6 +44,7 @@ config
Signed-off-by: Shea Levy
---
arch/microblaze/Kconfig | 1 +
arch/microblaze/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 3817a3e2146c..ef23e8410b4b 100644
--- a/arch/microblaze/Kconfig
+++ b/arch
Signed-off-by: Shea Levy
---
arch/openrisc/Kconfig | 1 +
arch/openrisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index dfb6a79ba7ff..0f8d2132baa5 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc
Signed-off-by: Shea Levy
---
arch/c6x/Kconfig | 1 +
arch/c6x/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index c6b4dd1418b4..857f95f9a6a4 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -19,6 +19,7 @@ config
Signed-off-by: Shea Levy
---
arch/parisc/Kconfig | 1 +
arch/parisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index 9792d8cf4f56..7410c2094987 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
Signed-off-by: Shea Levy
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/mm/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd07642..8cf384068e79 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
Signed-off-by: Shea Levy
---
arch/frv/Kconfig | 1 +
arch/frv/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig
index af369b05fed5..5c104b800cb1 100644
--- a/arch/frv/Kconfig
+++ b/arch/frv/Kconfig
@@ -17,6 +17,7
Signed-off-by: Shea Levy
---
arch/m68k/Kconfig | 1 +
arch/m68k/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 785612b576f7..47913a68529e 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -24,6 +24,7
Signed-off-by: Shea Levy
---
arch/nios2/Kconfig | 1 +
arch/nios2/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 3d4ec88f1db1..d3b72d5c8967 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -19,6
Signed-off-by: Shea Levy
---
arch/um/Kconfig.common | 1 +
arch/um/kernel/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index c68add8df3ae..1cb8a023938b 100644
--- a/arch/um/Kconfig.common
+++ b/arch/um
Signed-off-by: Shea Levy
---
arch/sh/Kconfig | 1 +
arch/sh/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 97fe29316476..b6f80dad2152 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -50,6 +50,7 @@ config SUPERH
Hi Christophe,
LEROY Christophe writes:
> Shea Levy a écrit :
>
>> Signed-off-by: Shea Levy
>> ---
>> init/initramfs.c | 7 +++
>> usr/Kconfig | 4
>> 2 files changed, 11 insertions(+)
>>
>> diff --git a/init/initramfs.c b/init
Signed-off-by: Shea Levy
---
arch/h8300/Kconfig | 1 +
arch/h8300/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 091d6d04b5e5..58c9b6b1df16 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -24,6
This patch series extracts out code for unloading the initramfs that
was identical across 14 architectures, and moves those architectures
to the common code path. Additionally, RISC-V is newly moved to the
common code path.
In addition to reducing duplication, this allows us to bring future
improv
This patch series extracts out code for unloading the initramfs that
was identical across 14 architectures, and moves those architectures
to the common code path. Additionally, RISC-V is newly moved to the
common code path.
In addition to reducing duplication, this allows us to bring future
improv
Signed-off-by: Shea Levy
---
arch/alpha/Kconfig | 1 +
arch/alpha/mm/init.c | 8
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index e96adcbcab41..238d743ae8f2 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -27,6
Signed-off-by: Shea Levy
---
arch/arc/Kconfig | 1 +
arch/arc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index d76bf4a83740..2844ce5b910c 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -44,6 +44,7 @@ config
Signed-off-by: Shea Levy
---
arch/frv/Kconfig | 1 +
arch/frv/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig
index af369b05fed5..5c104b800cb1 100644
--- a/arch/frv/Kconfig
+++ b/arch/frv/Kconfig
@@ -17,6 +17,7
Signed-off-by: Shea Levy
---
arch/h8300/Kconfig | 1 +
arch/h8300/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 091d6d04b5e5..58c9b6b1df16 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -24,6
Signed-off-by: Shea Levy
---
arch/c6x/Kconfig | 1 +
arch/c6x/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig
index c6b4dd1418b4..857f95f9a6a4 100644
--- a/arch/c6x/Kconfig
+++ b/arch/c6x/Kconfig
@@ -19,6 +19,7 @@ config
Signed-off-by: Shea Levy
---
arch/m32r/Kconfig | 1 +
arch/m32r/mm/init.c | 11 ---
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index dd84ee194579..010a2b999181 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -21,6
Signed-off-by: Shea Levy
---
arch/openrisc/Kconfig | 1 +
arch/openrisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index dfb6a79ba7ff..0f8d2132baa5 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc
Signed-off-by: Shea Levy
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/mm/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 73ce5dd07642..8cf384068e79 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
Signed-off-by: Shea Levy
---
arch/microblaze/Kconfig | 1 +
arch/microblaze/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index 3817a3e2146c..ef23e8410b4b 100644
--- a/arch/microblaze/Kconfig
+++ b/arch
Signed-off-by: Shea Levy
---
arch/nios2/Kconfig | 1 +
arch/nios2/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
index 3d4ec88f1db1..d3b72d5c8967 100644
--- a/arch/nios2/Kconfig
+++ b/arch/nios2/Kconfig
@@ -19,6
Signed-off-by: Shea Levy
---
arch/parisc/Kconfig | 1 +
arch/parisc/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index 9792d8cf4f56..7410c2094987 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
Signed-off-by: Shea Levy
---
arch/um/Kconfig.common | 1 +
arch/um/kernel/mem.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index c68add8df3ae..1cb8a023938b 100644
--- a/arch/um/Kconfig.common
+++ b/arch/um
Signed-off-by: Shea Levy
---
arch/riscv/Kconfig | 1 +
arch/riscv/mm/init.c | 6 --
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c22ebe08e902..ab1b4cee84fc 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -37,6 +37,7
Signed-off-by: Shea Levy
---
arch/m68k/Kconfig | 1 +
arch/m68k/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 785612b576f7..47913a68529e 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -24,6 +24,7
Signed-off-by: Shea Levy
---
arch/sh/Kconfig | 1 +
arch/sh/mm/init.c | 7 ---
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 97fe29316476..b6f80dad2152 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -50,6 +50,7 @@ config SUPERH
Signed-off-by: Shea Levy
---
init/initramfs.c | 7 +++
usr/Kconfig | 4
2 files changed, 11 insertions(+)
diff --git a/init/initramfs.c b/init/initramfs.c
index 7e99a0038942..de5ce873eb5a 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -526,6 +526,13 @@ extern unsigned
Hi Zong,
Zong Li writes:
> 2018-03-24 20:59 GMT+08:00 Shea Levy :
>> Hi Palmer, Zong,
>>
>> Palmer Dabbelt writes:
>>
>>> On Thu, 15 Mar 2018 01:50:40 PDT (-0700), z...@andestech.com wrote:
>>>> These patches resolve the some issues o
Hi Palmer, Zong,
Palmer Dabbelt writes:
> On Thu, 15 Mar 2018 01:50:40 PDT (-0700), z...@andestech.com wrote:
>> These patches resolve the some issues of loadable module.
>> - symbol out of ranges
>> - unknown relocation types
>>
>> The reference of external variable and function symbols
>>
Palmer Dabbelt writes:
> On Wed, 14 Mar 2018 05:07:09 PDT (-0700), s...@shealevy.com wrote:
>> Palmer Dabbelt writes:
>>
>>> On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote:
Hi Palmer,
Palmer Dabbelt writes:
> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z
Palmer Dabbelt writes:
> On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote:
>> Hi Palmer,
>>
>> Palmer Dabbelt writes:
>>
>>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote:
These patches resolve the some issues of loadable module.
- symbol out of
Zong Li writes:
> 2018-03-14 11:07 GMT+08:00 Palmer Dabbelt :
>> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote:
>>>
>>> 2018-03-14 5:30 GMT+08:00 Shea Levy :
>>>>
>>>> Hi Palmer,
>>>>
>>>> Pal
1 - 100 of 146 matches
Mail list logo