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

2021-01-12 Thread Anshuman Khandual
On 1/11/21 4:10 PM, David Hildenbrand wrote: > On 17.12.20 16:28, Anshuman Khandual wrote: >> This overrides arch_get_mappabble_range() on s390 platform which will be >> used with recently added generic framework. It modifies the existing range >> check in vmem_add_mapping() using

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

2021-01-11 Thread David Hildenbrand
On 17.12.20 16:28, Anshuman Khandual wrote: > This overrides arch_get_mappabble_range() on s390 platform which will be > used with recently added generic framework. It modifies the existing range > check in vmem_add_mapping() using arch_get_mappable_range(). It also adds a > VM_BUG_ON() check that

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

2020-12-17 Thread Anshuman Khandual
This overrides arch_get_mappabble_range() on s390 platform which will be used with recently added generic framework. It modifies the existing range check in vmem_add_mapping() using arch_get_mappable_range(). It also adds a VM_BUG_ON() check that would ensure that memhp_range_allowed() has already