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 Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id 979CCC4332F for ; Mon, 14 Mar 2022 20:08:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 31FBF49EFB; Mon, 14 Mar 2022 16:08:01 -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=@google.com 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 pGX91gJajN7H; Mon, 14 Mar 2022 16:08:00 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0FA5C49EC0; Mon, 14 Mar 2022 16:08:00 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0BC574141A for ; Mon, 14 Mar 2022 16:07:59 -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 isxuOryhtJiG for ; Mon, 14 Mar 2022 16:07:58 -0400 (EDT) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 04B1240A84 for ; Mon, 14 Mar 2022 16:07:57 -0400 (EDT) Received: by mail-io1-f52.google.com with SMTP id l18so12446603ioj.2 for ; Mon, 14 Mar 2022 13:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5/64AAEf4Vzs1A/LiRdwPiWTgC6wn0RFoaoEGIYS0K0=; b=qm68+ONcoiq70dlktTbSNWbKZczAYgBGwZhIZ/TCBXLlcnEgoXErDNKwxkmfapE/54 PTEL1lKRg2IAH7cVdEVFVAvCBmewE0HrgTTPrnMWrHk+MPOzMIw5rUXPmi8Y5/H1gRez 859U1z7DBPH6FPvSI0hvnipljJ4ADXURCyDlTeYJmNZ9ebJs4R7l4K5MVDF42BY6TNIT xnH6CcG7sUGUYNdTJ5r9lM/oLxYYKhu1euBNh51o+Ui5s9E2bmfqEsICS0yQZ5cEw5sf g0b2C3UITVh6uavnGAIFFQ+ncGVq4H6EWgNjHawb22qaRmnDZpwWrAOtZSZOl/X1NLJG K0bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5/64AAEf4Vzs1A/LiRdwPiWTgC6wn0RFoaoEGIYS0K0=; b=mprVsyVMJdjOQekxrwVmaZydv6A2agGWk40FHeuPM8zryaAjwaDZpzH1iGbyQTI1+O RSWcb0TGODIEb/yPJFJ7nEjyuHO3KT4TQatuqvmuQXiOTKXoQPO/BmVGCh5eOAR1dUbR bE+h5X9DDP6sEn+CdQeSbQRHkEgX7oESMXN9lKb9BmaDUas8bNVibP3BhiMnjuNhRPKl kePx5ewQma3/qcBj+BN+ywbNn+rl1XRSClEvFChTeyexrunDTaRPA3WD4GNyHLFr8CJF MpmcRHVzH5pFJnIHXAkbDC/ZAkPV6vZvVKVvCNAKnVebbQHXJIIOattBiMVPUnyO5jxF k8zQ== X-Gm-Message-State: AOAM530qSF+K5gR9YQqVVsRgY/eO4025hGWKdLmzAjZYBL/aOqZMSMYa Dmjo7EviHf3QHyb5jOsKU2vYMw== X-Google-Smtp-Source: ABdhPJx+cCT9RbztBLcxVFaSRxxa8KxO45I5CoBY2KZENSIpHruKS+BfdUba5UJey30qxO8YNS+AMQ== X-Received: by 2002:a05:6638:1616:b0:31a:131c:9079 with SMTP id x22-20020a056638161600b0031a131c9079mr2603879jas.89.1647288477157; Mon, 14 Mar 2022 13:07:57 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id b25-20020a5d8059000000b00644ddaad77asm9076916ior.29.2022.03.14.13.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 13:07:56 -0700 (PDT) Date: Mon, 14 Mar 2022 20:07:53 +0000 From: Oliver Upton To: Reiji Watanabe Subject: Re: [PATCH v4 1/3] KVM: arm64: Generalise VM features into a set of flags Message-ID: References: <20220314061959.3349716-1-reijiw@google.com> <20220314061959.3349716-2-reijiw@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220314061959.3349716-2-reijiw@google.com> Cc: kvm@vger.kernel.org, Marc Zyngier , Peter Shier , Will Deacon , Paolo Bonzini , 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 Sun, Mar 13, 2022 at 11:19:57PM -0700, Reiji Watanabe wrote: > From: Marc Zyngier > > We currently deal with a set of booleans for VM features, > while they could be better represented as set of flags > contained in an unsigned long, similarily to what we are > doing on the CPU side. > > Signed-off-by: Marc Zyngier > Reviewed-by: Andrew Jones > Signed-off-by: Reiji Watanabe Gee, that's one popular patch! Just as a heads up, I rebased it on top of kvmarm/next in: http://lore.kernel.org/r/20220311174001.605719-2-oupton@google.com since kvm_arch picked up another bool. -- Oliver _______________________________________________ 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D08C5C433EF for ; Mon, 14 Mar 2022 20:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LS4W3W0BmTNx+1nFCPB0Tyw3l5GINjcicFH1s9ONNi4=; b=EGpzrKx2sZFbrn 6Unn+Ay2PKhLWFRHOjzq7K0mjMDJC+IB3Aw9y4cd7/qUwxsMqTP6W6LsNZKRDw5tpEybhi212dhZd eXQKyQe5uyc2e9XtUmH2Rq7io4GmQopUkAvCjUUiU/Iz6xAfXf+VaW/qCmrU/CeWKzMFZ+d4U127Z sWtk2otV0l+VT5HL+pvR089/lPVva+wibdckT94RsphYB9OSLVT2JBBRDqXW5VCM6Baqt9eRlrs1P Lx+SbNDgqydWGBhUFrHkvUd7uuelVjAr6iJ6t2r1sUShuKP1zVkXXU9+nOH83x0jj56wlfYPpZOYY skqufFjhVhX73vOM9Tqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTqzC-006jPG-G8; Mon, 14 Mar 2022 20:08:10 +0000 Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nTqz0-006jKY-48 for linux-arm-kernel@lists.infradead.org; Mon, 14 Mar 2022 20:08:00 +0000 Received: by mail-io1-xd30.google.com with SMTP id b16so19767361ioz.3 for ; Mon, 14 Mar 2022 13:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5/64AAEf4Vzs1A/LiRdwPiWTgC6wn0RFoaoEGIYS0K0=; b=qm68+ONcoiq70dlktTbSNWbKZczAYgBGwZhIZ/TCBXLlcnEgoXErDNKwxkmfapE/54 PTEL1lKRg2IAH7cVdEVFVAvCBmewE0HrgTTPrnMWrHk+MPOzMIw5rUXPmi8Y5/H1gRez 859U1z7DBPH6FPvSI0hvnipljJ4ADXURCyDlTeYJmNZ9ebJs4R7l4K5MVDF42BY6TNIT xnH6CcG7sUGUYNdTJ5r9lM/oLxYYKhu1euBNh51o+Ui5s9E2bmfqEsICS0yQZ5cEw5sf g0b2C3UITVh6uavnGAIFFQ+ncGVq4H6EWgNjHawb22qaRmnDZpwWrAOtZSZOl/X1NLJG K0bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5/64AAEf4Vzs1A/LiRdwPiWTgC6wn0RFoaoEGIYS0K0=; b=tq/zt31IsUsWH+ygWKFDZ0/p+II/KGO9unqQya1d9TGcqxI4bqXSiIa/ZGJa9GosJS R2UUBGwrooObKczP7vBt1iYog5PSzQ0sFN+nbOI7vBbT2C2r/nkgQdPQRaParZufaMtm kirt09IqHy5H0SJNsLf1PoVm9RfUuC3NYTSxWUztUE8B5QJFW8gXG85aZyaYQikhfPKu usJqbeD/8ssHHZImGcx7+yQUG8IOos0jRRP0Y9ns/vry5yMTVuPsBdmZHzvqMUcurxjx Iykz9g05EozMprJYN0srBdGe7bMon+P42MIaOfZjWLCRDQi31cSWPZ/jbN5sElA+uUpj MuDw== X-Gm-Message-State: AOAM5314Ru123hpwNjJBwv4UG0mv66olI0li1aiZlSPyJO2CNTSw1m9o o5bYRygx6yonBbPdz+OmlYvXwLVTcLtdXmcX X-Google-Smtp-Source: ABdhPJx+cCT9RbztBLcxVFaSRxxa8KxO45I5CoBY2KZENSIpHruKS+BfdUba5UJey30qxO8YNS+AMQ== X-Received: by 2002:a05:6638:1616:b0:31a:131c:9079 with SMTP id x22-20020a056638161600b0031a131c9079mr2603879jas.89.1647288477157; Mon, 14 Mar 2022 13:07:57 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id b25-20020a5d8059000000b00644ddaad77asm9076916ior.29.2022.03.14.13.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 13:07:56 -0700 (PDT) Date: Mon, 14 Mar 2022 20:07:53 +0000 From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Alexandru Elisei , Suzuki K Poulose , Paolo Bonzini , Will Deacon , Andrew Jones , Peng Liang , Peter Shier , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata Subject: Re: [PATCH v4 1/3] KVM: arm64: Generalise VM features into a set of flags Message-ID: References: <20220314061959.3349716-1-reijiw@google.com> <20220314061959.3349716-2-reijiw@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220314061959.3349716-2-reijiw@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220314_130758_211381_DE05097B X-CRM114-Status: GOOD ( 11.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Sun, Mar 13, 2022 at 11:19:57PM -0700, Reiji Watanabe wrote: > From: Marc Zyngier > > We currently deal with a set of booleans for VM features, > while they could be better represented as set of flags > contained in an unsigned long, similarily to what we are > doing on the CPU side. > > Signed-off-by: Marc Zyngier > Reviewed-by: Andrew Jones > Signed-off-by: Reiji Watanabe Gee, that's one popular patch! Just as a heads up, I rebased it on top of kvmarm/next in: http://lore.kernel.org/r/20220311174001.605719-2-oupton@google.com since kvm_arch picked up another bool. -- Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5861FC433EF for ; Mon, 14 Mar 2022 20:08:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244249AbiCNUJJ (ORCPT ); Mon, 14 Mar 2022 16:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244928AbiCNUJI (ORCPT ); Mon, 14 Mar 2022 16:09:08 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0375C209 for ; Mon, 14 Mar 2022 13:07:58 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id z7so19774537iom.1 for ; Mon, 14 Mar 2022 13:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5/64AAEf4Vzs1A/LiRdwPiWTgC6wn0RFoaoEGIYS0K0=; b=qm68+ONcoiq70dlktTbSNWbKZczAYgBGwZhIZ/TCBXLlcnEgoXErDNKwxkmfapE/54 PTEL1lKRg2IAH7cVdEVFVAvCBmewE0HrgTTPrnMWrHk+MPOzMIw5rUXPmi8Y5/H1gRez 859U1z7DBPH6FPvSI0hvnipljJ4ADXURCyDlTeYJmNZ9ebJs4R7l4K5MVDF42BY6TNIT xnH6CcG7sUGUYNdTJ5r9lM/oLxYYKhu1euBNh51o+Ui5s9E2bmfqEsICS0yQZ5cEw5sf g0b2C3UITVh6uavnGAIFFQ+ncGVq4H6EWgNjHawb22qaRmnDZpwWrAOtZSZOl/X1NLJG K0bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5/64AAEf4Vzs1A/LiRdwPiWTgC6wn0RFoaoEGIYS0K0=; b=evMyjbWPbbYicJCGxcF0zMPGeljggiwKJ6rC0x3eljyCztBW3lKSk4H9k14N3iv5e1 TIRqxw757oYjsHikbpHW1aROelPhiJEJq9KZiF57kQL1isWyrr+GTvzfuzdHdSnVWAz9 h8I6oMLNr3oOIEStoN+ERV2J3lwq9z41PtmcJAiOCDQ+GElhkxVY9MBDoHx+70XEHYBT L1P8FIbdnzuJMsuMnsM/PLXnwHoJxhTF20l7/v+O2qm38FeImT6BAxkyAVKYS/43UKD5 /NVnoJ5b8PQ31H7518f4aob9tsrgacxBOSMUpGzUv1PnvSukrCmWHlIymPCD2ARqVAo3 i44Q== X-Gm-Message-State: AOAM531mQYnYhtb53J86IwmSX71FhCmZ4YEEG+bYhTJy5+QSdMo6bxQi G4jvmg9XZe4owTu7O9vFVlIwwQ== X-Google-Smtp-Source: ABdhPJx+cCT9RbztBLcxVFaSRxxa8KxO45I5CoBY2KZENSIpHruKS+BfdUba5UJey30qxO8YNS+AMQ== X-Received: by 2002:a05:6638:1616:b0:31a:131c:9079 with SMTP id x22-20020a056638161600b0031a131c9079mr2603879jas.89.1647288477157; Mon, 14 Mar 2022 13:07:57 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id b25-20020a5d8059000000b00644ddaad77asm9076916ior.29.2022.03.14.13.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 13:07:56 -0700 (PDT) Date: Mon, 14 Mar 2022 20:07:53 +0000 From: Oliver Upton To: Reiji Watanabe Cc: Marc Zyngier , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Alexandru Elisei , Suzuki K Poulose , Paolo Bonzini , Will Deacon , Andrew Jones , Peng Liang , Peter Shier , Ricardo Koller , Jing Zhang , Raghavendra Rao Anata Subject: Re: [PATCH v4 1/3] KVM: arm64: Generalise VM features into a set of flags Message-ID: References: <20220314061959.3349716-1-reijiw@google.com> <20220314061959.3349716-2-reijiw@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220314061959.3349716-2-reijiw@google.com> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Sun, Mar 13, 2022 at 11:19:57PM -0700, Reiji Watanabe wrote: > From: Marc Zyngier > > We currently deal with a set of booleans for VM features, > while they could be better represented as set of flags > contained in an unsigned long, similarily to what we are > doing on the CPU side. > > Signed-off-by: Marc Zyngier > Reviewed-by: Andrew Jones > Signed-off-by: Reiji Watanabe Gee, that's one popular patch! Just as a heads up, I rebased it on top of kvmarm/next in: http://lore.kernel.org/r/20220311174001.605719-2-oupton@google.com since kvm_arch picked up another bool. -- Oliver