All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-01-23 19:56 ` Palmer Dabbelt
  0 siblings, 0 replies; 18+ messages in thread
From: Palmer Dabbelt @ 2019-01-23 19:56 UTC (permalink / raw)
  To: logang
  Cc: Christoph Hellwig, robh, dalias, ysato, linux-kernel, sbates,
	linux-riscv, Christoph Hellwig, dan.j.williams

On Tue, 15 Jan 2019 09:30:44 PST (-0800), logang@deltatee.com wrote:
>
>
> On 2019-01-15 6:58 a.m., Christoph Hellwig wrote:
>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>
>> Probably no need to keep this in a series with the RISC-V code, this can
>> be queued up by the sh folks independently.
>
> Oh, yeah, sorry, I obviously didn't pay enough attention to this when I
> resent it. I sent the similar Arm changes to the appropriate list and,
> yes, the sh ones should go to that maintainer.
>
> @Palmer: if you can just look at taking the second patch, I'll resubmit
> the first one to the appropriate list.

Works for me.  I'll queue the second patch into my staging branch, targeted for
the next merge window.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-01-23 19:56 ` Palmer Dabbelt
  0 siblings, 0 replies; 18+ messages in thread
From: Palmer Dabbelt @ 2019-01-23 19:56 UTC (permalink / raw)
  To: logang
  Cc: robh, dalias, ysato, dan.j.williams, linux-kernel, sbates,
	Christoph Hellwig, linux-riscv, Christoph Hellwig

On Tue, 15 Jan 2019 09:30:44 PST (-0800), logang@deltatee.com wrote:
>
>
> On 2019-01-15 6:58 a.m., Christoph Hellwig wrote:
>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>
>> Probably no need to keep this in a series with the RISC-V code, this can
>> be queued up by the sh folks independently.
>
> Oh, yeah, sorry, I obviously didn't pay enough attention to this when I
> resent it. I sent the similar Arm changes to the appropriate list and,
> yes, the sh ones should go to that maintainer.
>
> @Palmer: if you can just look at taking the second patch, I'll resubmit
> the first one to the appropriate list.

Works for me.  I'll queue the second patch into my staging branch, targeted for
the next merge window.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-01-23 19:56 ` Palmer Dabbelt
@ 2019-01-23 20:31   ` Logan Gunthorpe
  -1 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-01-23 20:31 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: Christoph Hellwig, robh, dalias, ysato, linux-kernel, sbates,
	linux-riscv, Christoph Hellwig, dan.j.williams



On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
> On Tue, 15 Jan 2019 09:30:44 PST (-0800), logang@deltatee.com wrote:
>>
>>
>> On 2019-01-15 6:58 a.m., Christoph Hellwig wrote:
>>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>>
>>> Probably no need to keep this in a series with the RISC-V code, this can
>>> be queued up by the sh folks independently.
>>
>> Oh, yeah, sorry, I obviously didn't pay enough attention to this when I
>> resent it. I sent the similar Arm changes to the appropriate list and,
>> yes, the sh ones should go to that maintainer.
>>
>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>> the first one to the appropriate list.
> 
> Works for me.  I'll queue the second patch into my staging branch, targeted for
> the next merge window.

Thanks!

Logan

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-01-23 20:31   ` Logan Gunthorpe
  0 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-01-23 20:31 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: robh, dalias, ysato, dan.j.williams, linux-kernel, sbates,
	Christoph Hellwig, linux-riscv, Christoph Hellwig



On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
> On Tue, 15 Jan 2019 09:30:44 PST (-0800), logang@deltatee.com wrote:
>>
>>
>> On 2019-01-15 6:58 a.m., Christoph Hellwig wrote:
>>> Reviewed-by: Christoph Hellwig <hch@lst.de>
>>>
>>> Probably no need to keep this in a series with the RISC-V code, this can
>>> be queued up by the sh folks independently.
>>
>> Oh, yeah, sorry, I obviously didn't pay enough attention to this when I
>> resent it. I sent the similar Arm changes to the appropriate list and,
>> yes, the sh ones should go to that maintainer.
>>
>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>> the first one to the appropriate list.
> 
> Works for me.  I'll queue the second patch into my staging branch, targeted for
> the next merge window.

Thanks!

Logan

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-01-23 19:56 ` Palmer Dabbelt
@ 2019-03-19 17:56   ` Logan Gunthorpe
  -1 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-03-19 17:56 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: robh, dalias, ysato, dan.j.williams, linux-kernel, sbates,
	Christoph Hellwig, linux-riscv, Christoph Hellwig

Hey Palmer,

On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>> the first one to the appropriate list.
> 
> Works for me.  I'll queue the second patch into my staging branch, targeted for
> the next merge window.

It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
fall through the cracks?

Thanks,

Logan

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-03-19 17:56   ` Logan Gunthorpe
  0 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-03-19 17:56 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: robh, dalias, ysato, linux-kernel, sbates, Christoph Hellwig,
	dan.j.williams, Christoph Hellwig, linux-riscv

