From patchwork Tue Oct 8 13:49:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PranavkumarSawargaonkar X-Patchwork-Id: 20895 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 319D624697 for ; Tue, 8 Oct 2013 13:49:34 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w5sf1068241qac.0 for ; Tue, 08 Oct 2013 06:49:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=t18j0vX8swDiFe/rgC4TX91sYQhI+kCNQzyRIBhM3A0=; b=l7+Xa0/rzo/ZUYEMQzjGv2MqbhcAR6HbiQOS7rssFeaJj5W4uNYLoMOl+OC5tpuv2T yQuz5Xpukmu0vu8doFPh7Op4E/Lms6iKlfHiPEVA5L8jDHpQQVx4ieZL1Jtr5ERoA8UQ TUa42FkNMop3NdjB9opwzNkUxvHzRlSIbcOGtKlooTOFgUgS65eYPYOXr/jIaZRkmzuf IRqWqmBXaugyY2vG675wY4LFNGobm4XMWgp2PtjbMDCa0rOWC9fw+M/z2tRbI3r9iY0V V/ps5t6j+5AtnKFVIl3AMpb4bdlqjGUMqLCVAVJqjUjwmvNCrLJiAP93LFpqMsy34N4t TIyg== X-Received: by 10.236.198.197 with SMTP id v45mr1546063yhn.26.1381240173791; Tue, 08 Oct 2013 06:49:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.134.74 with SMTP id pi10ls261199qeb.35.gmail; Tue, 08 Oct 2013 06:49:33 -0700 (PDT) X-Received: by 10.221.44.136 with SMTP id ug8mr1123628vcb.13.1381240173691; Tue, 08 Oct 2013 06:49:33 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id m3si5499649vdw.101.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 06:49:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ib11so3844043vcb.0 for ; Tue, 08 Oct 2013 06:49:33 -0700 (PDT) X-Gm-Message-State: ALoCoQlkxOtL8AS9rMSBa/7JMKKgOssvgeRBIPX2FF+P3G3+pl1FK+qcUM9MvNAO7Y+rZu/8FoGL X-Received: by 10.52.233.2 with SMTP id ts2mr616250vdc.44.1381240173590; Tue, 08 Oct 2013 06:49:33 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp206653vcz; Tue, 8 Oct 2013 06:49:33 -0700 (PDT) X-Received: by 10.68.163.193 with SMTP id yk1mr2133663pbb.178.1381240172609; Tue, 08 Oct 2013 06:49:32 -0700 (PDT) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by mx.google.com with ESMTPS id xn6si26574197pbc.242.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 06:49:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.182 is neither permitted nor denied by best guess record for domain of pranavkumar@linaro.org) client-ip=209.85.192.182; Received: by mail-pd0-f182.google.com with SMTP id r10so8784429pdi.27 for ; Tue, 08 Oct 2013 06:49:32 -0700 (PDT) X-Received: by 10.68.253.227 with SMTP id ad3mr2014889pbd.189.1381240172168; Tue, 08 Oct 2013 06:49:32 -0700 (PDT) Received: from pnqlab006.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id ha10sm40234559pbc.23.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 06:49:31 -0700 (PDT) From: Pranavkumar Sawargaonkar To: libvirt-list@redhat.com Cc: patches@linaro.org, crobinso@redhat.com, berrange@redhat.com, anup.patel@linaro.com, Pranavkumar Sawargaonkar , Anup Patel Subject: [PATCH 1/6] AArch64: Add AArch64 architecture to list of valid arches. Date: Tue, 8 Oct 2013 19:19:06 +0530 Message-Id: <1381240151-15060-2-git-send-email-pranavkumar@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1381240151-15060-1-git-send-email-pranavkumar@linaro.org> References: <1381240151-15060-1-git-send-email-pranavkumar@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: pranavkumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Adding AArch64(ARMv8 64bit) to the current list of valid architectures. For now, AArch64 name would imply AArch64 LE mode only. In future, we might have separate names for AArch64 LE and BE. Signed-off-by: Anup Patel Signed-off-by: Pranavkumar Sawargaonkar --- src/util/virarch.c | 1 + src/util/virarch.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/util/virarch.c b/src/util/virarch.c index 694eba1..9e88c68 100644 --- a/src/util/virarch.c +++ b/src/util/virarch.c @@ -38,6 +38,7 @@ static const struct virArchData { { "armv6l", 32, VIR_ARCH_LITTLE_ENDIAN }, { "armv7l", 32, VIR_ARCH_LITTLE_ENDIAN }, { "armv7b", 32, VIR_ARCH_BIG_ENDIAN }, + { "aarch64", 64, VIR_ARCH_LITTLE_ENDIAN }, { "cris", 32, VIR_ARCH_LITTLE_ENDIAN }, { "i686", 32, VIR_ARCH_LITTLE_ENDIAN }, diff --git a/src/util/virarch.h b/src/util/virarch.h index 3530f7c..d0bf9d9 100644 --- a/src/util/virarch.h +++ b/src/util/virarch.h @@ -30,6 +30,7 @@ typedef enum { VIR_ARCH_ARMV6L, /* ARMv6 32 LE http://en.wikipedia.org/wiki/ARM_architecture */ VIR_ARCH_ARMV7L, /* ARMv7 32 LE http://en.wikipedia.org/wiki/ARM_architecture */ VIR_ARCH_ARMV7B, /* ARMv7 32 BE http://en.wikipedia.org/wiki/ARM_architecture */ + VIR_ARCH_AARCH64, /* ARMv8 64 LE http://en.wikipedia.org/wiki/ARM_architecture */ VIR_ARCH_CRIS, /* ETRAX 32 LE http://en.wikipedia.org/wiki/ETRAX_CRIS */ VIR_ARCH_I686, /* x86 32 LE http://en.wikipedia.org/wiki/X86 */