From patchwork Sat Aug 9 14:25:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 35190 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4B09E21F5F for ; Sat, 9 Aug 2014 14:26:25 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id tr6sf28064931ieb.2 for ; Sat, 09 Aug 2014 07:26:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version: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=3yEFtchzsjWYvIJ1p8Gcs9Oxwrb+iju26rcfk1V2vG8=; b=CO8+UXOz29FIDA14OmkSdoxw/gDNOtktmgtlq4YSHcxxQaJWaMUn0NIVebWGjpMBsV j1t1tZIslsg4vXaHI/YpOm3jmxfQp3O1SgD67UQ30jv0RBtEPXD4cDYe2Lbn1q3eKbHD a71lQIWQJaHsjwKExT7V3dunnZSWRVUOxPDoJTZE9siHZELfybi0brLEx6gEib8YjwNf tb5LrcPeNgbECIajEpekQ/8GxtaSIodv317X46EL9B4+IABUoX9VwYcSRPNg4BmwZxlw +8fROso5WlupXsMjSAPDA/RHF7FPeYju9xRQVLiNIsEt762xHmxH8o1neXKaE/fmKez3 jt2Q== X-Gm-Message-State: ALoCoQnoU2gLf2XMEKLrkR7Q5Im9pm5hYZRc8AxNRyVXYJpy30YG0RFnNCvy4zfNjq2qAZLBV3oc X-Received: by 10.50.119.5 with SMTP id kq5mr5287147igb.1.1407594384834; Sat, 09 Aug 2014 07:26:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.12 with SMTP id 12ls893137qga.25.gmail; Sat, 09 Aug 2014 07:26:24 -0700 (PDT) X-Received: by 10.220.122.132 with SMTP id l4mr365044vcr.41.1407594384743; Sat, 09 Aug 2014 07:26:24 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id cj4si3887187vdd.77.2014.08.09.07.26.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Aug 2014 07:26:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so9580104vcb.8 for ; Sat, 09 Aug 2014 07:26:24 -0700 (PDT) X-Received: by 10.52.34.209 with SMTP id b17mr470865vdj.49.1407594384682; Sat, 09 Aug 2014 07:26:24 -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.221.37.5 with SMTP id tc5csp34396vcb; Sat, 9 Aug 2014 07:26:24 -0700 (PDT) X-Received: by 10.194.104.234 with SMTP id gh10mr40277807wjb.66.1407594383071; Sat, 09 Aug 2014 07:26:23 -0700 (PDT) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx.google.com with ESMTPS id qa1si16392251wjc.13.2014.08.09.07.26.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Aug 2014 07:26:23 -0700 (PDT) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 209.85.212.182 as permitted sender) client-ip=209.85.212.182; Received: by mail-wi0-f182.google.com with SMTP id d1so2265353wiv.15 for ; Sat, 09 Aug 2014 07:26:22 -0700 (PDT) X-Received: by 10.180.90.11 with SMTP id bs11mr5370243wib.47.1407594382672; Sat, 09 Aug 2014 07:26:22 -0700 (PDT) Received: from midway01-04-00.lavalab ([88.98.47.97]) by mx.google.com with ESMTPSA id f3sm19591736wiz.0.2014.08.09.07.26.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Aug 2014 07:26:22 -0700 (PDT) From: Eric Auger To: eric.auger@st.com, christoffer.dall@linaro.org, qemu-devel@nongnu.org, kim.phillips@freescale.com, a.rigo@virtualopensystems.com Cc: eric.auger@linaro.org, will.deacon@arm.com, kvmarm@lists.cs.columbia.edu, alex.williamson@redhat.com, Bharat.Bhushan@freescale.com, agraf@suse.de, peter.maydell@linaro.org, stuart.yoder@freescale.com, a.motakis@virtualopensystems.com, patches@linaro.org, joel.schopp@amd.com Subject: [PATCH v5 08/10] hw/intc/arm_gic_kvm: advertise irqfd Date: Sat, 9 Aug 2014 15:25:47 +0100 Message-Id: <1407594349-9291-9-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1407594349-9291-1-git-send-email-eric.auger@linaro.org> References: <1407594349-9291-1-git-send-email-eric.auger@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: eric.auger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) 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: , set kvm_irqfds_allowed Signed-off-by: Eric Auger --- hw/intc/arm_gic_kvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/intc/arm_gic_kvm.c b/hw/intc/arm_gic_kvm.c index 5038885..08b7bf9 100644 --- a/hw/intc/arm_gic_kvm.c +++ b/hw/intc/arm_gic_kvm.c @@ -576,6 +576,8 @@ static void kvm_arm_gic_realize(DeviceState *dev, Error **errp) KVM_DEV_ARM_VGIC_GRP_ADDR, KVM_VGIC_V2_ADDR_TYPE_CPU, s->dev_fd); + + kvm_irqfds_allowed = true; } static void kvm_arm_gic_class_init(ObjectClass *klass, void *data)