Hey Palmer,

On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>> the first one to the appropriate list.
> 
> Works for me.  I'll queue the second patch into my staging branch, targeted for
> the next merge window.

It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
fall through the cracks?

Thanks,

Logan

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-03-19 17:56   ` Logan Gunthorpe
@ 2019-03-20  2:54     ` Palmer Dabbelt
  -1 siblings, 0 replies; 18+ messages in thread
From: Palmer Dabbelt @ 2019-03-20  2:54 UTC (permalink / raw)
  To: logang
  Cc: robh, dalias, ysato, dan.j.williams, linux-kernel, sbates,
	Christoph Hellwig, linux-riscv, Christoph Hellwig

On Tue, 19 Mar 2019 10:56:52 PDT (-0700), logang@deltatee.com wrote:
> Hey Palmer,
>
> On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>>> the first one to the appropriate list.
>>
>> Works for me.  I'll queue the second patch into my staging branch, targeted for
>> the next merge window.
>
> It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
> fall through the cracks?

It must have, sorry.  Is this what you're referring to?

    https://patchwork.kernel.org/patch/10754911/

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-03-20  2:54     ` Palmer Dabbelt
  0 siblings, 0 replies; 18+ messages in thread
From: Palmer Dabbelt @ 2019-03-20  2:54 UTC (permalink / raw)
  To: logang
  Cc: robh, dalias, ysato, linux-kernel, sbates, Christoph Hellwig,
	dan.j.williams, Christoph Hellwig, linux-riscv

On Tue, 19 Mar 2019 10:56:52 PDT (-0700), logang@deltatee.com wrote:
> Hey Palmer,
>
> On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>>> the first one to the appropriate list.
>>
>> Works for me.  I'll queue the second patch into my staging branch, targeted for
>> the next merge window.
>
> It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
> fall through the cracks?

It must have, sorry.  Is this what you're referring to?

    https://patchwork.kernel.org/patch/10754911/

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-03-20  2:54     ` Palmer Dabbelt
@ 2019-03-20 17:43       ` Logan Gunthorpe
  -1 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-03-20 17:43 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: robh, dalias, ysato, linux-kernel, sbates, Christoph Hellwig,
	dan.j.williams, Christoph Hellwig, linux-riscv



On 2019-03-19 8:54 p.m., Palmer Dabbelt wrote:
> On Tue, 19 Mar 2019 10:56:52 PDT (-0700), logang@deltatee.com wrote:
>> Hey Palmer,
>>
>> On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>>>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>>>> the first one to the appropriate list.
>>>
>>> Works for me.  I'll queue the second patch into my staging branch, targeted for
>>> the next merge window.
>>
>> It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
>> fall through the cracks?
> 
> It must have, sorry.  Is this what you're referring to?
> 
>     https://patchwork.kernel.org/patch/10754911/

Yes, though it conflicts with v5.1-rc1 due to some code reorganization.

I've updated it and we will submit it later this week as part of a
larger patch set which helps enable p2p on RISC-V.

Logan

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-03-20 17:43       ` Logan Gunthorpe
  0 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-03-20 17:43 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: robh, dalias, ysato, linux-kernel, linux-riscv, sbates,
	Christoph Hellwig, dan.j.williams, Christoph Hellwig



On 2019-03-19 8:54 p.m., Palmer Dabbelt wrote:
> On Tue, 19 Mar 2019 10:56:52 PDT (-0700), logang@deltatee.com wrote:
>> Hey Palmer,
>>
>> On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>>>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>>>> the first one to the appropriate list.
>>>
>>> Works for me.  I'll queue the second patch into my staging branch, targeted for
>>> the next merge window.
>>
>> It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
>> fall through the cracks?
> 
> It must have, sorry.  Is this what you're referring to?
> 
>     https://patchwork.kernel.org/patch/10754911/

Yes, though it conflicts with v5.1-rc1 due to some code reorganization.

I've updated it and we will submit it later this week as part of a
larger patch set which helps enable p2p on RISC-V.

Logan

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-03-20 17:43       ` Logan Gunthorpe
@ 2019-03-21  8:37         ` Palmer Dabbelt
  -1 siblings, 0 replies; 18+ messages in thread
From: Palmer Dabbelt @ 2019-03-21  8:37 UTC (permalink / raw)
  To: logang
  Cc: robh, dalias, ysato, linux-kernel, linux-riscv, sbates,
	Christoph Hellwig, dan.j.williams, Christoph Hellwig

On Wed, 20 Mar 2019 10:43:09 PDT (-0700), logang@deltatee.com wrote:
>
>
> On 2019-03-19 8:54 p.m., Palmer Dabbelt wrote:
>> On Tue, 19 Mar 2019 10:56:52 PDT (-0700), logang@deltatee.com wrote:
>>> Hey Palmer,
>>>
>>> On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>>>>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>>>>> the first one to the appropriate list.
>>>>
>>>> Works for me.  I'll queue the second patch into my staging branch, targeted for
>>>> the next merge window.
>>>
>>> It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
>>> fall through the cracks?
>>
>> It must have, sorry.  Is this what you're referring to?
>>
>>     https://patchwork.kernel.org/patch/10754911/
>
> Yes, though it conflicts with v5.1-rc1 due to some code reorganization.
>
> I've updated it and we will submit it later this week as part of a
> larger patch set which helps enable p2p on RISC-V.

Thanks!

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-03-21  8:37         ` Palmer Dabbelt
  0 siblings, 0 replies; 18+ messages in thread
From: Palmer Dabbelt @ 2019-03-21  8:37 UTC (permalink / raw)
  To: logang
  Cc: robh, dalias, ysato, linux-kernel, sbates, Christoph Hellwig,
	linux-riscv, Christoph Hellwig, dan.j.williams

On Wed, 20 Mar 2019 10:43:09 PDT (-0700), logang@deltatee.com wrote:
>
>
> On 2019-03-19 8:54 p.m., Palmer Dabbelt wrote:
>> On Tue, 19 Mar 2019 10:56:52 PDT (-0700), logang@deltatee.com wrote:
>>> Hey Palmer,
>>>
>>> On 2019-01-23 12:56 p.m., Palmer Dabbelt wrote:
>>>>> @Palmer: if you can just look at taking the second patch, I'll resubmit
>>>>> the first one to the appropriate list.
>>>>
>>>> Works for me.  I'll queue the second patch into my staging branch, targeted for
>>>> the next merge window.
>>>
>>> It doesn't look like my sparesmem patch made it into v5.1-rc1. Did it
>>> fall through the cracks?
>>
>> It must have, sorry.  Is this what you're referring to?
>>
>>     https://patchwork.kernel.org/patch/10754911/
>
> Yes, though it conflicts with v5.1-rc1 due to some code reorganization.
>
> I've updated it and we will submit it later this week as part of a
> larger patch set which helps enable p2p on RISC-V.

Thanks!

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-01-15 13:58     ` Christoph Hellwig
@ 2019-01-15 17:30       ` Logan Gunthorpe
  -1 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-01-15 17:30 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Rob Herring, Rich Felker, Yoshinori Sato, Palmer Dabbelt,
	linux-kernel, Stephen Bates, linux-riscv, Christoph Hellwig,
	Dan Williams



On 2019-01-15 6:58 a.m., Christoph Hellwig wrote:
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> 
> Probably no need to keep this in a series with the RISC-V code, this can
> be queued up by the sh folks independently.

Oh, yeah, sorry, I obviously didn't pay enough attention to this when I
resent it. I sent the similar Arm changes to the appropriate list and,
yes, the sh ones should go to that maintainer.

@Palmer: if you can just look at taking the second patch, I'll resubmit
the first one to the appropriate list.

Thanks,

Logan

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-01-15 17:30       ` Logan Gunthorpe
  0 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-01-15 17:30 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Rob Herring, Rich Felker, Yoshinori Sato, Palmer Dabbelt,
	Dan Williams, linux-kernel, Stephen Bates, linux-riscv,
	Christoph Hellwig



On 2019-01-15 6:58 a.m., Christoph Hellwig wrote:
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> 
> Probably no need to keep this in a series with the RISC-V code, this can
> be queued up by the sh folks independently.

Oh, yeah, sorry, I obviously didn't pay enough attention to this when I
resent it. I sent the similar Arm changes to the appropriate list and,
yes, the sh ones should go to that maintainer.

@Palmer: if you can just look at taking the second patch, I'll resubmit
the first one to the appropriate list.

Thanks,

Logan

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-01-09 20:39   ` Logan Gunthorpe
@ 2019-01-15 13:58     ` Christoph Hellwig
  -1 siblings, 0 replies; 18+ messages in thread
From: Christoph Hellwig @ 2019-01-15 13:58 UTC (permalink / raw)
  To: Logan Gunthorpe
  Cc: linux-kernel, linux-riscv, Rob Herring, Rich Felker,
	Yoshinori Sato, Palmer Dabbelt, Stephen Bates, Dan Williams,
	Christoph Hellwig

