Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-08 Thread David Hildenbrand
>> >> Both changes only make sense with an in-tree user. I'm planning on using >> this functionality in virtio-mem code. I can pickup your patches, drop >> the superfluous checks, and use it from virtio-mem code. Makese sense >> (BTW, looks like we'll see aarch64 support for virtio-mem soon)? > >

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-07 Thread Anshuman Khandual
On 12/7/20 2:33 PM, David Hildenbrand wrote: > On 07.12.20 05:38, Anshuman Khandual wrote: >> >> >> On 12/3/20 5:31 PM, David Hildenbrand wrote: >>> On 03.12.20 12:51, Heiko Carstens wrote: On Thu, Dec 03, 2020 at 06:03:00AM +0530, Anshuman Khandual wrote: >>> diff --git

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-07 Thread David Hildenbrand
On 07.12.20 05:38, Anshuman Khandual wrote: > > > On 12/3/20 5:31 PM, David Hildenbrand wrote: >> On 03.12.20 12:51, Heiko Carstens wrote: >>> On Thu, Dec 03, 2020 at 06:03:00AM +0530, Anshuman Khandual wrote: >> diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c >> index

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-06 Thread Anshuman Khandual
On 12/3/20 5:31 PM, David Hildenbrand wrote: > On 03.12.20 12:51, Heiko Carstens wrote: >> On Thu, Dec 03, 2020 at 06:03:00AM +0530, Anshuman Khandual wrote: > diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c > index 5060956b8e7d..cc055a78f7b6 100644 > ---

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-03 Thread David Hildenbrand
On 03.12.20 12:51, Heiko Carstens wrote: > On Thu, Dec 03, 2020 at 06:03:00AM +0530, Anshuman Khandual wrote: diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c index 5060956b8e7d..cc055a78f7b6 100644 --- a/arch/s390/mm/extmem.c +++ b/arch/s390/mm/extmem.c @@

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-03 Thread Heiko Carstens
On Thu, Dec 03, 2020 at 06:03:00AM +0530, Anshuman Khandual wrote: > >> diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c > >> index 5060956b8e7d..cc055a78f7b6 100644 > >> --- a/arch/s390/mm/extmem.c > >> +++ b/arch/s390/mm/extmem.c > >> @@ -337,6 +337,11 @@ __segment_load (char *name,

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-02 Thread Anshuman Khandual
On 12/3/20 2:02 AM, Heiko Carstens wrote: > On Mon, Nov 30, 2020 at 08:59:52AM +0530, Anshuman Khandual wrote: >> This overrides arch_get_mappabble_range() on s390 platform and drops now >> redundant similar check in vmem_add_mapping(). This compensates by adding >> a new check __segment_load()

Re: [RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-02 Thread Heiko Carstens
On Mon, Nov 30, 2020 at 08:59:52AM +0530, Anshuman Khandual wrote: > This overrides arch_get_mappabble_range() on s390 platform and drops now > redundant similar check in vmem_add_mapping(). This compensates by adding > a new check __segment_load() to preserve the existing functionality. > > Cc:

[RFC V2 3/3] s390/mm: Define arch_get_mappable_range()

2020-11-29 Thread Anshuman Khandual
This overrides arch_get_mappabble_range() on s390 platform and drops now redundant similar check in vmem_add_mapping(). This compensates by adding a new check __segment_load() to preserve the existing functionality. Cc: Heiko Carstens Cc: Vasily Gorbik Cc: David Hildenbrand Cc: