Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp491356imm; Wed, 11 Jul 2018 06:09:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfBzIJGOphLe6jIgeF3YM6qhnsFD28aIkynPpYD3n3OLB1g/9OOt1460+H7Yy28I2OV8GRq X-Received: by 2002:a65:654d:: with SMTP id a13-v6mr22047337pgw.132.1531314589753; Wed, 11 Jul 2018 06:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531314589; cv=none; d=google.com; s=arc-20160816; b=DrAe7nBOSPGs++ceFQEhU7iOpUsN95+qfhgw+s/jm9dZW6Nz4/gOJccJxkCEKAtl/T ukF8Imkd/w8Bh6VMP5tp0R9uCTMIXGSmYi/E4uwyMxYnkvxX2sxsmUfKdBHVSsQ8P2J8 7Y4PijGppP1063or+77IdSwwFuA7i4jiLmkbX9evMmfmls313/K2BzlP9XtrtmXM3aqE FyCFoWPX2d6UtOCuA4SHOhN6iYmCjd6EXeeCMEhoDUZ9GsL5pSrd+vXmdl7DpV4jULu7 gZ44DKNg5QNGiqnQn74MB0AlQI64TwNbmTFJUKTnLbsV4Nl7dFcs4PKCa31+M5esq+SU sNEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=zDvwDQkHgfx+4hGLwp3EBjnm3dowT6hXR0OVpI4Ddzc=; b=B/pyaDOQmxHI0tAkwBXSl8avEdShepntSla+R7ryhZ79e587DOHtF9i36WyTNP5U+U oGnWXXTOflhCKRl8dKqyNqO//je+HRsPo56+PiSDaNv5h/bBQI/agbMr3jryMJ8yjR8C 71q70gJVPPldj80eFOV/90muP1AnyPccnPnazeZeX0hoX1Jn58wwhfjCJXXT8tcv0QCz PEgSEC2J5GdL35L4TuXNtmJEZ79RsC51ahSmPTNRYN6Pcnm4vJkWREIwJi11b9Xno997 bS2KKXu5omSHJUrwCgvG+i89cbHdy/LUR86mkEUcVdTuEDOlVaAUYbthVzIe4zR5kf+U 64zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v28-v6si16506433pfi.22.2018.07.11.06.09.32; Wed, 11 Jul 2018 06:09:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387672AbeGKNFG (ORCPT + 99 others); Wed, 11 Jul 2018 09:05:06 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35300 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732420AbeGKNFG (ORCPT ); Wed, 11 Jul 2018 09:05:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9D00D7A9; Wed, 11 Jul 2018 06:00:52 -0700 (PDT) Received: from [10.1.206.73] (en101.cambridge.arm.com [10.1.206.73]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 413BF3F5AD; Wed, 11 Jul 2018 06:00:50 -0700 (PDT) Subject: Re: [PATCH v5 2/7] KVM: arm/arm64: Introduce helpers to manupulate page table entries To: Punit Agrawal , kvmarm@lists.cs.columbia.edu Cc: linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, christoffer.dall@arm.com, linux-kernel@vger.kernel.org, will.deacon@arm.com, Russell King , Catalin Marinas References: <20180709143835.28971-1-punit.agrawal@arm.com> <20180709144124.29164-1-punit.agrawal@arm.com> <20180709144124.29164-2-punit.agrawal@arm.com> From: Suzuki K Poulose Message-ID: <691fcde0-b0a2-d258-ac99-49c6c4794247@arm.com> Date: Wed, 11 Jul 2018 14:00:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180709144124.29164-2-punit.agrawal@arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/07/18 15:41, Punit Agrawal wrote: > Introduce helpers to abstract architectural handling of the conversion > of pfn to page table entries and marking a PMD page table entry as a > block entry. > > The helpers are introduced in preparation for supporting PUD hugepages > at stage 2 - which are supported on arm64 but do not exist on arm. > > Signed-off-by: Punit Agrawal > Acked-by: Christoffer Dall > Cc: Marc Zyngier > Cc: Russell King > Cc: Catalin Marinas > Cc: Will Deacon > --- Reviewed-by: Suzuki K Poulose