[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <399edb73-ec0d-1f73-d244-0d10f0a9e169@huawei.com>
Date: Thu, 2 Nov 2017 16:52:37 +0800
From: gengdongjiu <gengdongjiu@...wei.com>
To: Mark Rutland <mark.rutland@....com>
CC: Robin Murphy <robin.murphy@....com>, <catalin.marinas@....com>,
<will.deacon@....com>, <marc.zyngier@....com>,
<christoffer.dall@...aro.org>, <james.morse@....com>,
<ard.biesheuvel@...aro.org>, <cov@...eaurora.org>,
<Dave.Martin@....com>, <suzuki.poulose@....com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <kvmarm@...ts.cs.columbia.edu>
Subject: Re: [PATCH v1 1/3] arm64: add a macro for SError synchronization
On 2017/11/1 22:16, Mark Rutland wrote:
>> it will report Error.
> Alternatives cannot be nested. You need to define a cap like:
>
> ARM64_HAS_RAS_NOT_IESB
>
> ... which is set when ARM64_HAS_RAS_EXTN && !ARM64_HAS_IESB.
>
> Then you can do:
>
> alternative_if ARM64_HAS_RAS_NOT_IESB
> esb
> alternative_else_nop_endif
>
> See ARM64_ALT_PAN_NOT_UAO for an example.
>
> That said, as Robin points out we may not even need the alternative.
Ok, got it. thank you very much for your point and opinion
>
> Thanks,
> Mark.
Powered by blists - more mailing lists