Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC505C48BC2 for ; Sun, 27 Jun 2021 21:53:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94D3961C35 for ; Sun, 27 Jun 2021 21:53:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231706AbhF0V4X (ORCPT ); Sun, 27 Jun 2021 17:56:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:55076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231694AbhF0V4X (ORCPT ); Sun, 27 Jun 2021 17:56:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AD25061A1D; Sun, 27 Jun 2021 21:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1624830838; bh=y5z3AbnqI6Z+YgiEbcZUYDHOp+DkwDeRGCrzyNAzZ74=; h=Date:From:To:Subject:From; b=IqfTvXLEABmwPnsSLnLGdyRa5BbsxCRdnaCEiz7/dF3rXFL8kQySArdhoKEfCTewt 6gLBCTRL/OzpJ4K6wpVs8Gm3aPyS9dn+iVChuld30OF1WSl6QwGjIks5Umb0yt5cYV 1Hij6Vh8yoKevcLEUEH2orNp/1lFZ7e18RI9D1II= Date: Sun, 27 Jun 2021 14:53:57 -0700 From: akpm@linux-foundation.org To: borntraeger@de.ibm.com, catalin.marinas@arm.com, david@redhat.com, frankja@linux.ibm.com, hch@infradead.org, imbrenda@linux.ibm.com, mingo@redhat.com, mm-commits@vger.kernel.org, npiggin@gmail.com, rientjes@google.com, tglx@linutronix.de, urezki@gmail.com Subject: [merged] kvm-s390-prepare-for-hugepage-vmalloc.patch removed from -mm tree Message-ID: <20210627215357.AEzlnvoeU%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: KVM: s390: prepare for hugepage vmalloc has been removed from the -mm tree. Its filename was kvm-s390-prepare-for-hugepage-vmalloc.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Claudio Imbrenda Subject: KVM: s390: prepare for hugepage vmalloc The Create Secure Configuration Ultravisor Call does not support using large pages for the virtual memory area. This is a hardware limitation. This patch replaces the vzalloc call with an almost equivalent call to the newly introduced vmalloc_no_huge function, which guarantees that only small pages will be used for the backing. The new call will not clear the allocated memory, but that has never been an actual requirement. Link: https://lkml.kernel.org/r/20210614132357.10202-3-imbrenda@linux.ibm.com Fixes: 121e6f3258fe3 ("mm/vmalloc: hugepage vmalloc mappings") Signed-off-by: Claudio Imbrenda Reviewed-by: Janosch Frank Acked-by: Christian Borntraeger Acked-by: Nicholas Piggin Reviewed-by: David Hildenbrand Cc: Nicholas Piggin Cc: Uladzislau Rezki (Sony) Cc: Catalin Marinas Cc: Thomas Gleixner Cc: Ingo Molnar Cc: David Rientjes Cc: Christoph Hellwig Signed-off-by: Andrew Morton --- arch/s390/kvm/pv.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/arch/s390/kvm/pv.c~kvm-s390-prepare-for-hugepage-vmalloc +++ a/arch/s390/kvm/pv.c @@ -140,7 +140,12 @@ static int kvm_s390_pv_alloc_vm(struct k /* Allocate variable storage */ vlen = ALIGN(virt * ((npages * PAGE_SIZE) / HPAGE_SIZE), PAGE_SIZE); vlen += uv_info.guest_virt_base_stor_len; - kvm->arch.pv.stor_var = vzalloc(vlen); + /* + * The Create Secure Configuration Ultravisor Call does not support + * using large pages for the virtual memory area. + * This is a hardware limitation. + */ + kvm->arch.pv.stor_var = vmalloc_no_huge(vlen); if (!kvm->arch.pv.stor_var) goto out_err; return 0; _ Patches currently in -mm which might be from imbrenda@linux.ibm.com are