s390/mm: Convert make_page_secure to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 22 Mar 2024 16:11:46 +0000 (16:11 +0000)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 9 Apr 2024 15:29:57 +0000 (17:29 +0200)
commit259e660d91d0e7261ae0ee37bb37266d6006a546
tree744e8297dbd9ac3ce2aab940992bdffccc50b954
parentf10933cbd2dfddf6273698a45f76db9bafd8150f
s390/mm: Convert make_page_secure to use a folio

These page APIs are deprecated, so convert the incoming page to a folio
and use the folio APIs instead.  The ultravisor API cannot handle large
folios, so return -EINVAL if one has slipped through.

Acked-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240322161149.2327518-2-willy@infradead.org
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/uv.c