Message ID | 20180630061040.6018-6-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="dI+5UjTd"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Hjs83FTVz9s29 for <incoming@patchwork.ozlabs.org>; Sat, 30 Jun 2018 16:14:20 +1000 (AEST) Received: from localhost ([::1]:45679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fZ99F-0006S6-Fc for incoming@patchwork.ozlabs.org; Sat, 30 Jun 2018 02:14:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fZ95u-0003yM-2X for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:10:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fZ95s-0001fm-N1 for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:10:49 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:39759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fZ95s-0001eo-Ef for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:10:48 -0400 Received: by mail-wr0-x241.google.com with SMTP id b8-v6so10640013wro.6 for <qemu-devel@nongnu.org>; Fri, 29 Jun 2018 23:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fEP1tsduHKAjeevzyItEKMUS4tf76oGcJy6Ga2WV3Vs=; b=dI+5UjTdT0Klj8dLKSjzCIEwlEjDAs1JhCASZul7d2BRPKPGqIFgG5i9RBIct1pJqz g7ONTPie39i9/aG6fE0QDutQcwioI3xNYbp5pw1yL0o8wvDhIW6pngkzPD1pgerFn0KS 2nuYxdZeRab4T7htMIZtARPNeIdTZmXdgNEk5/70sHVIIV2V2NReMh0R58ug4EqhuWgq oADS47ax0kK5qHiMRsAr3Kn1/52J7iBv0L9ZcEeIf/BB54+2rB5s3Se70N1iDQ3DB47G 7Hmencux3iQ46QQh3z1oebpr4m0hLkfZFsaw3imYg0qrYHO7aMPqB8PivuJqm64ktas0 BRWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=fEP1tsduHKAjeevzyItEKMUS4tf76oGcJy6Ga2WV3Vs=; b=qqwlZDs6fGM+qgYSgy5tiQxVZ7PYXfEmre3qimqYnX4EP755tkthfqcsOrX7qScfrn /QTtzWMpSLNCVI7ISa95fPrS51DxnpzEaWAms8q3FmSmqV2K3J5wxVkoTdexug5plb8J m0vRuupvJfwm7pLuQzK85sJbhRp76yYR41x96++r2PywHGqxgGyAiZ69zv6ZF4XHOYVp Hcbt7+2URzqmwt75lmAF8RnpU0l01YFWdMFG1cNhqlemaRMNdp34hbmRbg4Nwly+CuCn Vjizp75bW9pa1IONvlgyFGTFbabX3NWNpiISj/ICehCXnPoGFVPRbJojAlfzf+fDz38z sIyQ== X-Gm-Message-State: APt69E0Di/QAGUzFHQ4msCt8gnbO52GzEiVXgnJXgJUpF5BRXWbWPUVO r0bjZmvbqXWbvWAzO2pKhUX9xS+r X-Google-Smtp-Source: AAOMgpeT2icJA/xjnXn5crmC6i8V/Jm/roNZXWBVoQhUNQoWp++cPXOiI1qOlWY0ZniHWcOkx6dRQQ== X-Received: by 2002:adf:9aeb:: with SMTP id a98-v6mr5848416wrc.110.1530339047307; Fri, 29 Jun 2018 23:10:47 -0700 (PDT) Received: from donizetti.lan ([82.84.124.111]) by smtp.gmail.com with ESMTPSA id 24-v6sm563454wrz.94.2018.06.29.23.10.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 23:10:46 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Sat, 30 Jun 2018 08:09:58 +0200 Message-Id: <20180630061040.6018-6-pbonzini@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180630061040.6018-1-pbonzini@redhat.com> References: <20180630061040.6018-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PULL 05/47] x86/cpu: Use definitions from "qemu/units.h" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/47] i386/kvm: add support for Hyper-V TLB flush
|
expand
|
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index d57f310..bdbd446 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/units.h" #include "qemu/cutils.h" #include "qemu/bitops.h" @@ -65,9 +66,6 @@ struct CPUID2CacheDescriptorInfo { int associativity; }; -#define KiB 1024 -#define MiB (1024 * 1024) - /* * Known CPUID 2 cache descriptors. * From Intel SDM Volume 2A, CPUID instruction