On Wed, Jan 09, 2019 at 01:39:10PM -0700, Logan Gunthorpe wrote:
> Cleanup the open coded for_each_memblock() loop that is equivalent
> to the new memblocks_present() helper.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Probably no need to keep this in a series with the RISC-V code, this can
be queued up by the sh folks independently.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-01-15 13:58     ` Christoph Hellwig
  0 siblings, 0 replies; 18+ messages in thread
From: Christoph Hellwig @ 2019-01-15 13:58 UTC (permalink / raw)
  To: Logan Gunthorpe
  Cc: Rob Herring, Rich Felker, Yoshinori Sato, Palmer Dabbelt,
	linux-kernel, Stephen Bates, linux-riscv, Christoph Hellwig,
	Dan Williams

On Wed, Jan 09, 2019 at 01:39:10PM -0700, Logan Gunthorpe wrote:
> Cleanup the open coded for_each_memblock() loop that is equivalent
> to the new memblocks_present() helper.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Probably no need to keep this in a series with the RISC-V code, this can
be queued up by the sh folks independently.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
  2019-01-09 20:39 [PATCH v4 0/2] [PATCH v2 0/6] sparsemem support for RISC-V Logan Gunthorpe
@ 2019-01-09 20:39   ` Logan Gunthorpe
  0 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-01-09 20:39 UTC (permalink / raw)
  To: linux-kernel, linux-riscv
  Cc: Stephen Bates, Palmer Dabbelt, Christoph Hellwig,
	Logan Gunthorpe, Yoshinori Sato, Rich Felker, Dan Williams,
	Rob Herring

Cleanup the open coded for_each_memblock() loop that is equivalent
to the new memblocks_present() helper.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Rob Herring <robh@kernel.org>
---
 arch/sh/mm/init.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index a8e5c0e00fca..dc0ff41d602d 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -234,12 +234,7 @@ static void __init do_init_bootmem(void)
 
 	plat_mem_setup();
 
-	for_each_memblock(memory, reg) {
-		int nid = memblock_get_region_node(reg);
-
-		memory_present(nid, memblock_region_memory_base_pfn(reg),
-			memblock_region_memory_end_pfn(reg));
-	}
+	memblocks_present();
 	sparse_init();
 }
 
-- 
2.19.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper
@ 2019-01-09 20:39   ` Logan Gunthorpe
  0 siblings, 0 replies; 18+ messages in thread
From: Logan Gunthorpe @ 2019-01-09 20:39 UTC (permalink / raw)
  To: linux-kernel, linux-riscv
  Cc: Rob Herring, Rich Felker, Yoshinori Sato, Palmer Dabbelt,
	Stephen Bates, Dan Williams, Logan Gunthorpe, Christoph Hellwig

Cleanup the open coded for_each_memblock() loop that is equivalent
to the new memblocks_present() helper.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Rob Herring <robh@kernel.org>
---
 arch/sh/mm/init.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index a8e5c0e00fca..dc0ff41d602d 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -234,12 +234,7 @@ static void __init do_init_bootmem(void)
 
 	plat_mem_setup();
 
-	for_each_memblock(memory, reg) {
-		int nid = memblock_get_region_node(reg);
-
-		memory_present(nid, memblock_region_memory_base_pfn(reg),
-			memblock_region_memory_end_pfn(reg));
-	}
+	memblocks_present();
 	sparse_init();
 }
 
-- 
2.19.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-03-21  8:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 19:56 [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper Palmer Dabbelt
2019-01-23 19:56 ` Palmer Dabbelt
2019-01-23 20:31 ` Logan Gunthorpe
2019-01-23 20:31   ` Logan Gunthorpe
2019-03-19 17:56 ` Logan Gunthorpe
2019-03-19 17:56   ` Logan Gunthorpe
2019-03-20  2:54   ` Palmer Dabbelt
2019-03-20  2:54     ` Palmer Dabbelt
2019-03-20 17:43     ` Logan Gunthorpe
2019-03-20 17:43       ` Logan Gunthorpe
2019-03-21  8:37       ` Palmer Dabbelt
2019-03-21  8:37         ` Palmer Dabbelt
  -- strict thread matches above, loose matches on Subject: below --
2019-01-09 20:39 [PATCH v4 0/2] [PATCH v2 0/6] sparsemem support for RISC-V Logan Gunthorpe
2019-01-09 20:39 ` [PATCH v4 1/2] sh: mm: make use of new memblocks_present() helper Logan Gunthorpe
2019-01-09 20:39   ` Logan Gunthorpe
2019-01-15 13:58   ` Christoph Hellwig
2019-01-15 13:58     ` Christoph Hellwig
2019-01-15 17:30     ` Logan Gunthorpe
2019-01-15 17:30       ` Logan Gunthorpe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.