Message ID | 20180309151133.31371-18-andre.przywara@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.80.194.209 with SMTP id u17csp1135144edf; Fri, 9 Mar 2018 07:13:46 -0800 (PST) X-Google-Smtp-Source: AG47ELtrq/+7uWIDap+v6H/53GkCmJPbKDko4BW4h5nnWWJhjmemvvhvxSZaqV+Pn10aXKVrA9Hn X-Received: by 2002:a24:941:: with SMTP id 62-v6mr3958713itm.153.1520608426868; Fri, 09 Mar 2018 07:13:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520608426; cv=none; d=google.com; s=arc-20160816; b=BTOqmofPiyT6B8eMTKVdHELU2UaiXWoGxf7C8TTtRd04Pku7lJ/2irjDbpAaTQJ+2p 7MnF/MQGw7UMBHfg0clp60Jy2f/9GYKMBT64WoptXptJdm8pqU/rwDg953We1RQhCrws PdtWXNlK3oU1VTVlF7nm9xi4Rdx6I7zH6dymYwLE7GcOxQSE8D7ba3hkvZkFG4T0W4HS KANbLlncd3zqZOIj+KnQuSBXNDmeAqlRLgMRztjynsDLejynmpxZIcxFQVlwmHV1rDgY tnO4hHhvMpXXNwzUUDQ3GW1LmCrzDNueGthnE2ZKiBEKC7y3Eq+q5zed1rtYr10InBru Dcwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:dkim-signature:arc-authentication-results; bh=KfPCPD31GUCpEiaUGDBuaWnAsbY3owIMBHIlthuLqts=; b=A1iI+g4sxdgDo4KYA/LMA7Dlgo8Ms06cFHdPG1TI8V6j6e5qmkeNZ/UxZra9i0+ToJ SYwIqG8XXtm1yNrwJZMWBoFPrcwO1yY2sZCuP1h1WmrSY6RqFp9gX+HAleQ5HBPxkSoD 8pO2SK/IjPQtjjMXfsGeELuuHzuZEvAZ6wOrmNa+UvEftPAlRLBm1Stf0SvT+J4FQGEr f56l/jiNY17ex3CkzqMAbmy2tQL7ePhECHojvSbiWNVVynqv/2Az9OzUWQJ0Gf44GP+o 9827p0da1sLrtxiQ+izy3n62lNIej7G2ABSdag3ZuxCnUfFL51/hjDGXSwNBmaXZ+iq7 ZISg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=azhlDE8V; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <xen-devel-bounces@lists.xenproject.org> Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id a205si706124itg.61.2018.03.09.07.13.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 07:13:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=azhlDE8V; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xenproject.org>) id 1euJgh-00068g-4a; Fri, 09 Mar 2018 15:12:03 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <srs0=stbu=f7=linaro.org=andre.przywara@srs-us1.protection.inumbo.net>) id 1euJgg-000673-Qq for xen-devel@lists.xenproject.org; Fri, 09 Mar 2018 15:12:02 +0000 X-Inumbo-ID: 0ca7592e-23ac-11e8-ba59-bc764e045a96 Received: from mail-wr0-x244.google.com (unknown [2a00:1450:400c:c0c::244]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 0ca7592e-23ac-11e8-ba59-bc764e045a96; Fri, 09 Mar 2018 16:10:49 +0100 (CET) Received: by mail-wr0-x244.google.com with SMTP id v65so9332086wrc.11 for <xen-devel@lists.xenproject.org>; Fri, 09 Mar 2018 07:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bXVo7HzOmI0P5uYVPvKcyRKYOjS1ooN5apHtq//TN90=; b=azhlDE8VthvhCI4PhkJaUwruESFiVG1Z8/mUm6zdL1NxxDSgH4iFHE7h4Rw1NfAGFC xbmdBHEJh4w2u7UdsEKsrsfLyBYgkihXKnbYp5ORsbo7MAt6JlSkWrKgNqntWSbDbfCQ 0mgELzfpV3W+9PzKpYCJHwjC0fHCrzxSPyDJE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bXVo7HzOmI0P5uYVPvKcyRKYOjS1ooN5apHtq//TN90=; b=t+nuO+6Q9Ot0ThCHc8HfgYT5/dpRPRrKPxXEqK421SdwFIK4lUrZB3gUk3OG+T1ZSF 7EhkxEwzZhZCgiMl5tf9QvpfIrc9TERMzYdyVseve+0Y0l821aa8OSIP4jkMl5DakTHe FWT4kypd/QbIu9TXiYlj71IP3o7PZCjnMMWwExA6Ritf6Fet96d2jNCDlXkmdninqvNm rVebcMmfF0nlrvfVmhxBZN4ozR7ELsIfczSMuHBoF3Pw9WB7RdbgU44wMr6lEYNdCbMa df6bmc4bhxc2Puc8Y0ab0ob93gB5iDnNRIE3ZCJ3J0nhHu9V8Ke4W9QAjg61b1RBBUKW XneQ== X-Gm-Message-State: APf1xPCoBcojQiHmjHDKKbvVqS1zsfR5uSP5IPP/FTwXfYX07TEZf+Av SSGCgLiOE3O8qIRihVAbS9rIvw== X-Received: by 10.223.179.194 with SMTP id x2mr27555382wrd.94.1520608320336; Fri, 09 Mar 2018 07:12:00 -0800 (PST) Received: from e104803-lin.lan (mail.andrep.de. [217.160.17.100]) by smtp.gmail.com with ESMTPSA id 1sm1721198wmj.35.2018.03.09.07.11.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 07:11:59 -0800 (PST) From: Andre Przywara <andre.przywara@linaro.org> To: Stefano Stabellini <sstabellini@kernel.org>, Julien Grall <julien.grall@arm.com> Date: Fri, 9 Mar 2018 15:11:33 +0000 Message-Id: <20180309151133.31371-18-andre.przywara@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180309151133.31371-1-andre.przywara@linaro.org> References: <20180309151133.31371-1-andre.przywara@linaro.org> Cc: xen-devel@lists.xenproject.org Subject: [Xen-devel] [PATCH 17/17] ARM: GICv2: fix GICH_V2_LR definitions X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xenproject.org> List-Unsubscribe: <https://lists.xenproject.org/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xenproject.org> List-Help: <mailto:xen-devel-request@lists.xenproject.org?subject=help> List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xenproject.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" <xen-devel-bounces@lists.xenproject.org> |
Series |
ARM: vGIC: prepare for splitting the vGIC code
|
expand
|
diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index fa9afc2be8..f16e17c1a3 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -57,10 +57,11 @@ #define GICH_V2_LR_HW_MASK 0x1 #define GICH_V2_LR_GRP_SHIFT 30 #define GICH_V2_LR_GRP_MASK 0x1 -#define GICH_V2_LR_MAINTENANCE_IRQ (1<<19) -#define GICH_V2_LR_GRP1 (1<<30) -#define GICH_V2_LR_HW (1<<31) -#define GICH_V2_LR_CPUID_SHIFT 9 +#define GICH_V2_LR_MAINTENANCE_IRQ (1U << 19) +#define GICH_V2_LR_GRP1 (1U << 30) +#define GICH_V2_LR_HW (1U << GICH_V2_LR_HW_SHIFT) +#define GICH_V2_LR_CPUID_SHIFT 10 +#define GICH_V2_LR_CPUID_MASK 0x7 #define GICH_V2_VTR_NRLRGS 0x3f #define GICH_V2_VMCR_PRIORITY_MASK 0x1f