Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1001180ybl; Fri, 24 Jan 2020 13:32:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwpU/3Uk4bN1eGs1/sQBfQ8jlAXxIRa1BJBI/qykSVj+u6gEIOoAlzGMXHUH3JL3+kcTsva X-Received: by 2002:a9d:7618:: with SMTP id k24mr4328523otl.65.1579901551890; Fri, 24 Jan 2020 13:32:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579901551; cv=none; d=google.com; s=arc-20160816; b=OGqDfNi262SV63vKvjQEcAguZau4QGv+YLihNmjnCPXHIOFvVVjo1I4qFUyyKQifCz cuZZPJnOfkFqZWzmwSzaXAdPIWqqFuq9kuIWGH4qGD7f4kfrJSYdH0kVeHHNdDAoV9iB F8HNVExATSAYmobZC23QNOLw0E3uuQueTXS5+k4OKndVgGEOxVoDWjSbHVkwRUgRp+vZ 6MA9c9JxayQvLQ7/NT+qTjtVQ3h/2b7lB3zK0568jE8eQ0L9650FrA/72Lx18brM9RMm 23puPmaomt1g7RC6as954hkPcQfyfP7grxX0WShujQ1SGnJeCmBk30KdALQHL/izHAwd BgZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=D2S8lXWG9YzPS2+9mLo4LUYwhne240CpPoyR7sHOdfc=; b=nwJolz3AThVAJJDE/hsqfrPLBoLMOJwWXdtwZxI7sEOt2/x563xRhaxNq1rusKTLsf DJeQH2QVrm+SZU8iq/ZYJNtTA9+xFDuss8Px8+VcSUp1mRwdH6HbPEXvlT9tRGbXA71X 9lfxwrIE/DOaBivKYYcDuBF4yFmJuHTBuMW3CKEPIDkkXPkdLCqivcVIXrxmfMNUNvAF E1e1/G6HACyug9kHVH0GGdks81Dsploj8MEDMwSFVk3xs2bu/xcwWdLxVdtn35+0ZFJk OkZoanAHW5ECm+fDdRU6pVBG6cCKgLwO0preyDJfF8c5JcHjBLk3nkgDRiafeCm2dZo4 M+rw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x68si325927oia.227.2020.01.24.13.32.20; Fri, 24 Jan 2020 13:32:31 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727893AbgAXVaa (ORCPT + 99 others); Fri, 24 Jan 2020 16:30:30 -0500 Received: from mga12.intel.com ([192.55.52.136]:48886 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbgAXVaa (ORCPT ); Fri, 24 Jan 2020 16:30:30 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jan 2020 13:30:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,358,1574150400"; d="scan'208";a="221148350" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.202]) by orsmga008.jf.intel.com with ESMTP; 24 Jan 2020 13:30:28 -0800 Date: Fri, 24 Jan 2020 13:30:28 -0800 From: Sean Christopherson To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , KVM Subject: Re: linux-next: Tree for Jan 24 (kvm) Message-ID: <20200124213027.GP2109@linux.intel.com> References: <20200124173302.2c3228b2@canb.auug.org.au> <38d53302-b700-b162-e766-2e2a461fc569@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38d53302-b700-b162-e766-2e2a461fc569@infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 24, 2020 at 12:51:31PM -0800, Randy Dunlap wrote: > On 1/23/20 10:33 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200123: > > > > The kvm tree gained a conflict against Linus' tree. > > > > on i386: > > ../arch/x86/kvm/x86.h:363:16: warning: right shift count >= width of type [-Wshift-count-overflow] Jim, This is due to using "unsigned long data" for kvm_dr7_valid() along with "return !(data >> 32);" to check for bits being set in 63:32. Any objection to fixing the issue by making @data a u64? Part of me thinks that's the proper behavior anyways, i.e. the helper is purely a reflection of the architectural requirements, the caller is responsible for dropping bits appropriately based on the current mode. > > > -- > ~Randy > Reported-by: Randy Dunlap