Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp648772iog; Fri, 24 Jun 2022 10:57:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vwPHjB8vooK/IY+GSWuJIhj7kKn5Z6xU6geNdMrLwFqps7nV6H64NIp1AqM5iCEHj5eIv4 X-Received: by 2002:a17:906:51d9:b0:722:eeb2:e7f2 with SMTP id v25-20020a17090651d900b00722eeb2e7f2mr160945ejk.519.1656093419966; Fri, 24 Jun 2022 10:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656093419; cv=none; d=google.com; s=arc-20160816; b=vQeE5ElV4HKPuorrMHuqEszySL1jUHJsx5+YhUtCUyqhnQRhEKqtsllA8tNzF3bRjA I1ya5hY56a2x0Lqld6Zor0r7EY9Ntzum8r1x9I1H7pVtpuRrxjJRaoehsQnkudm9ey3g ymxi3sZjdVdaCUU/8OwxQlY+jLGE3rfBLyo6JMNEI9J5jXUJmXWH0X1M4API8NS7FE55 p5UXsGKz88jtKAD+OLGim4LuAWKyue7wBETxPKkwNrVUCNc7Szxxkkhk7wYazBRYJ3G7 SrGY3Q2I6gB2bj8V5Yv6eWlK2nHuVfvRZvhQ438WfDgmmstKuuJv2xsBs2W4Es1bEEh4 RyZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3kDqsealhz+clkDjmQMJ0LSGvDM3X4MUEdmUqyhprC4=; b=J0eYfrStSUni/5yXBITu85Rwsp1oQ4udSEGVwiKK9n+MeWpTYLoFnvQ4SPd+Gq3e+K mDecni/ssn0lK00bTuB1mbYuMEVn/vo4drtxFUlKJV+JXR160TqBGAPs9CtTK/eXpwRN af9lsB6DNMqOkLeoPNwMQnN6pq5ZfTWqNw0RwEhwjaobsgWASyoBCO5F5wOmpl0l6KuP XgE4Qq7r/mH4DmBz6JJvtM0eBxmBriIq/LzGZLJpMxzRpy5lT0oztJu98KiphV9eHzv7 Cop574UEzSUFs6XyFPHlVvLY9HV3QNqh/PvlAnlU7hqphKasTHaN1nS3Y+TqE87PWE3M q1qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=juBhL6Fd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a50ab53000000b004359a63823esi3538897edc.225.2022.06.24.10.56.34; Fri, 24 Jun 2022 10:56:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=juBhL6Fd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232428AbiFXRjn (ORCPT + 99 others); Fri, 24 Jun 2022 13:39:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231945AbiFXRi2 (ORCPT ); Fri, 24 Jun 2022 13:38:28 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A1654D24E for ; Fri, 24 Jun 2022 10:38:27 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id q140so3040738pgq.6 for ; Fri, 24 Jun 2022 10:38:27 -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=3kDqsealhz+clkDjmQMJ0LSGvDM3X4MUEdmUqyhprC4=; b=juBhL6FdKN33HFxCeJTuvPGoDF/55JA3lmhW9LFCphk+c6G2qjT+/cZjhqfZ38m8BK Fu6K7ic8BdlkA78wRSfeIEZbhUztnhLqj2T7E8NSK3bdAyKoBzcx/bCJJNyPD7qZh8SN KqCZzKM7Boi/7jzwhRKdgmwgcEkbupwvDIlUlrUNtl/akyAALdGUzvcGvJ6KXbOJr0O9 VoMVlPS2Ffu/FV2ITE3+jqoGbalBS7navDyZ35/2l47IMn2rTaNmaVGbUJIh+TUWnZkv ILxZg5BqiiS2E/i9jIUGu9KsU2IVqAUD63/d4zpMS/HmAWsU9GykYdJ2ZDXqrEz4Js5T S3Vg== 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=3kDqsealhz+clkDjmQMJ0LSGvDM3X4MUEdmUqyhprC4=; b=1TP9KIEsD/2+aZcEgV9Iadx5uLwaicC3ouehD/RYtk56Tdw5N8bd9/vmVSmaBvF3nD hLK8WqRJqMZgdsk6IqebpDVJ3200GhRQuqgITxHQu41TCtPEeWzNmawGdM1q3NtjSX7r /NCOEki0af4/9U6DhYPPkU3XPFjNrw0JiYSjufZFpwZmB7tzD3XfzhK4DKTlsaLouB9H x21MMcVsbOwJC0S3/yh/FWVNqkdGlzYlTkt9u1n+3d7UvqDxcMsJlN2eZi/2W3Hiv82j nrOCBv3Z3YUVx6l6XnQxXZxqtkGAir+E+Ee9nQJWAoJtMiiXn1zv7bX6n8d0PK5AewzO wrQA== X-Gm-Message-State: AJIora9Wn8d7j5bfB1CqXd1XRvnDd9D2WwHZNx8bBqRq+BpRfK4P1ufr TBhE9r72CTG3sqBXTpMCHADQ1g== X-Received: by 2002:a63:884a:0:b0:40c:ab0d:fa21 with SMTP id l71-20020a63884a000000b0040cab0dfa21mr11358pgd.404.1656092306583; Fri, 24 Jun 2022 10:38:26 -0700 (PDT) Received: from google.com (223.103.125.34.bc.googleusercontent.com. [34.125.103.223]) by smtp.gmail.com with ESMTPSA id n3-20020a170902d2c300b0016796cdd802sm2151603plc.19.2022.06.24.10.38.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 10:38:25 -0700 (PDT) Date: Fri, 24 Jun 2022 17:38:21 +0000 From: David Matlack To: Sean Christopherson Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] KVM: x86/mmu: Use "unsigned int", not "u32", for SPTEs' @access info Message-ID: References: <20220624171808.2845941-1-seanjc@google.com> <20220624171808.2845941-3-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220624171808.2845941-3-seanjc@google.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 24, 2022 at 05:18:07PM +0000, Sean Christopherson wrote: > Use an "unsigned int" for @access parameters instead of a "u32", mostly > to be consistent throughout KVM, but also because "u32" is misleading. > @access can actually squeeze into a u8, i.e. doesn't need 32 bits, but is > as an "unsigned int" because sp->role.access is an unsigned int. > > No functional change intended. > > Link: https://lore.kernel.org/all/YqyZxEfxXLsHGoZ%2F@google.com > Cc: David Matlack > Signed-off-by: Sean Christopherson Reviewed-by: David Matlack