mbox series

[v1,0/8] MIPS: Drop boot_mem_map

Message ID 20190819142313.3535-1-jiaxun.yang@flygoat.com (mailing list archive)
Headers show
Series MIPS: Drop boot_mem_map | expand

Message

Jiaxun Yang Aug. 19, 2019, 2:23 p.m. UTC
v1: Reording patches, fixes according to Serge's suggestions,
fix maar section mismatch.

Jiaxun Yang (8):
  MIPS: OCTEON: Drop boot_mem_map
  MIPS: fw: Record prom memory
  MIPS: malta: Drop prom_free_prom_memory
  MIPS: msp: Record prom memory
  MIPS: ip22: Drop addr_is_ram
  MIPS: xlp: Drop boot_mem_map
  MIPS: mm: Drop boot_mem_map
  MIPS: init: Drop boot_mem_map

 arch/mips/cavium-octeon/dma-octeon.c |  17 +-
 arch/mips/cavium-octeon/setup.c      |   3 +-
 arch/mips/fw/arc/memory.c            |  24 +-
 arch/mips/include/asm/bootinfo.h     |  16 --
 arch/mips/include/asm/maar.h         |   8 +-
 arch/mips/kernel/setup.c             | 355 +++++++--------------------
 arch/mips/mm/init.c                  |  82 +++----
 arch/mips/mti-malta/malta-memory.c   |  11 -
 arch/mips/netlogic/xlp/setup.c       |  12 +-
 arch/mips/pmcs-msp71xx/msp_prom.c    |  22 +-
 arch/mips/sgi-ip22/ip28-berr.c       |  20 +-
 11 files changed, 173 insertions(+), 397 deletions(-)

Comments

Paul Burton Aug. 23, 2019, 2:45 p.m. UTC | #1
Hello,

Jiaxun Yang wrote:
> v1: Reording patches, fixes according to Serge's suggestions,
> fix maar section mismatch.
> 
> Jiaxun Yang (8):
>   MIPS: OCTEON: Drop boot_mem_map
>   MIPS: fw: Record prom memory
>   MIPS: malta: Drop prom_free_prom_memory
>   MIPS: msp: Record prom memory
>   MIPS: ip22: Drop addr_is_ram
>   MIPS: xlp: Drop boot_mem_map
>   MIPS: mm: Drop boot_mem_map
>   MIPS: init: Drop boot_mem_map
> 
>  arch/mips/cavium-octeon/dma-octeon.c |  17 +-
>  arch/mips/cavium-octeon/setup.c      |   3 +-
>  arch/mips/fw/arc/memory.c            |  24 +-
>  arch/mips/include/asm/bootinfo.h     |  16 --
>  arch/mips/include/asm/maar.h         |   8 +-

Series applied to mips-next.

> MIPS: OCTEON: Drop boot_mem_map
>   commit 6cda3a5e002f
>   https://git.kernel.org/mips/c/6cda3a5e002f
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: fw: Record prom memory
>   commit 0df1007677d5
>   https://git.kernel.org/mips/c/0df1007677d5
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: malta: Drop prom_free_prom_memory
>   commit 79fd0fe44731
>   https://git.kernel.org/mips/c/79fd0fe44731
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: msp: Record prom memory
>   commit b3c948e2c00f
>   https://git.kernel.org/mips/c/b3c948e2c00f
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: ip22: Drop addr_is_ram
>   commit aa1edac13e5f
>   https://git.kernel.org/mips/c/aa1edac13e5f
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: xlp: Drop boot_mem_map
>   commit a121d6e0caf0
>   https://git.kernel.org/mips/c/a121d6e0caf0
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: mm: Drop boot_mem_map
>   commit a5718fe8f70f
>   https://git.kernel.org/mips/c/a5718fe8f70f
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   [paul.burton@mips.com:
>     - Fix bad MAAR address calculations.
>     - Use ALIGN() & define maar_align to make it clearer what's going on
>       with address manipulations.
>     - Drop the new used field from struct maar_config.
>     - Rework the RAM walk to avoid iterating over the cfg array needlessly
>       to find the first unused entry, then count used entries at the end.
>       Instead just keep the count as we go.]
>   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> MIPS: init: Drop boot_mem_map
>   commit a94e4f24ec83
>   https://git.kernel.org/mips/c/a94e4f24ec83
>   
>   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
>   [paul.burton@mips.com: Fix size calculation in check_kernel_sections_mem]
>   Signed-off-by: Paul Burton <paul.burton@mips.com>

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@mips.com to report it. ]
Jiaxun Yang Aug. 23, 2019, 5:20 p.m. UTC | #2
On 2019/8/23 下午10:45, Paul Burton wrote:
> Hello,
>
> Jiaxun Yang wrote:
>> v1: Reording patches, fixes according to Serge's suggestions,
>> fix maar section mismatch.
>>
>> Jiaxun Yang (8):
>>    MIPS: OCTEON: Drop boot_mem_map
>>    MIPS: fw: Record prom memory
>>    MIPS: malta: Drop prom_free_prom_memory
>>    MIPS: msp: Record prom memory
>>    MIPS: ip22: Drop addr_is_ram
>>    MIPS: xlp: Drop boot_mem_map
>>    MIPS: mm: Drop boot_mem_map
>>    MIPS: init: Drop boot_mem_map
>>
>>   arch/mips/cavium-octeon/dma-octeon.c |  17 +-
>>   arch/mips/cavium-octeon/setup.c      |   3 +-
>>   arch/mips/fw/arc/memory.c            |  24 +-
>>   arch/mips/include/asm/bootinfo.h     |  16 --
>>   arch/mips/include/asm/maar.h         |   8 +-
> Series applied to mips-next.

Sorry Paul, there are some build issues suggested by kbuild test boot, 
I'm going to send v2 later.

--

Jiaxun Yang
Jiaxun Yang Aug. 23, 2019, 5:36 p.m. UTC | #3
On 2019/8/24 上午1:20, Jiaxun Yang wrote:
>
> On 2019/8/23 下午10:45, Paul Burton wrote:
>> Hello,
>>
>> Jiaxun Yang wrote:
>>> v1: Reording patches, fixes according to Serge's suggestions,
>>> fix maar section mismatch.
>>>
>>> Jiaxun Yang (8):
>>>    MIPS: OCTEON: Drop boot_mem_map
>>>    MIPS: fw: Record prom memory
>>>    MIPS: malta: Drop prom_free_prom_memory
>>>    MIPS: msp: Record prom memory
>>>    MIPS: ip22: Drop addr_is_ram
>>>    MIPS: xlp: Drop boot_mem_map
>>>    MIPS: mm: Drop boot_mem_map
>>>    MIPS: init: Drop boot_mem_map
>>>
>>>   arch/mips/cavium-octeon/dma-octeon.c |  17 +-
>>>   arch/mips/cavium-octeon/setup.c      |   3 +-
>>>   arch/mips/fw/arc/memory.c            |  24 +-
>>>   arch/mips/include/asm/bootinfo.h     |  16 --
>>>   arch/mips/include/asm/maar.h         |   8 +-
>> Series applied to mips-next.
>
> Sorry Paul, there are some build issues suggested by kbuild test boot, 
> I'm going to send v2 later.
>
Or you can simply fix them and apply again...

Sorry for the stupid problems. I should test with varies of configs 
before send them out.

I promise that won't happen again.

--

Jiaxun Yang
Serge Semin Aug. 23, 2019, 6:05 p.m. UTC | #4
On Fri, Aug 23, 2019 at 02:45:08PM +0000, Paul Burton wrote:
> Hello,
> 
> Jiaxun Yang wrote:
> > v1: Reording patches, fixes according to Serge's suggestions,
> > fix maar section mismatch.
> > 
> > Jiaxun Yang (8):
> >   MIPS: OCTEON: Drop boot_mem_map
> >   MIPS: fw: Record prom memory
> >   MIPS: malta: Drop prom_free_prom_memory
> >   MIPS: msp: Record prom memory
> >   MIPS: ip22: Drop addr_is_ram
> >   MIPS: xlp: Drop boot_mem_map
> >   MIPS: mm: Drop boot_mem_map
> >   MIPS: init: Drop boot_mem_map
> > 
> >  arch/mips/cavium-octeon/dma-octeon.c |  17 +-
> >  arch/mips/cavium-octeon/setup.c      |   3 +-
> >  arch/mips/fw/arc/memory.c            |  24 +-
> >  arch/mips/include/asm/bootinfo.h     |  16 --
> >  arch/mips/include/asm/maar.h         |   8 +-
> 
> Series applied to mips-next.

it seems to me too late to set the tag...
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>

-Sergey

> 
> > MIPS: OCTEON: Drop boot_mem_map
> >   commit 6cda3a5e002f
> >   https://git.kernel.org/mips/c/6cda3a5e002f
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: fw: Record prom memory
> >   commit 0df1007677d5
> >   https://git.kernel.org/mips/c/0df1007677d5
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: malta: Drop prom_free_prom_memory
> >   commit 79fd0fe44731
> >   https://git.kernel.org/mips/c/79fd0fe44731
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: msp: Record prom memory
> >   commit b3c948e2c00f
> >   https://git.kernel.org/mips/c/b3c948e2c00f
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: ip22: Drop addr_is_ram
> >   commit aa1edac13e5f
> >   https://git.kernel.org/mips/c/aa1edac13e5f
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: xlp: Drop boot_mem_map
> >   commit a121d6e0caf0
> >   https://git.kernel.org/mips/c/a121d6e0caf0
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: mm: Drop boot_mem_map
> >   commit a5718fe8f70f
> >   https://git.kernel.org/mips/c/a5718fe8f70f
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   [paul.burton@mips.com:
> >     - Fix bad MAAR address calculations.
> >     - Use ALIGN() & define maar_align to make it clearer what's going on
> >       with address manipulations.
> >     - Drop the new used field from struct maar_config.
> >     - Rework the RAM walk to avoid iterating over the cfg array needlessly
> >       to find the first unused entry, then count used entries at the end.
> >       Instead just keep the count as we go.]
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> > 
> > MIPS: init: Drop boot_mem_map
> >   commit a94e4f24ec83
> >   https://git.kernel.org/mips/c/a94e4f24ec83
> >   
> >   Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> >   [paul.burton@mips.com: Fix size calculation in check_kernel_sections_mem]
> >   Signed-off-by: Paul Burton <paul.burton@mips.com>
> 
> Thanks,
>     Paul
> 
> [ This message was auto-generated; if you believe anything is incorrect
>   then please email paul.burton@mips.com to report it. ]