From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 B4054C43461 for ; Sat, 5 Sep 2020 09:33:18 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 0604C20757 for ; Sat, 5 Sep 2020 09:33:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="PYj27YUf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0604C20757 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 401B44B47D; Sat, 5 Sep 2020 05:33:17 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oI6AgSAQ9jzd; Sat, 5 Sep 2020 05:33:16 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 32AD84B483; Sat, 5 Sep 2020 05:33:16 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 26B404B483 for ; Sat, 5 Sep 2020 05:33:15 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RAytyPPDsdNK for ; Sat, 5 Sep 2020 05:33:14 -0400 (EDT) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 156A34B47D for ; Sat, 5 Sep 2020 05:33:14 -0400 (EDT) Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A254A206B5; Sat, 5 Sep 2020 09:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599298392; bh=A0XKqaNAhW8GaAquZR65PW2DQx+J0J4XaFWQ+Y0OMqs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PYj27YUfpz3SOoYLxBdrKxNyTRHY5R7hRdd/3jA0Ne13dYSVeYbgA2yiaLDvvbBJB 13fZZ3QA+apwZJhO1B4G5yWBqUJfFGA1TUQMjJ8ylpTHavJE3tQB+Q/5CnUWGgrQ6S gLVyVZXQoRSWWDZEcylG5lHyvkS4CN2Umdou2BFo= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEUZK-009LQI-IP; Sat, 05 Sep 2020 10:33:10 +0100 Date: Sat, 05 Sep 2020 10:33:09 +0100 Message-ID: <877dt8muui.wl-maz@kernel.org> From: Marc Zyngier To: Gavin Shan Subject: Re: [PATCH v3 00/21] KVM: arm64: Rewrite page-table code and fault handling In-Reply-To: References: <20200825093953.26493-1-will@kernel.org> <3f13fc6e-7234-6c53-cfaa-a5052fcabe6d@redhat.com> <29ec59b6-ca36-1bd0-0d19-097ecb999bb2@redhat.com> <20200903121651.GA7412@willie-the-truck> <5aa43d21-30a1-68c8-2620-60a25e4edfa2@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: gshan@redhat.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, qperret@google.com, james.morse@arm.com, suzuki.poulose@arm.com, catalin.marinas@arm.com, kernel-team@android.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Cc: kernel-team@android.com, Catalin Marinas , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Sat, 05 Sep 2020 04:56:39 +0100, Gavin Shan wrote: > > Hi Marc, > > On 9/4/20 8:07 PM, Marc Zyngier wrote: > > On 2020-09-04 01:51, Gavin Shan wrote: > >> On 9/3/20 10:16 PM, Will Deacon wrote: > >>> On Thu, Sep 03, 2020 at 09:48:18PM +1000, Gavin Shan wrote: > >>>> On 9/3/20 9:13 PM, Gavin Shan wrote: > >>>>> On 9/3/20 5:34 PM, Gavin Shan wrote: > >>>>>> On 8/25/20 7:39 PM, Will Deacon wrote: > > [...] > > >> > >> Since the the following changes have been folded to v4, I reran the test cases > >> on v4 and everything works fine. > > > > Thanks a lot for the great testing and reviewing effort! > > > > > > Since you obviously have a test rig setup for this: does your TX2 support 16kB > > pages? If so, could you please do another run with this page size on the host? > > > > > > My TX2 machine doesn't support 16KB page size unfortunately. The > following output was seen from host when it has 16KB page size. > Sorry about it. > > CONFIG_ARM64_PAGE_SHIFT=14 > CONFIG_ARM64_VA_BITS_47=y > CONFIG_ARM64_VA_BITS=47 > > Output from console on host > =========================== > EFI stub: ERROR: This 16 KB granular kernel is not supported by your CPU > > Failed to boot both default and fallback entries. > > Press any key to continue... Ah, fair enough. It was worth trying. I guess I need to try that on TX1, which does support 16kB pages. Too bad it is such a pain to use... Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 B5F65C43461 for ; Sat, 5 Sep 2020 09:34:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5BCD8206B5 for ; Sat, 5 Sep 2020 09:34:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TKVZoP6W"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="PYj27YUf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BCD8206B5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Subject:To:From: Message-ID:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K/87KzC7PcUvnI8h4wi15lhZfoz8hDnBL5kydt92MuY=; b=TKVZoP6WF8oQrqi0G9VdpJxEn IZlRydB123IzLI5vOIVHUxMqxJ1wqz77fTuWHYXUhIzXUQ1lmqC5dwXwMRIYGas7UlKP4X5EFBUg3 d68Hvrnb3sAyvXXz9r4vYTPUz2HtD8CblweUVXzrIqHKVE51WUoUAeDoH+iSlrXz9Wh277cQwWWUG NbH80ID07V9PlRcn0xqV5J4RJJLY6EZ0AZLghEopL4dBoN3Q0UsPse2BMC8NIgxC6g79dutm9EYBU Il2lZLYfC4mpbepIjhcJ7JShPTpBgVCCweYxGUUrTn6aatv0Yw5+q9fhSXnnJzXBIu9GnAlIwpgxi /+4W0yppw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEUZR-0000Sn-Dd; Sat, 05 Sep 2020 09:33:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEUZO-0000SN-8X for linux-arm-kernel@lists.infradead.org; Sat, 05 Sep 2020 09:33:15 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A254A206B5; Sat, 5 Sep 2020 09:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599298392; bh=A0XKqaNAhW8GaAquZR65PW2DQx+J0J4XaFWQ+Y0OMqs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PYj27YUfpz3SOoYLxBdrKxNyTRHY5R7hRdd/3jA0Ne13dYSVeYbgA2yiaLDvvbBJB 13fZZ3QA+apwZJhO1B4G5yWBqUJfFGA1TUQMjJ8ylpTHavJE3tQB+Q/5CnUWGgrQ6S gLVyVZXQoRSWWDZEcylG5lHyvkS4CN2Umdou2BFo= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEUZK-009LQI-IP; Sat, 05 Sep 2020 10:33:10 +0100 Date: Sat, 05 Sep 2020 10:33:09 +0100 Message-ID: <877dt8muui.wl-maz@kernel.org> From: Marc Zyngier To: Gavin Shan Subject: Re: [PATCH v3 00/21] KVM: arm64: Rewrite page-table code and fault handling In-Reply-To: References: <20200825093953.26493-1-will@kernel.org> <3f13fc6e-7234-6c53-cfaa-a5052fcabe6d@redhat.com> <29ec59b6-ca36-1bd0-0d19-097ecb999bb2@redhat.com> <20200903121651.GA7412@willie-the-truck> <5aa43d21-30a1-68c8-2620-60a25e4edfa2@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: gshan@redhat.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, qperret@google.com, james.morse@arm.com, suzuki.poulose@arm.com, catalin.marinas@arm.com, kernel-team@android.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200905_053314_418546_6B939E94 X-CRM114-Status: GOOD ( 24.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-team@android.com, Suzuki Poulose , Catalin Marinas , Quentin Perret , James Morse , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, 05 Sep 2020 04:56:39 +0100, Gavin Shan wrote: > > Hi Marc, > > On 9/4/20 8:07 PM, Marc Zyngier wrote: > > On 2020-09-04 01:51, Gavin Shan wrote: > >> On 9/3/20 10:16 PM, Will Deacon wrote: > >>> On Thu, Sep 03, 2020 at 09:48:18PM +1000, Gavin Shan wrote: > >>>> On 9/3/20 9:13 PM, Gavin Shan wrote: > >>>>> On 9/3/20 5:34 PM, Gavin Shan wrote: > >>>>>> On 8/25/20 7:39 PM, Will Deacon wrote: > > [...] > > >> > >> Since the the following changes have been folded to v4, I reran the test cases > >> on v4 and everything works fine. > > > > Thanks a lot for the great testing and reviewing effort! > > > > > > Since you obviously have a test rig setup for this: does your TX2 support 16kB > > pages? If so, could you please do another run with this page size on the host? > > > > > > My TX2 machine doesn't support 16KB page size unfortunately. The > following output was seen from host when it has 16KB page size. > Sorry about it. > > CONFIG_ARM64_PAGE_SHIFT=14 > CONFIG_ARM64_VA_BITS_47=y > CONFIG_ARM64_VA_BITS=47 > > Output from console on host > =========================== > EFI stub: ERROR: This 16 KB granular kernel is not supported by your CPU > > Failed to boot both default and fallback entries. > > Press any key to continue... Ah, fair enough. It was worth trying. I guess I need to try that on TX1, which does support 16kB pages. Too bad it is such a pain to use... Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel