Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1599266 > unrolled thread

Re: [PATCH] iommu/arm-smmu: Print message when Cavium erratum 27704 was detected

Started byRobin Murphy <robin.murphy@arm.com>
First post2017-03-13 13:20 +0100
Last post2017-03-13 13:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] iommu/arm-smmu: Print message when Cavium erratum 27704  was detected Robin Murphy <robin.murphy@arm.com> - 2017-03-13 13:20 +0100

#1599266 — Re: [PATCH] iommu/arm-smmu: Print message when Cavium erratum 27704 was detected

FromRobin Murphy <robin.murphy@arm.com>
Date2017-03-13 13:20 +0100
SubjectRe: [PATCH] iommu/arm-smmu: Print message when Cavium erratum 27704 was detected
Message-ID<tkx7b-nh-1@gated-at.bofh.it>
On 13/03/17 10:39, Robert Richter wrote:
> Firmware is responsible for properly enabling smmu workarounds. Print
> a message for better diagnostics when Cavium erratum 27704 was
> detected.

The wording there could possibly be misinterpreted as the firmware
actively having to do something to the hardware prior to handing it off
to Linux, as opposed to merely supplying a correct FDT or IORT table,
but I'm not sure it matters all that much, and the patch itself is fine:

Reviewed-by: Robin Murphy <robin.murphy@arm.com>

Thanks,
Robin.

> Signed-off-by: Robert Richter <rrichter@cavium.com>
> ---
>  drivers/iommu/arm-smmu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
> index abf6496843a6..c88bf8deb958 100644
> --- a/drivers/iommu/arm-smmu.c
> +++ b/drivers/iommu/arm-smmu.c
> @@ -1887,6 +1887,7 @@ static int arm_smmu_device_cfg_probe(struct arm_smmu_device *smmu)
>  			atomic_add_return(smmu->num_context_banks,
>  					  &cavium_smmu_context_count);
>  		smmu->cavium_id_base -= smmu->num_context_banks;
> +		dev_notice(smmu->dev, "\tenabling workaround for Cavium erratum 27704\n");
>  	}
>  
>  	/* ID2 */
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web