From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH 05/16] xen: arm: Enable 1:1 workaround for APM X-Gene Storm. Date: Wed, 20 Nov 2013 14:48:06 +0000 Message-ID: <1384958897-13074-5-git-send-email-ian.campbell@citrix.com> References: <1384958746.6071.64.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1384958746.6071.64.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Campbell , Anup Patel , stefano.stabellini@eu.citrix.com, julien.grall@linaro.org, tim@xen.org, pranavkumar@linaro.org List-Id: xen-devel@lists.xenproject.org There is no SMMU on this platform. Signed-off-by: Ian Campbell --- xen/arch/arm/platforms/xgene-storm.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/arch/arm/platforms/xgene-storm.c b/xen/arch/arm/platforms/xgene-storm.c index 8e2b3b6..23986a9 100644 --- a/xen/arch/arm/platforms/xgene-storm.c +++ b/xen/arch/arm/platforms/xgene-storm.c @@ -35,6 +35,12 @@ static int xgene_storm_init(void) return 0; } +static uint32_t xgene_storm_quirks(void) +{ + return PLATFORM_QUIRK_DOM0_MAPPING_11; +} + + static const char const *xgene_storm_dt_compat[] __initdata = { "apm,xgene-storm", @@ -45,6 +51,7 @@ PLATFORM_START(xgene_storm, "APM X-GENE STORM") .compatible = xgene_storm_dt_compat, .init = xgene_storm_init, .reset = xgene_storm_reset, + .quirks = xgene_storm_quirks, PLATFORM_END /* -- 1.7.10.4