Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1712723imm; Thu, 27 Sep 2018 01:02:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV62uUq/aGY8SuO7Gnw1pKqUep55vhywgDWvNqPG+qmbY1a5BCsrLRPMxDAxzP6L6OzAOASde X-Received: by 2002:a63:f902:: with SMTP id h2-v6mr8998328pgi.154.1538035347947; Thu, 27 Sep 2018 01:02:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538035347; cv=none; d=google.com; s=arc-20160816; b=ty7y2TjrTa3mMjp/WAqjS141XUZmfYfDcoqEEcQ6N+PJdNe1DUM0oMy4YriCtTMWP5 X8IvowtWxI3kbQvEidrPS64Desv67B82r4ASTa0wMxEFglddIWjFMWIILTnhB7B2LXMp kKKfvlZbanCPK66+MjI9IERgUNUsGjdJyk3T9X7P8q5n0Qd9a7jwgn4wo49/IwQni+WD ytpU5rmCaVqj09X5ZegtZFNeG4JRHx5gWW2/x/Q0eBeUHsjZ/NLsplsEM3SyYAxoCFiH mYXQr8jdObDRHag9CdXoI3/INGDfbWYxcRqHRpdAteySaFJhsqBkAh/OjzLeQuU7ngV5 LsOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticoutput:user-agent :in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=3dMtTCPqBPYVpEr+phr2IWSFrMK2wRRMDSAH6jHmBZA=; b=UhrFPsI5lMz/0i0XIsstbtstbeiEpKoFc6bDOxDqLWq4Yfcr9oXfMR3KK7frRMzu28 mr7gMBVucab9SxjDGO8BQ9AVF3aDbMlfziBs/rvGfhuSg311wKq/Sizsia9wGpy2ivmZ amTybHG6Er6LdkPSCOAhMyei4C0o4dMswTPoEU4iW90WmOOYaHLoYOp1a+I8Y2VkhM3N okVtXuZj2QA5Yuun194klx2XwDneE7GZSJyONBWaeOdPz/MfG3riGaNh15/XK09bats1 rWtSBEmI4vwR/89jK5PtgFMWVIpghYIpxzlLxr6aAdeNSpAm77AoihUnOavyRcRt6zr/ 469w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=bVeazEpz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7-v6si1302621pls.194.2018.09.27.01.02.12; Thu, 27 Sep 2018 01:02:27 -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; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=bVeazEpz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727265AbeI0OS4 (ORCPT + 99 others); Thu, 27 Sep 2018 10:18:56 -0400 Received: from mail-ve1eur01hn0201.outbound.protection.outlook.com ([104.47.1.201]:22834 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727049AbeI0OSz (ORCPT ); Thu, 27 Sep 2018 10:18:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3dMtTCPqBPYVpEr+phr2IWSFrMK2wRRMDSAH6jHmBZA=; b=bVeazEpzNbC43RY5v2YS//tITSqvPMrvrNI0WycB3K2Li8RJwZKRXCIIuZ01Dw8jPa0NLoxC0ag1/qb9hXJaoP2aXSzNLhYNMdGAD50XO9h4SGf6GFJ6VTNG5Ass0uld1VnXZwt8ePJxzhaetwZD0dtTdOArfQWEJGlqd3+t5kY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Received: from rkaganb.sw.ru (185.231.240.5) by AM6PR08MB3590.eurprd08.prod.outlook.com (2603:10a6:20b:4b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.20; Thu, 27 Sep 2018 08:01:45 +0000 Date: Thu, 27 Sep 2018 11:01:42 +0300 From: Roman Kagan To: Vitaly Kuznetsov Cc: kvm@vger.kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley (EOSG)" , Mohammed Gamal , Cathy Avery , Wanpeng Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 5/7] KVM: x86: hyperv: valid_bank_mask should be 'u64' Message-ID: <20180927080141.GC4186@rkaganb.sw.ru> Mail-Followup-To: Roman Kagan , Vitaly Kuznetsov , kvm@vger.kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley (EOSG)" , Mohammed Gamal , Cathy Avery , Wanpeng Li , linux-kernel@vger.kernel.org References: <20180926170259.29796-1-vkuznets@redhat.com> <20180926170259.29796-6-vkuznets@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926170259.29796-6-vkuznets@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: VI1PR0501CA0028.eurprd05.prod.outlook.com (2603:10a6:800:60::14) To AM6PR08MB3590.eurprd08.prod.outlook.com (2603:10a6:20b:4b::31) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 136110b3-7180-4a5c-7b40-08d6244f78e2 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:AM6PR08MB3590; X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3590;3:eQfdBoK4RsRsGjXkIHnfR7xFS10fU5lKEoJno0a8ZTQwkWtZW9Maio5xVUVBmsd+JtsfHGVMpPRzWMziFHhN2Ol2zjg/z3nMnJmS1MfxgBTh4jkv7UBX3fKcjHUMa6hYUiQr8oGV7Uozo5o1yQu/S3qdQHs4s/TZLp+G/9gobPm6ivOQ1Jo3dtWQXe8dWk3xZDvq+4QSUMYPee7ho7Xumija3Y9kRNw8PAORAUlOMqw416/wrZGEVJu0SDj2EzsY;25:131cacUQNKb3/4ApoatA9kbiLbMTNn4dmO06Bcy77C7yuFVsZZKzjDDPgCAthUvoOwLHSurdolpYD7mJQDGKboqVEbkkZva7Q/InPuvCjmzO0LK8gpGK0ftnX7F5HC+Yd6mecBXPcvaYLhlQ/VzyrjLcWbpnUGJVDzjuHoHPIwIlVotrpvW1vlagZoUV8Ei/c3gMaOstxt6SahOVAIvkkTkFcNzeyz+5oDJdNNfOj8V2N73cRulajnoJav2LGUBMystabIZ1+JUe9PXJ5ucW4EGx+eHn07hNkp7e14kMrYP/vwI1EaXhmOxwTLtf3EkeOGWxYFcl6zy/6SbXYp2uHw==;31:1K5JNtZ3KvD46O4Dw2hOMoDl1qARIdH8tGzv6lusd8ven3mqYy7igEWTAmt8GhwOFGYOutNTgRKRf/TZ4urIa0/DKvnvTe/nPBhlFKTHtUlCwSUJnPVoidSOZmDqMwJBO+X8EB/o/7SGOsche4uYR8gw46Yoqg9vUyXCLzxP3nkidZiBI3zrrxHTV3PtEeKxzaDhZWkRIR0q+nIvb8vtiugZgV9MvRb8oHVPxMPYXwo= X-MS-TrafficTypeDiagnostic: AM6PR08MB3590:|AM6PR08MB3590: X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3590;20:8il18O1Q5vWUDkRRic0fbCo9i11ItI7L/DOdgN43mXfiDCRkdCiYk9o9vv6ybdL9S8R/d2QTdwvxWk6nZbbPwqJlMmzw5EIf+ymcjoYL+WRv1nMQZ9WjF3pYIqmizastyj1bE7vxZ9RfiQ3yTG205BVy2h676BitEEevEJKb7NWONeLUj5OSKIAxFt4D0K4zMMhQTjwNF7X6s0zJQH2BMusoUkz3AdfE/W32N514SpD4mjj+2Aay3lAfOWPL8q6mY8n+IRh+tpGy05vk9+wJiUj9KAWD757ut0iJgNL0TDQLSsUGh++dQTBjOIGlhBE1p5tNygY4NUnETYgw5KkeNpXGobtc57L3UKwXSJDJzSeZQCsno0kjyp7R+ZhU7bGqYA/PyAMoIi1/0A1e+tZoVazX68aifQzlmXAnA2FIOC5XhRjNkiD1TYOCQ2TSqQU9xLRG4ZWqKrq9PbX1lm9LQks8yXwIwwzAvfLAFKYLOSqyfGJI+YesSewi7LhDfhC7;4:6ceRO79gKYYcmVa0KikWyAk2UQoaKanH5bnipb1SXOaZgXtR+9pK6hxZoTViJgOr2uoTaJ325O45jh9/h7dR5FRsHhAIhwA/ITJ0Tv49iR/Qgkuvs9MpebZBGGXpxHnAPUlPo2wTqbDDXXzJgao0PCKKfFLs+w0J/rwSwETw2VSz6Sq85UVQc+eDOnQkPjYgTiJn2eV+aby2GZ8HPJ6Rr3Qh5DMFSDVfZBztpqj9gx945l0/5R9IMyAWYBbjX39zMv6kMCoeFIrWuCn+1VwVfg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051);SRVR:AM6PR08MB3590;BCL:0;PCL:0;RULEID:;SRVR:AM6PR08MB3590; X-Forefront-PRVS: 0808323E97 X-Forefront-Antispam-Report: SFV:SPM;SFS:(10019020)(396003)(136003)(376002)(366004)(39850400004)(346002)(199004)(189003)(16526019)(7416002)(16586007)(186003)(316002)(26005)(55016002)(54906003)(86362001)(229853002)(58126008)(23726003)(66066001)(2906002)(47776003)(36756003)(3846002)(305945005)(7736002)(33656002)(5660300001)(6116002)(76176011)(7696005)(52116002)(386003)(6506007)(6916009)(6666003)(478600001)(50466002)(97736004)(106356001)(1076002)(69596002)(8676002)(68736007)(81156014)(81166006)(446003)(11346002)(476003)(53416004)(4326008)(956004)(9686003)(25786009)(105586002)(486006)(6246003)(34290500001)(8936002)(39060400002)(53936002)(30126002);DIR:OUT;SFP:1501;SCL:5;SRVR:AM6PR08MB3590;H:rkaganb.sw.ru;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM6PR08MB3590;23:oaafmySiNqrVzsD2OK25f+uvWhWCi9gyXe5Zog/X+?= =?us-ascii?Q?eP7ewdfdbVO0VKHqncDy/d6QOYXS3mQ+3Shatosc0pEwozC8OmtCZUL9kSAu?= =?us-ascii?Q?MZ9Cs7DOCreaw2yt/kwoHCLHm1LEpenLrSh2J4Vt734j8N8jOsjolnZO0txU?= =?us-ascii?Q?hBCeNsiqMK3X1n21M1IlnfCDjuvDAwGvnDAp7U7ebgBjbjv7+gnNpyXNW8LH?= =?us-ascii?Q?+SI6l4G/zX70Tgt14cRP9sEQBB/LcS2lcVjoTS4PkNgwDGP6WftdO/H3n6h/?= =?us-ascii?Q?MLi2yUw1ATIwSILpRndX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h1ayxNlZnjy+yA+pGeUOy1sE4nh51FgP2NkDQdFTQp9d80sa/KNLoxljlsvVL7fpOfPKton6EJ1oCQGhlaS7gomVdkgtF9t8fqX+kiQru2PbxVtnmGUpdANGotcPoVBdQpzeUWSNip9E= X-Microsoft-Antispam-Message-Info: zbXc7fkDt6drKbi2XBF/j4GdkNmyrQVo5HfwID8cZW2vUiFOab9DZMWOLb2TXPDxEZpuGQPORq+Asi/LI+yKi2RXZMzilha/dJedsUWNKN9GHC9sjZrF+s8EkJmq31v92xBd9ncDZ+UmkN5J+tssyn1ZIdMaEgeKcNSppPeLExGJz/XphFY2ka43vwfnS1ACIJohGX832khpyiak93xoTNPXxqw0Rc2KgedavZFFIIgz1qlkyc00KG75bdkLrgNwjIHu2Upp/UqmlOHqP7CmIkGo6yorzKTICLh6IM/YxJTq+mMwpAQH3dMRc3/xBd7SteEFXL63PO5J2pJH+D7KFRysPJ6pIPnhUYBvqM/+Ka6ze1iVlJRQkj6AmBExvO7051n7GLvsfca7nK8Msq264f2yf0KPLLPMSG3P6FqWAbOCfLDUl2UWXN9fmSCPr5eBcr90qqSzBt6JmkeXtJ4s7FYwgIutnVEF+U87bJmydCtqryp/28sFSWGhBD6GHlq9IKuN1Zbc6KXmicekrp/++7WiB/Fr0QUqaziah7AjF33KDWgJJT/qordbguNImcnjltxckRMsrfU0pjjfBB4XrQ== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3590;7:q0QIH+2VLzt7s1HkT6hj9W04IaYl9IX8tKqDh1EvUU5HtncTHvotFjo3gUQu1mtQu43YeMyVVHk9giK50E4QWZKBXvN4S20o6D+GQdc2xahfqH76M5YLLqmXKKtrDPCsXcCTQXoFSVyCwZznn54K3HG3/RgWZ7C7sp7oEEDHkKa0pojAN/YM8dyVVo4a2WgqhhWLHolH+TXX++zkf6XxP9hKJMFxpaLUqsQGmMmBFHsNNdbm+wXfO+NViseKt14E;20:dIQqyi2jqlWMOmeds93JLI992+LfQzMlGPB6vyWgc00IZYGNC8r/WZsYXWSxss7/eHYNvIUzPl6LxDTVOfC5yZMrdQlbA01Owh1Jstf0nBtW5oCcvhUyW8uB0vUmDiCxlcpO06RHmOyFiFXP8RsU+S1G/E2nMlaa9gzR+H6fhzI= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2018 08:01:45.7120 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 136110b3-7180-4a5c-7b40-08d6244f78e2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3590 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 07:02:57PM +0200, Vitaly Kuznetsov wrote: > This probably doesn't matter much (KVM_MAX_VCPUS is much lower nowadays) > but valid_bank_mask is really u64 and not unsigned long. > > Signed-off-by: Vitaly Kuznetsov > --- > arch/x86/kvm/hyperv.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Roman Kagan